11.8 MB
/srv/reproducible-results/rbuild-debian/r-b-build.jt1tzWXh/b1/opensubdiv_3.5.0-2_arm64.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.jt1tzWXh/b2/opensubdiv_3.5.0-2_arm64.changes
854 B
Files
    
Offset 1, 9 lines modifiedOffset 1, 9 lines modified
  
1 ·f27a1ac0b15db3275ada096999438b11·143932·libdevel·optional·libosd-dev_3.5.0-2_arm64.deb1 ·f27a1ac0b15db3275ada096999438b11·143932·libdevel·optional·libosd-dev_3.5.0-2_arm64.deb
2 ·34d7c6867193288110bdf0466c2f0765·31483760·doc·optional·libosd-doc_3.5.0-2_all.deb2 ·db5bcfd7a6db8920f146907dad527aa9·31482380·doc·optional·libosd-doc_3.5.0-2_all.deb
3 ·110c6c1efd0261852cf497d7af61418e·3420132·debug·optional·libosdcpu3.5.0-dbgsym_3.5.0-2_arm64.deb3 ·110c6c1efd0261852cf497d7af61418e·3420132·debug·optional·libosdcpu3.5.0-dbgsym_3.5.0-2_arm64.deb
4 ·e550ae331ef1e82b29c4f5bde86ceba3·282740·libs·optional·libosdcpu3.5.0_3.5.0-2_arm64.deb4 ·e550ae331ef1e82b29c4f5bde86ceba3·282740·libs·optional·libosdcpu3.5.0_3.5.0-2_arm64.deb
5 ·2241c63d557b45faa0001f67ea4d0df8·536528·debug·optional·libosdgpu3.5.0-dbgsym_3.5.0-2_arm64.deb5 ·2241c63d557b45faa0001f67ea4d0df8·536528·debug·optional·libosdgpu3.5.0-dbgsym_3.5.0-2_arm64.deb
6 ·0b347c5b1172f1d439a5bd646abd2a98·132620·libs·optional·libosdgpu3.5.0_3.5.0-2_arm64.deb6 ·0b347c5b1172f1d439a5bd646abd2a98·132620·libs·optional·libosdgpu3.5.0_3.5.0-2_arm64.deb
7 ·7ede7399c6aa4ac27b606428998177ad·11879280·debug·optional·opensubdiv-tools-dbgsym_3.5.0-2_arm64.deb7 ·7ede7399c6aa4ac27b606428998177ad·11879280·debug·optional·opensubdiv-tools-dbgsym_3.5.0-2_arm64.deb
8 ·df3839ae13bba2d9d152a8b79c2f8975·553556·graphics·optional·opensubdiv-tools_3.5.0-2_arm64.deb8 ·df3839ae13bba2d9d152a8b79c2f8975·553556·graphics·optional·opensubdiv-tools_3.5.0-2_arm64.deb
11.8 MB
libosd-doc_3.5.0-2_all.deb
452 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2022-12-11·09:52:28.000000·debian-binary1 -rw-r--r--···0········0········0········4·2022-12-11·09:52:28.000000·debian-binary
2 -rw-r--r--···0········0········0····27980·2022-12-11·09:52:28.000000·control.tar.xz2 -rw-r--r--···0········0········0····28000·2022-12-11·09:52:28.000000·control.tar.xz
3 -rw-r--r--···0········0········0·31455588·2022-12-11·09:52:28.000000·data.tar.xz3 -rw-r--r--···0········0········0·31454188·2022-12-11·09:52:28.000000·data.tar.xz
4.09 KB
control.tar.xz
4.07 KB
control.tar
4.04 KB
./md5sums
30.0 B
./md5sums
Files differ
4.0 KB
line order
    
Offset 113, 29 lines modifiedOffset 113, 32 lines modified
113 usr/share/doc/opensubdiv/doxy_html/a00770.html113 usr/share/doc/opensubdiv/doxy_html/a00770.html
114 usr/share/doc/opensubdiv/doxy_html/a00770.js114 usr/share/doc/opensubdiv/doxy_html/a00770.js
115 usr/share/doc/opensubdiv/doxy_html/a00770_source.html115 usr/share/doc/opensubdiv/doxy_html/a00770_source.html
116 usr/share/doc/opensubdiv/doxy_html/a00773.html116 usr/share/doc/opensubdiv/doxy_html/a00773.html
117 usr/share/doc/opensubdiv/doxy_html/a00773.js117 usr/share/doc/opensubdiv/doxy_html/a00773.js
118 usr/share/doc/opensubdiv/doxy_html/a00773_source.html118 usr/share/doc/opensubdiv/doxy_html/a00773_source.html
119 usr/share/doc/opensubdiv/doxy_html/a00776.html119 usr/share/doc/opensubdiv/doxy_html/a00776.html
120 usr/share/doc/opensubdiv/doxy_html/a00776.js 
121 usr/share/doc/opensubdiv/doxy_html/a00776_source.html120 usr/share/doc/opensubdiv/doxy_html/a00776_source.html
122 usr/share/doc/opensubdiv/doxy_html/a00779.html121 usr/share/doc/opensubdiv/doxy_html/a00779.html
 122 usr/share/doc/opensubdiv/doxy_html/a00779.js
123 usr/share/doc/opensubdiv/doxy_html/a00779_source.html123 usr/share/doc/opensubdiv/doxy_html/a00779_source.html
124 usr/share/doc/opensubdiv/doxy_html/a00782.html124 usr/share/doc/opensubdiv/doxy_html/a00782.html
 125 usr/share/doc/opensubdiv/doxy_html/a00782.js
125 usr/share/doc/opensubdiv/doxy_html/a00782_source.html126 usr/share/doc/opensubdiv/doxy_html/a00782_source.html
126 usr/share/doc/opensubdiv/doxy_html/a00785.html127 usr/share/doc/opensubdiv/doxy_html/a00785.html
 128 usr/share/doc/opensubdiv/doxy_html/a00785.js
127 usr/share/doc/opensubdiv/doxy_html/a00785_source.html129 usr/share/doc/opensubdiv/doxy_html/a00785_source.html
128 usr/share/doc/opensubdiv/doxy_html/a00788.html130 usr/share/doc/opensubdiv/doxy_html/a00788.html
129 usr/share/doc/opensubdiv/doxy_html/a00788.js131 usr/share/doc/opensubdiv/doxy_html/a00788.js
130 usr/share/doc/opensubdiv/doxy_html/a00788_source.html132 usr/share/doc/opensubdiv/doxy_html/a00788_source.html
131 usr/share/doc/opensubdiv/doxy_html/a00791.html133 usr/share/doc/opensubdiv/doxy_html/a00791.html
132 usr/share/doc/opensubdiv/doxy_html/a00791.js134 usr/share/doc/opensubdiv/doxy_html/a00791.js
133 usr/share/doc/opensubdiv/doxy_html/a00791_source.html135 usr/share/doc/opensubdiv/doxy_html/a00791_source.html
134 usr/share/doc/opensubdiv/doxy_html/a00794.html136 usr/share/doc/opensubdiv/doxy_html/a00794.html
 137 usr/share/doc/opensubdiv/doxy_html/a00794.js
135 usr/share/doc/opensubdiv/doxy_html/a00794_source.html138 usr/share/doc/opensubdiv/doxy_html/a00794_source.html
136 usr/share/doc/opensubdiv/doxy_html/a00797.html139 usr/share/doc/opensubdiv/doxy_html/a00797.html
137 usr/share/doc/opensubdiv/doxy_html/a00797.js140 usr/share/doc/opensubdiv/doxy_html/a00797.js
138 usr/share/doc/opensubdiv/doxy_html/a00797_source.html141 usr/share/doc/opensubdiv/doxy_html/a00797_source.html
139 usr/share/doc/opensubdiv/doxy_html/a00800.html142 usr/share/doc/opensubdiv/doxy_html/a00800.html
140 usr/share/doc/opensubdiv/doxy_html/a00800.js143 usr/share/doc/opensubdiv/doxy_html/a00800.js
141 usr/share/doc/opensubdiv/doxy_html/a00800_source.html144 usr/share/doc/opensubdiv/doxy_html/a00800_source.html
Offset 199, 15 lines modifiedOffset 202, 14 lines modified
199 usr/share/doc/opensubdiv/doxy_html/a00860.html202 usr/share/doc/opensubdiv/doxy_html/a00860.html
200 usr/share/doc/opensubdiv/doxy_html/a00860.js203 usr/share/doc/opensubdiv/doxy_html/a00860.js
201 usr/share/doc/opensubdiv/doxy_html/a00860_source.html204 usr/share/doc/opensubdiv/doxy_html/a00860_source.html
202 usr/share/doc/opensubdiv/doxy_html/a00863.html205 usr/share/doc/opensubdiv/doxy_html/a00863.html
203 usr/share/doc/opensubdiv/doxy_html/a00863.js206 usr/share/doc/opensubdiv/doxy_html/a00863.js
204 usr/share/doc/opensubdiv/doxy_html/a00863_source.html207 usr/share/doc/opensubdiv/doxy_html/a00863_source.html
205 usr/share/doc/opensubdiv/doxy_html/a00866.html208 usr/share/doc/opensubdiv/doxy_html/a00866.html
206 usr/share/doc/opensubdiv/doxy_html/a00866.js 
207 usr/share/doc/opensubdiv/doxy_html/a00866_source.html209 usr/share/doc/opensubdiv/doxy_html/a00866_source.html
208 usr/share/doc/opensubdiv/doxy_html/a00869.html210 usr/share/doc/opensubdiv/doxy_html/a00869.html
209 usr/share/doc/opensubdiv/doxy_html/a00869.js211 usr/share/doc/opensubdiv/doxy_html/a00869.js
210 usr/share/doc/opensubdiv/doxy_html/a00869_source.html212 usr/share/doc/opensubdiv/doxy_html/a00869_source.html
211 usr/share/doc/opensubdiv/doxy_html/a00872.html213 usr/share/doc/opensubdiv/doxy_html/a00872.html
212 usr/share/doc/opensubdiv/doxy_html/a00872.js214 usr/share/doc/opensubdiv/doxy_html/a00872.js
213 usr/share/doc/opensubdiv/doxy_html/a00872_source.html215 usr/share/doc/opensubdiv/doxy_html/a00872_source.html
Offset 217, 32 lines modifiedOffset 219, 30 lines modified
217 usr/share/doc/opensubdiv/doxy_html/a00878.html219 usr/share/doc/opensubdiv/doxy_html/a00878.html
218 usr/share/doc/opensubdiv/doxy_html/a00878.js220 usr/share/doc/opensubdiv/doxy_html/a00878.js
219 usr/share/doc/opensubdiv/doxy_html/a00878_source.html221 usr/share/doc/opensubdiv/doxy_html/a00878_source.html
220 usr/share/doc/opensubdiv/doxy_html/a00881.html222 usr/share/doc/opensubdiv/doxy_html/a00881.html
221 usr/share/doc/opensubdiv/doxy_html/a00881.js223 usr/share/doc/opensubdiv/doxy_html/a00881.js
222 usr/share/doc/opensubdiv/doxy_html/a00881_source.html224 usr/share/doc/opensubdiv/doxy_html/a00881_source.html
223 usr/share/doc/opensubdiv/doxy_html/a00884.html225 usr/share/doc/opensubdiv/doxy_html/a00884.html
 226 usr/share/doc/opensubdiv/doxy_html/a00884.js
224 usr/share/doc/opensubdiv/doxy_html/a00884_source.html227 usr/share/doc/opensubdiv/doxy_html/a00884_source.html
225 usr/share/doc/opensubdiv/doxy_html/a00887.html228 usr/share/doc/opensubdiv/doxy_html/a00887.html
226 usr/share/doc/opensubdiv/doxy_html/a00887.js229 usr/share/doc/opensubdiv/doxy_html/a00887.js
227 usr/share/doc/opensubdiv/doxy_html/a00887_source.html230 usr/share/doc/opensubdiv/doxy_html/a00887_source.html
228 usr/share/doc/opensubdiv/doxy_html/a00890.html231 usr/share/doc/opensubdiv/doxy_html/a00890.html
229 usr/share/doc/opensubdiv/doxy_html/a00890.js232 usr/share/doc/opensubdiv/doxy_html/a00890.js
230 usr/share/doc/opensubdiv/doxy_html/a00890_source.html233 usr/share/doc/opensubdiv/doxy_html/a00890_source.html
231 usr/share/doc/opensubdiv/doxy_html/a00893.html234 usr/share/doc/opensubdiv/doxy_html/a00893.html
232 usr/share/doc/opensubdiv/doxy_html/a00893.js 
233 usr/share/doc/opensubdiv/doxy_html/a00893_source.html235 usr/share/doc/opensubdiv/doxy_html/a00893_source.html
234 usr/share/doc/opensubdiv/doxy_html/a00896.html236 usr/share/doc/opensubdiv/doxy_html/a00896.html
235 usr/share/doc/opensubdiv/doxy_html/a00896.js237 usr/share/doc/opensubdiv/doxy_html/a00896.js
236 usr/share/doc/opensubdiv/doxy_html/a00896_source.html238 usr/share/doc/opensubdiv/doxy_html/a00896_source.html
237 usr/share/doc/opensubdiv/doxy_html/a00899.html239 usr/share/doc/opensubdiv/doxy_html/a00899.html
238 usr/share/doc/opensubdiv/doxy_html/a00899.js 
239 usr/share/doc/opensubdiv/doxy_html/a00899_source.html240 usr/share/doc/opensubdiv/doxy_html/a00899_source.html
240 usr/share/doc/opensubdiv/doxy_html/a00902.html241 usr/share/doc/opensubdiv/doxy_html/a00902.html
241 usr/share/doc/opensubdiv/doxy_html/a00902.js 
242 usr/share/doc/opensubdiv/doxy_html/a00902_source.html242 usr/share/doc/opensubdiv/doxy_html/a00902_source.html
243 usr/share/doc/opensubdiv/doxy_html/a00905.html243 usr/share/doc/opensubdiv/doxy_html/a00905.html
244 usr/share/doc/opensubdiv/doxy_html/a00905.js244 usr/share/doc/opensubdiv/doxy_html/a00905.js
245 usr/share/doc/opensubdiv/doxy_html/a00906.html245 usr/share/doc/opensubdiv/doxy_html/a00906.html
246 usr/share/doc/opensubdiv/doxy_html/a00906.js246 usr/share/doc/opensubdiv/doxy_html/a00906.js
247 usr/share/doc/opensubdiv/doxy_html/a00907.html247 usr/share/doc/opensubdiv/doxy_html/a00907.html
248 usr/share/doc/opensubdiv/doxy_html/a00907.js248 usr/share/doc/opensubdiv/doxy_html/a00907.js
11.8 MB
data.tar.xz
11.8 MB
data.tar
49.7 KB
file list
    
Offset 27, 23 lines modifiedOffset 27, 23 lines modified
27 -rw-r--r--···0·root·········(0)·root·········(0)·····1660·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/css/doxy.css27 -rw-r--r--···0·root·········(0)·root·········(0)·····1660·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/css/doxy.css
28 -rw-r--r--···0·root·········(0)·root·········(0)····27698·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/css/flavor.css28 -rw-r--r--···0·root·········(0)·root·········(0)····27698·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/css/flavor.css
29 -rw-r--r--···0·root·········(0)·root·········(0)·····5321·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/css/pygments.css29 -rw-r--r--···0·root·········(0)·root·········(0)·····5321·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/css/pygments.css
30 -rw-r--r--···0·root·········(0)·root·········(0)·····3011·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/css/renderman-university.css30 -rw-r--r--···0·root·········(0)·root·········(0)·····3011·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/css/renderman-university.css
31 -rw-r--r--···0·root·········(0)·root·········(0)····12971·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/css/rst.css31 -rw-r--r--···0·root·········(0)·root·········(0)····12971·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/css/rst.css
32 -rw-r--r--···0·root·········(0)·root·········(0)····14488·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/downloads.html32 -rw-r--r--···0·root·········(0)·root·········(0)····14488·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/downloads.html
33 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/33 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/
 34 -rw-r--r--···0·root·········(0)·root·········(0)·····7173·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00674.html
 35 -rw-r--r--···0·root·········(0)·root·········(0)······123·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00674.js
 36 -rw-r--r--···0·root·········(0)·root·········(0)····64467·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00674_source.html
34 -rw-r--r--···0·root·········(0)·root·········(0)·····6364·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00674.html37 -rw-r--r--···0·root·········(0)·root·········(0)·····6364·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00677.html
35 -rw-r--r--···0·root·········(0)·root·········(0)·······69·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00674.js38 -rw-r--r--···0·root·········(0)·root·········(0)·······69·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00677.js
36 -rw-r--r--···0·root·········(0)·root·········(0)····74786·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00674_source.html39 -rw-r--r--···0·root·········(0)·root·········(0)····74786·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00677_source.html
37 -rw-r--r--···0·root·········(0)·root·········(0)·····7099·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00677.html40 -rw-r--r--···0·root·········(0)·root·········(0)·····7099·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00680.html
38 -rw-r--r--···0·root·········(0)·root·········(0)······195·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00677.js41 -rw-r--r--···0·root·········(0)·root·········(0)······195·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00680.js
39 -rw-r--r--···0·root·········(0)·root·········(0)····26635·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00677_source.html42 -rw-r--r--···0·root·········(0)·root·········(0)····26635·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00680_source.html
40 -rw-r--r--···0·root·········(0)·root·········(0)·····7173·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00680.html 
41 -rw-r--r--···0·root·········(0)·root·········(0)······123·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00680.js 
42 -rw-r--r--···0·root·········(0)·root·········(0)····64467·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00680_source.html 
43 -rw-r--r--···0·root·········(0)·root·········(0)·····6346·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00683.html43 -rw-r--r--···0·root·········(0)·root·········(0)·····6346·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00683.html
44 -rw-r--r--···0·root·········(0)·root·········(0)·······78·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00683.js44 -rw-r--r--···0·root·········(0)·root·········(0)·······78·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00683.js
45 -rw-r--r--···0·root·········(0)·root·········(0)····34622·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00683_source.html45 -rw-r--r--···0·root·········(0)·root·········(0)····34622·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00683_source.html
46 -rw-r--r--···0·root·········(0)·root·········(0)·····7292·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00686.html46 -rw-r--r--···0·root·········(0)·root·········(0)·····7292·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00686.html
47 -rw-r--r--···0·root·········(0)·root·········(0)······127·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00686.js47 -rw-r--r--···0·root·········(0)·root·········(0)······127·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00686.js
48 -rw-r--r--···0·root·········(0)·root·········(0)····87199·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00686_source.html48 -rw-r--r--···0·root·········(0)·root·········(0)····87199·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00686_source.html
49 -rw-r--r--···0·root·········(0)·root·········(0)·····6863·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00689.html49 -rw-r--r--···0·root·········(0)·root·········(0)·····6863·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00689.html
Offset 54, 20 lines modifiedOffset 54, 20 lines modified
54 -rw-r--r--···0·root·········(0)·root·········(0)····39771·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00692_source.html54 -rw-r--r--···0·root·········(0)·root·········(0)····39771·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00692_source.html
55 -rw-r--r--···0·root·········(0)·root·········(0)·····6224·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00695.html55 -rw-r--r--···0·root·········(0)·root·········(0)·····6224·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00695.html
56 -rw-r--r--···0·root·········(0)·root·········(0)·······69·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00695.js56 -rw-r--r--···0·root·········(0)·root·········(0)·······69·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00695.js
57 -rw-r--r--···0·root·········(0)·root·········(0)····44798·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00695_source.html57 -rw-r--r--···0·root·········(0)·root·········(0)····44798·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00695_source.html
58 -rw-r--r--···0·root·········(0)·root·········(0)·····6175·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00698.html58 -rw-r--r--···0·root·········(0)·root·········(0)·····6175·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00698.html
59 -rw-r--r--···0·root·········(0)·root·········(0)·······55·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00698.js59 -rw-r--r--···0·root·········(0)·root·········(0)·······55·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00698.js
60 -rw-r--r--···0·root·········(0)·root·········(0)····13613·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00698_source.html60 -rw-r--r--···0·root·········(0)·root·········(0)····13613·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00698_source.html
61 -rw-r--r--···0·root·········(0)·root·········(0)·····7781·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00704.html 
62 -rw-r--r--···0·root·········(0)·root·········(0)······205·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00704.js 
63 -rw-r--r--···0·root·········(0)·root·········(0)····73225·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00704_source.html 
64 -rw-r--r--···0·root·········(0)·root·········(0)·····7625·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00707.html61 -rw-r--r--···0·root·········(0)·root·········(0)·····7625·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00704.html
65 -rw-r--r--···0·root·········(0)·root·········(0)······222·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00707.js62 -rw-r--r--···0·root·········(0)·root·········(0)······222·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00704.js
66 -rw-r--r--···0·root·········(0)·root·········(0)···143889·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00707_source.html63 -rw-r--r--···0·root·········(0)·root·········(0)···143889·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00704_source.html
 64 -rw-r--r--···0·root·········(0)·root·········(0)·····7781·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00707.html
 65 -rw-r--r--···0·root·········(0)·root·········(0)······205·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00707.js
 66 -rw-r--r--···0·root·········(0)·root·········(0)····73225·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00707_source.html
67 -rw-r--r--···0·root·········(0)·root·········(0)·····6486·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00710.html67 -rw-r--r--···0·root·········(0)·root·········(0)·····6486·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00710.html
68 -rw-r--r--···0·root·········(0)·root·········(0)·······66·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00710.js68 -rw-r--r--···0·root·········(0)·root·········(0)·······66·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00710.js
69 -rw-r--r--···0·root·········(0)·root·········(0)····65952·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00710_source.html69 -rw-r--r--···0·root·········(0)·root·········(0)····65952·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00710_source.html
70 -rw-r--r--···0·root·········(0)·root·········(0)·····6924·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00713.html70 -rw-r--r--···0·root·········(0)·root·········(0)·····6924·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00713.html
71 -rw-r--r--···0·root·········(0)·root·········(0)······139·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00713.js71 -rw-r--r--···0·root·········(0)·root·········(0)······139·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00713.js
72 -rw-r--r--···0·root·········(0)·root·········(0)····37530·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00713_source.html72 -rw-r--r--···0·root·········(0)·root·········(0)····37530·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00713_source.html
73 -rw-r--r--···0·root·········(0)·root·········(0)·····9256·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00716.html73 -rw-r--r--···0·root·········(0)·root·········(0)·····9256·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00716.html
Offset 81, 176 lines modifiedOffset 81, 176 lines modified
81 -rw-r--r--···0·root·········(0)·root·········(0)····18965·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00722_source.html81 -rw-r--r--···0·root·········(0)·root·········(0)····18965·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00722_source.html
82 -rw-r--r--···0·root·········(0)·root·········(0)·····8011·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00725.html82 -rw-r--r--···0·root·········(0)·root·········(0)·····8011·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00725.html
83 -rw-r--r--···0·root·········(0)·root·········(0)······130·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00725.js83 -rw-r--r--···0·root·········(0)·root·········(0)······130·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00725.js
84 -rw-r--r--···0·root·········(0)·root·········(0)···210952·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00725_source.html84 -rw-r--r--···0·root·········(0)·root·········(0)···210952·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00725_source.html
85 -rw-r--r--···0·root·········(0)·root·········(0)·····7601·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00728.html85 -rw-r--r--···0·root·········(0)·root·········(0)·····7601·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00728.html
86 -rw-r--r--···0·root·········(0)·root·········(0)······201·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00728.js86 -rw-r--r--···0·root·········(0)·root·········(0)······201·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00728.js
87 -rw-r--r--···0·root·········(0)·root·········(0)····66897·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00728_source.html87 -rw-r--r--···0·root·········(0)·root·········(0)····66897·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00728_source.html
88 -rw-r--r--···0·root·········(0)·root·········(0)·····7124·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00731.html88 -rw-r--r--···0·root·········(0)·root·········(0)·····6533·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00731.html
89 -rw-r--r--···0·root·········(0)·root·········(0)······123·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00731.js89 -rw-r--r--···0·root·········(0)·root·········(0)······123·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00731.js
90 -rw-r--r--···0·root·········(0)·root·········(0)···156950·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00731_source.html90 -rw-r--r--···0·root·········(0)·root·········(0)····41643·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00731_source.html
91 -rw-r--r--···0·root·········(0)·root·········(0)·····6533·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00734.html91 -rw-r--r--···0·root·········(0)·root·········(0)·····7124·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00734.html
92 -rw-r--r--···0·root·········(0)·root·········(0)······123·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00734.js92 -rw-r--r--···0·root·········(0)·root·········(0)······123·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00734.js
93 -rw-r--r--···0·root·········(0)·root·········(0)····41643·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00734_source.html93 -rw-r--r--···0·root·········(0)·root·········(0)···156950·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00734_source.html
94 -rw-r--r--···0·root·········(0)·root·········(0)·····7604·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00737.html94 -rw-r--r--···0·root·········(0)·root·········(0)·····7604·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00737.html
95 -rw-r--r--···0·root·········(0)·root·········(0)······314·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00737.js95 -rw-r--r--···0·root·········(0)·root·········(0)······314·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00737.js
96 -rw-r--r--···0·root·········(0)·root·········(0)····49522·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00737_source.html96 -rw-r--r--···0·root·········(0)·root·········(0)····49522·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00737_source.html
97 -rw-r--r--···0·root·········(0)·root·········(0)·····6977·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00740.html97 -rw-r--r--···0·root·········(0)·root·········(0)·····6977·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00740.html
98 -rw-r--r--···0·root·········(0)·root·········(0)······160·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00740.js98 -rw-r--r--···0·root·········(0)·root·········(0)······160·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00740.js
99 -rw-r--r--···0·root·········(0)·root·········(0)····52341·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00740_source.html99 -rw-r--r--···0·root·········(0)·root·········(0)····52341·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00740_source.html
100 -rw-r--r--···0·root·········(0)·root·········(0)····11046·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00743.html100 -rw-r--r--···0·root·········(0)·root·········(0)····11046·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00743.html
101 -rw-r--r--···0·root·········(0)·root·········(0)·····1173·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00743.js101 -rw-r--r--···0·root·········(0)·root·········(0)·····1173·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00743.js
102 -rw-r--r--···0·root·········(0)·root·········(0)····22461·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00743_source.html102 -rw-r--r--···0·root·········(0)·root·········(0)····22461·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00743_source.html
103 -rw-r--r--···0·root·········(0)·root·········(0)·····5687·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00746.html 
104 -rw-r--r--···0·root·········(0)·root·········(0)····21734·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00746_source.html 
105 -rw-r--r--···0·root·········(0)·root·········(0)·····5432·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00749.html103 -rw-r--r--···0·root·········(0)·root·········(0)·····5432·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00746.html
106 -rw-r--r--···0·root·········(0)·root·········(0)····37914·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00749_source.html104 -rw-r--r--···0·root·········(0)·root·········(0)····37914·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00746_source.html
 105 -rw-r--r--···0·root·········(0)·root·········(0)·····5687·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00749.html
 106 -rw-r--r--···0·root·········(0)·root·········(0)····21734·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00749_source.html
107 -rw-r--r--···0·root·········(0)·root·········(0)·····5870·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00752.html107 -rw-r--r--···0·root·········(0)·root·········(0)·····5870·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00752.html
108 -rw-r--r--···0·root·········(0)·root·········(0)····85578·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00752_source.html108 -rw-r--r--···0·root·········(0)·root·········(0)····85578·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00752_source.html
109 -rw-r--r--···0·root·········(0)·root·········(0)·····5990·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00755.html109 -rw-r--r--···0·root·········(0)·root·········(0)·····5990·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00755.html
110 -rw-r--r--···0·root·········(0)·root·········(0)···163100·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00755_source.html110 -rw-r--r--···0·root·········(0)·root·········(0)···163100·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00755_source.html
111 -rw-r--r--···0·root·········(0)·root·········(0)·····6077·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00758.html111 -rw-r--r--···0·root·········(0)·root·········(0)·····6077·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00758.html
112 -rw-r--r--···0·root·········(0)·root·········(0)····23929·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00758_source.html112 -rw-r--r--···0·root·········(0)·root·········(0)····23929·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00758_source.html
113 -rw-r--r--···0·root·········(0)·root·········(0)·····6055·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00761.html113 -rw-r--r--···0·root·········(0)·root·········(0)·····6055·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00761.html
114 -rw-r--r--···0·root·········(0)·root·········(0)····81111·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00761_source.html114 -rw-r--r--···0·root·········(0)·root·········(0)····81111·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00761_source.html
115 -rw-r--r--···0·root·········(0)·root·········(0)·····5902·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00764.html115 -rw-r--r--···0·root·········(0)·root·········(0)·····5902·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00764.html
116 -rw-r--r--···0·root·········(0)·root·········(0)····28747·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00764_source.html116 -rw-r--r--···0·root·········(0)·root·········(0)····28747·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00764_source.html
117 -rw-r--r--···0·root·········(0)·root·········(0)·····6225·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00767.html117 -rw-r--r--···0·root·········(0)·root·········(0)·····6225·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00767.html
118 -rw-r--r--···0·root·········(0)·root·········(0)······121·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00767.js118 -rw-r--r--···0·root·········(0)·root·········(0)······121·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00767.js
119 -rw-r--r--···0·root·········(0)·root·········(0)····45393·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00767_source.html119 -rw-r--r--···0·root·········(0)·root·········(0)····45393·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00767_source.html
120 -rw-r--r--···0·root·········(0)·root·········(0)·····6086·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00770.html120 -rw-r--r--···0·root·········(0)·root·········(0)·····6581·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00770.html
121 -rw-r--r--···0·root·········(0)·root·········(0)·······60·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00770.js121 -rw-r--r--···0·root·········(0)·root·········(0)·······67·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00770.js
122 -rw-r--r--···0·root·········(0)·root·········(0)····37854·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00770_source.html122 -rw-r--r--···0·root·········(0)·root·········(0)····33086·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00770_source.html
123 -rw-r--r--···0·root·········(0)·root·········(0)·····7368·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00773.html123 -rw-r--r--···0·root·········(0)·root·········(0)·····6899·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00773.html
124 -rw-r--r--···0·root·········(0)·root·········(0)······153·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00773.js124 -rw-r--r--···0·root·········(0)·root·········(0)······115·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00773.js
125 -rw-r--r--···0·root·········(0)·root·········(0)···134755·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00773_source.html 
126 -rw-r--r--···0·root·········(0)·root·········(0)·····6262·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00776.html 
127 -rw-r--r--···0·root·········(0)·root·········(0)·······59·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00776.js 
128 -rw-r--r--···0·root·········(0)·root·········(0)····52972·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00776_source.html 
129 -rw-r--r--···0·root·········(0)·root·········(0)·····5615·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00779.html 
130 -rw-r--r--···0·root·········(0)·root·········(0)····99219·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00779_source.html 
131 -rw-r--r--···0·root·········(0)·root·········(0)·····5624·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00782.html 
132 -rw-r--r--···0·root·········(0)·root·········(0)····88720·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00782_source.html 
133 -rw-r--r--···0·root·········(0)·root·········(0)·····5541·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00785.html 
134 -rw-r--r--···0·root·········(0)·root·········(0)····37229·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00785_source.html 
135 -rw-r--r--···0·root·········(0)·root·········(0)·····6581·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00788.html 
136 -rw-r--r--···0·root·········(0)·root·········(0)·······67·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00788.js 
137 -rw-r--r--···0·root·········(0)·root·········(0)····33086·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00788_source.html 
138 -rw-r--r--···0·root·········(0)·root·········(0)·····6899·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00791.html 
139 -rw-r--r--···0·root·········(0)·root·········(0)······115·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00791.js 
140 -rw-r--r--···0·root·········(0)·root·········(0)···127471·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00791_source.html125 -rw-r--r--···0·root·········(0)·root·········(0)···127471·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00773_source.html
141 -rw-r--r--···0·root·········(0)·root·········(0)·····4308·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00794.html126 -rw-r--r--···0·root·········(0)·root·········(0)·····4308·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00776.html
142 -rw-r--r--···0·root·········(0)·root·········(0)····10202·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00794_source.html127 -rw-r--r--···0·root·········(0)·root·········(0)····10202·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00776_source.html
143 -rw-r--r--···0·root·········(0)·root·········(0)·····6213·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00797.html128 -rw-r--r--···0·root·········(0)·root·········(0)·····6213·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00779.html
144 -rw-r--r--···0·root·········(0)·root·········(0)·······67·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00797.js129 -rw-r--r--···0·root·········(0)·root·········(0)·······67·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00779.js
145 -rw-r--r--···0·root·········(0)·root·········(0)····23232·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00797_source.html130 -rw-r--r--···0·root·········(0)·root·········(0)····23232·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00779_source.html
146 -rw-r--r--···0·root·········(0)·root·········(0)·····6671·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00800.html131 -rw-r--r--···0·root·········(0)·root·········(0)·····6671·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00782.html
147 -rw-r--r--···0·root·········(0)·root·········(0)·······65·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00800.js132 -rw-r--r--···0·root·········(0)·root·········(0)·······65·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00782.js
148 -rw-r--r--···0·root·········(0)·root·········(0)····33708·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00800_source.html133 -rw-r--r--···0·root·········(0)·root·········(0)····33708·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00782_source.html
149 -rw-r--r--···0·root·········(0)·root·········(0)·····6948·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00803.html134 -rw-r--r--···0·root·········(0)·root·········(0)·····6948·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00785.html
150 -rw-r--r--···0·root·········(0)·root·········(0)······115·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00803.js135 -rw-r--r--···0·root·········(0)·root·········(0)······115·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00785.js
151 -rw-r--r--···0·root·········(0)·root·········(0)···249312·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00803_source.html136 -rw-r--r--···0·root·········(0)·root·········(0)···249312·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00785_source.html
152 -rw-r--r--···0·root·········(0)·root·········(0)·····5949·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00806.html137 -rw-r--r--···0·root·········(0)·root·········(0)·····5949·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00788.html
153 -rw-r--r--···0·root·········(0)·root·········(0)·······63·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00806.js138 -rw-r--r--···0·root·········(0)·root·········(0)·······63·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00788.js
154 -rw-r--r--···0·root·········(0)·root·········(0)····13628·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00806_source.html139 -rw-r--r--···0·root·········(0)·root·········(0)····13628·2022-12-11·09:52:28.000000·./usr/share/doc/opensubdiv/doxy_html/a00788_source.html
Max diff block lines reached; 804/50915 bytes (1.58%) of diff not shown.
1.19 KB
./usr/share/doc/opensubdiv/additional_resources.html
    
Offset 234, 15 lines modifiedOffset 234, 15 lines modified
234 surfaces·helps·artists·be·more·productive,·and·how·this·code·is·open234 surfaces·helps·artists·be·more·productive,·and·how·this·code·is·open
235 source·and·engineered·for·ease·of·integration.</p>235 source·and·engineered·for·ease·of·integration.</p>
236 </div>236 </div>
237 </div>237 </div>
238 </div>238 </div>
239 <div·class="footer">239 <div·class="footer">
240 <hr·class="footer"·/>240 <hr·class="footer"·/>
241 Generated·on:·2024-01-08·09:40·UTC.241 Generated·on:·2024-01-08·09:43·UTC.
  
242 </div>242 </div>
243 </body>243 </body>
244 </html>244 </html>
  
245 ··········</div><!--·close·topicLeftData-MainData·-->245 ··········</div><!--·close·topicLeftData-MainData·-->
246 ········</div><!--·close·coursewareBackground·-->246 ········</div><!--·close·coursewareBackground·-->
692 B
html2text {}
    
Offset 101, 14 lines modifiedOffset 101, 14 lines modified
101 meet_the_experts_autodesk2013.png]101 meet_the_experts_autodesk2013.png]
102 Join·special·guests,·Bill·Polson,·Dirk·Van·Gelder,·Manuel·Kraemer,·Takahito102 Join·special·guests,·Bill·Polson,·Dirk·Van·Gelder,·Manuel·Kraemer,·Takahito
103 Tejima,·David·G.·Yu·and·Dale·Ruffolo,·from·Pixar·Animation·Studios'·GPU·team,103 Tejima,·David·G.·Yu·and·Dale·Ruffolo,·from·Pixar·Animation·Studios'·GPU·team,
104 as·they·show·how·real·time·display·of·subdivision·surfaces·helps·artists·be104 as·they·show·how·real·time·display·of·subdivision·surfaces·helps·artists·be
105 more·productive,·and·how·this·code·is·open·source·and·engineered·for·ease·of105 more·productive,·and·how·this·code·is·open·source·and·engineered·for·ease·of
106 integration.106 integration.
107 ===============================================================================107 ===============================================================================
108 Generated·on:·2024-01-08·09:40·UTC.108 Generated·on:·2024-01-08·09:43·UTC.
  
109 ····*·User_Docs109 ····*·User_Docs
110 ····*·API_Docs110 ····*·API_Docs
111 ····*·Release_Notes111 ····*·Release_Notes
112 ····*·Forum112 ····*·Forum
113 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use113 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.29 KB
./usr/share/doc/opensubdiv/api_overview.html
    
Offset 455, 15 lines modifiedOffset 455, 15 lines modified
455 <div·class="section"·id="tutorials-and-examples">455 <div·class="section"·id="tutorials-and-examples">
456 <h3>Tutorials·and·Examples</h3>456 <h3>Tutorials·and·Examples</h3>
457 <p>For·more·use·cases,·please·see·<a·class="reference·external"·href="tutorials.html">Tutorials</a>·and·<a·class="reference·external"·href="code_examples.html">Examples</a></p>457 <p>For·more·use·cases,·please·see·<a·class="reference·external"·href="tutorials.html">Tutorials</a>·and·<a·class="reference·external"·href="code_examples.html">Examples</a></p>
458 </div>458 </div>
459 </div>459 </div>
460 <div·class="footer">460 <div·class="footer">
461 <hr·class="footer"·/>461 <hr·class="footer"·/>
462 Generated·on:·2024-01-08·09:40·UTC.462 Generated·on:·2024-01-08·09:43·UTC.
  
463 </div>463 </div>
464 </body>464 </body>
465 </html>465 </html>
  
466 ··········</div><!--·close·topicLeftData-MainData·-->466 ··········</div><!--·close·topicLeftData-MainData·-->
467 ········</div><!--·close·coursewareBackground·-->467 ········</div><!--·close·coursewareBackground·-->
678 B
html2text {}
    
Offset 247, 14 lines modifiedOffset 247, 14 lines modified
247 glDrawElements(GL_PATCHES,·patch.GetNumPatches()·*·numVertsPerPatch,247 glDrawElements(GL_PATCHES,·patch.GetNumPatches()·*·numVertsPerPatch,
248 ···············GL_UNSIGNED_INT,·0);248 ···············GL_UNSIGNED_INT,·0);
249 ···1.·As·the·mesh·animates,·repeat·from·step·3·to·update·positions,·refine,·and249 ···1.·As·the·mesh·animates,·repeat·from·step·3·to·update·positions,·refine,·and
250 ······draw.·See·glViewer·and·other·examples·for·more·complete·usage.250 ······draw.·See·glViewer·and·other·examples·for·more·complete·usage.
251 ****·Tutorials·and·Examples·****251 ****·Tutorials·and·Examples·****
252 For·more·use·cases,·please·see·Tutorials·and·Examples252 For·more·use·cases,·please·see·Tutorials·and·Examples
253 ===============================================================================253 ===============================================================================
254 Generated·on:·2024-01-08·09:40·UTC.254 Generated·on:·2024-01-08·09:43·UTC.
  
255 ····*·User_Docs255 ····*·User_Docs
256 ····*·API_Docs256 ····*·API_Docs
257 ····*·Release_Notes257 ····*·Release_Notes
258 ····*·Forum258 ····*·Forum
259 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use259 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.14 KB
./usr/share/doc/opensubdiv/bfr_overview.html
    
Offset 1260, 15 lines modifiedOffset 1260, 15 lines modified
1260 worth·simplifying·the·template·complexity·here·if·only·one·precision·is1260 worth·simplifying·the·template·complexity·here·if·only·one·precision·is
1261 ever·required.</p>1261 ever·required.</p>
1262 </div>1262 </div>
1263 </div>1263 </div>
1264 </div>1264 </div>
1265 <div·class="footer">1265 <div·class="footer">
1266 <hr·class="footer"·/>1266 <hr·class="footer"·/>
1267 Generated·on:·2024-01-08·09:40·UTC.1267 Generated·on:·2024-01-08·09:43·UTC.
  
1268 </div>1268 </div>
1269 </body>1269 </body>
1270 </html>1270 </html>
  
1271 ··········</div><!--·close·topicLeftData-MainData·-->1271 ··········</div><!--·close·topicLeftData-MainData·-->
1272 ········</div><!--·close·coursewareBackground·-->1272 ········</div><!--·close·coursewareBackground·-->
680 B
html2text {}
    
Offset 808, 14 lines modifiedOffset 808, 14 lines modified
808 ························MeshPrimvar·const·&·meshPrimvar,808 ························MeshPrimvar·const·&·meshPrimvar,
809 ························Surface<float>·*·surface);809 ························Surface<float>·*·surface);
810 which·would·then·determine·the·nature·of·the·MeshPrimvar·data·(interpolated·as810 which·would·then·determine·the·nature·of·the·MeshPrimvar·data·(interpolated·as
811 vertex,·varying·or·face-varying)·and·act·accordingly.·It·may·also·be·worth811 vertex,·varying·or·face-varying)·and·act·accordingly.·It·may·also·be·worth
812 simplifying·the·template·complexity·here·if·only·one·precision·is·ever812 simplifying·the·template·complexity·here·if·only·one·precision·is·ever
813 required.813 required.
814 ===============================================================================814 ===============================================================================
815 Generated·on:·2024-01-08·09:40·UTC.815 Generated·on:·2024-01-08·09:43·UTC.
  
816 ····*·User_Docs816 ····*·User_Docs
817 ····*·API_Docs817 ····*·API_Docs
818 ····*·Release_Notes818 ····*·Release_Notes
819 ····*·Forum819 ····*·Forum
820 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use820 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.03 KB
./usr/share/doc/opensubdiv/bfr_tutorial_1_1.html
    
Offset 426, 15 lines modifiedOffset 426, 15 lines modified
426 </span><span·class="punctuation">}</span><span·class="whitespace">426 </span><span·class="punctuation">}</span><span·class="whitespace">
  
427 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>427 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>
428 </pre>428 </pre>
429 </div>429 </div>
430 <div·class="footer">430 <div·class="footer">
431 <hr·class="footer"·/>431 <hr·class="footer"·/>
432 Generated·on:·2024-01-08·09:41·UTC.432 Generated·on:·2024-01-08·09:43·UTC.
  
433 </div>433 </div>
434 </body>434 </body>
435 </html>435 </html>
  
436 ··········</div><!--·close·topicLeftData-MainData·-->436 ··········</div><!--·close·topicLeftData-MainData·-->
437 ········</div><!--·close·coursewareBackground·-->437 ········</div><!--·close·coursewareBackground·-->
472 B
html2text {}
    
Offset 307, 14 lines modifiedOffset 307, 14 lines modified
307 ····delete·meshTopology;307 ····delete·meshTopology;
308 ····return·EXIT_SUCCESS;308 ····return·EXIT_SUCCESS;
309 }309 }
  
310 //-----------------------------------------------------------------------------310 //-----------------------------------------------------------------------------
311 -311 -
312 ===============================================================================312 ===============================================================================
313 Generated·on:·2024-01-08·09:41·UTC.313 Generated·on:·2024-01-08·09:43·UTC.
  
314 ····*·User_Docs314 ····*·User_Docs
315 ····*·API_Docs315 ····*·API_Docs
316 ····*·Release_Notes316 ····*·Release_Notes
317 ····*·Forum317 ····*·Forum
318 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use318 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.03 KB
./usr/share/doc/opensubdiv/bfr_tutorial_1_2.html
    
Offset 436, 15 lines modifiedOffset 436, 15 lines modified
436 </span><span·class="punctuation">}</span><span·class="whitespace">436 </span><span·class="punctuation">}</span><span·class="whitespace">
  
437 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>437 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>
438 </pre>438 </pre>
439 </div>439 </div>
440 <div·class="footer">440 <div·class="footer">
441 <hr·class="footer"·/>441 <hr·class="footer"·/>
442 Generated·on:·2024-01-08·09:41·UTC.442 Generated·on:·2024-01-08·09:43·UTC.
  
443 </div>443 </div>
444 </body>444 </body>
445 </html>445 </html>
  
446 ··········</div><!--·close·topicLeftData-MainData·-->446 ··········</div><!--·close·topicLeftData-MainData·-->
447 ········</div><!--·close·coursewareBackground·-->447 ········</div><!--·close·coursewareBackground·-->
472 B
html2text {}
    
Offset 317, 14 lines modifiedOffset 317, 14 lines modified
317 ····delete·meshTopology;317 ····delete·meshTopology;
318 ····return·EXIT_SUCCESS;318 ····return·EXIT_SUCCESS;
319 }319 }
  
320 //-----------------------------------------------------------------------------320 //-----------------------------------------------------------------------------
321 -321 -
322 ===============================================================================322 ===============================================================================
323 Generated·on:·2024-01-08·09:41·UTC.323 Generated·on:·2024-01-08·09:43·UTC.
  
324 ····*·User_Docs324 ····*·User_Docs
325 ····*·API_Docs325 ····*·API_Docs
326 ····*·Release_Notes326 ····*·Release_Notes
327 ····*·Forum327 ····*·Forum
328 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use328 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.03 KB
./usr/share/doc/opensubdiv/bfr_tutorial_1_3.html
    
Offset 507, 15 lines modifiedOffset 507, 15 lines modified
507 </span><span·class="punctuation">}</span><span·class="whitespace">507 </span><span·class="punctuation">}</span><span·class="whitespace">
  
508 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>508 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>
509 </pre>509 </pre>
510 </div>510 </div>
511 <div·class="footer">511 <div·class="footer">
512 <hr·class="footer"·/>512 <hr·class="footer"·/>
513 Generated·on:·2024-01-08·09:41·UTC.513 Generated·on:·2024-01-08·09:43·UTC.
  
514 </div>514 </div>
515 </body>515 </body>
516 </html>516 </html>
  
517 ··········</div><!--·close·topicLeftData-MainData·-->517 ··········</div><!--·close·topicLeftData-MainData·-->
518 ········</div><!--·close·coursewareBackground·-->518 ········</div><!--·close·coursewareBackground·-->
472 B
html2text {}
    
Offset 389, 14 lines modifiedOffset 389, 14 lines modified
389 ····delete·meshTopology;389 ····delete·meshTopology;
390 ····return·EXIT_SUCCESS;390 ····return·EXIT_SUCCESS;
391 }391 }
  
392 //-----------------------------------------------------------------------------392 //-----------------------------------------------------------------------------
393 -393 -
394 ===============================================================================394 ===============================================================================
395 Generated·on:·2024-01-08·09:41·UTC.395 Generated·on:·2024-01-08·09:43·UTC.
  
396 ····*·User_Docs396 ····*·User_Docs
397 ····*·API_Docs397 ····*·API_Docs
398 ····*·Release_Notes398 ····*·Release_Notes
399 ····*·Forum399 ····*·Forum
400 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use400 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.03 KB
./usr/share/doc/opensubdiv/bfr_tutorial_1_4.html
    
Offset 559, 15 lines modifiedOffset 559, 15 lines modified
559 </span><span·class="punctuation">}</span><span·class="whitespace">559 </span><span·class="punctuation">}</span><span·class="whitespace">
  
560 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>560 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>
561 </pre>561 </pre>
562 </div>562 </div>
563 <div·class="footer">563 <div·class="footer">
564 <hr·class="footer"·/>564 <hr·class="footer"·/>
565 Generated·on:·2024-01-08·09:41·UTC.565 Generated·on:·2024-01-08·09:43·UTC.
  
566 </div>566 </div>
567 </body>567 </body>
568 </html>568 </html>
  
569 ··········</div><!--·close·topicLeftData-MainData·-->569 ··········</div><!--·close·topicLeftData-MainData·-->
570 ········</div><!--·close·coursewareBackground·-->570 ········</div><!--·close·coursewareBackground·-->
472 B
html2text {}
    
Offset 440, 14 lines modifiedOffset 440, 14 lines modified
440 ····delete·meshTopology;440 ····delete·meshTopology;
441 ····return·EXIT_SUCCESS;441 ····return·EXIT_SUCCESS;
442 }442 }
  
443 //-----------------------------------------------------------------------------443 //-----------------------------------------------------------------------------
444 -444 -
445 ===============================================================================445 ===============================================================================
446 Generated·on:·2024-01-08·09:41·UTC.446 Generated·on:·2024-01-08·09:43·UTC.
  
447 ····*·User_Docs447 ····*·User_Docs
448 ····*·API_Docs448 ····*·API_Docs
449 ····*·Release_Notes449 ····*·Release_Notes
450 ····*·Forum450 ····*·Forum
451 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use451 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.03 KB
./usr/share/doc/opensubdiv/bfr_tutorial_1_5.html
    
Offset 468, 15 lines modifiedOffset 468, 15 lines modified
468 </span><span·class="punctuation">}</span><span·class="whitespace">468 </span><span·class="punctuation">}</span><span·class="whitespace">
  
469 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>469 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>
470 </pre>470 </pre>
471 </div>471 </div>
472 <div·class="footer">472 <div·class="footer">
473 <hr·class="footer"·/>473 <hr·class="footer"·/>
474 Generated·on:·2024-01-08·09:41·UTC.474 Generated·on:·2024-01-08·09:43·UTC.
  
475 </div>475 </div>
476 </body>476 </body>
477 </html>477 </html>
  
478 ··········</div><!--·close·topicLeftData-MainData·-->478 ··········</div><!--·close·topicLeftData-MainData·-->
479 ········</div><!--·close·coursewareBackground·-->479 ········</div><!--·close·coursewareBackground·-->
472 B
html2text {}
    
Offset 349, 14 lines modifiedOffset 349, 14 lines modified
349 ····delete·meshTopology;349 ····delete·meshTopology;
350 ····return·EXIT_SUCCESS;350 ····return·EXIT_SUCCESS;
351 }351 }
  
352 //-----------------------------------------------------------------------------352 //-----------------------------------------------------------------------------
353 -353 -
354 ===============================================================================354 ===============================================================================
355 Generated·on:·2024-01-08·09:41·UTC.355 Generated·on:·2024-01-08·09:43·UTC.
  
356 ····*·User_Docs356 ····*·User_Docs
357 ····*·API_Docs357 ····*·API_Docs
358 ····*·Release_Notes358 ····*·Release_Notes
359 ····*·Forum359 ····*·Forum
360 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use360 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.03 KB
./usr/share/doc/opensubdiv/bfr_tutorial_2_1.html
    
Offset 558, 15 lines modifiedOffset 558, 15 lines modified
558 </span><span·class="punctuation">}</span><span·class="whitespace">558 </span><span·class="punctuation">}</span><span·class="whitespace">
  
559 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>559 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>
560 </pre>560 </pre>
561 </div>561 </div>
562 <div·class="footer">562 <div·class="footer">
563 <hr·class="footer"·/>563 <hr·class="footer"·/>
564 Generated·on:·2024-01-08·09:41·UTC.564 Generated·on:·2024-01-08·09:43·UTC.
  
565 </div>565 </div>
566 </body>566 </body>
567 </html>567 </html>
  
568 ··········</div><!--·close·topicLeftData-MainData·-->568 ··········</div><!--·close·topicLeftData-MainData·-->
569 ········</div><!--·close·coursewareBackground·-->569 ········</div><!--·close·coursewareBackground·-->
472 B
html2text {}
    
Offset 441, 14 lines modifiedOffset 441, 14 lines modified
441 ····delete·meshTopology;441 ····delete·meshTopology;
442 ····return·EXIT_SUCCESS;442 ····return·EXIT_SUCCESS;
443 }443 }
  
444 //-----------------------------------------------------------------------------444 //-----------------------------------------------------------------------------
445 -445 -
446 ===============================================================================446 ===============================================================================
447 Generated·on:·2024-01-08·09:41·UTC.447 Generated·on:·2024-01-08·09:43·UTC.
  
448 ····*·User_Docs448 ····*·User_Docs
449 ····*·API_Docs449 ····*·API_Docs
450 ····*·Release_Notes450 ····*·Release_Notes
451 ····*·Forum451 ····*·Forum
452 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use452 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.03 KB
./usr/share/doc/opensubdiv/bfr_tutorial_2_2.html
    
Offset 641, 15 lines modifiedOffset 641, 15 lines modified
641 </span><span·class="punctuation">}</span><span·class="whitespace">641 </span><span·class="punctuation">}</span><span·class="whitespace">
  
642 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>642 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>
643 </pre>643 </pre>
644 </div>644 </div>
645 <div·class="footer">645 <div·class="footer">
646 <hr·class="footer"·/>646 <hr·class="footer"·/>
647 Generated·on:·2024-01-08·09:41·UTC.647 Generated·on:·2024-01-08·09:43·UTC.
  
648 </div>648 </div>
649 </body>649 </body>
650 </html>650 </html>
  
651 ··········</div><!--·close·topicLeftData-MainData·-->651 ··········</div><!--·close·topicLeftData-MainData·-->
652 ········</div><!--·close·coursewareBackground·-->652 ········</div><!--·close·coursewareBackground·-->
472 B
html2text {}
    
Offset 522, 14 lines modifiedOffset 522, 14 lines modified
522 ····delete·meshTopology;522 ····delete·meshTopology;
523 ····return·EXIT_SUCCESS;523 ····return·EXIT_SUCCESS;
524 }524 }
  
525 //-----------------------------------------------------------------------------525 //-----------------------------------------------------------------------------
526 -526 -
527 ===============================================================================527 ===============================================================================
528 Generated·on:·2024-01-08·09:41·UTC.528 Generated·on:·2024-01-08·09:43·UTC.
  
529 ····*·User_Docs529 ····*·User_Docs
530 ····*·API_Docs530 ····*·API_Docs
531 ····*·Release_Notes531 ····*·Release_Notes
532 ····*·Forum532 ····*·Forum
533 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use533 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.03 KB
./usr/share/doc/opensubdiv/bfr_tutorial_3_1.html
    
Offset 509, 15 lines modifiedOffset 509, 15 lines modified
509 </span><span·class="punctuation">}</span><span·class="whitespace">509 </span><span·class="punctuation">}</span><span·class="whitespace">
  
510 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>510 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>
511 </pre>511 </pre>
512 </div>512 </div>
513 <div·class="footer">513 <div·class="footer">
514 <hr·class="footer"·/>514 <hr·class="footer"·/>
515 Generated·on:·2024-01-08·09:41·UTC.515 Generated·on:·2024-01-08·09:43·UTC.
  
516 </div>516 </div>
517 </body>517 </body>
518 </html>518 </html>
  
519 ··········</div><!--·close·topicLeftData-MainData·-->519 ··········</div><!--·close·topicLeftData-MainData·-->
520 ········</div><!--·close·coursewareBackground·-->520 ········</div><!--·close·coursewareBackground·-->
472 B
html2text {}
    
Offset 391, 14 lines modifiedOffset 391, 14 lines modified
391 ····delete·meshTopology;391 ····delete·meshTopology;
392 ····return·EXIT_SUCCESS;392 ····return·EXIT_SUCCESS;
393 }393 }
  
394 //-----------------------------------------------------------------------------394 //-----------------------------------------------------------------------------
395 -395 -
396 ===============================================================================396 ===============================================================================
397 Generated·on:·2024-01-08·09:41·UTC.397 Generated·on:·2024-01-08·09:43·UTC.
  
398 ····*·User_Docs398 ····*·User_Docs
399 ····*·API_Docs399 ····*·API_Docs
400 ····*·Release_Notes400 ····*·Release_Notes
401 ····*·Forum401 ····*·Forum
402 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use402 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.03 KB
./usr/share/doc/opensubdiv/bfr_tutorial_3_2.html
    
Offset 565, 15 lines modifiedOffset 565, 15 lines modified
565 </span><span·class="punctuation">}</span><span·class="whitespace">565 </span><span·class="punctuation">}</span><span·class="whitespace">
  
566 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>566 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>
567 </pre>567 </pre>
568 </div>568 </div>
569 <div·class="footer">569 <div·class="footer">
570 <hr·class="footer"·/>570 <hr·class="footer"·/>
571 Generated·on:·2024-01-08·09:41·UTC.571 Generated·on:·2024-01-08·09:43·UTC.
  
572 </div>572 </div>
573 </body>573 </body>
574 </html>574 </html>
  
575 ··········</div><!--·close·topicLeftData-MainData·-->575 ··········</div><!--·close·topicLeftData-MainData·-->
576 ········</div><!--·close·coursewareBackground·-->576 ········</div><!--·close·coursewareBackground·-->
472 B
html2text {}
    
Offset 447, 14 lines modifiedOffset 447, 14 lines modified
447 ····delete·meshTopology;447 ····delete·meshTopology;
448 ····return·EXIT_SUCCESS;448 ····return·EXIT_SUCCESS;
449 }449 }
  
450 //-----------------------------------------------------------------------------450 //-----------------------------------------------------------------------------
451 -451 -
452 ===============================================================================452 ===============================================================================
453 Generated·on:·2024-01-08·09:41·UTC.453 Generated·on:·2024-01-08·09:43·UTC.
  
454 ····*·User_Docs454 ····*·User_Docs
455 ····*·API_Docs455 ····*·API_Docs
456 ····*·Release_Notes456 ····*·Release_Notes
457 ····*·Forum457 ····*·Forum
458 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use458 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.12 KB
./usr/share/doc/opensubdiv/cmake_build.html
    
Offset 500, 15 lines modifiedOffset 500, 15 lines modified
500 warning·in·both·gcc·and·Clang.·It·is·recommended·to·turn·the·warning·off·with·the500 warning·in·both·gcc·and·Clang.·It·is·recommended·to·turn·the·warning·off·with·the
501 <em>-Wno-invalid-offsetof</em>·flag.</p>501 <em>-Wno-invalid-offsetof</em>·flag.</p>
502 </div>502 </div>
503 </div>503 </div>
504 </div>504 </div>
505 <div·class="footer">505 <div·class="footer">
506 <hr·class="footer"·/>506 <hr·class="footer"·/>
507 Generated·on:·2024-01-08·09:40·UTC.507 Generated·on:·2024-01-08·09:43·UTC.
  
508 </div>508 </div>
509 </body>509 </body>
510 </html>510 </html>
  
511 ··········</div><!--·close·topicLeftData-MainData·-->511 ··········</div><!--·close·topicLeftData-MainData·-->
512 ········</div><!--·close·coursewareBackground·-->512 ········</div><!--·close·coursewareBackground·-->
637 B
html2text {}
    
Offset 282, 14 lines modifiedOffset 282, 14 lines modified
282 link·/nologo·/out:myapp.exe·/LIBPATH:"%OPENSUBDIV%\lib"·libosdGPU.lib282 link·/nologo·/out:myapp.exe·/LIBPATH:"%OPENSUBDIV%\lib"·libosdGPU.lib
283 libosdCPU.lib·myapp.obj283 libosdCPU.lib·myapp.obj
284 Note:284 Note:
285 HBR·uses·the·offsetof·macro·on·a·templated·struct,·which·appears·to·spurriously285 HBR·uses·the·offsetof·macro·on·a·templated·struct,·which·appears·to·spurriously
286 set·off·a·warning·in·both·gcc·and·Clang.·It·is·recommended·to·turn·the·warning286 set·off·a·warning·in·both·gcc·and·Clang.·It·is·recommended·to·turn·the·warning
287 off·with·the·-Wno-invalid-offsetof·flag.287 off·with·the·-Wno-invalid-offsetof·flag.
288 ===============================================================================288 ===============================================================================
289 Generated·on:·2024-01-08·09:40·UTC.289 Generated·on:·2024-01-08·09:43·UTC.
  
290 ····*·User_Docs290 ····*·User_Docs
291 ····*·API_Docs291 ····*·API_Docs
292 ····*·Release_Notes292 ····*·Release_Notes
293 ····*·Forum293 ····*·Forum
294 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use294 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.02 KB
./usr/share/doc/opensubdiv/code_examples.html
    
Offset 290, 15 lines modifiedOffset 290, 15 lines modified
290 w························:·switch·display·mode290 w························:·switch·display·mode
291 q························:·quit291 q························:·quit
292 </pre>292 </pre>
293 </div>293 </div>
294 </div>294 </div>
295 <div·class="footer">295 <div·class="footer">
296 <hr·class="footer"·/>296 <hr·class="footer"·/>
297 Generated·on:·2024-01-08·09:40·UTC.297 Generated·on:·2024-01-08·09:43·UTC.
  
298 </div>298 </div>
299 </body>299 </body>
300 </html>300 </html>
  
301 ··········</div><!--·close·topicLeftData-MainData·-->301 ··········</div><!--·close·topicLeftData-MainData·-->
302 ········</div><!--·close·coursewareBackground·-->302 ········</div><!--·close·coursewareBackground·-->
577 B
html2text {}
    
Offset 114, 14 lines modifiedOffset 114, 14 lines modified
114 level114 level
115 +,·-·····················:·increase·/·decrease·tessellation115 +,·-·····················:·increase·/·decrease·tessellation
116 Tab······················:·toggle·full-screen116 Tab······················:·toggle·full-screen
117 Esc······················:·turn·on·/·off·the·HUD117 Esc······················:·turn·on·/·off·the·HUD
118 w························:·switch·display·mode118 w························:·switch·display·mode
119 q························:·quit119 q························:·quit
120 ===============================================================================120 ===============================================================================
121 Generated·on:·2024-01-08·09:40·UTC.121 Generated·on:·2024-01-08·09:43·UTC.
  
122 ····*·User_Docs122 ····*·User_Docs
123 ····*·API_Docs123 ····*·API_Docs
124 ····*·Release_Notes124 ····*·Release_Notes
125 ····*·Forum125 ····*·Forum
126 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use126 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.23 KB
./usr/share/doc/opensubdiv/compatibility.html
    
Offset 569, 15 lines modifiedOffset 569, 15 lines modified
569 not·go·undetected.··Whether·or·not·this·can·lead·to·visual·artifacts·is569 not·go·undetected.··Whether·or·not·this·can·lead·to·visual·artifacts·is
570 unclear.</p>570 unclear.</p>
571 </div>571 </div>
572 </div>572 </div>
573 </div>573 </div>
574 <div·class="footer">574 <div·class="footer">
575 <hr·class="footer"·/>575 <hr·class="footer"·/>
576 Generated·on:·2024-01-08·09:40·UTC.576 Generated·on:·2024-01-08·09:43·UTC.
  
577 </div>577 </div>
578 </body>578 </body>
579 </html>579 </html>
  
580 ··········</div><!--·close·topicLeftData-MainData·-->580 ··········</div><!--·close·topicLeftData-MainData·-->
581 ········</div><!--·close·coursewareBackground·-->581 ········</div><!--·close·coursewareBackground·-->
779 B
html2text {}
    
Offset 363, 14 lines modifiedOffset 363, 14 lines modified
363 coefficient·first·in·the·Hbr·implementation.·With·extremely·high·valence363 coefficient·first·in·the·Hbr·implementation.·With·extremely·high·valence
364 vertices,·a·difference·in·magnitude·between·the·most·and·least·significant364 vertices,·a·difference·in·magnitude·between·the·most·and·least·significant
365 coefficients·of·several·orders·of·magnitude·is·likely,·and·that·has·a365 coefficients·of·several·orders·of·magnitude·is·likely,·and·that·has·a
366 significant·impact·on·the·single-precision·floating·point·computations.366 significant·impact·on·the·single-precision·floating·point·computations.
367 The·improved·accuracy·of·OpenSubdiv·3.0·can·reach·a·magnitude·that·will·not·go367 The·improved·accuracy·of·OpenSubdiv·3.0·can·reach·a·magnitude·that·will·not·go
368 undetected.·Whether·or·not·this·can·lead·to·visual·artifacts·is·unclear.368 undetected.·Whether·or·not·this·can·lead·to·visual·artifacts·is·unclear.
369 ===============================================================================369 ===============================================================================
370 Generated·on:·2024-01-08·09:40·UTC.370 Generated·on:·2024-01-08·09:43·UTC.
  
371 ····*·User_Docs371 ····*·User_Docs
372 ····*·API_Docs372 ····*·API_Docs
373 ····*·Release_Notes373 ····*·Release_Notes
374 ····*·Forum374 ····*·Forum
375 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use375 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.24 KB
./usr/share/doc/opensubdiv/contributing.html
    
Offset 304, 15 lines modifiedOffset 304, 15 lines modified
304 <p>Once·the·change·is·clean,·push·your·changes·to·&quot;origin&quot;·and·go·to·the·GitHub304 <p>Once·the·change·is·clean,·push·your·changes·to·&quot;origin&quot;·and·go·to·the·GitHub
305 website·to·submit·your·pull·request.</p>305 website·to·submit·your·pull·request.</p>
306 <p>Be·sure·to·submit·your·request·against·the·&quot;dev&quot;·branch.</p>306 <p>Be·sure·to·submit·your·request·against·the·&quot;dev&quot;·branch.</p>
307 </div>307 </div>
308 </div>308 </div>
309 <div·class="footer">309 <div·class="footer">
310 <hr·class="footer"·/>310 <hr·class="footer"·/>
311 Generated·on:·2024-01-08·09:40·UTC.311 Generated·on:·2024-01-08·09:43·UTC.
  
312 </div>312 </div>
313 </body>313 </body>
314 </html>314 </html>
  
315 ··········</div><!--·close·topicLeftData-MainData·-->315 ··········</div><!--·close·topicLeftData-MainData·-->
316 ········</div><!--·close·coursewareBackground·-->316 ········</div><!--·close·coursewareBackground·-->
679 B
html2text {}
    
Offset 141, 14 lines modifiedOffset 141, 14 lines modified
141 If·you've·followed·the·steps·above,·your·pending·change·should·already·be141 If·you've·followed·the·steps·above,·your·pending·change·should·already·be
142 queued·up·as·required.·If·you·have·not,·you·may·need·to·rebase·and·squash142 queued·up·as·required.·If·you·have·not,·you·may·need·to·rebase·and·squash
143 changes·at·this·point.143 changes·at·this·point.
144 Once·the·change·is·clean,·push·your·changes·to·"origin"·and·go·to·the·GitHub144 Once·the·change·is·clean,·push·your·changes·to·"origin"·and·go·to·the·GitHub
145 website·to·submit·your·pull·request.145 website·to·submit·your·pull·request.
146 Be·sure·to·submit·your·request·against·the·"dev"·branch.146 Be·sure·to·submit·your·request·against·the·"dev"·branch.
147 ===============================================================================147 ===============================================================================
148 Generated·on:·2024-01-08·09:40·UTC.148 Generated·on:·2024-01-08·09:43·UTC.
  
149 ····*·User_Docs149 ····*·User_Docs
150 ····*·API_Docs150 ····*·API_Docs
151 ····*·Release_Notes151 ····*·Release_Notes
152 ····*·Forum152 ····*·Forum
153 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use153 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.23 KB
./usr/share/doc/opensubdiv/downloads.html
    
Offset 299, 15 lines modifiedOffset 299, 15 lines modified
299 ··<p·align="center">299 ··<p·align="center">
300 ······<button·class="button-accept"·onmousedown="closeOverlay()">Accept</button>300 ······<button·class="button-accept"·onmousedown="closeOverlay()">Accept</button>
301 ··</p>301 ··</p>
302 </div></div>302 </div></div>
303 </div>303 </div>
304 <div·class="footer">304 <div·class="footer">
305 <hr·class="footer"·/>305 <hr·class="footer"·/>
306 Generated·on:·2024-01-08·09:40·UTC.306 Generated·on:·2024-01-08·09:43·UTC.
  
307 </div>307 </div>
308 </body>308 </body>
309 </html>309 </html>
  
310 ··········</div><!--·close·topicLeftData-MainData·-->310 ··········</div><!--·close·topicLeftData-MainData·-->
311 ········</div><!--·close·coursewareBackground·-->311 ········</div><!--·close·coursewareBackground·-->
765 B
html2text {}
    
Offset 103, 14 lines modifiedOffset 103, 14 lines modified
103 ······Unless·required·by·applicable·law·or·agreed·to·in·writing,·software103 ······Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
104 ······distributed·under·the·Apache·License·with·the·above·modification·is104 ······distributed·under·the·Apache·License·with·the·above·modification·is
105 ······distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY105 ······distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
106 ······KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific106 ······KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
107 ······language·governing·permissions·and·limitations·under·the·Apache·License.107 ······language·governing·permissions·and·limitations·under·the·Apache·License.
108 ····································Accept108 ····································Accept
109 ===============================================================================109 ===============================================================================
110 Generated·on:·2024-01-08·09:40·UTC.110 Generated·on:·2024-01-08·09:43·UTC.
  
111 ····*·User_Docs111 ····*·User_Docs
112 ····*·API_Docs112 ····*·API_Docs
113 ····*·Release_Notes113 ····*·Release_Notes
114 ····*·Forum114 ····*·Forum
115 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use115 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
6.65 KB
./usr/share/doc/opensubdiv/doxy_html/a00674.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/vertexDescriptor.h·File·Reference</title>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 83, 26 lines modifiedOffset 83, 29 lines modified
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124;87 <a·href="#nested-classes">Classes</a>·&#124;
88 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">vertexDescriptor.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">tessellation.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
93 <code>#include·&quot;<a·class="el"·href="a00749_source.html">../vtr/stackBuffer.h</a>&quot;</code><br·/>93 <code>#include·&quot;<a·class="el"·href="a00695_source.html">../bfr/parameterization.h</a>&quot;</code><br·/>
94 </div>94 </div>
95 <p><a·href="a00674_source.html">Go·to·the·source·code·of·this·file.</a></p>95 <p><a·href="a00674_source.html">Go·to·the·source·code·of·this·file.</a></p>
96 <table·class="memberdecls">96 <table·class="memberdecls">
97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
98 Classes</h2></td></tr>98 Classes</h2></td></tr>
99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00969.html">VertexDescriptor</a></td></tr>99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00961.html">Tessellation</a></td></tr>
100 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</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>100 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</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>
 101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00965.html">Tessellation::Options</a></td></tr>
 103 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</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>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 </table><table·class="memberdecls">105 </table><table·class="memberdecls">
103 <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>
104 Namespaces</h2></td></tr>107 Namespaces</h2></td></tr>
105 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>108 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
107 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>110 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>
Offset 111, 13 lines modifiedOffset 114, 13 lines modified
111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
112 </table>115 </table>
113 </div><!--·contents·-->116 </div><!--·contents·-->
114 </div><!--·doc-content·-->117 </div><!--·doc-content·-->
115 <!--·start·footer·part·-->118 <!--·start·footer·part·-->
116 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->119 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
117 ··<ul>120 ··<ul>
118 ····<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>121 ····<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">tessellation.h</a></li>
119 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>122 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
120 ··</ul>123 ··</ul>
121 </div>124 </div>
122 </body>125 </body>
123 </html>126 </html>
1.02 KB
html2text {}
    
Offset 5, 27 lines modifiedOffset 5, 32 lines modified
  
  
  
5 [Logo]·OpenSubdiv5 [Logo]·OpenSubdiv
  
  
6 Classes·|·Namespaces6 Classes·|·Namespaces
7 vertexDescriptor.h·File·Reference7 tessellation.h·File·Reference
8 #include·"../version.h"8 #include·"../version.h"
9 #include·"../vtr/stackBuffer.h"9 #include·"../bfr/parameterization.h"
10 Go_to_the_source_code_of_this_file.10 Go_to_the_source_code_of_this_file.
11 ·Classes11 ·Classes
12 class· VertexDescriptor 
13  ······Simple·class·used·by·subclasses·of·SurfaceFactory·to·describe·a·vertex.12 class· Tessellation
 13  ······Encapsulates·a·specific·tessellation·pattern·of·a·Parameterization.
14 ········More...14 ········More...
15  15  
 16 class· Tessellation::Options
 17 ········Options·configure·a·Tessellation·to·specify·the·nature·of·both·its
 18  ······results·and·the·structure·of·the·coordinate·and·facet·index·arrays·that
 19 ········its·methods·will·populate.·More...
 20  
16 ·Namespaces21 ·Namespaces
17 namespace· OpenSubdiv22 namespace· OpenSubdiv
18  23  
19 namespace· OpenSubdiv::OPENSUBDIV_VERSION24 namespace· OpenSubdiv::OPENSUBDIV_VERSION
20  25  
21 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Bfr26 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Bfr
22  27  
23 ····*·opensubdiv28 ····*·opensubdiv
24 ····*·bfr29 ····*·bfr
25 ····*·vertexDescriptor.h30 ····*·tessellation.h
26 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.431 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
311 B
./usr/share/doc/opensubdiv/doxy_html/a00674.js
219 B
js-beautify {}
    
Offset 1, 3 lines modifiedOffset 1, 4 lines modified
1 var·a00674·=·[1 var·a00674·=·[
2 ····["VertexDescriptor",·"a00969.html",·"a00969"]2 ····["Tessellation",·"a00961.html",·"a00961"],
 3 ····["Tessellation::Options",·"a00965.html",·"a00965"]
3 ];4 ];
152 KB
./usr/share/doc/opensubdiv/doxy_html/a00674_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/vertexDescriptor.h·Source·File</title>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 80, 15 lines modifiedOffset 80, 15 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">vertexDescriptor.h</div></div>86 ··<div·class="headertitle"><div·class="title">tessellation.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <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>89 <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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2021·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2021·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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 107, 385 lines modifiedOffset 107, 263 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <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>114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_BFR_TESSELLATION_H</span></div>
115 <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>115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_BFR_TESSELLATION_H</span></div>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../vtr/stackBuffer.h&quot;</span></div>119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../bfr/parameterization.h&quot;</span></div>
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
121 <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>121 <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>
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>Bfr·{</div>124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>Bfr·{</div>
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
126 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="comment">//</span></div> 
127 <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> 
128 <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> 
129 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="comment">//</span></div> 
130 <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> 
131 <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> 
132 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="comment">//··the·virtual·method:</span></div> 
133 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="comment">//</span></div> 
134 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">//······int·populateFaceVertexDescriptor(Index·baseFace,</span></div> 
135 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="comment">//·······································int·cornerVertex,</span></div> 
136 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="comment">//·······································VertexDescriptor·&amp;·v)·const;</span></div> 
137 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="comment">//</span></div> 
138 <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> 
139 <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> 
140 <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> 
141 <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> 
142 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="comment">//</span></div> 
143 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="comment">//······int··numIncidentFaces·=·2;</span></div> 
144 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="comment">//······bool·vertexOnBoundary·=·true;</span></div> 
145 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="comment">//</span></div> 
146 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="comment">//······vd.Initialize(numIncidentFaces);</span></div> 
147 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="comment">//··········vd.SetManifold(true);</span></div> 
148 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="comment">//··········vd.SetBoundary(vertexOnBoundary);</span></div> 
149 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="comment">//··········vd.ClearIncidentFaceSizes();</span></div> 
150 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="comment">//······vd.Finalize();</span></div> 
151 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="comment">//</span></div> 
152 <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> 
153 <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> 
154 <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> 
155 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="comment">//</span></div> 
156 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="comment">//······int··numIncidentFaces·=·meshVertex.GetNumIncidentFaces();</span></div> 
157 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="comment">//······bool·vertexOnBoundary·=·meshVertex.IsBoundar();</span></div> 
158 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="comment">//</span></div> 
159 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="comment">//······vd.Initialize(numIncidentFaces);</span></div> 
160 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="comment">//··········vd.SetManifold(true);</span></div> 
161 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span><span·class="comment">//··········vd.SetBoundary(vertexOnBoundary);</span></div> 
162 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="comment">//</span></div> 
163 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><span·class="comment">//··········for·(int·i·=·0;·i·&lt;·numIncidentFaces;·++i)·{</span></div> 
164 <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> 
165 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="comment">//··········}</span></div> 
166 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span><span·class="comment">//······vd.Finalize();</span></div> 
167 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span><span·class="comment">//</span></div> 
168 <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> 
169 <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> 
170 <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> 
171 <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> 
172 <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> 
173 <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> 
174 <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> 
175 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span><span·class="comment">//</span></div> 
176 <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> 
177 <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> 
178 <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> 
179 <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> 
180 <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> 
181 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span><span·class="comment">//</span></div> 
182 <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> 
183 <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> 
184 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span><span·class="comment">//</span></div> 
185 <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> 
186 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span><span·class="comment">//·····································Index·vertexIndices[])·const;</span></div> 
187 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span><span·class="comment">//</span></div> 
188 <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> 
189 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span><span·class="comment">//········································Index·fvarValueIndices[],</span></div> 
190 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span><span·class="comment">//········································int···fvarChannel)·const;</span></div> 
191 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span><span·class="comment">//</span></div> 
192 <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> 
193 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span><span·class="comment">//</span></div> 
194 <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> 
195 <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> 
196 <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> 
197 <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> 
198 <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> 
199 <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> 
200 <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> 
201 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span><span·class="comment">//</span></div> 
Max diff block lines reached; 85808/126226 bytes (67.98%) of diff not shown.
29.1 KB
html2text {}
    
Offset 4, 15 lines modifiedOffset 4, 15 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 vertexDescriptor.h5 tessellation.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2021·Pixar8 ·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·in11 ·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 30, 446 lines modifiedOffset 30, 367 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_BFR_VERTEX_DESCRIPTOR_H37 ·25#ifndef·OPENSUBDIV3_BFR_TESSELLATION_H
38 ·26#define·OPENSUBDIV3_BFR_VERTEX_DESCRIPTOR_H38 ·26#define·OPENSUBDIV3_BFR_TESSELLATION_H
39 ·2739 ·27
40 ·28#include·"../version.h"40 ·28#include·"../version.h"
41 ·2941 ·29
42 ·30#include·"../vtr/stackBuffer.h"42 ·30#include·"../bfr/parameterization.h"
43 ·3143 ·31
44 ·32namespace·OpenSubdiv·{44 ·32namespace·OpenSubdiv·{
45 ·33namespace·OPENSUBDIV_VERSION·{45 ·33namespace·OPENSUBDIV_VERSION·{
46 ·3446 ·34
47 ·35namespace·Bfr·{47 ·35namespace·Bfr·{
48 ·3648 ·36
 49 51class·Tessellation·{
49 ·50// 
50 ·51//·WIP·-·need·to·migrate·some·of·these·comments·into·Doxygen 
51 ·52//·-·others·will·be·moved·to·the·external·documentation 
52 ·53// 
53 ·54//·It·is·used·by·subclasses·of·SurfaceFactory·to·provide·a·complete 
54 ·55//·topological·description·for·each·vertex·of·a·face,·i.e.·invoked·via 
55 ·56//·the·virtual·method: 
56 ·57// 
57 ·58//·int·populateFaceVertexDescriptor(Index·baseFace, 
58 ·59//·int·cornerVertex, 
59 ·60//·VertexDescriptor·&·v)·const; 
60 ·61// 
61 ·62//·Assignment·of·the·full·topology·can·be·involved·in·the·presence·of 
62 ·63//·irregular·faces,·non-manifold·topology·or·creasing·around·a·vertex,·but 
63 ·64//·many·cases·will·be·simple.·For·example,·to·specify·a·regular·boundary 
64 ·65//·vertex·of·a·Catmark·mesh·without·any·optional·sharpness: 
65 ·66// 
66 ·67//·int·numIncidentFaces·=·2; 
67 ·68//·bool·vertexOnBoundary·=·true; 
68 ·69// 
69 ·70//·vd.Initialize(numIncidentFaces); 
70 ·71//·vd.SetManifold(true); 
71 ·72//·vd.SetBoundary(vertexOnBoundary); 
72 ·73//·vd.ClearIncidentFaceSizes(); 
73 ·74//·vd.Finalize(); 
74 ·75// 
75 ·76//·For·a·more·general·example,·to·assign·a·vertex·of·some·valence·whose 
76 ·77//·incident·faces·are·of·different·sizes·(e.g.·required·when·triangles 
77 ·78//·appear·around·a·vertex·in·an·otherwise·quad-dominant·Catmark·mesh): 
78 ·79// 
79 ·80//·int·numIncidentFaces·=·meshVertex.GetNumIncidentFaces(); 
80 ·81//·bool·vertexOnBoundary·=·meshVertex.IsBoundar(); 
81 ·82// 
82 ·83//·vd.Initialize(numIncidentFaces); 
83 ·84//·vd.SetManifold(true); 
84 ·85//·vd.SetBoundary(vertexOnBoundary); 
85 ·86// 
86 ·87//·for·(int·i·=·0;·i·<·numIncidentFaces;·++i)·{ 
87 ·88//·vd.SetIncidentFaceSize(i,·meshVertex.GetIncidentFaceSize(i)); 
88 ·89//·} 
89 ·90//·vd.Finalize(); 
90 ·91// 
91 ·92//·These·examples·specify·the·incident·faces·as·forming·a·manifold·ring 
92 ·93//·(or·half-ring)·around·the·vertex,·i.e.·they·can·be·specified·as·a 
93 ·94//·continuous,·connected·sequence·in·counter-clockwise·order·(and·also 
94 ·95//·without·degeneracies).·In·the·case·of·a·boundary·vertex,·the·first 
95 ·96//·face·must·be·on·the·leading·edge·of·the·boundary·while·the·last·is·on 
96 ·97//·the·trailing·edge.·For·an·interior·vertex,·which·face·is·specified 
97 ·98//·first·does·not·matter·(since·the·set·is·periodic). 
98 ·99// 
99 ·100//·In·both·cases,·the·location·of·the·base·face·in·this·sequence·--·the 
100 ·101//·face·whose·corner·vertex·is·being·described·here·--·must·be·specified 
101 ·102//·in·the·return·value·to·populateFaceVertexDescriptor()·(e.g.·when·a 
102 ·103//·boundary·vertex·has·3·incident·faces,·a·return·value·of·0,·1·or·2 
103 ·104//·will·indicate·which·is·the·base·face). 
104 ·105// 
105 ·106//·The·corresponding·methods·to·specify·mesh·control·vertex·indices·(or 
106 ·107//·face-varying·indices)·complete·the·specification·of·the·neighborhood: 
107 ·108// 
108 ·109//·int·getFaceCornerVertexIndices(Index·baseFace,·int·cornerVertex, 
109 ·110//·Index·vertexIndices[])·const; 
110 ·111// 
111 ·112//·int·getFaceCornerFVarValueIndices(Index·baseFace,·int·cornerVertex, 
112 ·113//·Index·fvarValueIndices[], 
113 ·114//·int·fvarChannel)·const; 
114 ·115// 
115 ·116//·and·are·invoked·by·the·Factory·when·needed. 
116 ·117// 
117 ·118//·For·each·incident·face,·the·indices·for·all·vertices·of·that·face·are 
118 ·119//·to·be·specified·(not·the·one-ring·or·some·other·subset).·These·indices 
119 ·120//·must·also·be·specified·in·an·orientation·relative·to·the·vertex,·i.e. 
120 ·121//·for·a·vertex·A·and·an·incident·face·with·face-vertices·that·may·be 
121 ·122//·stored·internally·as·{D,·C,·A,·B},·they·must·be·specified·with·A·first 
122 ·123//·as·{A,·B,·C,·D}.·This·may·seem·a·bit·cumbersome,·but·it·has·clear 
123 ·124//·advantages·when·dealing·with·face-varying·indices·and·unordered·faces. 
124 ·125// 
125 ·126//·More·compact·ways·of·specifying·vertex·indices·for·ordered,·manifold 
126 ·127//·cases·may·be·worth·exploring·in·future,·but·face-varying·indices·and 
127 ·128//·non-manifold·(unordered)·vertices·will·always·require·such·a·full·set, 
128 ·129//·so·both·methods·will·need·to·co-exist. 
129 ·130// 
130 131class·VertexDescriptor·{ 
131 ·132public:50 ·52public:
 51 65·class·Options·{
 52 ·66·public:
 53 67·Options()·:·_preserveQuads(false),·_facetSize4(false),
 54 ·68·_coordStride(0),·_facetStride(0)·{·}
 55 ·69
 56 ·72·Options·&·PreserveQuads(bool·on);
 57 74·bool·PreserveQuads()·const·{·return·_preserveQuads;·}
 58 ·75
Max diff block lines reached; 21232/29752 bytes (71.36%) of diff not shown.
6.61 KB
./usr/share/doc/opensubdiv/doxy_html/a00677.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/surfaceFactoryCache.h·File·Reference</title>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 83, 31 lines modifiedOffset 83, 26 lines modified
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124;87 <a·href="#nested-classes">Classes</a>·&#124;
88 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">surfaceFactoryCache.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">vertexDescriptor.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
 93 <code>#include·&quot;<a·class="el"·href="a00746_source.html">../vtr/stackBuffer.h</a>&quot;</code><br·/>
93 <code>#include·&quot;../bfr/irregularPatchType.h&quot;</code><br·/> 
94 <code>#include·&lt;map&gt;</code><br·/> 
95 <code>#include·&lt;cstdint&gt;</code><br·/> 
96 </div>94 </div>
97 <p><a·href="a00677_source.html">Go·to·the·source·code·of·this·file.</a></p>95 <p><a·href="a00677_source.html">Go·to·the·source·code·of·this·file.</a></p>
98 <table·class="memberdecls">96 <table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
100 Classes</h2></td></tr>98 Classes</h2></td></tr>
101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00949.html">SurfaceFactoryCache</a></td></tr>99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00969.html">VertexDescriptor</a></td></tr>
102 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Container·used·internally·by·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·to·store·reusable·information.··<a·href="a00949.html#details">More...</a><br·/></td></tr>100 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</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>
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
104 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00953.html">SurfaceFactoryCacheThreaded&lt;·MUTEX_TYPE,·READ_LOCK_GUARD_TYPE,·WRITE_LOCK_GUARD_TYPE·&gt;</a></td></tr> 
105 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Template·for·declaring·thread-safe·subclasses·of·<a·class="el"·href="a00949.html"·title="Container·used·internally·by·SurfaceFactory·to·store·reusable·information.">SurfaceFactoryCache</a>.··<a·href="a00953.html#details">More...</a><br·/></td></tr> 
106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
107 </table><table·class="memberdecls">102 </table><table·class="memberdecls">
108 <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>
109 Namespaces</h2></td></tr>104 Namespaces</h2></td></tr>
110 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>105 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>
111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
112 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>107 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>
Offset 116, 13 lines modifiedOffset 111, 13 lines modified
116 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
117 </table>112 </table>
118 </div><!--·contents·-->113 </div><!--·contents·-->
119 </div><!--·doc-content·-->114 </div><!--·doc-content·-->
120 <!--·start·footer·part·-->115 <!--·start·footer·part·-->
121 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->116 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
122 ··<ul>117 ··<ul>
123 ····<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">surfaceFactoryCache.h</a></li>118 ····<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">vertexDescriptor.h</a></li>
124 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>119 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
125 ··</ul>120 ··</ul>
126 </div>121 </div>
127 </body>122 </body>
128 </html>123 </html>
1.06 KB
html2text {}
    
Offset 5, 34 lines modifiedOffset 5, 27 lines modified
  
  
  
5 [Logo]·OpenSubdiv5 [Logo]·OpenSubdiv
  
  
6 Classes·|·Namespaces6 Classes·|·Namespaces
7 surfaceFactoryCache.h·File·Reference7 vertexDescriptor.h·File·Reference
8 #include·"../version.h"8 #include·"../version.h"
 9 #include·"../vtr/stackBuffer.h"
9 #include·"../bfr/irregularPatchType.h" 
10 #include·<map> 
11 #include·<cstdint> 
12 Go_to_the_source_code_of_this_file.10 Go_to_the_source_code_of_this_file.
13 ·Classes11 ·Classes
 12 class· VertexDescriptor
 13  ······Simple·class·used·by·subclasses·of·SurfaceFactory·to·describe·a·vertex.
14 class· SurfaceFactoryCache 
15  ······Container·used·internally·by·SurfaceFactory·to·store·reusable 
16 ········information.·More... 
17   
18 class· SurfaceFactoryCacheThreaded<_MUTEX_TYPE,_READ_LOCK_GUARD_TYPE, 
19 ········WRITE_LOCK_GUARD_TYPE_> 
20  ······Template·for·declaring·thread-safe·subclasses·of·SurfaceFactoryCache. 
21 ········More...14 ········More...
22  15  
23 ·Namespaces16 ·Namespaces
24 namespace· OpenSubdiv17 namespace· OpenSubdiv
25  18  
26 namespace· OpenSubdiv::OPENSUBDIV_VERSION19 namespace· OpenSubdiv::OPENSUBDIV_VERSION
27  20  
28 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Bfr21 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Bfr
29  22  
30 ····*·opensubdiv23 ····*·opensubdiv
31 ····*·bfr24 ····*·bfr
32 ····*·surfaceFactoryCache.h25 ····*·vertexDescriptor.h
33 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.426 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
383 B
./usr/share/doc/opensubdiv/doxy_html/a00677.js
291 B
js-beautify {}
    
Offset 1, 4 lines modifiedOffset 1, 3 lines modified
1 var·a00677·=·[1 var·a00677·=·[
 2 ····["VertexDescriptor",·"a00969.html",·"a00969"]
2 ····["SurfaceFactoryCache",·"a00949.html",·"a00949"], 
3 ····["SurfaceFactoryCacheThreaded<·MUTEX_TYPE,·READ_LOCK_GUARD_TYPE,·WRITE_LOCK_GUARD_TYPE·>",·"a00953.html",·"a00953"] 
4 ];3 ];
108 KB
./usr/share/doc/opensubdiv/doxy_html/a00677_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/surfaceFactoryCache.h·Source·File</title>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 80, 15 lines modifiedOffset 80, 15 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">surfaceFactoryCache.h</div></div>86 ··<div·class="headertitle"><div·class="title">vertexDescriptor.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <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>89 <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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2021·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2021·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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 107, 122 lines modifiedOffset 107, 385 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_BFR_SURFACE_FACTORY_CACHE_H</span></div>114 <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>
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_BFR_SURFACE_FACTORY_CACHE_H</span></div>115 <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>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../bfr/irregularPatchType.h&quot;</span></div>119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../vtr/stackBuffer.h&quot;</span></div>
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&lt;map&gt;</span></div>121 <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>
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·&lt;cstdint&gt;</span></div>122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>
124 <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> 
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> 
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> 
127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">namespace·</span>Bfr·{</div>124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>Bfr·{</div>
128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
129 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="comment">//</span></div>126 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="comment">//</span></div>
130 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="comment">//··Initial/expected·use·requires·simple·searches·of·and·additions·to·the</span></div> 
131 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="comment">//··cache·by·the·SurfaceFactory·or·its·Builders.··Longer·term,·with·the</span></div> 
132 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="comment">//··possibility·of·instances·of·caches·being·shared·between·meshes·and</span></div> 
133 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="comment">//··factories,·additional·options·and/or·public·methods·may·be·warranted</span></div> 
134 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="comment">//··to·limit·what·is·cached·or·to·prune·the·cache·if·it·gets·too·large.</span></div>127 <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>
 128 <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>
135 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">//</span></div>129 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="comment">//</span></div>
136 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a00949.html">···59</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a00949.html">SurfaceFactoryCache</a>·{</div>130 <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>
 131 <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>
137 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="keyword">public</span>:</div>132 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="comment">//··the·virtual·method:</span></div>
138 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a00949.html#a3f63565868cb0b0871e2db37939ec0e2">···61</a></span>····<a·class="code·hl_function"·href="a00949.html#a3f63565868cb0b0871e2db37939ec0e2">SurfaceFactoryCache</a>();</div> 
139 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a00949.html#a624a2bb484d2deb54dd08d3310e746b3">···62</a></span>····<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a00949.html#a624a2bb484d2deb54dd08d3310e746b3">~SurfaceFactoryCache</a>();</div> 
140 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> 
141 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a00949.html#a704742f6a7a07e766b5320c8d6f2f745">···64</a></span>····<a·class="code·hl_function"·href="a00949.html#a704742f6a7a07e766b5320c8d6f2f745">SurfaceFactoryCache</a>(<a·class="code·hl_class"·href="a00949.html">SurfaceFactoryCache</a>·<span·class="keyword">const</span>·&amp;)·=·<span·class="keyword">delete</span>;</div> 
142 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a00949.html#a736c32f5c64da3442ff1c74ef1fb9ff7">···65</a></span>····<a·class="code·hl_class"·href="a00949.html">SurfaceFactoryCache</a>·&amp;·<a·class="code·hl_function"·href="a00949.html#a736c32f5c64da3442ff1c74ef1fb9ff7">operator=</a>(<a·class="code·hl_class"·href="a00949.html">SurfaceFactoryCache</a>·<span·class="keyword">const</span>·&amp;)·=·<span·class="keyword">delete</span>;</div> 
143 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> 
144 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="keyword">protected</span>:</div> 
145 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="comment">//··Access·restricted·to·the·Factory,·its·Builders,·etc.</span></div> 
146 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="keyword">friend</span>·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a00941.html">SurfaceFactory</a>;</div> 
147 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> 
148 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="keyword">typedef</span>·std::uint64_t·····················KeyType;</div> 
149 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="keyword">typedef</span>·internal::IrregularPatchSharedPtr·DataType;</div> 
150 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> 
151 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="keyword">protected</span>:</div> 
152 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····<span·class="keywordtype">size_t</span>·Size()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_map.size();·}</div> 
153 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> 
154 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····<span·class="comment">//</span></div>133 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="comment">//</span></div>
 134 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">//······int·populateFaceVertexDescriptor(Index·baseFace,</span></div>
 135 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="comment">//·······································int·cornerVertex,</span></div>
 136 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="comment">//·······································VertexDescriptor·&amp;·v)·const;</span></div>
 137 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="comment">//</span></div>
 138 <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>
 139 <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>
 140 <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>
 141 <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>
 142 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="comment">//</span></div>
 143 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="comment">//······int··numIncidentFaces·=·2;</span></div>
155 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<span·class="comment">//··Potential·overrides·by·subclasses·for·thread-safety:</span></div>144 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="comment">//······bool·vertexOnBoundary·=·true;</span></div>
 145 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="comment">//</span></div>
 146 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="comment">//······vd.Initialize(numIncidentFaces);</span></div>
 147 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="comment">//··········vd.SetManifold(true);</span></div>
 148 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="comment">//··········vd.SetBoundary(vertexOnBoundary);</span></div>
 149 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="comment">//··········vd.ClearIncidentFaceSizes();</span></div>
 150 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="comment">//······vd.Finalize();</span></div>
 151 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="comment">//</span></div>
 152 <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>
 153 <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>
 154 <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>
 155 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="comment">//</span></div>
 156 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="comment">//······int··numIncidentFaces·=·meshVertex.GetNumIncidentFaces();</span></div>
 157 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="comment">//······bool·vertexOnBoundary·=·meshVertex.IsBoundar();</span></div>
156 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="comment">//</span></div>158 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="comment">//</span></div>
157 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····<span·class="keyword">virtual</span>·DataType·Find(KeyType·<span·class="keyword">const</span>·&amp;·key)·<span·class="keyword">const</span>;</div> 
158 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="keyword">virtual</span>·DataType·Add(KeyType·<span·class="keyword">const</span>·&amp;·key,·DataType·<span·class="keyword">const</span>·&amp;·data);</div> 
159 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>159 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="comment">//······vd.Initialize(numIncidentFaces);</span></div>
 160 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="comment">//··········vd.SetManifold(true);</span></div>
 161 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span><span·class="comment">//··········vd.SetBoundary(vertexOnBoundary);</span></div>
160 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="comment">//</span></div>162 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="comment">//</span></div>
 163 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><span·class="comment">//··········for·(int·i·=·0;·i·&lt;·numIncidentFaces;·++i)·{</span></div>
 164 <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>
161 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<span·class="comment">//··Common·implementation·used·by·all·subclasses:</span></div>165 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="comment">//··········}</span></div>
 166 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span><span·class="comment">//······vd.Finalize();</span></div>
 167 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span><span·class="comment">//</span></div>
 168 <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>
 169 <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>
 170 <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>
 171 <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>
 172 <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>
 173 <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>
 174 <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>
 175 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span><span·class="comment">//</span></div>
 176 <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>
Max diff block lines reached; 55054/89014 bytes (61.85%) of diff not shown.
20.5 KB
html2text {}
    
Offset 4, 15 lines modifiedOffset 4, 15 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 surfaceFactoryCache.h5 vertexDescriptor.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2021·Pixar8 ·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·in11 ·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 30, 131 lines modifiedOffset 30, 446 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_BFR_SURFACE_FACTORY_CACHE_H 
38 ·26#define·OPENSUBDIV3_BFR_SURFACE_FACTORY_CACHE_H37 ·25#ifndef·OPENSUBDIV3_BFR_VERTEX_DESCRIPTOR_H
 38 ·26#define·OPENSUBDIV3_BFR_VERTEX_DESCRIPTOR_H
39 ·2739 ·27
40 ·28#include·"../version.h"40 ·28#include·"../version.h"
41 ·2941 ·29
42 ·30#include·"../bfr/irregularPatchType.h"42 ·30#include·"../vtr/stackBuffer.h"
43 ·3143 ·31
44 ·32#include·<map> 
45 ·33#include·<cstdint>44 ·32namespace·OpenSubdiv·{
 45 ·33namespace·OPENSUBDIV_VERSION·{
46 ·3446 ·34
47 ·35namespace·OpenSubdiv·{ 
48 ·36namespace·OPENSUBDIV_VERSION·{ 
49 ·37 
50 ·38namespace·Bfr·{47 ·35namespace·Bfr·{
51 ·3948 ·36
52 ·52//49 ·50//
 50 ·51//·WIP·-·need·to·migrate·some·of·these·comments·into·Doxygen
 51 ·52//·-·others·will·be·moved·to·the·external·documentation
53 ·53//·Initial/expected·use·requires·simple·searches·of·and·additions·to·the 
54 ·54//·cache·by·the·SurfaceFactory·or·its·Builders.·Longer·term,·with·the 
55 ·55//·possibility·of·instances·of·caches·being·shared·between·meshes·and 
56 ·56//·factories,·additional·options·and/or·public·methods·may·be·warranted 
57 ·57//·to·limit·what·is·cached·or·to·prune·the·cache·if·it·gets·too·large. 
58 ·58//52 ·53//
59 59class·SurfaceFactoryCache·{ 
60 ·60public: 
61 61·SurfaceFactoryCache(); 
62 62·virtual·~SurfaceFactoryCache(); 
63 ·63 
64 64·SurfaceFactoryCache(SurfaceFactoryCache·const·&)·=·delete; 
65 65·SurfaceFactoryCache·&·operator=(SurfaceFactoryCache·const·&)·=·delete;53 ·54//·It·is·used·by·subclasses·of·SurfaceFactory·to·provide·a·complete
 54 ·55//·topological·description·for·each·vertex·of·a·face,·i.e.·invoked·via
 55 ·56//·the·virtual·method:
 56 ·57//
 57 ·58//·int·populateFaceVertexDescriptor(Index·baseFace,
 58 ·59//·int·cornerVertex,
 59 ·60//·VertexDescriptor·&·v)·const;
 60 ·61//
 61 ·62//·Assignment·of·the·full·topology·can·be·involved·in·the·presence·of
 62 ·63//·irregular·faces,·non-manifold·topology·or·creasing·around·a·vertex,·but
 63 ·64//·many·cases·will·be·simple.·For·example,·to·specify·a·regular·boundary
 64 ·65//·vertex·of·a·Catmark·mesh·without·any·optional·sharpness:
66 ·6665 ·66//
67 ·67protected: 
68 ·69·//·Access·restricted·to·the·Factory,·its·Builders,·etc. 
69 ·70·friend·class·SurfaceFactory; 
70 ·71 
71 ·72·typedef·std::uint64_t·KeyType; 
72 ·73·typedef·internal::IrregularPatchSharedPtr·DataType;66 ·67//·int·numIncidentFaces·=·2;
 67 ·68//·bool·vertexOnBoundary·=·true;
 68 ·69//
 69 ·70//·vd.Initialize(numIncidentFaces);
 70 ·71//·vd.SetManifold(true);
 71 ·72//·vd.SetBoundary(vertexOnBoundary);
 72 ·73//·vd.ClearIncidentFaceSizes();
 73 ·74//·vd.Finalize();
73 ·7574 ·75//
74 ·76protected: 
75 ·78·size_t·Size()·const·{·return·_map.size();·}75 ·76//·For·a·more·general·example,·to·assign·a·vertex·of·some·valence·whose
 76 ·77//·incident·faces·are·of·different·sizes·(e.g.·required·when·triangles
 77 ·78//·appear·around·a·vertex·in·an·otherwise·quad-dominant·Catmark·mesh):
76 ·7978 ·79//
77 ·80·// 
78 ·81·//·Potential·overrides·by·subclasses·for·thread-safety:79 ·80//·int·numIncidentFaces·=·meshVertex.GetNumIncidentFaces();
 80 ·81//·bool·vertexOnBoundary·=·meshVertex.IsBoundar();
79 ·82·//81 ·82//
80 ·83·virtual·DataType·Find(KeyType·const·&·key)·const; 
81 ·84·virtual·DataType·Add(KeyType·const·&·key,·DataType·const·&·data); 
82 ·8582 ·83//·vd.Initialize(numIncidentFaces);
 83 ·84//·vd.SetManifold(true);
 84 ·85//·vd.SetBoundary(vertexOnBoundary);
83 ·86·//85 ·86//
84 ·87·//·Common·implementation·used·by·all·subclasses: 
85 ·88·// 
86 ·89·DataType·find(KeyType·const·&·key)·const; 
87 ·90·DataType·add(KeyType·const·&·key,·DataType·const·&·data); 
88 ·92 
89 ·93private: 
90 ·94·typedef·std::map<KeyType,·DataType>·MapType; 
91 ·95 
92 ·96·MapType·_map; 
93 ·97}; 
94 ·98 
95 ·113//·Separate·read·and·write·locks·are·provided·to·support·mutex·types 
96 ·114//·allowing·shared·(read)·or·exclusive·(write)·access.86 ·87//·for·(int·i·=·0;·i·<·numIncidentFaces;·++i)·{
 87 ·88//·vd.SetIncidentFaceSize(i,·meshVertex.GetIncidentFaceSize(i));
 88 ·89//·}
 89 ·90//·vd.Finalize();
 90 ·91//
 91 ·92//·These·examples·specify·the·incident·faces·as·forming·a·manifold·ring
 92 ·93//·(or·half-ring)·around·the·vertex,·i.e.·they·can·be·specified·as·a
 93 ·94//·continuous,·connected·sequence·in·counter-clockwise·order·(and·also
 94 ·95//·without·degeneracies).·In·the·case·of·a·boundary·vertex,·the·first
 95 ·96//·face·must·be·on·the·leading·edge·of·the·boundary·while·the·last·is·on
 96 ·97//·the·trailing·edge.·For·an·interior·vertex,·which·face·is·specified
 97 ·98//·first·does·not·matter·(since·the·set·is·periodic).
 98 ·99//
 99 ·100//·In·both·cases,·the·location·of·the·base·face·in·this·sequence·--·the
 100 ·101//·face·whose·corner·vertex·is·being·described·here·--·must·be·specified
 101 ·102//·in·the·return·value·to·populateFaceVertexDescriptor()·(e.g.·when·a
 102 ·103//·boundary·vertex·has·3·incident·faces,·a·return·value·of·0,·1·or·2
 103 ·104//·will·indicate·which·is·the·base·face).
Max diff block lines reached; 15121/20982 bytes (72.07%) of diff not shown.
7.56 KB
./usr/share/doc/opensubdiv/doxy_html/a00680.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/tessellation.h·File·Reference</title>8 <title>OpenSubdiv:·opensubdiv/bfr/surfaceFactoryCache.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 83, 29 lines modifiedOffset 83, 31 lines modified
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124;87 <a·href="#nested-classes">Classes</a>·&#124;
88 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">tessellation.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">surfaceFactoryCache.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
93 <code>#include·&quot;<a·class="el"·href="a00695_source.html">../bfr/parameterization.h</a>&quot;</code><br·/>93 <code>#include·&quot;../bfr/irregularPatchType.h&quot;</code><br·/>
 94 <code>#include·&lt;map&gt;</code><br·/>
 95 <code>#include·&lt;cstdint&gt;</code><br·/>
94 </div>96 </div>
95 <p><a·href="a00680_source.html">Go·to·the·source·code·of·this·file.</a></p>97 <p><a·href="a00680_source.html">Go·to·the·source·code·of·this·file.</a></p>
96 <table·class="memberdecls">98 <table·class="memberdecls">
97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
98 Classes</h2></td></tr>100 Classes</h2></td></tr>
99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00961.html">Tessellation</a></td></tr>101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00949.html">SurfaceFactoryCache</a></td></tr>
100 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</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>102 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Container·used·internally·by·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·to·store·reusable·information.··<a·href="a00949.html#details">More...</a><br·/></td></tr>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00965.html">Tessellation::Options</a></td></tr> 
103 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</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="a00[·...·truncated·by·diffoscope;·len:·283,·SHA:·bbe1dbb246f61df778df954b9cc08022362fbb55ab115d217c020b88a440d2c0·...·]></td></tr>104 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00953.html">SurfaceFactoryCacheThreaded&lt;·MUTEX_TYPE,·READ_LOCK_GUARD_TYPE,·WRITE_LOCK_GUARD_TYPE·&gt;</a></td></tr>
 105 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Template·for·declaring·thread-safe·subclasses·of·<a·class="el"·href="a00949.html"·title="Container·used·internally·by·SurfaceFactory·to·store·reusable·information.">SurfaceFactoryCache</a>.··<a·href="a00953.html#details">More...</a><br·/></td></tr>
104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
105 </table><table·class="memberdecls">107 </table><table·class="memberdecls">
106 <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>
107 Namespaces</h2></td></tr>109 Namespaces</h2></td></tr>
108 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>110 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
110 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>112 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>
Offset 114, 13 lines modifiedOffset 116, 13 lines modified
114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>116 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
115 </table>117 </table>
116 </div><!--·contents·-->118 </div><!--·contents·-->
117 </div><!--·doc-content·-->119 </div><!--·doc-content·-->
118 <!--·start·footer·part·-->120 <!--·start·footer·part·-->
119 <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!·-->
120 ··<ul>122 ··<ul>
121 ····<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="a00680.html">tessellation.h</a></li>123 ····<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="a00680.html">surfaceFactoryCache.h</a></li>
122 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>124 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
123 ··</ul>125 ··</ul>
124 </div>126 </div>
125 </body>127 </body>
126 </html>128 </html>
1.29 KB
html2text {}
    
Offset 5, 32 lines modifiedOffset 5, 34 lines modified
  
  
  
5 [Logo]·OpenSubdiv5 [Logo]·OpenSubdiv
  
  
6 Classes·|·Namespaces6 Classes·|·Namespaces
7 tessellation.h·File·Reference7 surfaceFactoryCache.h·File·Reference
8 #include·"../version.h"8 #include·"../version.h"
9 #include·"../bfr/parameterization.h"9 #include·"../bfr/irregularPatchType.h"
 10 #include·<map>
 11 #include·<cstdint>
10 Go_to_the_source_code_of_this_file.12 Go_to_the_source_code_of_this_file.
11 ·Classes13 ·Classes
12 class· Tessellation 
13  ······Encapsulates·a·specific·tessellation·pattern·of·a·Parameterization. 
14 ········More...14 class· SurfaceFactoryCache
 15  ······Container·used·internally·by·SurfaceFactory·to·store·reusable
 16 ········information.·More...
15  17  
16 class· Tessellation::Options 
17 ········Options·configure·a·Tessellation·to·specify·the·nature·of·both·its 
18  ······results·and·the·structure·of·the·coordinate·and·facet·index·arrays·that 
19 ········its·methods·will·populate.·More...18 class· SurfaceFactoryCacheThreaded<_MUTEX_TYPE,_READ_LOCK_GUARD_TYPE,
 19 ········WRITE_LOCK_GUARD_TYPE_>
 20  ······Template·for·declaring·thread-safe·subclasses·of·SurfaceFactoryCache.
 21 ········More...
20  22  
21 ·Namespaces23 ·Namespaces
22 namespace· OpenSubdiv24 namespace· OpenSubdiv
23  25  
24 namespace· OpenSubdiv::OPENSUBDIV_VERSION26 namespace· OpenSubdiv::OPENSUBDIV_VERSION
25  27  
26 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Bfr28 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Bfr
27  29  
28 ····*·opensubdiv30 ····*·opensubdiv
29 ····*·bfr31 ····*·bfr
30 ····*·tessellation.h32 ····*·surfaceFactoryCache.h
31 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.433 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
436 B
./usr/share/doc/opensubdiv/doxy_html/a00680.js
344 B
js-beautify {}
    
Offset 1, 4 lines modifiedOffset 1, 4 lines modified
1 var·a00680·=·[1 var·a00680·=·[
2 ····["Tessellation",·"a00961.html",·"a00961"], 
3 ····["Tessellation::Options",·"a00965.html",·"a00965"]2 ····["SurfaceFactoryCache",·"a00949.html",·"a00949"],
 3 ····["SurfaceFactoryCacheThreaded<·MUTEX_TYPE,·READ_LOCK_GUARD_TYPE,·WRITE_LOCK_GUARD_TYPE·>",·"a00953.html",·"a00953"]
4 ];4 ];
94.6 KB
./usr/share/doc/opensubdiv/doxy_html/a00680_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/tessellation.h·Source·File</title>8 <title>OpenSubdiv:·opensubdiv/bfr/surfaceFactoryCache.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 80, 15 lines modifiedOffset 80, 15 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">tessellation.h</div></div>86 ··<div·class="headertitle"><div·class="title">surfaceFactoryCache.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <a·href="a00680.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>89 <a·href="a00680.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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2021·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2021·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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 107, 263 lines modifiedOffset 107, 122 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_BFR_TESSELLATION_H</span></div>114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_BFR_SURFACE_FACTORY_CACHE_H</span></div>
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_BFR_TESSELLATION_H</span></div>115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_BFR_SURFACE_FACTORY_CACHE_H</span></div>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../bfr/parameterization.h&quot;</span></div>119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../bfr/irregularPatchType.h&quot;</span></div>
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
121 <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>121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&lt;map&gt;</span></div>
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·&lt;cstdint&gt;</span></div>
123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>
 124 <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>
 125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
 126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>Bfr·{</div>127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">namespace·</span>Bfr·{</div>
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
126 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a00961.html">···51</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a00961.html">Tessellation</a>·{</div> 
127 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">public</span>:</div>129 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="comment">//</span></div>
 130 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="comment">//··Initial/expected·use·requires·simple·searches·of·and·additions·to·the</span></div>
 131 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="comment">//··cache·by·the·SurfaceFactory·or·its·Builders.··Longer·term,·with·the</span></div>
 132 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="comment">//··possibility·of·instances·of·caches·being·shared·between·meshes·and</span></div>
 133 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="comment">//··factories,·additional·options·and/or·public·methods·may·be·warranted</span></div>
 134 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="comment">//··to·limit·what·is·cached·or·to·prune·the·cache·if·it·gets·too·large.</span></div>
 135 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">//</span></div>
128 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a00965.html">···65</a></span>····<span·class="keyword">class·</span><a·class="code·hl_class"·href="a00965.html">Options</a>·{</div>136 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a00949.html">···59</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a00949.html">SurfaceFactoryCache</a>·{</div>
129 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····<span·class="keyword">public</span>:</div>137 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="keyword">public</span>:</div>
130 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a00965.html#a28d39a844c3a37ab61d32ab7c6352f09">···67</a></span>········<a·class="code·hl_function"·href="a00965.html#a28d39a844c3a37ab61d32ab7c6352f09">Options</a>()·:·_preserveQuads(false),·_facetSize4(false),</div> 
131 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····················_coordStride(0),·_facetStride(0)·{·}</div>138 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a00949.html#a3f63565868cb0b0871e2db37939ec0e2">···61</a></span>····<a·class="code·hl_function"·href="a00949.html#a3f63565868cb0b0871e2db37939ec0e2">SurfaceFactoryCache</a>();</div>
 139 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a00949.html#a624a2bb484d2deb54dd08d3310e746b3">···62</a></span>····<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a00949.html#a624a2bb484d2deb54dd08d3310e746b3">~SurfaceFactoryCache</a>();</div>
132 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>140 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
133 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>········<a·class="code·hl_class"·href="a00965.html">Options</a>·&amp;·<a·class="code·hl_function"·href="a00965.html#ae2ec197b850e8bd12878cc67a503a07a">PreserveQuads</a>(<span·class="keywordtype">bool</span>·on);</div> 
134 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a00965.html#ae2ec197b850e8bd12878cc67a503a07a">···74</a></span>········<span·class="keywordtype">bool</span>······<a·class="code·hl_function"·href="a00965.html#ae2ec197b850e8bd12878cc67a503a0[·...·truncated·by·diffoscope;·len:·118,·SHA:·fa3eb994c05e85cabd1bdf66a2d2b05baa5506de3c4469444acf06a0520b034a·...·]</div>141 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a00949.html#a704742f6a7a07e766b5320c8d6f2f745">···64</a></span>····<a·class="code·hl_function"·href="a00949.html#a704742f6a7a07e766b5320c8d6f2f745">SurfaceFactoryCache</a>(<a·class="code·hl_c[·...·truncated·by·diffoscope;·len:·129,·SHA:·24649870c52c960f9d8d48a594ba2fbbbd7a1c97c6e73e8f4f01f177956fa463·...·]</div>
 142 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a00949.html#a736c32f5c64da3442ff1c74ef1fb9ff7">···65</a></span>····<a·class="code·hl_class"·href="a00949.html">SurfaceFactoryCache</a>·&amp;·<a·class="code·hl_function"·href="a00949.html#a736c32f5c64da3442ff1c74ef1fb9ff7">operator=</a>(<a·class="code·hl_class"·href="a00949.html">SurfaceFactoryCache</a>·<span·class="keyword">const</span>·&amp;)·=·<span·class="keyword">delete</span>;</div>
 143 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
 144 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="keyword">protected</span>:</div>
 145 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="comment">//··Access·restricted·to·the·Factory,·its·Builders,·etc.</span></div>
 146 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="keyword">friend</span>·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a00941.html">SurfaceFactory</a>;</div>
 147 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>
 148 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="keyword">typedef</span>·std::uint64_t·····················KeyType;</div>
 149 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="keyword">typedef</span>·internal::IrregularPatchSharedPtr·DataType;</div>
135 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>150 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
136 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>········<a·class="code·hl_class"·href="a00965.html">Options</a>·&amp;·<a·class="code·hl_function"·href="a00965.html#a50c6e039e8278312e95c1dd94b8478e0">SetFacetSize</a>(<span·class="keywordtype">int</span>·numIndices);</div> 
137 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>········<span·class="comment">//··@brief·Return·the·number·of·indices·per·facet</span></div> 
138 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a00965.html#a671621e55bfbc48db77919d5fd31744f">···80</a></span>········<span·class="keywordtype">int</span>·······<a·class="code·hl_function"·href="a00965.html#a671621e55bfbc48db77919d5fd31744f">GetFacetSize</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·3·+·(int)_facetSize4;·}</div> 
139 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> 
140 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>········<a·class="code·hl_class"·href="a00965.html">Options</a>·&amp;·<a·class="code·hl_function"·href="a00965.html#ad6a995daa3f819edeeaf0a8c1aeb8b6a">SetFacetStride</a>(<span·class="keywordtype">int</span>·stride);</div> 
141 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a00965.html#a54b068769e4e728e78528f9bdde25b86">···85</a></span>········<span·class="keywordtype">int</span>·······<a·class="code·hl_function"·href="a00965.html#a54b068769e4e728e78528f9bdde25b86">GetFacetStride</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_facetStride;·}</div> 
142 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>151 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="keyword">protected</span>:</div>
 152 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····<span·class="keywordtype">size_t</span>·Size()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_map.size();·}</div>
143 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>········<a·class="code·hl_class"·href="a00965.html">Options</a>·&amp;·<a·class="code·hl_function"·href="a00965.html#aa7688afdaece2c387e8963d634752aa6">SetCoordStride</a>(<span·class="keywordtype">int</span>·stride);</div> 
144 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno"><a·class="line"·href="a00965.html#a3f642ed70a22d6d9d3d2fe79029653f5">···90</a></span>········<span·class="keywordtype">int</span>·······<a·class="code·hl_function"·href="a00965.html#a3f642ed70a22d6d9d3d2fe79029653f5">GetCoordStride</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_coordStride;·}</div> 
145 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>153 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>
 154 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····<span·class="comment">//</span></div>
 155 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<span·class="comment">//··Potential·overrides·by·subclasses·for·thread-safety:</span></div>
 156 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="comment">//</span></div>
 157 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····<span·class="keyword">virtual</span>·DataType·Find(KeyType·<span·class="keyword">const</span>·&amp;·key)·<span·class="keyword">const</span>;</div>
 158 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="keyword">virtual</span>·DataType·Add(KeyType·<span·class="keyword">const</span>·&amp;·key,·DataType·<span·class="keyword">const</span>·&amp;·data);</div>
 159 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>
 160 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="comment">//</span></div>
 161 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<span·class="comment">//··Common·implementation·used·by·all·subclasses:</span></div>
 162 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····<span·class="comment">//</span></div>
 163 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····DataType·find(KeyType·<span·class="keyword">const</span>·&amp;·key)·<span·class="keyword">const</span>;</div>
 164 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····DataType·add(KeyType·<span·class="keyword">const</span>·&amp;·key,·DataType·<span·class="keyword">const</span>·&amp;·data);</div>
 165 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div>
146 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····<span·class="keyword">private</span>:</div>166 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span><span·class="keyword">private</span>:</div>
147 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>········<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·_preserveQuads·:·1;</div> 
148 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>········<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·_facetSize4····:·1;</div>167 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····<span·class="keyword">typedef</span>·std::map&lt;KeyType,·DataType&gt;·MapType;</div>
149 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div>168 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div>
150 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>········<span·class="keywordtype">short</span>·_coordStride;</div>169 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····MapType·_map;</div>
151 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>········<span·class="keywordtype">short</span>·_facetStride;</div>170 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>};</div>
152 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>····};</div>171 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>
 172 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span><span·class="comment">//··Separate·read·and·write·locks·are·provided·to·support·mutex·types</span></div>
 173 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span><span·class="comment">//··allowing·shared·(read)·or·exclusive·(write)·access.</span></div>
153 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div>174 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span><span·class="comment">//·</span></div>
 175 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span><span·class="keyword">template</span>·&lt;<span·class="keyword">class·</span>MUTEX_TYPE,·<span·class="keyword">class·</span>READ_LOCK_GUARD_TYPE,</div>
 176 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>····························<span·class="keyword">class·</span>WRITE_LOCK_GUARD_TYPE&gt;</div>
 177 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno"><a·class="line"·href="a00953.html">··118</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a00953.html">SurfaceFactoryCacheThreaded</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a00949.html">SurfaceFactoryCache</a>·{</div>
154 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span><span·class="keyword">public</span>:</div>178 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span><span·class="keyword">public</span>:</div>
 179 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno"><a·class="line"·href="a00953.html#a9e84b6f045809c700d7dc53c3a350afe">··120</a></span>····<a·class="code·hl_function"·href="a00953.html#a9e84b6f045809c700d7dc53c3a350afe">SurfaceFactoryCacheThreaded</a>()·:·<a·class="code·hl_class"·href="a00949.html">SurfaceFactoryCache</a>()·{·}</div>
 180 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno"><a·class="line"·href="a00953.html#ac74eea23eda9dbc078678ee5d440c7b8">··121</a></span>····<a·class="code·hl_function"·href="a00953.html#ac74eea23eda9dbc078678ee5d440c7b8">~SurfaceFactoryCacheThreaded</a>()·<span·class="keyword">override</span>·=·<span·class="keywordflow">default</span>;</div>
155 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div>181 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>·</div>
 182 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span><span·class="keyword">protected</span>:</div>
 183 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>····<span·class="comment">//</span></div>
 184 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>····<span·class="comment">//··Virtual·overrides·from·base:</span></div>
 185 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>····<span·class="comment">//</span></div>
 186 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>····DataType·Find(KeyType·<span·class="keyword">const</span>·&amp;·key)<span·class="keyword">·const·override·</span>{</div>
 187 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>········READ_LOCK_GUARD_TYPE·lockGuard(_mutex);</div>
 188 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>········<span·class="keywordflow">return</span>·find(key);</div>
156 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div>189 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>····}</div>
Max diff block lines reached; 21290/78573 bytes (27.10%) of diff not shown.
17.8 KB
html2text {}
    
Offset 4, 15 lines modifiedOffset 4, 15 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 tessellation.h5 surfaceFactoryCache.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2021·Pixar8 ·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·in11 ·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 30, 367 lines modifiedOffset 30, 131 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_BFR_TESSELLATION_H 
38 ·26#define·OPENSUBDIV3_BFR_TESSELLATION_H37 ·25#ifndef·OPENSUBDIV3_BFR_SURFACE_FACTORY_CACHE_H
 38 ·26#define·OPENSUBDIV3_BFR_SURFACE_FACTORY_CACHE_H
39 ·2739 ·27
40 ·28#include·"../version.h"40 ·28#include·"../version.h"
41 ·2941 ·29
42 ·30#include·"../bfr/parameterization.h"42 ·30#include·"../bfr/irregularPatchType.h"
43 ·3143 ·31
44 ·32namespace·OpenSubdiv·{ 
45 ·33namespace·OPENSUBDIV_VERSION·{44 ·32#include·<map>
 45 ·33#include·<cstdint>
46 ·3446 ·34
 47 ·35namespace·OpenSubdiv·{
 48 ·36namespace·OPENSUBDIV_VERSION·{
 49 ·37
47 ·35namespace·Bfr·{50 ·38namespace·Bfr·{
48 ·36 
49 51class·Tessellation·{ 
50 ·52public: 
51 65·class·Options·{51 ·39
 52 ·52//
 53 ·53//·Initial/expected·use·requires·simple·searches·of·and·additions·to·the
 54 ·54//·cache·by·the·SurfaceFactory·or·its·Builders.·Longer·term,·with·the
 55 ·55//·possibility·of·instances·of·caches·being·shared·between·meshes·and
 56 ·56//·factories,·additional·options·and/or·public·methods·may·be·warranted
 57 ·57//·to·limit·what·is·cached·or·to·prune·the·cache·if·it·gets·too·large.
 58 ·58//
 59 59class·SurfaceFactoryCache·{
52 ·66·public:60 ·60public:
53 67·Options()·:·_preserveQuads(false),·_facetSize4(false), 
54 ·68·_coordStride(0),·_facetStride(0)·{·} 
55 ·69 
56 ·72·Options·&·PreserveQuads(bool·on); 
57 74·bool·PreserveQuads()·const·{·return·_preserveQuads;·}61 61·SurfaceFactoryCache();
 62 62·virtual·~SurfaceFactoryCache();
 63 ·63
 64 64·SurfaceFactoryCache(SurfaceFactoryCache·const·&)·=·delete;
 65 65·SurfaceFactoryCache·&·operator=(SurfaceFactoryCache·const·&)·=·delete;
 66 ·66
 67 ·67protected:
 68 ·69·//·Access·restricted·to·the·Factory,·its·Builders,·etc.
 69 ·70·friend·class·SurfaceFactory;
 70 ·71
 71 ·72·typedef·std::uint64_t·KeyType;
 72 ·73·typedef·internal::IrregularPatchSharedPtr·DataType;
58 ·7573 ·75
59 ·78·Options·&·SetFacetSize(int·numIndices); 
60 ·79·//·@brief·Return·the·number·of·indices·per·facet 
61 80·int·GetFacetSize()·const·{·return·3·+·(int)_facetSize4;·} 
62 ·81 
63 ·83·Options·&·SetFacetStride(int·stride); 
64 85·int·GetFacetStride()·const·{·return·_facetStride;·} 
65 ·86 
66 ·88·Options·&·SetCoordStride(int·stride); 
67 90·int·GetCoordStride()·const·{·return·_coordStride;·} 
68 ·9174 ·76protected:
 75 ·78·size_t·Size()·const·{·return·_map.size();·}
 76 ·79
 77 ·80·//
 78 ·81·//·Potential·overrides·by·subclasses·for·thread-safety:
 79 ·82·//
 80 ·83·virtual·DataType·Find(KeyType·const·&·key)·const;
 81 ·84·virtual·DataType·Add(KeyType·const·&·key,·DataType·const·&·data);
 82 ·85
 83 ·86·//
 84 ·87·//·Common·implementation·used·by·all·subclasses:
 85 ·88·//
 86 ·89·DataType·find(KeyType·const·&·key)·const;
 87 ·90·DataType·add(KeyType·const·&·key,·DataType·const·&·data);
 88 ·92
69 ·92·private:89 ·93private:
 90 ·94·typedef·std::map<KeyType,·DataType>·MapType;
70 ·93·unsigned·int·_preserveQuads·:·1; 
71 ·94·unsigned·int·_facetSize4·:·1; 
72 ·9591 ·95
 92 ·96·MapType·_map;
 93 ·97};
73 ·96·short·_coordStride; 
74 ·97·short·_facetStride; 
75 ·98·}; 
76 ·99 
77 ·100public: 
78 ·102 
79 ·111 
80 118·Tessellation(Parameterization·const·&·p,·int·uniformRate, 
81 ·119·Options·const·&·options·=·Options()); 
82 ·120 
83 158·Tessellation(Parameterization·const·&·p,·int·numRates,·int·const·rates[], 
84 ·159·Options·const·&·options·=·Options()); 
85 ·160 
86 162·bool·IsValid()·const·{·return·_isValid;·} 
87 ·163 
88 165·Tessellation()·=·delete; 
89 ·166 
90 167·Tessellation(Tessellation·const·&)·=·delete; 
91 168·Tessellation·&·operator=(Tessellation·const·&)·=·delete; 
92 169·~Tessellation(); 
93 ·171 
94 ·173 
95 ·177 
96 179·Parameterization·GetParameterization()·const·{·return·_param;·} 
97 ·180 
98 182·int·GetFaceSize()·const·{·return·_param.GetFaceSize();·} 
99 ·183 
Max diff block lines reached; 8728/18187 bytes (47.99%) of diff not shown.
4.67 KB
./usr/share/doc/opensubdiv/doxy_html/a00683_source.html
    
Offset 231, 15 lines modifiedOffset 231, 15 lines modified
231 <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>231 <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>
232 <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>232 <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>
233 <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>233 <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>
234 <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>234 <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>
235 <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>235 <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>
236 <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>236 <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>
237 <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>237 <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>
238 <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>238 <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="a00677_source.html#l00131">vertexDescriptor.h:131</a></div></div>
239 </div><!--·fragment·--></div><!--·contents·-->239 </div><!--·fragment·--></div><!--·contents·-->
240 </div><!--·doc-content·-->240 </div><!--·doc-content·-->
241 <!--·start·footer·part·-->241 <!--·start·footer·part·-->
242 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->242 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
243 ··<ul>243 ··<ul>
244 ····<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>244 ····<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>
245 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>245 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
1.17 KB
./usr/share/doc/opensubdiv/doxy_html/a00686.html
    
Offset 89, 15 lines modifiedOffset 89, 15 lines modified
89 <a·href="#namespaces">Namespaces</a>··</div>89 <a·href="#namespaces">Namespaces</a>··</div>
90 ··<div·class="headertitle"><div·class="title">surfaceFactory.h·File·Reference</div></div>90 ··<div·class="headertitle"><div·class="title">surfaceFactory.h·File·Reference</div></div>
91 </div><!--header-->91 </div><!--header-->
92 <div·class="contents">92 <div·class="contents">
93 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>93 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
94 <code>#include·&quot;<a·class="el"·href="a00689_source.html">../bfr/surface.h</a>&quot;</code><br·/>94 <code>#include·&quot;<a·class="el"·href="a00689_source.html">../bfr/surface.h</a>&quot;</code><br·/>
95 <code>#include·&quot;<a·class="el"·href="a00683_source.html">../bfr/surfaceFactoryMeshAdapter.h</a>&quot;</code><br·/>95 <code>#include·&quot;<a·class="el"·href="a00683_source.html">../bfr/surfaceFactoryMeshAdapter.h</a>&quot;</code><br·/>
96 <code>#include·&quot;<a·class="el"·href="a00770_source.html">../sdc/options.h</a>&quot;</code><br·/>96 <code>#include·&quot;<a·class="el"·href="a00890_source.html">../sdc/options.h</a>&quot;</code><br·/>
97 <code>#include·&quot;<a·class="el"·href="a01484_source.html">../sdc/types.h</a>&quot;</code><br·/>97 <code>#include·&quot;<a·class="el"·href="a01484_source.html">../sdc/types.h</a>&quot;</code><br·/>
98 <code>#include·&lt;cstdint&gt;</code><br·/>98 <code>#include·&lt;cstdint&gt;</code><br·/>
99 </div>99 </div>
100 <p><a·href="a00686_source.html">Go·to·the·source·code·of·this·file.</a></p>100 <p><a·href="a00686_source.html">Go·to·the·source·code·of·this·file.</a></p>
101 <table·class="memberdecls">101 <table·class="memberdecls">
102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
103 Classes</h2></td></tr>103 Classes</h2></td></tr>
6.54 KB
./usr/share/doc/opensubdiv/doxy_html/a00686_source.html
    
Offset 462, 19 lines modifiedOffset 462, 19 lines modified
462 <div·class="ttc"·id="aa00945_html_a28d39a844c3a37ab61d32ab7c6352f09"><div·class="ttname"><a·href="a00945.html#a28d39a844c3a37ab61d32ab7c6352f09">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactory::Options::Options</a></div><div·class="ttdeci">Options()</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00686_source.html#l00118">surfaceFactory.h:118</a></div></div>462 <div·class="ttc"·id="aa00945_html_a28d39a844c3a37ab61d32ab7c6352f09"><div·class="ttname"><a·href="a00945.html#a28d39a844c3a37ab61d32ab7c6352f09">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactory::Options::Options</a></div><div·class="ttdeci">Options()</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00686_source.html#l00118">surfaceFactory.h:118</a></div></div>
463 <div·class="ttc"·id="aa00945_html_a2c83835832d46536d097ae6ff32659db"><div·class="ttname"><a·href="a00945.html#a2c83835832d46536d097ae6ff32659db">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactory::Options::IsCachingEnabled</a></div><div·class="ttdeci">bool·IsCachingEnabled()·const</div><div·class="ttdoc">Return·if·caching·is·enable.</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00686_source.html#l00130">surfaceFactory.h:130</a></div></div>463 <div·class="ttc"·id="aa00945_html_a2c83835832d46536d097ae6ff32659db"><div·class="ttname"><a·href="a00945.html#a2c83835832d46536d097ae6ff32659db">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactory::Options::IsCachingEnabled</a></div><div·class="ttdeci">bool·IsCachingEnabled()·const</div><div·class="ttdoc">Return·if·caching·is·enable.</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00686_source.html#l00130">surfaceFactory.h:130</a></div></div>
464 <div·class="ttc"·id="aa00945_html_a2db0e8ff5143c3a69bf3772bac7bde78"><div·class="ttname"><a·href="a00945.html#a2db0e8ff5143c3a69bf3772bac7bde78">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactory::Options::SetDefaultFVarID</a></div><div·class="ttdeci">Options·&amp;·SetDefaultFVarID(FVarID·id)</div><div·class="ttdoc">Assign·the·default·face-varying·ID·(none·assigned·by·default)</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00686_source.html#l00452">surfaceFactory.h:452</a></div></div>464 <div·class="ttc"·id="aa00945_html_a2db0e8ff5143c3a69bf3772bac7bde78"><div·class="ttname"><a·href="a00945.html#a2db0e8ff5143c3a69bf3772bac7bde78">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactory::Options::SetDefaultFVarID</a></div><div·class="ttdeci">Options·&amp;·SetDefaultFVarID(FVarID·id)</div><div·class="ttdoc">Assign·the·default·face-varying·ID·(none·assigned·by·default)</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00686_source.html#l00452">surfaceFactory.h:452</a></div></div>
465 <div·class="ttc"·id="aa00945_html_a391dfc1d3e1d75fc0aa496717784a95e"><div·class="ttname"><a·href="a00945.html#a391dfc1d3e1d75fc0aa496717784a95e">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactory::Options::SetApproxLevelSharp</a></div><div·class="ttdeci">Options·&amp;·SetApproxLevelSharp(int·level)</div><div·class="ttdoc">Assign·maximum·refinement·level·for·sharp·features.</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00686_source.html#l00472">surfaceFactory.h:472</a></div></div>465 <div·class="ttc"·id="aa00945_html_a391dfc1d3e1d75fc0aa496717784a95e"><div·class="ttname"><a·href="a00945.html#a391dfc1d3e1d75fc0aa496717784a95e">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactory::Options::SetApproxLevelSharp</a></div><div·class="ttdeci">Options·&amp;·SetApproxLevelSharp(int·level)</div><div·class="ttdoc">Assign·maximum·refinement·level·for·sharp·features.</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00686_source.html#l00472">surfaceFactory.h:472</a></div></div>
466 <div·class="ttc"·id="aa00945_html_a51ba21f3605015ed597a25303143c0b1"><div·class="ttname"><a·href="a00945.html#a51ba21f3605015ed597a25303143c0b1">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactory::Options::GetDefaultFVarID</a></div><div·class="ttdeci">FVarID·GetDefaultFVarID()·const</div><div·class="ttdoc">Return·the·default·face-varying·ID.</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00686_source.html#l00125">surfaceFactory.h:125</a></div></div>466 <div·class="ttc"·id="aa00945_html_a51ba21f3605015ed597a25303143c0b1"><div·class="ttname"><a·href="a00945.html#a51ba21f3605015ed597a25303143c0b1">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactory::Options::GetDefaultFVarID</a></div><div·class="ttdeci">FVarID·GetDefaultFVarID()·const</div><div·class="ttdoc">Return·the·default·face-varying·ID.</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00686_source.html#l00125">surfaceFactory.h:125</a></div></div>
467 <div·class="ttc"·id="aa00945_html_a595df0016de04902f5954b740c7baa2c"><div·class="ttname"><a·href="a00945.html#a595df0016de04902f5954b740c7baa2c">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactory::Options::GetApproxLevelSharp</a></div><div·class="ttdeci">int·GetApproxLevelSharp()·const</div><div·class="ttdoc">Return·maximum·refinement·level·for·sharp·features.</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00686_source.html#l00147">surfaceFactory.h:147</a></div></div>467 <div·class="ttc"·id="aa00945_html_a595df0016de04902f5954b740c7baa2c"><div·class="ttname"><a·href="a00945.html#a595df0016de04902f5954b740c7baa2c">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactory::Options::GetApproxLevelSharp</a></div><div·class="ttdeci">int·GetApproxLevelSharp()·const</div><div·class="ttdoc">Return·maximum·refinement·level·for·sharp·features.</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00686_source.html#l00147">surfaceFactory.h:147</a></div></div>
468 <div·class="ttc"·id="aa00945_html_acd0411b6d29a6acae3826da06d86bd5b"><div·class="ttname"><a·href="a00945.html#acd0411b6d29a6acae3826da06d86bd5b">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactory::Options::GetExternalCache</a></div><div·class="ttdeci">SurfaceFactoryCache·*·GetExternalCache()·const</div><div·class="ttdoc">Return·any·assigned·external·cache.</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00686_source.html#l00135">surfaceFactory.h:135</a></div></div>468 <div·class="ttc"·id="aa00945_html_acd0411b6d29a6acae3826da06d86bd5b"><div·class="ttname"><a·href="a00945.html#acd0411b6d29a6acae3826da06d86bd5b">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactory::Options::GetExternalCache</a></div><div·class="ttdeci">SurfaceFactoryCache·*·GetExternalCache()·const</div><div·class="ttdoc">Return·any·assigned·external·cache.</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00686_source.html#l00135">surfaceFactory.h:135</a></div></div>
469 <div·class="ttc"·id="aa00949_html"><div·class="ttname"><a·href="a00949.html">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryCache</a></div><div·class="ttdoc">Container·used·internally·by·SurfaceFactory·to·store·reusable·information.</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00677_source.html#l00059">surfaceFactoryCache.h:59</a></div></div>469 <div·class="ttc"·id="aa00949_html"><div·class="ttname"><a·href="a00949.html">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryCache</a></div><div·class="ttdoc">Container·used·internally·by·SurfaceFactory·to·store·reusable·information.</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00680_source.html#l00059">surfaceFactoryCache.h:59</a></div></div>
470 <div·class="ttc"·id="aa00957_html"><div·class="ttname"><a·href="a00957.html">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryMeshAdapter</a></div><div·class="ttdoc">Abstract·interface·adapting·SurfaceFactory·to·a·connected·mesh·representation.</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00683_source.html#l00065">surfaceFactoryMeshAdapter.h:65</a></div></div>470 <div·class="ttc"·id="aa00957_html"><div·class="ttname"><a·href="a00957.html">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryMeshAdapter</a></div><div·class="ttdoc">Abstract·interface·adapting·SurfaceFactory·to·a·connected·mesh·representation.</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00683_source.html#l00065">surfaceFactoryMeshAdapter.h:65</a></div></div>
471 <div·class="ttc"·id="aa00957_html_a4a0e50e01fef3e431767a928c2631cab"><div·class="ttname"><a·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryMeshAdapter::Index</a></div><div·class="ttdeci">int·Index</div><div·class="ttdoc">Integer·type·representing·a·mesh·index.</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00683_source.html#l00068">surfaceFactoryMeshAdapter.h:68</a></div></div>471 <div·class="ttc"·id="aa00957_html_a4a0e50e01fef3e431767a928c2631cab"><div·class="ttname"><a·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryMeshAdapter::Index</a></div><div·class="ttdeci">int·Index</div><div·class="ttdoc">Integer·type·representing·a·mesh·index.</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00683_source.html#l00068">surfaceFactoryMeshAdapter.h:68</a></div></div>
472 <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>472 <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>
473 <div·class="ttc"·id="aa01329_html"><div·class="ttname"><a·href="a01329.html">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Options</a></div><div·class="ttdoc">All·supported·options·applying·to·subdivision·scheme.</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00770_source.html#l00051">options.h:51</a></div></div>473 <div·class="ttc"·id="aa01329_html"><div·class="ttname"><a·href="a01329.html">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Options</a></div><div·class="ttdoc">All·supported·options·applying·to·subdivision·scheme.</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00890_source.html#l00051">options.h:51</a></div></div>
474 </div><!--·fragment·--></div><!--·contents·-->474 </div><!--·fragment·--></div><!--·contents·-->
475 </div><!--·doc-content·-->475 </div><!--·doc-content·-->
476 <!--·start·footer·part·-->476 <!--·start·footer·part·-->
477 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->477 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
478 ··<ul>478 ··<ul>
479 ····<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="a00686.html">surfaceFactory.h</a></li>479 ····<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="a00686.html">surfaceFactory.h</a></li>
480 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>480 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
1.62 KB
./usr/share/doc/opensubdiv/doxy_html/a00692.html
    
Offset 88, 15 lines modifiedOffset 88, 15 lines modified
88 <a·href="#nested-classes">Classes</a>·&#124;88 <a·href="#nested-classes">Classes</a>·&#124;
89 <a·href="#namespaces">Namespaces</a>··</div>89 <a·href="#namespaces">Namespaces</a>··</div>
90 ··<div·class="headertitle"><div·class="title">refinerSurfaceFactory.h·File·Reference</div></div>90 ··<div·class="headertitle"><div·class="title">refinerSurfaceFactory.h·File·Reference</div></div>
91 </div><!--header-->91 </div><!--header-->
92 <div·class="contents">92 <div·class="contents">
93 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>93 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
94 <code>#include·&quot;<a·class="el"·href="a00686_source.html">../bfr/surfaceFactory.h</a>&quot;</code><br·/>94 <code>#include·&quot;<a·class="el"·href="a00686_source.html">../bfr/surfaceFactory.h</a>&quot;</code><br·/>
95 <code>#include·&quot;<a·class="el"·href="a00677_source.html">../bfr/surfaceFactoryCache.h</a>&quot;</code><br·/>95 <code>#include·&quot;<a·class="el"·href="a00680_source.html">../bfr/surfaceFactoryCache.h</a>&quot;</code><br·/>
96 </div>96 </div>
97 <p><a·href="a00692_source.html">Go·to·the·source·code·of·this·file.</a></p>97 <p><a·href="a00692_source.html">Go·to·the·source·code·of·this·file.</a></p>
98 <table·class="memberdecls">98 <table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
100 Classes</h2></td></tr>100 Classes</h2></td></tr>
101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00925.html">RefinerSurfaceFactoryBase</a></td></tr>101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00925.html">RefinerSurfaceFactoryBase</a></td></tr>
102 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Intermediate·subclass·of·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·with·<a·class="el"·href="a01113.html"·title="Stores·topology·data·for·a·specified·set·of·refinement·options.">Far::TopologyRefiner</a>·as·the·mesh.··<a·href="a00925.html#details">More...</a><br·/></td></tr>102 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Intermediate·subclass·of·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·with·<a·class="el"·href="a01113.html"·title="Stores·topology·data·for·a·specified·set·of·refinement·options.">Far::TopologyRefiner</a>·as·the·mesh.··<a·href="a00925.html#details">More...</a><br·/></td></tr>
5.33 KB
./usr/share/doc/opensubdiv/doxy_html/a00692_source.html
    
Offset 242, 16 lines modifiedOffset 242, 16 lines modified
242 <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>242 <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>
243 <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>243 <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>
244 <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>244 <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>
245 <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>245 <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>
246 <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>246 <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>
247 <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>247 <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>
248 <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>248 <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>
249 <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>249 <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="a00677_source.html#l00131">vertexDescriptor.h:131</a></div></div>
250 <div·class="ttc"·id="aa01113_html"><div·class="ttname"><a·href="a01113.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="a00704_source.html#l00051">topologyRefiner.h:51</a></div></div>250 <div·class="ttc"·id="aa01113_html"><div·class="ttname"><a·href="a01113.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>
251 </div><!--·fragment·--></div><!--·contents·-->251 </div><!--·fragment·--></div><!--·contents·-->
252 </div><!--·doc-content·-->252 </div><!--·doc-content·-->
253 <!--·start·footer·part·-->253 <!--·start·footer·part·-->
254 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->254 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
255 ··<ul>255 ··<ul>
256 ····<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>256 ····<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>
257 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>257 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
9.04 KB
./usr/share/doc/opensubdiv/doxy_html/a00704.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/topologyRefiner.h·File·Reference</title>8 <title>OpenSubdiv:·opensubdiv/far/topologyRefinerFactory.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 83, 53 lines modifiedOffset 83, 49 lines modified
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124;87 <a·href="#nested-classes">Classes</a>·&#124;
88 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">topologyRefiner.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">topologyRefinerFactory.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
93 <code>#include·&quot;<a·class="el"·href="a01484_source.html">../sdc/types.h</a>&quot;</code><br·/> 
94 <code>#include·&quot;<a·class="el"·href="a00770_source.html">../sdc/options.h</a>&quot;</code><br·/> 
95 <code>#include·&quot;<a·class="el"·href="a01478_source.html">../far/types.h</a>&quot;</code><br·/> 
96 <code>#include·&quot;<a·class="el"·href="a00710_source.html">../far/topologyLevel.h</a>&quot;</code><br·/>93 <code>#include·&quot;<a·class="el"·href="a00707_source.html">../far/topologyRefiner.h</a>&quot;</code><br·/>
 94 <code>#include·&quot;<a·class="el"·href="a00743_source.html">../far/error.h</a>&quot;</code><br·/>
97 <code>#include·&lt;vector&gt;</code><br·/>95 <code>#include·&lt;cassert&gt;</code><br·/>
98 </div>96 </div>
99 <p><a·href="a00704_source.html">Go·to·the·source·code·of·this·file.</a></p>97 <p><a·href="a00704_source.html">Go·to·the·source·code·of·this·file.</a></p>
100 <table·class="memberdecls">98 <table·class="memberdecls">
101 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
102 Classes</h2></td></tr>100 Classes</h2></td></tr>
103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01113.html">TopologyRefiner</a></td></tr>101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01125.html">TopologyRefinerFactoryBase</a></td></tr>
104 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Stores·topology·data·for·a·specified·set·of·refinement·options.··<a·href="a01113.html#details">More...</a><br·/></td></tr>102 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Private·base·class·of·Factories·for·constructing·TopologyRefiners.··<a·href="a01125.html#details">More...</a><br·/></td></tr>
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01117.html">TopologyRefiner::UniformOptions</a></td></tr>104 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01109.html">TopologyRefinerFactory&lt;·MESH·&gt;</a></td></tr>
107 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Uniform·refinement·options.··<a·href="a01117.html#details">More...</a><br·/></td></tr>105 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Factory·for·constructing·TopologyRefiners·from·specific·mesh·classes.··<a·href="a01109.html#details">More...</a><br·/></td></tr>
108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
109 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01121.html">TopologyRefiner::AdaptiveOptions</a></td></tr>107 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01129.html">TopologyRefinerFactory&lt;·MESH·&gt;::Options</a></td></tr>
110 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Adaptive·refinement·options.··<a·href="a01121.html#details">More...</a><br·/></td></tr>108 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a01129.html"·title="Options·related·to·the·construction·of·each·TopologyRefiner.">Options</a>·related·to·the·construction·of·each·<a·class="el"·href="a01113.html"·title="Stores·topology·data·for·a·specified·set·of·refinement·options.">T[·...·truncated·by·diffoscope;·len:·36,·SHA:·cfc8ad8defec44df7e6df4caba8235c7f92ebdff53b40ce308a0b89c902983e9·...·].html#details">More...</a><br·/></td></tr>
111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</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"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>113 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
117 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>115 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>116 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
119 <tr·class="memitem:a00909"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00909.html">OpenSubdiv::OPENSUBDIV_VERSION::Vtr</a></td></tr> 
120 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
121 <tr·class="memitem:a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr>117 <tr·class="memitem:a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr>
122 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>118 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</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_7f420b72a822828cfa8b0561c695a5cc.html">far</a></li><li·class="navelem"><a·class="el"·href="a00704.html">topologyRefiner.h</a></li>125 ····<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="a00704.html">topologyRefinerFactory.h</a></li>
130 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>126 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
131 ··</ul>127 ··</ul>
132 </div>128 </div>
133 </body>129 </body>
134 </html>130 </html>
1.45 KB
html2text {}
    
Offset 5, 39 lines modifiedOffset 5, 36 lines modified
  
  
  
5 [Logo]·OpenSubdiv5 [Logo]·OpenSubdiv
  
  
6 Classes·|·Namespaces6 Classes·|·Namespaces
7 topologyRefiner.h·File·Reference7 topologyRefinerFactory.h·File·Reference
8 #include·"../version.h"8 #include·"../version.h"
9 #include·"../sdc/types.h" 
10 #include·"../sdc/options.h" 
11 #include·"../far/types.h" 
12 #include·"../far/topologyLevel.h"9 #include·"../far/topologyRefiner.h"
13 #include·<vector>10 #include·"../far/error.h"
 11 #include·<cassert>
14 Go_to_the_source_code_of_this_file.12 Go_to_the_source_code_of_this_file.
15 ·Classes13 ·Classes
16 ·class· TopologyRefiner14 ·class· TopologyRefinerFactoryBase
17  ·······Stores·topology·data·for·a·specified·set·of·refinement·options.15  ·······Private·base·class·of·Factories·for·constructing·TopologyRefiners.
18 ·········More...16 ·········More...
19  17  
20 struct· TopologyRefiner::UniformOptions 
21  ·······Uniform·refinement·options.·More...18 ·class· TopologyRefinerFactory<_MESH_>
 19  ·······Factory·for·constructing·TopologyRefiners·from·specific·mesh·classes.
 20 ·········More...
22  21  
23 struct· TopologyRefiner::AdaptiveOptions 
24  ·······Adaptive·refinement·options.·More...22 struct· TopologyRefinerFactory<_MESH_>::Options
 23  ·······Options·related·to·the·construction·of·each·TopologyRefiner.·More...
25  24  
26 ·Namespaces25 ·Namespaces
27 namespace· OpenSubdiv26 namespace· OpenSubdiv
28  27  
29 namespace· OpenSubdiv::OPENSUBDIV_VERSION28 namespace· OpenSubdiv::OPENSUBDIV_VERSION
30  29  
31 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Vtr 
32   
33 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Far30 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Far
34  31  
35 ····*·opensubdiv32 ····*·opensubdiv
36 ····*·far33 ····*·far
37 ····*·topologyRefiner.h34 ····*·topologyRefinerFactory.h
38 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.435 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
543 B
./usr/share/doc/opensubdiv/doxy_html/a00704.js
451 B
js-beautify {}
    
Offset 1, 5 lines modifiedOffset 1, 5 lines modified
1 var·a00704·=·[1 var·a00704·=·[
2 ····["TopologyRefiner",·"a01113.html",·"a01113"],2 ····["TopologyRefinerFactoryBase",·"a01125.html",·"a01125"],
3 ····["TopologyRefiner::UniformOptions",·"a01117.html",·"a01117"],3 ····["TopologyRefinerFactory<·MESH·>",·"a01109.html",·"a01109"],
4 ····["TopologyRefiner::AdaptiveOptions",·"a01121.html",·"a01121"]4 ····["TopologyRefinerFactory<·MESH·>::Options",·"a01129.html",·"a01129"]
5 ];5 ];
249 KB
./usr/share/doc/opensubdiv/doxy_html/a00704_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/topologyRefiner.h·Source·File</title>8 <title>OpenSubdiv:·opensubdiv/far/topologyRefinerFactory.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 80, 15 lines modifiedOffset 80, 15 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">topologyRefiner.h</div></div>86 ··<div·class="headertitle"><div·class="title">topologyRefinerFactory.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <a·href="a00704.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>89 <a·href="a00704.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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·DreamWorks·Animation·LLC.</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·DreamWorks·Animation·LLC.</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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 106, 291 lines modifiedOffset 106, 616 lines modified
106 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div>106 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div>
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_FAR_TOPOLOGY_REFINER_H</span></div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_FAR_TOPOLOGY_REFINER_FACTORY_H</span></div>
114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·OPENSUBDIV3_FAR_TOPOLOGY_REFINER_H</span></div>114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·OPENSUBDIV3_FAR_TOPOLOGY_REFINER_FACTORY_H</span></div>
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;../sdc/types.h&quot;</span></div> 
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../sdc/options.h&quot;</span></div> 
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;../far/types.h&quot;</span></div> 
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&quot;../far/topologyLevel.h&quot;</span></div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;../far/topologyRefiner.h&quot;</span></div>
 119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../far/error.h&quot;</span></div>
 120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
 121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>123 <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>
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> 
127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> 
128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> 
129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a00909.html">···40</a></span><span·class="keyword">namespace·</span>Vtr·{·<span·class="keyword">namespace·</span>internal·{·<span·class="keyword">class·</span>SparseSelector;·}·}</div> 
130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">namespace·</span>Far·{·<span·class="keyword">namespace·</span>internal·{·<span·class="keyword">class·</span>FeatureMask;·}·}</div> 
131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> 
132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">namespace·</span>Far·{</div>126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Far·{</div>
 127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
 128 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="comment">//</span></div>
 129 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01125.html">···47</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01125.html">TopologyRefinerFactoryBase</a>·{</div>
 130 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">protected</span>:</div>
133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>131 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·REAL&gt;·<span·class="keyword">class·</span>PrimvarRefinerReal;</div> 
135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>·MESH&gt;·<span·class="keyword">class·</span>TopologyRefinerFactory;</div> 
136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>132 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····<span·class="comment">//</span></div>
137 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01113.html">···51</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01113.html">TopologyRefiner</a>·{</div>133 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····<span·class="comment">//··Protected·methods·invoked·by·the·subclass·template·to·verify·and·process·each</span></div>
 134 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="comment">//··stage·of·construction·implemented·by·the·subclass:</span></div>
 135 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="comment">//</span></div>
 136 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01125.html#a896a964625491e084b3d776acd10f053">···54</a></span>····<span·class="keyword">typedef</span>·Vtr::internal::Level::ValidationCallback·<a·class="code·hl_typedef"·href="a01125.html#a896a964625491e084b3d776acd10f053">TopologyCallback</a>;</div>
138 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>137 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
139 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">public</span>:</div>138 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01125.html#aba57674bcc5cb7367ce1fe527ec219ad">···56</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01125.html#aba57[·...·truncated·by·diffoscope;·len:·143,·SHA:·b665521fdb3d2d966ea9f51b41f9dd90598fdd245ad58e99cce072d30b76ab42·...·]</div>
 139 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01125.html#a30ee63853ace8ecb0c3c2a6e3303aefc">···57</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01125.html#a30ee63853ace8ecb0c3c2a6e3303aefc">prepareComponentTopologyAssignment</a>(<a·class="code·hl_class"·href="a01113.html">TopologyRefiner</a>&amp;·refiner,·<span·class="keywordtype">bool</span>·fullValidation,</div>
 140 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>···················································<a·class="code·hl_typedef"·href="a01125.html#a896a964625491e084b3d776acd10f053">TopologyCallback</a>·callback,·<span·class="keywordtype">void</span>·<span·class="keyword">const</span>·*·callbackData);</div>
 141 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01125.html#a8d7f178267895f2a90585e60849b9119">···59</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01125.html#a8d7f178267895f2a90585e60849b9119">prepareComponentTagsAndSharpness</a>(<a·class="code·hl_class"·href="a01113.html">TopologyRefiner</a>&amp;·refiner);</div>
 142 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01125.html#ac800e6db9b484b31f8fa11799ee4ac1b">···60</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01125.html#ac800e6db9b484b31f8fa11799ee4ac1b">prepareFaceVaryingChannels</a>(<a·class="code·hl_class"·href="a01113.html">TopologyRefiner</a>&amp;·refiner);</div>
140 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>143 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>};</div>
141 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01113.html#a91353962838bff64448014136e0e11ff">···56</a></span>····<a·class="code·hl_function"·href="a01113.html#a91353962838bff64448014136e0e11ff">TopologyRefiner</a>(<a·class="code·hl_enumeration"·href="a00913.html#aa3daa2f428c6be2b1cb394f3a525833d">Sdc::SchemeType</a>·type,·<a·class="code·hl_class"·href="a01329.html">Sdc::Options</a>·options·=·<a·class="code·hl_class"·href="a01329.html">Sdc::Options</a>());</div> 
142 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> 
143 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01113.html#ad34359a8dc42748122362e459f1409aa">···59</a></span>····<a·class="code·hl_function"·href="a01113.html#ad34359a8dc42748122362e459f1409aa">~TopologyRefiner</a>();</div> 
144 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>144 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
145 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01113.html#a758e06255013d2d7393c3ac2d18f6922">···62</a></span>····<a·class="code·hl_enumeration"·href="a00913.html#aa3daa2f428c6be2b1cb394f3a525833d">Sdc::SchemeType</a>·<a·class="code·hl_function"·href="a01113.html#a758e06255013d2d7393c3ac2d18f6922">GetSchemeType</a>()<span·class="keyword">·const····</span>{·<span·class="keywordflow">return</span>·_subdivType;·}</div> 
146 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>145 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
 146 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>·MESH&gt;</div>
 147 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01109.html">···78</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01109.html">TopologyRefinerFactory</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01125.html">TopologyRefinerFactoryBase</a>·{</div>
147 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01113.html#a4528f38657b0c96bce6c3d7deffd7c02">···65</a></span>····<a·class="code·hl_class"·href="a01329.html">Sdc::Options</a>·<a·class="code·hl_function"·href="a01113.html#a4528f38657b0c96bce6c3d7deffd7c02">GetSchemeOptions</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_subdivOptions;·}</div> 
148 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> 
149 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01113.html#a5dfa6810f510fac1ec621fc9e6b530c4">···68</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01113.html#a5dfa6810f510fac1ec621fc9e6b530c4">IsUniform</a>()<span·class="keyword">·const···</span>{·<span·class="keywordflow">return</span>·_isUniform;·}</div> 
150 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>148 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>
151 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01113.html#a239ca467443788cab395336ec33c7dbe">···71</a></span>····<span·class="keywordtype">int</span>··<a·class="code·hl_function"·href="a01113.html#a239ca467443788cab395336ec33c7dbe">GetNumLevels</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·(<span·class="keywordtype">int</span>)_farLevels.size();·}</div> 
152 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> 
153 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01113.html#a7d0b5dc6f7f567507a906e00d1887151">···74</a></span>····<span·class="keywordtype">int</span>··<a·class="code·hl_function"·href="a01113.html#a7d0b5dc6f7f567507a906e00d1887151">GetMaxLevel</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_maxLevel;·}</div> 
154 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> 
155 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01113.html#a14bf987459715b918b370247bb24a61c">···77</a></span>····<span·class="keywordtype">int</span>··<a·class="code·hl_function"·href="a01113.html#a14bf987459715b918b370247bb24a61c">GetMaxValence</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_maxValence;·}</div> 
156 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>149 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="keyword">public</span>:</div>
157 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01113.html#a1b68f0501aabb94ba410e006181d2cc5">···80</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01113.html#a1b68f0501aabb94ba410e006181d2cc5">HasHoles</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_hasHoles;·}</div> 
158 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>150 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>
159 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01113.html#ae8ef99a47f8185a3a621e4d5b10a20a0">···83</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01113.html#ae8ef99a47f8185a3a621e4d5b10a20a0">GetNumV[·...·truncated·by·diffoscope;·len:·113,·SHA:·3dc69de6e5dfb9fb1f5b866e96c767614beb19ed660bdcb5be903dc2d53c1510·...·]</div>151 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01129.html">···84</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01129.html">Options</a>·{</div>
160 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>152 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>
161 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01113.html#a96f712a5e40873f00b0b61f72ffb9e3c">···86</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01113.html#a96f712a5e40873f00b0b61f72ffb9e3c">GetNumEdgesTotal</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_totalEdges;·}</div> 
162 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> 
163 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a01113.html#ac5eadebfdd9b11ac383653e5a2383231">···89</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01113.html#ac5eadebfdd9b11ac383653e5a2383231">GetNumF[·...·truncated·by·diffoscope;·len:·107,·SHA:·83876deaba9af1a9bf1e2cc1944b373883b75521b2abf764aa2c7ba8ffc74271·...·]</div>153 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01129.html#a33cde130beeee5dd5125d2c188b1a088">···86</a></span>········<a·class="code·hl_function"·href="a01129.html#a33cde130beeee5dd5125d2c188b1a088">Options</a>(<a·class="code·hl_enumeratio[·...·truncated·by·diffoscope;·len:·365,·SHA:·a986234fc1ac67ea4d0bf567788e41bd38d31045e69dce568fe930c67daa9248·...·]</div>
 154 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>············<a·class="code·hl_variable"·href="a01129.html#ab4a105466e7c764e3aabaa6c44c1eeb6">schemeType</a>(sdcType),</div>
 155 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>············<a·class="code·hl_variable"·href="a01129.html#a9ec2ab2b4bd49c6cf367dac80c8cbb94">schemeOptions</a>(sdcOptions),</div>
 156 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>············<a·class="code·hl_variable"·href="a01129.html#adaa22b025e8615d6e4281a86b794e5df">validateFullTopology</a>(false)·{·}</div>
164 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>157 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
165 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01113.html#accbb5f2a2fa9138df8c399b9f1d37982">···92</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01113.html#accbb5f2a2fa9138df8c399b9f1d37982">GetNumF[·...·truncated·by·diffoscope;·len:·121,·SHA:·46ce4da17e588c2f2be86eb62c10b3ba4409bf28bf0d7493921ced20327f3984·...·]</div>158 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a01129.html#ab4a105466e7c764e3aabaa6c44c1eeb6">···91</a></span>········<a·class="code·hl_enumeration"·href="a00913.html#aa3daa2f428c6be2b1cb394f3a525833d">Sdc::SchemeType</a>·<a·class="code·hl[·...·truncated·by·diffoscope;·len:·92,·SHA:·d3576d8641ffbf8a483ddb5d9864e952036b87c35340ee44f0872e32c820d4bc·...·]</div>
 159 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01129.html#a9ec2ab2b4bd49c6cf367dac80c8cbb94">···92</a></span>········<a·class="code·hl_class"·href="a01329.html">Sdc::Options</a>····<a·class="code·hl_variable"·href="a01129.html#a9ec2ab2b4bd49c6cf367dac80c8cbb94">schemeOptions</a>;··········</div>
 160 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno"><a·class="line"·href="a01129.html#adaa22b025e8615d6e4281a86b794e5df">···94</a></span>········<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01129.html#adaa22b025e8615d6e4281a86b794e5df">validateFullTopology</a>·:·1;··</div>
166 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div>161 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····};</div>
167 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a01113.html#adc03a3531bd92ada5669788241e3515f">···95</a></span>····<a·class="code·hl_class"·href="a01105.html">TopologyLevel</a>·<span·class="keyword">const</span>·&amp;·<a·class="code·hl_function"·href="a01113.html#adc03a3531bd92ada5669788241e3515f">GetLevel</a>(<span·class="keywordtype">int</span>·level)<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_farLevels[level];·}</div> 
168 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> 
169 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>162 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>
170 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div> 
171 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····<span·class="comment">//</span></div>163 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>····<span·class="comment">//</span></div>
 164 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span><span·class="comment"></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01113.html">TopologyRefiner</a>*·<a·class="code·hl_function"·href="a01109.html#ab10eb061eba33095095d754241081ff9">Create</a>(MESH·<span·class="keyword">const</span>&amp;·mesh,·<a·class="code·hl_struct"·href="a01129.html">Options</a>·options·=·<a·class="code·hl_struct"·href="a01129.html">Options</a>());</div>
172 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>····<span·class="comment">//·Uniform·refinement</span></div> 
173 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>····<span·class="comment">//</span></div> 
174 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>165 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>·</div>
175 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno"><a·class="line"·href="a01117.html">··118</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01117.html">UniformOptions</a>·{</div>166 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01113.html">TopologyRefiner</a>*·<a·class="code·hl_function"·href="a01109.html#ab10eb061eba33095095d754241081ff9">Create</a>(<a·c[·...·truncated·by·diffoscope;·len:·112,·SHA:·859e518c1fca1ee038dd506022717e5cc7ad8113461ea3fa931cf58b2b073732·...·]</div>
176 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>·</div>167 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>·</div>
 168 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span><span·class="keyword">protected</span>:</div>
 169 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno"><a·class="line"·href="a01109.html#a5458be6ce3f2e63c8d8555f4ab3b2b62">··131</a></span>····<span·class="keyword">typedef</span>·Vtr::internal::Level::TopologyError·<a·class="code·hl_typedef"·href="a01109.html#a5458be6ce3f2e63c8d8555f4ab3b2b62">TopologyError</a>;</div>
Max diff block lines reached; 168227/203938 bytes (82.49%) of diff not shown.
49.8 KB
html2text {}
    
Offset 4, 15 lines modifiedOffset 4, 15 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 topologyRefiner.h5 topologyRefinerFactory.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
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·in11 ·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 29, 441 lines modifiedOffset 29, 934 lines modified
29 ·17//29 ·17//
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·24#ifndef·OPENSUBDIV3_FAR_TOPOLOGY_REFINER_H36 ·24#ifndef·OPENSUBDIV3_FAR_TOPOLOGY_REFINER_FACTORY_H
37 ·25#define·OPENSUBDIV3_FAR_TOPOLOGY_REFINER_H37 ·25#define·OPENSUBDIV3_FAR_TOPOLOGY_REFINER_FACTORY_H
38 ·2638 ·26
39 ·27#include·"../version.h"39 ·27#include·"../version.h"
40 ·2840 ·28
41 ·29#include·"../sdc/types.h" 
42 ·30#include·"../sdc/options.h" 
43 ·31#include·"../far/types.h" 
44 ·32#include·"../far/topologyLevel.h"41 ·29#include·"../far/topologyRefiner.h"
 42 ·30#include·"../far/error.h"
 43 ·31
 44 ·32#include·<cassert>
45 ·3345 ·33
46 ·34#include·<vector> 
47 ·3546 ·34namespace·OpenSubdiv·{
 47 ·35namespace·OPENSUBDIV_VERSION·{
48 ·3648 ·36
49 ·37namespace·OpenSubdiv·{ 
50 ·38namespace·OPENSUBDIV_VERSION·{ 
51 ·39 
52 40namespace·Vtr·{·namespace·internal·{·class·SparseSelector;·}·} 
53 ·41namespace·Far·{·namespace·internal·{·class·FeatureMask;·}·} 
54 ·42 
55 ·43namespace·Far·{49 ·37namespace·Far·{
 50 ·38
 51 ·46//
56 ·44 
57 ·45template·<typename·REAL>·class·PrimvarRefinerReal; 
58 ·46template·<class·MESH>·class·TopologyRefinerFactory; 
59 ·47 
60 51class·TopologyRefiner·{52 47class·TopologyRefinerFactoryBase·{
61 ·52 
62 ·53public: 
63 ·54 
64 56·TopologyRefiner(Sdc::SchemeType·type,·Sdc::Options·options·=·Sdc::Options 
65 ()); 
66 ·57 
67 59·~TopologyRefiner(); 
68 ·60 
69 62·Sdc::SchemeType·GetSchemeType()·const·{·return·_subdivType;·}53 ·48protected:
 54 ·49
 55 ·50·//
 56 ·51·//·Protected·methods·invoked·by·the·subclass·template·to·verify·and·process
 57 each
 58 ·52·//·stage·of·construction·implemented·by·the·subclass:
 59 ·53·//
 60 54·typedef·Vtr::internal::Level::ValidationCallback·TopologyCallback;
 61 ·55
 62 56·static·bool·prepareComponentTopologySizing(TopologyRefiner&·refiner);
 63 57·static·bool·prepareComponentTopologyAssignment(TopologyRefiner&·refiner,
 64 bool·fullValidation,
 65 ·58·TopologyCallback·callback,·void·const·*·callbackData);
 66 59·static·bool·prepareComponentTagsAndSharpness(TopologyRefiner&·refiner);
 67 60·static·bool·prepareFaceVaryingChannels(TopologyRefiner&·refiner);
 68 ·61};
 69 ·62
70 ·6370 ·63
 71 ·77template·<class·MESH>
 72 78class·TopologyRefinerFactory·:·public·TopologyRefinerFactoryBase·{
 73 ·79
 74 ·80public:
71 65·Sdc::Options·GetSchemeOptions()·const·{·return·_subdivOptions;·} 
72 ·66 
73 68·bool·IsUniform()·const·{·return·_isUniform;·} 
74 ·69 
75 71·int·GetNumLevels()·const·{·return·(int)_farLevels.size();·} 
76 ·72 
77 74·int·GetMaxLevel()·const·{·return·_maxLevel;·} 
78 ·75 
79 77·int·GetMaxValence()·const·{·return·_maxValence;·} 
80 ·78 
81 80·bool·HasHoles()·const·{·return·_hasHoles;·} 
82 ·8175 ·81
83 83·int·GetNumVerticesTotal()·const·{·return·_totalVertices;·} 
84 ·84 
85 86·int·GetNumEdgesTotal()·const·{·return·_totalEdges;·} 
86 ·87 
87 89·int·GetNumFacesTotal()·const·{·return·_totalFaces;·}76 84·struct·Options·{
 77 ·85
 78 86·Options(Sdc::SchemeType·sdcType·=·Sdc::SCHEME_CATMARK,·Sdc::Options
 79 sdcOptions·=·Sdc::Options())·:
 80 ·87·schemeType(sdcType),
 81 ·88·schemeOptions(sdcOptions),
 82 ·89·validateFullTopology(false)·{·}
88 ·9083 ·90
 84 91·Sdc::SchemeType·schemeType;
 85 92·Sdc::Options·schemeOptions;
 86 94·unsigned·int·validateFullTopology·:·1;
 87 ·97·};
89 92·int·GetNumFaceVerticesTotal()·const·{·return·_totalFaceVertices;·} 
90 ·93 
91 95·TopologyLevel·const·&·GetLevel(int·level)·const·{·return·_farLevels[level]; 
92 } 
93 ·96 
94 ·9888 ·98
95 ·100 
96 ·101·//89 ·108·//
97 ·102·//·Uniform·refinement 
98 ·103·//90 ·113·static·TopologyRefiner*·Create(MESH·const&·mesh,·Options·options·=·Options
 91 ());
99 ·10492 ·114
100 118·struct·UniformOptions·{93 ·128·static·TopologyRefiner*·Create(TopologyRefiner·const·&·baseLevel);
101 ·11994 ·129
 95 ·130protected:
Max diff block lines reached; 45386/50972 bytes (89.04%) of diff not shown.
9.04 KB
./usr/share/doc/opensubdiv/doxy_html/a00707.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/topologyRefinerFactory.h·File·Reference</title>8 <title>OpenSubdiv:·opensubdiv/far/topologyRefiner.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 83, 49 lines modifiedOffset 83, 53 lines modified
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124;87 <a·href="#nested-classes">Classes</a>·&#124;
88 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">topologyRefinerFactory.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">topologyRefiner.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
 93 <code>#include·&quot;<a·class="el"·href="a01484_source.html">../sdc/types.h</a>&quot;</code><br·/>
 94 <code>#include·&quot;<a·class="el"·href="a00890_source.html">../sdc/options.h</a>&quot;</code><br·/>
 95 <code>#include·&quot;<a·class="el"·href="a01478_source.html">../far/types.h</a>&quot;</code><br·/>
93 <code>#include·&quot;<a·class="el"·href="a00704_source.html">../far/topologyRefiner.h</a>&quot;</code><br·/>96 <code>#include·&quot;<a·class="el"·href="a00710_source.html">../far/topologyLevel.h</a>&quot;</code><br·/>
94 <code>#include·&quot;<a·class="el"·href="a00743_source.html">../far/error.h</a>&quot;</code><br·/> 
95 <code>#include·&lt;cassert&gt;</code><br·/>97 <code>#include·&lt;vector&gt;</code><br·/>
96 </div>98 </div>
97 <p><a·href="a00707_source.html">Go·to·the·source·code·of·this·file.</a></p>99 <p><a·href="a00707_source.html">Go·to·the·source·code·of·this·file.</a></p>
98 <table·class="memberdecls">100 <table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>101 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
100 Classes</h2></td></tr>102 Classes</h2></td></tr>
101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01125.html">TopologyRefinerFactoryBase</a></td></tr>103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01113.html">TopologyRefiner</a></td></tr>
102 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Private·base·class·of·Factories·for·constructing·TopologyRefiners.··<a·href="a01125.html#details">More...</a><br·/></td></tr>104 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Stores·topology·data·for·a·specified·set·of·refinement·options.··<a·href="a01113.html#details">More...</a><br·/></td></tr>
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01109.html">TopologyRefinerFactory&lt;·MESH·&gt;</a></td></tr>106 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01117.html">TopologyRefiner::UniformOptions</a></td></tr>
105 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Factory·for·constructing·TopologyRefiners·from·specific·mesh·classes.··<a·href="a01109.html#details">More...</a><br·/></td></tr>107 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Uniform·refinement·options.··<a·href="a01117.html#details">More...</a><br·/></td></tr>
106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
107 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01129.html">TopologyRefinerFactory&lt;·MESH·&gt;::Options</a></td></tr>109 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01121.html">TopologyRefiner::AdaptiveOptions</a></td></tr>
108 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a01129.html"·title="Options·related·to·the·construction·of·each·TopologyRefiner.">Options</a>·related·to·the·construction·of·each·<a·class="el"·href="a01113.html"·title="Stores·topology·data·for·a·specified·set·of·refinement·options.">T[·...·truncated·by·diffoscope;·len:·36,·SHA:·cfc8ad8defec44df7e6df4caba8235c7f92ebdff53b40ce308a0b89c902983e9·...·].html#details">More...</a><br·/></td></tr>110 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Adaptive·refinement·options.··<a·href="a01121.html#details">More...</a><br·/></td></tr>
109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
110 </table><table·class="memberdecls">112 </table><table·class="memberdecls">
111 <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>
112 Namespaces</h2></td></tr>114 Namespaces</h2></td></tr>
113 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>115 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>116 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
115 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>117 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>118 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 119 <tr·class="memitem:a00909"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00909.html">OpenSubdiv::OPENSUBDIV_VERSION::Vtr</a></td></tr>
 120 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
117 <tr·class="memitem:a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr>121 <tr·class="memitem:a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr>
118 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>122 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
119 </table>123 </table>
120 </div><!--·contents·-->124 </div><!--·contents·-->
121 </div><!--·doc-content·-->125 </div><!--·doc-content·-->
122 <!--·start·footer·part·-->126 <!--·start·footer·part·-->
123 <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!·-->
124 ··<ul>128 ··<ul>
125 ····<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="a00707.html">topologyRefinerFactory.h</a></li>129 ····<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="a00707.html">topologyRefiner.h</a></li>
126 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>130 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
127 ··</ul>131 ··</ul>
128 </div>132 </div>
129 </body>133 </body>
130 </html>134 </html>
1.45 KB
html2text {}
    
Offset 5, 36 lines modifiedOffset 5, 39 lines modified
  
  
  
5 [Logo]·OpenSubdiv5 [Logo]·OpenSubdiv
  
  
6 Classes·|·Namespaces6 Classes·|·Namespaces
7 topologyRefinerFactory.h·File·Reference7 topologyRefiner.h·File·Reference
8 #include·"../version.h"8 #include·"../version.h"
 9 #include·"../sdc/types.h"
 10 #include·"../sdc/options.h"
 11 #include·"../far/types.h"
9 #include·"../far/topologyRefiner.h"12 #include·"../far/topologyLevel.h"
 13 #include·<vector>
10 #include·"../far/error.h" 
11 #include·<cassert> 
12 Go_to_the_source_code_of_this_file.14 Go_to_the_source_code_of_this_file.
13 ·Classes15 ·Classes
14 ·class· TopologyRefinerFactoryBase16 ·class· TopologyRefiner
15  ·······Private·base·class·of·Factories·for·constructing·TopologyRefiners.17  ·······Stores·topology·data·for·a·specified·set·of·refinement·options.
16 ·········More...18 ·········More...
17  19  
 20 struct· TopologyRefiner::UniformOptions
 21  ·······Uniform·refinement·options.·More...
18 ·class· TopologyRefinerFactory<_MESH_> 
19  ·······Factory·for·constructing·TopologyRefiners·from·specific·mesh·classes. 
20 ·········More... 
21  22  
22 struct· TopologyRefinerFactory<_MESH_>::Options 
23  ·······Options·related·to·the·construction·of·each·TopologyRefiner.·More...23 struct· TopologyRefiner::AdaptiveOptions
 24  ·······Adaptive·refinement·options.·More...
24  25  
25 ·Namespaces26 ·Namespaces
26 namespace· OpenSubdiv27 namespace· OpenSubdiv
27  28  
28 namespace· OpenSubdiv::OPENSUBDIV_VERSION29 namespace· OpenSubdiv::OPENSUBDIV_VERSION
29  30  
 31 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Vtr
 32  
30 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Far33 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Far
31  34  
32 ····*·opensubdiv35 ····*·opensubdiv
33 ····*·far36 ····*·far
34 ····*·topologyRefinerFactory.h37 ····*·topologyRefiner.h
35 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.438 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
543 B
./usr/share/doc/opensubdiv/doxy_html/a00707.js
451 B
js-beautify {}
    
Offset 1, 5 lines modifiedOffset 1, 5 lines modified
1 var·a00707·=·[1 var·a00707·=·[
2 ····["TopologyRefinerFactoryBase",·"a01125.html",·"a01125"],2 ····["TopologyRefiner",·"a01113.html",·"a01113"],
3 ····["TopologyRefinerFactory<·MESH·>",·"a01109.html",·"a01109"],3 ····["TopologyRefiner::UniformOptions",·"a01117.html",·"a01117"],
4 ····["TopologyRefinerFactory<·MESH·>::Options",·"a01129.html",·"a01129"]4 ····["TopologyRefiner::AdaptiveOptions",·"a01121.html",·"a01121"]
5 ];5 ];
249 KB
./usr/share/doc/opensubdiv/doxy_html/a00707_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/topologyRefinerFactory.h·Source·File</title>8 <title>OpenSubdiv:·opensubdiv/far/topologyRefiner.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 80, 15 lines modifiedOffset 80, 15 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">topologyRefinerFactory.h</div></div>86 ··<div·class="headertitle"><div·class="title">topologyRefiner.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <a·href="a00707.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>89 <a·href="a00707.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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·DreamWorks·Animation·LLC.</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·DreamWorks·Animation·LLC.</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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 106, 616 lines modifiedOffset 106, 291 lines modified
106 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div>106 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div>
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_FAR_TOPOLOGY_REFINER_FACTORY_H</span></div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_FAR_TOPOLOGY_REFINER_H</span></div>
114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·OPENSUBDIV3_FAR_TOPOLOGY_REFINER_FACTORY_H</span></div>114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·OPENSUBDIV3_FAR_TOPOLOGY_REFINER_H</span></div>
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
 118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;../sdc/types.h&quot;</span></div>
 119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../sdc/options.h&quot;</span></div>
 120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;../far/types.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;../far/topologyRefiner.h&quot;</span></div>121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&quot;../far/topologyLevel.h&quot;</span></div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../far/error.h&quot;</span></div> 
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> 
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div> 
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
123 <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> 
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
 124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
 126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div>
 127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
 128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
 129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a00909.html">···40</a></span><span·class="keyword">namespace·</span>Vtr·{·<span·class="keyword">namespace·</span>internal·{·<span·class="keyword">class·</span>SparseSelector;·}·}</div>
 130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">namespace·</span>Far·{·<span·class="keyword">namespace·</span>internal·{·<span·class="keyword">class·</span>FeatureMask;·}·}</div>
 131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Far·{</div>132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">namespace·</span>Far·{</div>
127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> 
128 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="comment">//</span></div> 
129 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01125.html">···47</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01125.html">TopologyRefinerFactoryBase</a>·{</div> 
130 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">protected</span>:</div> 
131 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
 134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·REAL&gt;·<span·class="keyword">class·</span>PrimvarRefinerReal;</div>
 135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>·MESH&gt;·<span·class="keyword">class·</span>TopologyRefinerFactory;</div>
132 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····<span·class="comment">//</span></div>136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>
 137 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01113.html">···51</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01113.html">TopologyRefiner</a>·{</div>
133 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····<span·class="comment">//··Protected·methods·invoked·by·the·subclass·template·to·verify·and·process·each</span></div> 
134 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="comment">//··stage·of·construction·implemented·by·the·subclass:</span></div> 
135 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="comment">//</span></div> 
136 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01125.html#a896a964625491e084b3d776acd10f053">···54</a></span>····<span·class="keyword">typedef</span>·Vtr::internal::Level::ValidationCallback·<a·class="code·hl_typedef"·href="a01125.html#a896a964625491e084b3d776acd10f053">TopologyCallback</a>;</div> 
137 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>138 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
 139 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">public</span>:</div>
138 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01125.html#aba57674bcc5cb7367ce1fe527ec219ad">···56</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01125.html#aba57674bcc5cb7367ce1fe527ec219ad">prepareComponentTopologySizing</a>(<a·class="code·hl_class"·href="a01113.html">TopologyRefiner</a>&amp;·refiner);</div> 
139 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01125.html#a30ee63853ace8ecb0c3c2a6e3303aefc">···57</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01125.html#a30ee63853ace8ecb0c3c2a6e3303aefc">prepareComponentTopologyAssignment</a>(<a·class="code·hl_class"·href="a01113.html">TopologyRefiner</a>&amp;·refiner,·<span·class="keywordtype">bool</span>·fullValidation,</div> 
140 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>···················································<a·class="code·hl_typedef"·href="a01125.html#a896a964625491e084b3d776acd10f053">TopologyCallback</a>·callback,·<span·class="keywordtype">void</span>·<span·class="keyword">const</span>·*·callbackData);</div> 
141 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01125.html#a8d7f178267895f2a90585e60849b9119">···59</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01125.html#a8d7f178267895f2a90585e60849b9119">prepareComponentTagsAndSharpness</a>(<a·class="code·hl_class"·href="a01113.html">TopologyRefiner</a>&amp;·refiner);</div> 
142 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01125.html#ac800e6db9b484b31f8fa11799ee4ac1b">···60</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01125.html#ac800e6db9b484b31f8fa11799ee4ac1b">prepareFaceVaryingChannels</a>(<a·class="code·hl_class"·href="a01113.html">TopologyRefiner</a>&amp;·refiner);</div> 
143 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>};</div>140 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
 141 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01113.html#a91353962838bff64448014136e0e11ff">···56</a></span>····<a·class="code·hl_function"·href="a01113.html#a91353962838bff64448014136e0e11ff">TopologyRefiner</a>(<a·class="code·hl_enumeration"·href="a00913.html#aa3daa2f428c6be2b1cb394f3a525833d">Sdc::SchemeType</a>·type,·<a·class="code·hl_class"·href="a01329.html">Sdc::Options</a>·options·=·<a·class="code·hl_class"·href="a01329.html">Sdc::Options</a>());</div>
 142 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
 143 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01113.html#ad34359a8dc42748122362e459f1409aa">···59</a></span>····<a·class="code·hl_function"·href="a01113.html#ad34359a8dc42748122362e459f1409aa">~TopologyRefiner</a>();</div>
144 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>144 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
 145 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01113.html#a758e06255013d2d7393c3ac2d18f6922">···62</a></span>····<a·class="code·hl_enumeration"·href="a00913.html#aa3daa2f428c6be2b1cb394f3a525833d">Sdc::SchemeType</a>·<a·class="code·hl_function"·href="a01113.html#a758e06255013d2d7393c3ac2d18f6922">GetSchemeType</a>()<span·class="keyword">·const····</span>{·<span·class="keywordflow">return</span>·_subdivType;·}</div>
145 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>146 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
146 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>·MESH&gt;</div> 
147 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01109.html">···78</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01109.html">TopologyRefinerFactory</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_[·...·truncated·by·diffoscope;·len:·58,·SHA:·42c71dc660ec0d108ba8eddd1f8cc6c3e26c3b49367d12f328bf1aac8342b910·...·]</div>147 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01113.html#a4528f38657b0c96bce6c3d7deffd7c02">···65</a></span>····<a·class="code·hl_class"·href="a01329.html">Sdc::Options</a>·<a·class="code·hl_function"·href="a01113.html#a4528f38657b0c96b[·...·truncated·by·diffoscope;·len:·135,·SHA:·6a3bc92e3d7791583cc1909befedafff1f2b5d6f9bf3922ed1eb3f08ca0dd655·...·]</div>
 148 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
 149 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01113.html#a5dfa6810f510fac1ec621fc9e6b530c4">···68</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01113.html#a5dfa6810f510fac1ec621fc9e6b530c4">IsUniform</a>()<span·class="keyword">·const···</span>{·<span·class="keywordflow">return</span>·_isUniform;·}</div>
148 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>150 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
 151 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01113.html#a239ca467443788cab395336ec33c7dbe">···71</a></span>····<span·class="keywordtype">int</span>··<a·class="code·hl_function"·href="a01113.html#a239ca467443788cab395336ec33c7dbe">GetNumLevels</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·(<span·class="keywordtype">int</span>)_farLevels.size();·}</div>
 152 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>
 153 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01113.html#a7d0b5dc6f7f567507a906e00d1887151">···74</a></span>····<span·class="keywordtype">int</span>··<a·class="code·hl_function"·href="a01113.html#a7d0b5dc6f7f567507a906e00d1887151">GetMaxLevel</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_maxLevel;·}</div>
 154 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
 155 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01113.html#a14bf987459715b918b370247bb24a61c">···77</a></span>····<span·class="keywordtype">int</span>··<a·class="code·hl_function"·href="a01113.html#a14bf987459715b918b370247bb24a61c">GetMaxValence</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_maxValence;·}</div>
149 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="keyword">public</span>:</div>156 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
 157 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01113.html#a1b68f0501aabb94ba410e006181d2cc5">···80</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01113.html#a1b68f0501aabb94ba410e006181d2cc5">HasHoles</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_hasHoles;·}</div>
150 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>158 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>
151 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01129.html">···84</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01129.html">Options</a>·{</div>159 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01113.html#ae8ef99a47f8185a3a621e4d5b10a20a0">···83</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01113.html#ae8ef99a47f8185a3a621e4d5b10a20a0">GetNumV[·...·truncated·by·diffoscope;·len:·113,·SHA:·3dc69de6e5dfb9fb1f5b866e96c767614beb19ed660bdcb5be903dc2d53c1510·...·]</div>
152 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>160 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
 161 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01113.html#a96f712a5e40873f00b0b61f72ffb9e3c">···86</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01113.html#a96f712a5e40873f00b0b61f72ffb9e3c">GetNumEdgesTotal</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_totalEdges;·}</div>
 162 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>
 163 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a01113.html#ac5eadebfdd9b11ac383653e5a2383231">···89</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01113.html#ac5eadebfdd9b11ac383653e5a2383231">GetNumFacesTotal</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_totalFaces;·}</div>
153 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01129.html#a33cde130beeee5dd5125d2c188b1a088">···86</a></span>········<a·class="code·hl_function"·href="a01129.html#a33cde130beeee5dd5125d2c188b1a088">Options</a>(<a·class="code·hl_enumeration"·href="a00913.html#aa3daa2f428c6be2b1cb394f3a525833d">Sdc::SchemeType</a>·sdcType·=·<a·class="code·hl_enumvalue"·href="a00913.html#aa3daa2f428c6be2b1cb394f3a525833da29c9704ef8a61670dfc242b6e6b82a9f">Sdc::SCHEME_CATMARK</a>,·<a·class="code·hl_class"·href="a01329.html">Sdc::Options</a>·sdcOptions·=·<a·class="code·hl_class"·href="a01329.html">Sdc::Options</a>())·:</div> 
154 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>············<a·class="code·hl_variable"·href="a01129.html#ab4a105466e7c764e3aabaa6c44c1eeb6">schemeType</a>(sdcType),</div> 
155 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>············<a·class="code·hl_variable"·href="a01129.html#a9ec2ab2b4bd49c6cf367dac80c8cbb94">schemeOptions</a>(sdcOptions),</div> 
156 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>············<a·class="code·hl_variable"·href="a01129.html#adaa22b025e8615d6e4281a86b794e5df">validateFullTopology</a>(false)·{·}</div> 
157 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>164 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
 165 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01113.html#accbb5f2a2fa9138df8c399b9f1d37982">···92</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01113.html#accbb5f2a2fa9138df8c399b9f1d37982">GetNumFaceVerticesTotal</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_totalFaceVertices;·}</div>
158 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a01129.html#ab4a105466e7c764e3aabaa6c44c1eeb6">···91</a></span>········<a·class="code·hl_enumeration"·href="a00913.html#aa3daa2f428c6be2b1cb394f3a525833d">Sdc::SchemeType</a>·<a·class="code·hl_variable"·href="a01129.html#ab4a105466e7c764e3aabaa6c44c1eeb6">schemeType</a>;·············</div> 
159 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01129.html#a9ec2ab2b4bd49c6cf367dac80c8cbb94">···92</a></span>········<a·class="code·hl_class"·href="a01329.html">Sdc::Options</a>····<a·class="code·hl_variable"·href="a01129.html#a9ec2ab2b4bd49c6cf367dac80c8cbb94">schemeOptions</a>;··········</div> 
160 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno"><a·class="line"·href="a01129.html#adaa22b025e8615d6e4281a86b794e5df">···94</a></span>········<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01129.html#adaa22b025e8615d6e4281a86b794e5df">validateFullTopology</a>·:·1;··</div> 
161 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····};</div>166 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div>
 167 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a01113.html#adc03a3531bd92ada5669788241e3515f">···95</a></span>····<a·class="code·hl_class"·href="a01105.html">TopologyLevel</a>·<span·class="keyword">const</span>·&amp;·<a·class="code·hl_function"·href="a01113.html#adc03a3531bd92ada5669788241e3515f">GetLevel</a>(<span·class="keywordtype">int</span>·level)<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_farLevels[level];·}</div>
 168 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>
162 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>169 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>
 170 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>
163 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>····<span·class="comment">//</span></div>171 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····<span·class="comment">//</span></div>
164 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span><span·class="comment"></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01113.html">TopologyRefiner</a>*·<a·class="code·hl_function"·href="a01109.html#ab10eb061eba33095095d[·...·truncated·by·diffoscope;·len:·203,·SHA:·f6bd16e73d90e879af6d634cef5c403a8fdb6bc1d2dbbf80dd85225135a37e63·...·]</div>172 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>····<span·class="comment">//·Uniform·refinement</span></div>
 173 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>····<span·class="comment">//</span></div>
165 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>·</div>174 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>
166 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01113.html">TopologyRefiner</a>*·<a·class="code·hl_function"·href="a01109.html#ab10eb061eba33095095d754241081ff9">Create</a>(<a·c[·...·truncated·by·diffoscope;·len:·112,·SHA:·859e518c1fca1ee038dd506022717e5cc7ad8113461ea3fa931cf58b2b073732·...·]</div>175 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno"><a·class="line"·href="a01117.html">··118</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01117.html">UniformOptions</a>·{</div>
Max diff block lines reached; 168227/203938 bytes (82.49%) of diff not shown.
49.8 KB
html2text {}
    
Offset 4, 15 lines modifiedOffset 4, 15 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 topologyRefinerFactory.h5 topologyRefiner.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
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·in11 ·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 29, 934 lines modifiedOffset 29, 441 lines modified
29 ·17//29 ·17//
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·24#ifndef·OPENSUBDIV3_FAR_TOPOLOGY_REFINER_FACTORY_H36 ·24#ifndef·OPENSUBDIV3_FAR_TOPOLOGY_REFINER_H
37 ·25#define·OPENSUBDIV3_FAR_TOPOLOGY_REFINER_FACTORY_H37 ·25#define·OPENSUBDIV3_FAR_TOPOLOGY_REFINER_H
38 ·2638 ·26
39 ·27#include·"../version.h"39 ·27#include·"../version.h"
40 ·2840 ·28
 41 ·29#include·"../sdc/types.h"
 42 ·30#include·"../sdc/options.h"
 43 ·31#include·"../far/types.h"
41 ·29#include·"../far/topologyRefiner.h"44 ·32#include·"../far/topologyLevel.h"
42 ·30#include·"../far/error.h" 
43 ·31 
44 ·32#include·<cassert> 
45 ·3345 ·33
46 ·34namespace·OpenSubdiv·{ 
47 ·35namespace·OPENSUBDIV_VERSION·{46 ·34#include·<vector>
 47 ·35
48 ·3648 ·36
 49 ·37namespace·OpenSubdiv·{
 50 ·38namespace·OPENSUBDIV_VERSION·{
 51 ·39
 52 40namespace·Vtr·{·namespace·internal·{·class·SparseSelector;·}·}
 53 ·41namespace·Far·{·namespace·internal·{·class·FeatureMask;·}·}
 54 ·42
49 ·37namespace·Far·{55 ·43namespace·Far·{
50 ·38 
51 ·46//56 ·44
 57 ·45template·<typename·REAL>·class·PrimvarRefinerReal;
 58 ·46template·<class·MESH>·class·TopologyRefinerFactory;
 59 ·47
52 47class·TopologyRefinerFactoryBase·{60 51class·TopologyRefiner·{
 61 ·52
 62 ·53public:
 63 ·54
 64 56·TopologyRefiner(Sdc::SchemeType·type,·Sdc::Options·options·=·Sdc::Options
 65 ());
 66 ·57
 67 59·~TopologyRefiner();
 68 ·60
 69 62·Sdc::SchemeType·GetSchemeType()·const·{·return·_subdivType;·}
53 ·48protected: 
54 ·49 
55 ·50·// 
56 ·51·//·Protected·methods·invoked·by·the·subclass·template·to·verify·and·process 
57 each 
58 ·52·//·stage·of·construction·implemented·by·the·subclass: 
59 ·53·// 
60 54·typedef·Vtr::internal::Level::ValidationCallback·TopologyCallback; 
61 ·55 
62 56·static·bool·prepareComponentTopologySizing(TopologyRefiner&·refiner); 
63 57·static·bool·prepareComponentTopologyAssignment(TopologyRefiner&·refiner, 
64 bool·fullValidation, 
65 ·58·TopologyCallback·callback,·void·const·*·callbackData); 
66 59·static·bool·prepareComponentTagsAndSharpness(TopologyRefiner&·refiner); 
67 60·static·bool·prepareFaceVaryingChannels(TopologyRefiner&·refiner); 
68 ·61}; 
69 ·62 
70 ·6370 ·63
71 ·77template·<class·MESH> 
72 78class·TopologyRefinerFactory·:·public·TopologyRefinerFactoryBase·{ 
73 ·79 
74 ·80public:71 65·Sdc::Options·GetSchemeOptions()·const·{·return·_subdivOptions;·}
 72 ·66
 73 68·bool·IsUniform()·const·{·return·_isUniform;·}
 74 ·69
 75 71·int·GetNumLevels()·const·{·return·(int)_farLevels.size();·}
 76 ·72
 77 74·int·GetMaxLevel()·const·{·return·_maxLevel;·}
 78 ·75
 79 77·int·GetMaxValence()·const·{·return·_maxValence;·}
 80 ·78
 81 80·bool·HasHoles()·const·{·return·_hasHoles;·}
75 ·8182 ·81
 83 83·int·GetNumVerticesTotal()·const·{·return·_totalVertices;·}
 84 ·84
 85 86·int·GetNumEdgesTotal()·const·{·return·_totalEdges;·}
 86 ·87
 87 89·int·GetNumFacesTotal()·const·{·return·_totalFaces;·}
76 84·struct·Options·{ 
77 ·85 
78 86·Options(Sdc::SchemeType·sdcType·=·Sdc::SCHEME_CATMARK,·Sdc::Options 
79 sdcOptions·=·Sdc::Options())·: 
80 ·87·schemeType(sdcType), 
81 ·88·schemeOptions(sdcOptions), 
82 ·89·validateFullTopology(false)·{·} 
83 ·9088 ·90
84 91·Sdc::SchemeType·schemeType; 
85 92·Sdc::Options·schemeOptions; 
86 94·unsigned·int·validateFullTopology·:·1; 
87 ·97·};89 92·int·GetNumFaceVerticesTotal()·const·{·return·_totalFaceVertices;·}
 90 ·93
 91 95·TopologyLevel·const·&·GetLevel(int·level)·const·{·return·_farLevels[level];
 92 }
 93 ·96
88 ·9894 ·98
 95 ·100
89 ·108·//96 ·101·//
90 ·113·static·TopologyRefiner*·Create(MESH·const&·mesh,·Options·options·=·Options 
91 ());97 ·102·//·Uniform·refinement
 98 ·103·//
92 ·11499 ·104
93 ·128·static·TopologyRefiner*·Create(TopologyRefiner·const·&·baseLevel);100 118·struct·UniformOptions·{
94 ·129101 ·119
95 ·130protected: 
96 131·typedef·Vtr::internal::Level::TopologyError·TopologyError;102 120·UniformOptions(int·level)·:
Max diff block lines reached; 45386/50972 bytes (89.04%) of diff not shown.
5.48 KB
./usr/share/doc/opensubdiv/doxy_html/a00710_source.html
    
Offset 303, 16 lines modifiedOffset 303, 16 lines modified
303 <div·class="ttc"·id="aa01105_html_adba75894e1f7679a01b8341b9ac00893"><div·class="ttname"><a·href="a01105.html#adba75894e1f7679a01b8341b9ac00893">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyLevel::IsVertexSemiSharp</a></div><div·class="ttdeci">bool·IsVertexSemiSharp(Index·v)·const</div><div·class="ttdoc">Return·if·the·vertex·is·semi-sharp.</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00710_source.html#l00188">topologyLevel.h:188</a></div></div>303 <div·class="ttc"·id="aa01105_html_adba75894e1f7679a01b8341b9ac00893"><div·class="ttname"><a·href="a01105.html#adba75894e1f7679a01b8341b9ac00893">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyLevel::IsVertexSemiSharp</a></div><div·class="ttdeci">bool·IsVertexSemiSharp(Index·v)·const</div><div·class="ttdoc">Return·if·the·vertex·is·semi-sharp.</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00710_source.html#l00188">topologyLevel.h:188</a></div></div>
304 <div·class="ttc"·id="aa01105_html_ae4228cb7954118c55af0a77a99333788"><div·class="ttname"><a·href="a01105.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>304 <div·class="ttc"·id="aa01105_html_ae4228cb7954118c55af0a77a99333788"><div·class="ttname"><a·href="a01105.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>
305 <div·class="ttc"·id="aa01105_html_ae8289e621fd91c4eff0d44903edb34c2"><div·class="ttname"><a·href="a01105.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>305 <div·class="ttc"·id="aa01105_html_ae8289e621fd91c4eff0d44903edb34c2"><div·class="ttname"><a·href="a01105.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>
306 <div·class="ttc"·id="aa01105_html_af13c6081737fbf3fa34e690e1d5b81b8"><div·class="ttname"><a·href="a01105.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>306 <div·class="ttc"·id="aa01105_html_af13c6081737fbf3fa34e690e1d5b81b8"><div·class="ttname"><a·href="a01105.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>
307 <div·class="ttc"·id="aa01105_html_af2e9df856672471d6d52245646b99ec1"><div·class="ttname"><a·href="a01105.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>307 <div·class="ttc"·id="aa01105_html_af2e9df856672471d6d52245646b99ec1"><div·class="ttname"><a·href="a01105.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>
308 <div·class="ttc"·id="aa01105_html_afa663a1bb972ec104c8b842d9dc967a5"><div·class="ttname"><a·href="a01105.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>308 <div·class="ttc"·id="aa01105_html_afa663a1bb972ec104c8b842d9dc967a5"><div·class="ttname"><a·href="a01105.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>
309 <div·class="ttc"·id="aa01105_html_afac250ff4bc31d95fd2300202fa0e083"><div·class="ttname"><a·href="a01105.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>309 <div·class="ttc"·id="aa01105_html_afac250ff4bc31d95fd2300202fa0e083"><div·class="ttname"><a·href="a01105.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>
310 <div·class="ttc"·id="aa01113_html"><div·class="ttname"><a·href="a01113.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="a00704_source.html#l00051">topologyRefiner.h:51</a></div></div>310 <div·class="ttc"·id="aa01113_html"><div·class="ttname"><a·href="a01113.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>
311 <div·class="ttc"·id="aa01325_html_a11fcd51ef86118f65e603c1474377a78"><div·class="ttname"><a·href="a01325.html#a11fcd51ef86118f65e603c1474377a78">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease::Rule</a></div><div·class="ttdeci">Rule</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00776_source.html#l00082">crease.h:82</a></div></div>311 <div·class="ttc"·id="aa01325_html_a11fcd51ef86118f65e603c1474377a78"><div·class="ttname"><a·href="a01325.html#a11fcd51ef86118f65e603c1474377a78">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease::Rule</a></div><div·class="ttdeci">Rule</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00896_source.html#l00082">crease.h:82</a></div></div>
312 <div·class="ttc"·id="aa01345_html"><div·class="ttname"><a·href="a01345.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>312 <div·class="ttc"·id="aa01345_html"><div·class="ttname"><a·href="a01345.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>
313 </div><!--·fragment·--></div><!--·contents·-->313 </div><!--·fragment·--></div><!--·contents·-->
314 </div><!--·doc-content·-->314 </div><!--·doc-content·-->
315 <!--·start·footer·part·-->315 <!--·start·footer·part·-->
316 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->316 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
317 ··<ul>317 ··<ul>
318 ····<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>318 ····<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>
1.27 KB
./usr/share/doc/opensubdiv/doxy_html/a00713.html
    
Offset 87, 16 lines modifiedOffset 87, 16 lines modified
87 ··<div·class="summary">87 ··<div·class="summary">
88 <a·href="#nested-classes">Classes</a>·&#124;88 <a·href="#nested-classes">Classes</a>·&#124;
89 <a·href="#namespaces">Namespaces</a>··</div>89 <a·href="#namespaces">Namespaces</a>··</div>
90 ··<div·class="headertitle"><div·class="title">topologyDescriptor.h·File·Reference</div></div>90 ··<div·class="headertitle"><div·class="title">topologyDescriptor.h·File·Reference</div></div>
91 </div><!--header-->91 </div><!--header-->
92 <div·class="contents">92 <div·class="contents">
93 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>93 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
94 <code>#include·&quot;<a·class="el"·href="a00704_source.html">../far/topologyRefiner.h</a>&quot;</code><br·/>94 <code>#include·&quot;<a·class="el"·href="a00707_source.html">../far/topologyRefiner.h</a>&quot;</code><br·/>
95 <code>#include·&quot;<a·class="el"·href="a00707_source.html">../far/topologyRefinerFactory.h</a>&quot;</code><br·/>95 <code>#include·&quot;<a·class="el"·href="a00704_source.html">../far/topologyRefinerFactory.h</a>&quot;</code><br·/>
96 <code>#include·&quot;<a·class="el"·href="a00743_source.html">../far/error.h</a>&quot;</code><br·/>96 <code>#include·&quot;<a·class="el"·href="a00743_source.html">../far/error.h</a>&quot;</code><br·/>
97 <code>#include·&lt;cassert&gt;</code><br·/>97 <code>#include·&lt;cassert&gt;</code><br·/>
98 </div>98 </div>
99 <p><a·href="a00713_source.html">Go·to·the·source·code·of·this·file.</a></p>99 <p><a·href="a00713_source.html">Go·to·the·source·code·of·this·file.</a></p>
100 <table·class="memberdecls">100 <table·class="memberdecls">
101 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>101 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
102 Classes</h2></td></tr>102 Classes</h2></td></tr>
9.51 KB
./usr/share/doc/opensubdiv/doxy_html/a00713_source.html
    
Offset 224, 20 lines modifiedOffset 224, 20 lines modified
224 <div·class="ttc"·id="aa01097_html_ab8975c25a0f7d3a9f1fca83e267bc21e"><div·class="ttname"><a·href="a01097.html#ab8975c25a0f7d3a9f1fca83e267bc21e">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor::numCreases</a></div><div·class="ttdeci">int·numCreases</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00713_source.html#l00057">topologyDescriptor.h:57</a></div></div>224 <div·class="ttc"·id="aa01097_html_ab8975c25a0f7d3a9f1fca83e267bc21e"><div·class="ttname"><a·href="a01097.html#ab8975c25a0f7d3a9f1fca83e267bc21e">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor::numCreases</a></div><div·class="ttdeci">int·numCreases</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00713_source.html#l00057">topologyDescriptor.h:57</a></div></div>
225 <div·class="ttc"·id="aa01097_html_aba3adf422acc0fc845afeba3a5df2b8f"><div·class="ttname"><a·href="a01097.html#aba3adf422acc0fc845afeba3a5df2b8f">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor::numHoles</a></div><div·class="ttdeci">int·numHoles</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00713_source.html#l00065">topologyDescriptor.h:65</a></div></div>225 <div·class="ttc"·id="aa01097_html_aba3adf422acc0fc845afeba3a5df2b8f"><div·class="ttname"><a·href="a01097.html#aba3adf422acc0fc845afeba3a5df2b8f">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor::numHoles</a></div><div·class="ttdeci">int·numHoles</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00713_source.html#l00065">topologyDescriptor.h:65</a></div></div>
226 <div·class="ttc"·id="aa01097_html_ad17511fd9b0cea1b15b6bc31c0fc3e80"><div·class="ttname"><a·href="a01097.html#ad17511fd9b0cea1b15b6bc31c0fc3e80">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor::numFVarChannels</a></div><div·class="ttdeci">int·numFVarChannels</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00713_source.html#l00081">topologyDescriptor.h:81</a></div></div>226 <div·class="ttc"·id="aa01097_html_ad17511fd9b0cea1b15b6bc31c0fc3e80"><div·class="ttname"><a·href="a01097.html#ad17511fd9b0cea1b15b6bc31c0fc3e80">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor::numFVarChannels</a></div><div·class="ttdeci">int·numFVarChannels</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00713_source.html#l00081">topologyDescriptor.h:81</a></div></div>
227 <div·class="ttc"·id="aa01101_html"><div·class="ttname"><a·href="a01101.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor::FVarChannel</a></div><div·class="ttdef"><b>Definition:</b>·<a·href="a00713_source.html#l00073">topologyDescriptor.h:73</a></div></div>227 <div·class="ttc"·id="aa01101_html"><div·class="ttname"><a·href="a01101.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor::FVarChannel</a></div><div·class="ttdef"><b>Definition:</b>·<a·href="a00713_source.html#l00073">topologyDescriptor.h:73</a></div></div>
228 <div·class="ttc"·id="aa01101_html_a029d281df9f5dc8c00b52a35f8e0dfde"><div·class="ttname"><a·href="a01101.html#a029d281df9f5dc8c00b52a35f8e0dfde">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor::FVarChannel::FVarChannel</a></div><div·class="ttdeci">FVarChannel()</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00713_source.html#l00078">topologyDescriptor.h:78</a></div></div>228 <div·class="ttc"·id="aa01101_html_a029d281df9f5dc8c00b52a35f8e0dfde"><div·class="ttname"><a·href="a01101.html#a029d281df9f5dc8c00b52a35f8e0dfde">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor::FVarChannel::FVarChannel</a></div><div·class="ttdeci">FVarChannel()</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00713_source.html#l00078">topologyDescriptor.h:78</a></div></div>
229 <div·class="ttc"·id="aa01101_html_a123fe78d0e97dc72f5dfd9f27f93f699"><div·class="ttname"><a·href="a01101.html#a123fe78d0e97dc72f5dfd9f27f93f699">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor::FVarChannel::valueIndices</a></div><div·class="ttdeci">Index·const··*·valueIndices</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00713_source.html#l00076">topologyDescriptor.h:76</a></div></div>229 <div·class="ttc"·id="aa01101_html_a123fe78d0e97dc72f5dfd9f27f93f699"><div·class="ttname"><a·href="a01101.html#a123fe78d0e97dc72f5dfd9f27f93f699">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor::FVarChannel::valueIndices</a></div><div·class="ttdeci">Index·const··*·valueIndices</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00713_source.html#l00076">topologyDescriptor.h:76</a></div></div>
230 <div·class="ttc"·id="aa01101_html_aa0d5f7bfb1ba01e0cb648ff6fc249437"><div·class="ttname"><a·href="a01101.html#aa0d5f7bfb1ba01e0cb648ff6fc249437">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor::FVarChannel::numValues</a></div><div·class="ttdeci">int·numValues</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00713_source.html#l00075">topologyDescriptor.h:75</a></div></div>230 <div·class="ttc"·id="aa01101_html_aa0d5f7bfb1ba01e0cb648ff6fc249437"><div·class="ttname"><a·href="a01101.html#aa0d5f7bfb1ba01e0cb648ff6fc249437">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor::FVarChannel::numValues</a></div><div·class="ttdeci">int·numValues</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00713_source.html#l00075">topologyDescriptor.h:75</a></div></div>
231 <div·class="ttc"·id="aa01109_html_a098784adfa428c620663baf9c2d8e41a"><div·class="ttname"><a·href="a01109.html#a098784adfa428c620663baf9c2d8e41a">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefinerFactory::assignComponentTopology</a></div><div·class="ttdeci">static·bool·assignComponentTopology(TopologyRefiner·&amp;newRefiner,·MESH·const·&amp;mesh)</div><div·class="ttdoc">Specify·the·relationships·between·vertices,·faces,·etc.·ie·the·face-vertices,·vertex-faces,...</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00707_source.html#l00621">topologyRefinerFactory.h:621</a></div></div>231 <div·class="ttc"·id="aa01109_html_a098784adfa428c620663baf9c2d8e41a"><div·class="ttname"><a·href="a01109.html#a098784adfa428c620663baf9c2d8e41a">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefinerFactory::assignComponentTopology</a></div><div·class="ttdeci">static·bool·assignComponentTopology(TopologyRefiner·&amp;newRefiner,·MESH·const·&amp;mesh)</div><div·class="ttdoc">Specify·the·relationships·between·vertices,·faces,·etc.·ie·the·face-vertices,·vertex-faces,...</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00704_source.html#l00621">topologyRefinerFactory.h:621</a></div></div>
232 <div·class="ttc"·id="aa01109_html_a0c4c1d44df4c480bd0adfa9e86891b39"><div·class="ttname"><a·href="a01109.html#a0c4c1d44df4c480bd0adfa9e86891b39">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefinerFactory::reportInvalidTopology</a></div><div·class="ttdeci">static·void·reportInvalidTopology(TopologyError·errCode,·char·const·*msg,·MESH·const·&amp;mesh)</div><div·class="ttdoc">(Optional)·Control·run-time·topology·validation·and·error·reporting</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00707_source.html#l00707">topologyRefinerFactory.h:707</a></div></div>232 <div·class="ttc"·id="aa01109_html_a0c4c1d44df4c480bd0adfa9e86891b39"><div·class="ttname"><a·href="a01109.html#a0c4c1d44df4c480bd0adfa9e86891b39">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefinerFactory::reportInvalidTopology</a></div><div·class="ttdeci">static·void·reportInvalidTopology(TopologyError·errCode,·char·const·*msg,·MESH·const·&amp;mesh)</div><div·class="ttdoc">(Optional)·Control·run-time·topology·validation·and·error·reporting</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00704_source.html#l00707">topologyRefinerFactory.h:707</a></div></div>
233 <div·class="ttc"·id="aa01109_html_a3df7295af055588a7b4f20d4da021ad1"><div·class="ttname"><a·href="a01109.html#a3df7295af055588a7b4f20d4da021ad1">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefinerFactory::assignComponentTags</a></div><div·class="ttdeci">static·bool·assignComponentTags(TopologyRefiner·&amp;newRefiner,·MESH·const·&amp;mesh)</div><div·class="ttdoc">(Optional)·Specify·edge·or·vertex·sharpness·or·face·holes</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00707_source.html#l00690">topologyRefinerFactory.h:690</a></div></div>233 <div·class="ttc"·id="aa01109_html_a3df7295af055588a7b4f20d4da021ad1"><div·class="ttname"><a·href="a01109.html#a3df7295af055588a7b4f20d4da021ad1">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefinerFactory::assignComponentTags</a></div><div·class="ttdeci">static·bool·assignComponentTags(TopologyRefiner·&amp;newRefiner,·MESH·const·&amp;mesh)</div><div·class="ttdoc">(Optional)·Specify·edge·or·vertex·sharpness·or·face·holes</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00704_source.html#l00690">topologyRefinerFactory.h:690</a></div></div>
234 <div·class="ttc"·id="aa01109_html_a4c574c458d080393a258f48e0ab20938"><div·class="ttname"><a·href="a01109.html#a4c574c458d080393a258f48e0ab20938">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefinerFactory::resizeComponentTopology</a></div><div·class="ttdeci">static·bool·resizeComponentTopology(TopologyRefiner·&amp;newRefiner,·MESH·const·&amp;mesh)</div><div·class="ttdoc">Specify·the·number·of·vertices,·faces,·face-vertices,·etc.</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00707_source.html#l00580">topologyRefinerFactory.h:580</a></div></div>234 <div·class="ttc"·id="aa01109_html_a4c574c458d080393a258f48e0ab20938"><div·class="ttname"><a·href="a01109.html#a4c574c458d080393a258f48e0ab20938">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefinerFactory::resizeComponentTopology</a></div><div·class="ttdeci">static·bool·resizeComponentTopology(TopologyRefiner·&amp;newRefiner,·MESH·const·&amp;mesh)</div><div·class="ttdoc">Specify·the·number·of·vertices,·faces,·face-vertices,·etc.</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00704_source.html#l00580">topologyRefinerFactory.h:580</a></div></div>
235 <div·class="ttc"·id="aa01109_html_a6999e259e020bc687d09ef616ab3825b"><div·class="ttname"><a·href="a01109.html#a6999e259e020bc687d09ef616ab3825b">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefinerFactory::assignFaceVaryingTopology</a></div><div·class="ttdeci">static·bool·assignFaceVaryingTopology(TopologyRefiner·&amp;newRefiner,·MESH·const·&amp;mesh)</div><div·class="ttdoc">(Optional)·Specify·face-varying·data·per·face</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00707_source.html#l00674">topologyRefinerFactory.h:674</a></div></div>235 <div·class="ttc"·id="aa01109_html_a6999e259e020bc687d09ef616ab3825b"><div·class="ttname"><a·href="a01109.html#a6999e259e020bc687d09ef616ab3825b">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefinerFactory::assignFaceVaryingTopology</a></div><div·class="ttdeci">static·bool·assignFaceVaryingTopology(TopologyRefiner·&amp;newRefiner,·MESH·const·&amp;mesh)</div><div·class="ttdoc">(Optional)·Specify·face-varying·data·per·face</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00704_source.html#l00674">topologyRefinerFactory.h:674</a></div></div>
236 <div·class="ttc"·id="aa01113_html"><div·class="ttname"><a·href="a01113.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="a00704_source.html#l00051">topologyRefiner.h:51</a></div></div>236 <div·class="ttc"·id="aa01113_html"><div·class="ttname"><a·href="a01113.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>
237 </div><!--·fragment·--></div><!--·contents·-->237 </div><!--·fragment·--></div><!--·contents·-->
238 </div><!--·doc-content·-->238 </div><!--·doc-content·-->
239 <!--·start·footer·part·-->239 <!--·start·footer·part·-->
240 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->240 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
241 ··<ul>241 ··<ul>
242 ····<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="a00713.html">topologyDescriptor.h</a></li>242 ····<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="a00713.html">topologyDescriptor.h</a></li>
243 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>243 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
1.14 KB
./usr/share/doc/opensubdiv/doxy_html/a00716.html
    
Offset 87, 15 lines modifiedOffset 87, 15 lines modified
87 ··<div·class="summary">87 ··<div·class="summary">
88 <a·href="#nested-classes">Classes</a>·&#124;88 <a·href="#nested-classes">Classes</a>·&#124;
89 <a·href="#namespaces">Namespaces</a>··</div>89 <a·href="#namespaces">Namespaces</a>··</div>
90 ··<div·class="headertitle"><div·class="title">stencilTableFactory.h·File·Reference</div></div>90 ··<div·class="headertitle"><div·class="title">stencilTableFactory.h·File·Reference</div></div>
91 </div><!--header-->91 </div><!--header-->
92 <div·class="contents">92 <div·class="contents">
93 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>93 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
94 <code>#include·&quot;<a·class="el"·href="a00731_source.html">../far/patchTable.h</a>&quot;</code><br·/>94 <code>#include·&quot;<a·class="el"·href="a00734_source.html">../far/patchTable.h</a>&quot;</code><br·/>
95 <code>#include·&lt;vector&gt;</code><br·/>95 <code>#include·&lt;vector&gt;</code><br·/>
96 </div>96 </div>
97 <p><a·href="a00716_source.html">Go·to·the·source·code·of·this·file.</a></p>97 <p><a·href="a00716_source.html">Go·to·the·source·code·of·this·file.</a></p>
98 <table·class="memberdecls">98 <table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
100 Classes</h2></td></tr>100 Classes</h2></td></tr>
101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01037.html">StencilTableFactoryReal&lt;·REAL·&gt;</a></td></tr>101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01037.html">StencilTableFactoryReal&lt;·REAL·&gt;</a></td></tr>
9.99 KB
./usr/share/doc/opensubdiv/doxy_html/a00716_source.html
    
Offset 356, 15 lines modifiedOffset 356, 15 lines modified
356 <div·class="line"><a·id="l00379"·name="l00379"></a><span·class="lineno">··379</span>}·<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div>356 <div·class="line"><a·id="l00379"·name="l00379"></a><span·class="lineno">··379</span>}·<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div>
357 <div·class="line"><a·id="l00380"·name="l00380"></a><span·class="lineno">··380</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div>357 <div·class="line"><a·id="l00380"·name="l00380"></a><span·class="lineno">··380</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div>
358 <div·class="line"><a·id="l00381"·name="l00381"></a><span·class="lineno">··381</span>·</div>358 <div·class="line"><a·id="l00381"·name="l00381"></a><span·class="lineno">··381</span>·</div>
359 <div·class="line"><a·id="l00382"·name="l00382"></a><span·class="lineno">··382</span>}·<span·class="comment">//·end·namespace·OpenSubdiv</span></div>359 <div·class="line"><a·id="l00382"·name="l00382"></a><span·class="lineno">··382</span>}·<span·class="comment">//·end·namespace·OpenSubdiv</span></div>
360 <div·class="line"><a·id="l00383"·name="l00383"></a><span·class="lineno">··383</span>·</div>360 <div·class="line"><a·id="l00383"·name="l00383"></a><span·class="lineno">··383</span>·</div>
361 <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>361 <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>
362 <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>362 <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>
363 <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>363 <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="a00734_source.html#l00055">patchTable.h:55</a></div></div>
364 <div·class="ttc"·id="aa01037_html"><div·class="ttname"><a·href="a01037.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>364 <div·class="ttc"·id="aa01037_html"><div·class="ttname"><a·href="a01037.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>
365 <div·class="ttc"·id="aa01037_html_a0f706293d0b11df8ec9d06ce7e4b6bb2"><div·class="ttname"><a·href="a01037.html#a0f706293d0b11df8ec9d06ce7e4b6bb2">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactoryReal::Create</a></div><div·class="ttdeci">static·StencilTableReal&lt;·REAL·&gt;·const·*·Create(TopologyRefiner·const·&amp;refiner,·Options·options=Options())</div><div·class="ttdoc">Instantiates·StencilTable·from·TopologyRefiner·that·have·been·refined·uniformly·or·adaptively.</div></div>365 <div·class="ttc"·id="aa01037_html_a0f706293d0b11df8ec9d06ce7e4b6bb2"><div·class="ttname"><a·href="a01037.html#a0f706293d0b11df8ec9d06ce7e4b6bb2">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactoryReal::Create</a></div><div·class="ttdeci">static·StencilTableReal&lt;·REAL·&gt;·const·*·Create(TopologyRefiner·const·&amp;refiner,·Options·options=Options())</div><div·class="ttdoc">Instantiates·StencilTable·from·TopologyRefiner·that·have·been·refined·uniformly·or·adaptively.</div></div>
366 <div·class="ttc"·id="aa01037_html_a33b8f611576b3e0907832e571e4844f5"><div·class="ttname"><a·href="a01037.html#a33b8f611576b3e0907832e571e4844f5">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactoryReal::AppendLocalPointStencilTableFaceVarying</a></div><div·class="ttdeci">static·StencilTableReal&lt;·REAL·&gt;·const·*·AppendLocalPointStencilTableFaceVarying(TopologyRefiner·const·&amp;refiner,·StencilTableReal&lt;·REAL·&gt;·const·*baseStencilTable,·StencilTableReal&lt;·REAL·&gt;·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>366 <div·class="ttc"·id="aa01037_html_a33b8f611576b3e0907832e571e4844f5"><div·class="ttname"><a·href="a01037.html#a33b8f611576b3e0907832e571e4844f5">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactoryReal::AppendLocalPointStencilTableFaceVarying</a></div><div·class="ttdeci">static·StencilTableReal&lt;·REAL·&gt;·const·*·AppendLocalPointStencilTableFaceVarying(TopologyRefiner·const·&amp;refiner,·StencilTableReal&lt;·REAL·&gt;·const·*baseStencilTable,·StencilTableReal&lt;·REAL·&gt;·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>
367 <div·class="ttc"·id="aa01037_html_a46c8a310cf4c094f8c80e1cb8dc1f911"><div·class="ttname"><a·href="a01037.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>367 <div·class="ttc"·id="aa01037_html_a46c8a310cf4c094f8c80e1cb8dc1f911"><div·class="ttname"><a·href="a01037.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>
368 <div·class="ttc"·id="aa01037_html_a46c8a310cf4c094f8c80e1cb8dc1f911a4178369e390d2596ce60676642fec077"><div·class="ttname"><a·href="a01037.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>368 <div·class="ttc"·id="aa01037_html_a46c8a310cf4c094f8c80e1cb8dc1f911a4178369e390d2596ce60676642fec077"><div·class="ttname"><a·href="a01037.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>
369 <div·class="ttc"·id="aa01037_html_a46c8a310cf4c094f8c80e1cb8dc1f911ab18c20abfc04611ab0aec5e1c81bb2ab"><div·class="ttname"><a·href="a01037.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>369 <div·class="ttc"·id="aa01037_html_a46c8a310cf4c094f8c80e1cb8dc1f911ab18c20abfc04611ab0aec5e1c81bb2ab"><div·class="ttname"><a·href="a01037.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>
370 <div·class="ttc"·id="aa01037_html_a46c8a310cf4c094f8c80e1cb8dc1f911ab491ed84aea170a330914a3f88b16d50"><div·class="ttname"><a·href="a01037.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>370 <div·class="ttc"·id="aa01037_html_a46c8a310cf4c094f8c80e1cb8dc1f911ab491ed84aea170a330914a3f88b16d50"><div·class="ttname"><a·href="a01037.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 409, 15 lines modifiedOffset 409, 15 lines modified
409 <div·class="ttc"·id="aa01089_html_a51e4075d73757537a600b85c8f3d2cfa"><div·class="ttname"><a·href="a01089.html#a51e4075d73757537a600b85c8f3d2cfa">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactory::AppendLocalPointStencilTableVarying</a></div><div·class="ttdeci">static·StencilTable·const·*·AppendLocalPointStencilTableVarying(TopologyRefiner·const·&amp;refiner,·StencilTable·const·*baseStencilTable,·StencilTable·const·*localPointStencilTable,·bool·factorize=true)</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00716_source.html#l00321">stencilTableFactory.h:321</a></div></div>409 <div·class="ttc"·id="aa01089_html_a51e4075d73757537a600b85c8f3d2cfa"><div·class="ttname"><a·href="a01089.html#a51e4075d73757537a600b85c8f3d2cfa">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactory::AppendLocalPointStencilTableVarying</a></div><div·class="ttdeci">static·StencilTable·const·*·AppendLocalPointStencilTableVarying(TopologyRefiner·const·&amp;refiner,·StencilTable·const·*baseStencilTable,·StencilTable·const·*localPointStencilTable,·bool·factorize=true)</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00716_source.html#l00321">stencilTableFactory.h:321</a></div></div>
410 <div·class="ttc"·id="aa01089_html_a667e11d1b8502dd1215608af93ada08c"><div·class="ttname"><a·href="a01089.html#a667e11d1b8502dd1215608af93ada08c">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactory::Create</a></div><div·class="ttdeci">static·StencilTable·const·*·Create(TopologyRefiner·const·&amp;refiner,·Options·options=Options())</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00716_source.html#l00293">stencilTableFactory.h:293</a></div></div>410 <div·class="ttc"·id="aa01089_html_a667e11d1b8502dd1215608af93ada08c"><div·class="ttname"><a·href="a01089.html#a667e11d1b8502dd1215608af93ada08c">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactory::Create</a></div><div·class="ttdeci">static·StencilTable·const·*·Create(TopologyRefiner·const·&amp;refiner,·Options·options=Options())</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00716_source.html#l00293">stencilTableFactory.h:293</a></div></div>
411 <div·class="ttc"·id="aa01089_html_aa8beed46ad3a5f5f34241b9d21907f84"><div·class="ttname"><a·href="a01089.html#aa8beed46ad3a5f5f34241b9d21907f84">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactory::AppendLocalPointStencilTableFaceVarying</a></div><div·class="ttdeci">static·StencilTable·const·*·AppendLocalPointStencilTableFaceVarying(TopologyRefiner·const·&amp;refiner,·StencilTable·const·*baseStencilTable,·StencilTable·const·*localPointStencilTable,·int·channel=0,·bool·factorize=true)</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00716_source.html#l00334">stencilTableFactory.h:334</a></div></div>411 <div·class="ttc"·id="aa01089_html_aa8beed46ad3a5f5f34241b9d21907f84"><div·class="ttname"><a·href="a01089.html#aa8beed46ad3a5f5f34241b9d21907f84">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactory::AppendLocalPointStencilTableFaceVarying</a></div><div·class="ttdeci">static·StencilTable·const·*·AppendLocalPointStencilTableFaceVarying(TopologyRefiner·const·&amp;refiner,·StencilTable·const·*baseStencilTable,·StencilTable·const·*localPointStencilTable,·int·channel=0,·bool·factorize=true)</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00716_source.html#l00334">stencilTableFactory.h:334</a></div></div>
412 <div·class="ttc"·id="aa01089_html_ab7374d716e8637a5ffbd12029713ec0f"><div·class="ttname"><a·href="a01089.html#ab7374d716e8637a5ffbd12029713ec0f">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactory::AppendLocalPointStencilTable</a></div><div·class="ttdeci">static·StencilTable·const·*·AppendLocalPointStencilTable(TopologyRefiner·const·&amp;refiner,·StencilTable·const·*baseStencilTable,·StencilTable·const·*localPointStencilTable,·bool·factorize=true)</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00716_source.html#l00308">stencilTableFactory.h:308</a></div></div>412 <div·class="ttc"·id="aa01089_html_ab7374d716e8637a5ffbd12029713ec0f"><div·class="ttname"><a·href="a01089.html#ab7374d716e8637a5ffbd12029713ec0f">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactory::AppendLocalPointStencilTable</a></div><div·class="ttdeci">static·StencilTable·const·*·AppendLocalPointStencilTable(TopologyRefiner·const·&amp;refiner,·StencilTable·const·*baseStencilTable,·StencilTable·const·*localPointStencilTable,·bool·factorize=true)</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00716_source.html#l00308">stencilTableFactory.h:308</a></div></div>
413 <div·class="ttc"·id="aa01089_html_ac5c331f10fb4518358660a5538fac897"><div·class="ttname"><a·href="a01089.html#ac5c331f10fb4518358660a5538fac897">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactory::Create</a></div><div·class="ttdeci">static·StencilTable·const·*·Create(int·numTables,·StencilTable·const·**tables)</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00716_source.html#l00300">stencilTableFactory.h:300</a></div></div>413 <div·class="ttc"·id="aa01089_html_ac5c331f10fb4518358660a5538fac897"><div·class="ttname"><a·href="a01089.html#ac5c331f10fb4518358660a5538fac897">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactory::Create</a></div><div·class="ttdeci">static·StencilTable·const·*·Create(int·numTables,·StencilTable·const·**tables)</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00716_source.html#l00300">stencilTableFactory.h:300</a></div></div>
414 <div·class="ttc"·id="aa01093_html"><div·class="ttname"><a·href="a01093.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilTableFactory</a></div><div·class="ttdoc">Stencil·table·factory·class·wrapping·the·template·for·compatibility.</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00716_source.html#l00354">stencilTableFactory.h:354</a></div></div>414 <div·class="ttc"·id="aa01093_html"><div·class="ttname"><a·href="a01093.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilTableFactory</a></div><div·class="ttdoc">Stencil·table·factory·class·wrapping·the·template·for·compatibility.</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00716_source.html#l00354">stencilTableFactory.h:354</a></div></div>
415 <div·class="ttc"·id="aa01093_html_a1a5ba2b86bac859c158ec1c8141e29a7"><div·class="ttname"><a·href="a01093.html#a1a5ba2b86bac859c158ec1c8141e29a7">OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilTableFactory::Create</a></div><div·class="ttdeci">static·LimitStencilTable·const·*·Create(TopologyRefiner·const·&amp;refiner,·LocationArrayVec·const·&amp;locationArrays,·StencilTable·const·*cvStencils=0,·PatchTable·const·*patchTable=0,·Options·options=Options())</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00716_source.html#l00360">stencilTableFactory.h:360</a></div></div>415 <div·class="ttc"·id="aa01093_html_a1a5ba2b86bac859c158ec1c8141e29a7"><div·class="ttname"><a·href="a01093.html#a1a5ba2b86bac859c158ec1c8141e29a7">OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilTableFactory::Create</a></div><div·class="ttdeci">static·LimitStencilTable·const·*·Create(TopologyRefiner·const·&amp;refiner,·LocationArrayVec·const·&amp;locationArrays,·StencilTable·const·*cvStencils=0,·PatchTable·const·*patchTable=0,·Options·options=Options())</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00716_source.html#l00360">stencilTableFactory.h:360</a></div></div>
416 <div·class="ttc"·id="aa01113_html"><div·class="ttname"><a·href="a01113.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="a00704_source.html#l00051">topologyRefiner.h:51</a></div></div>416 <div·class="ttc"·id="aa01113_html"><div·class="ttname"><a·href="a01113.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>
417 </div><!--·fragment·--></div><!--·contents·-->417 </div><!--·fragment·--></div><!--·contents·-->
418 </div><!--·doc-content·-->418 </div><!--·doc-content·-->
419 <!--·start·footer·part·-->419 <!--·start·footer·part·-->
420 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->420 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
421 ··<ul>421 ··<ul>
422 ····<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="a00716.html">stencilTableFactory.h</a></li>422 ····<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="a00716.html">stencilTableFactory.h</a></li>
423 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>423 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
1.03 KB
./usr/share/doc/opensubdiv/doxy_html/a00722.html
    
Offset 87, 15 lines modifiedOffset 87, 15 lines modified
87 ··<div·class="summary">87 ··<div·class="summary">
88 <a·href="#nested-classes">Classes</a>·&#124;88 <a·href="#nested-classes">Classes</a>·&#124;
89 <a·href="#namespaces">Namespaces</a>··</div>89 <a·href="#namespaces">Namespaces</a>··</div>
90 ··<div·class="headertitle"><div·class="title">ptexIndices.h·File·Reference</div></div>90 ··<div·class="headertitle"><div·class="title">ptexIndices.h·File·Reference</div></div>
91 </div><!--header-->91 </div><!--header-->
92 <div·class="contents">92 <div·class="contents">
93 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>93 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
94 <code>#include·&quot;<a·class="el"·href="a00704_source.html">../far/topologyRefiner.h</a>&quot;</code><br·/>94 <code>#include·&quot;<a·class="el"·href="a00707_source.html">../far/topologyRefiner.h</a>&quot;</code><br·/>
95 <code>#include·&quot;<a·class="el"·href="a01478_source.html">../far/types.h</a>&quot;</code><br·/>95 <code>#include·&quot;<a·class="el"·href="a01478_source.html">../far/types.h</a>&quot;</code><br·/>
96 <code>#include·&lt;vector&gt;</code><br·/>96 <code>#include·&lt;vector&gt;</code><br·/>
97 </div>97 </div>
98 <p><a·href="a00722_source.html">Go·to·the·source·code·of·this·file.</a></p>98 <p><a·href="a00722_source.html">Go·to·the·source·code·of·this·file.</a></p>
99 <table·class="memberdecls">99 <table·class="memberdecls">
100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
101 Classes</h2></td></tr>101 Classes</h2></td></tr>
3.86 KB
./usr/share/doc/opensubdiv/doxy_html/a00722_source.html
    
Offset 166, 15 lines modifiedOffset 166, 15 lines modified
166 <div·class="ttc"·id="aa00908_html_ab34c85a48f33dfe7b8bf4d966fdebbf2"><div·class="ttname"><a·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">OpenSubdiv::OPENSUBDIV_VERSION::Far::Index</a></div><div·class="ttdeci">Vtr::Index·Index</div><div·class="ttdef"><b>Definition:</b>·<a·href="a01478_source.html#l00041">types.h:41</a></div></div>166 <div·class="ttc"·id="aa00908_html_ab34c85a48f33dfe7b8bf4d966fdebbf2"><div·class="ttname"><a·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">OpenSubdiv::OPENSUBDIV_VERSION::Far::Index</a></div><div·class="ttdeci">Vtr::Index·Index</div><div·class="ttdef"><b>Definition:</b>·<a·href="a01478_source.html#l00041">types.h:41</a></div></div>
167 <div·class="ttc"·id="aa01033_html"><div·class="ttname"><a·href="a01033.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PtexIndices</a></div><div·class="ttdoc">Object·used·to·compute·and·query·ptex·face·indices.</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00722_source.html#l00046">ptexIndices.h:46</a></div></div>167 <div·class="ttc"·id="aa01033_html"><div·class="ttname"><a·href="a01033.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PtexIndices</a></div><div·class="ttdoc">Object·used·to·compute·and·query·ptex·face·indices.</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00722_source.html#l00046">ptexIndices.h:46</a></div></div>
168 <div·class="ttc"·id="aa01033_html_a5fbaaa1a52a6d7622b1d306bf0a16624"><div·class="ttname"><a·href="a01033.html#a5fbaaa1a52a6d7622b1d306bf0a16624">OpenSubdiv::OPENSUBDIV_VERSION::Far::PtexIndices::GetFaceId</a></div><div·class="ttdeci">int·GetFaceId(Index·f)·const</div><div·class="ttdoc">Returns·the·ptex·face·index·given·a·coarse·face·'f'·or·-1.</div></div>168 <div·class="ttc"·id="aa01033_html_a5fbaaa1a52a6d7622b1d306bf0a16624"><div·class="ttname"><a·href="a01033.html#a5fbaaa1a52a6d7622b1d306bf0a16624">OpenSubdiv::OPENSUBDIV_VERSION::Far::PtexIndices::GetFaceId</a></div><div·class="ttdeci">int·GetFaceId(Index·f)·const</div><div·class="ttdoc">Returns·the·ptex·face·index·given·a·coarse·face·'f'·or·-1.</div></div>
169 <div·class="ttc"·id="aa01033_html_a7b5dd5f4c76d684d924adf477eeea0a3"><div·class="ttname"><a·href="a01033.html#a7b5dd5f4c76d684d924adf477eeea0a3">OpenSubdiv::OPENSUBDIV_VERSION::Far::PtexIndices::PtexIndices</a></div><div·class="ttdeci">PtexIndices(TopologyRefiner·const·&amp;refiner)</div><div·class="ttdoc">Constructor.</div></div>169 <div·class="ttc"·id="aa01033_html_a7b5dd5f4c76d684d924adf477eeea0a3"><div·class="ttname"><a·href="a01033.html#a7b5dd5f4c76d684d924adf477eeea0a3">OpenSubdiv::OPENSUBDIV_VERSION::Far::PtexIndices::PtexIndices</a></div><div·class="ttdeci">PtexIndices(TopologyRefiner·const·&amp;refiner)</div><div·class="ttdoc">Constructor.</div></div>
170 <div·class="ttc"·id="aa01033_html_a8a146d5966d7372bdd2557e990e52adc"><div·class="ttname"><a·href="a01033.html#a8a146d5966d7372bdd2557e990e52adc">OpenSubdiv::OPENSUBDIV_VERSION::Far::PtexIndices::GetAdjacency</a></div><div·class="ttdeci">void·GetAdjacency(TopologyRefiner·const·&amp;refiner,·int·face,·int·quadrant,·int·adjFaces[4],·int·adjEdges[4])·const</div><div·class="ttdoc">Returns·ptex·face·adjacency·information·for·a·given·coarse·face.</div></div>170 <div·class="ttc"·id="aa01033_html_a8a146d5966d7372bdd2557e990e52adc"><div·class="ttname"><a·href="a01033.html#a8a146d5966d7372bdd2557e990e52adc">OpenSubdiv::OPENSUBDIV_VERSION::Far::PtexIndices::GetAdjacency</a></div><div·class="ttdeci">void·GetAdjacency(TopologyRefiner·const·&amp;refiner,·int·face,·int·quadrant,·int·adjFaces[4],·int·adjEdges[4])·const</div><div·class="ttdoc">Returns·ptex·face·adjacency·information·for·a·given·coarse·face.</div></div>
171 <div·class="ttc"·id="aa01033_html_a9920fb01c4b75c94a953a98008a4baba"><div·class="ttname"><a·href="a01033.html#a9920fb01c4b75c94a953a98008a4baba">OpenSubdiv::OPENSUBDIV_VERSION::Far::PtexIndices::GetNumFaces</a></div><div·class="ttdeci">int·GetNumFaces()·const</div><div·class="ttdoc">Returns·the·number·of·ptex·faces·in·the·mesh.</div></div>171 <div·class="ttc"·id="aa01033_html_a9920fb01c4b75c94a953a98008a4baba"><div·class="ttname"><a·href="a01033.html#a9920fb01c4b75c94a953a98008a4baba">OpenSubdiv::OPENSUBDIV_VERSION::Far::PtexIndices::GetNumFaces</a></div><div·class="ttdeci">int·GetNumFaces()·const</div><div·class="ttdoc">Returns·the·number·of·ptex·faces·in·the·mesh.</div></div>
172 <div·class="ttc"·id="aa01033_html_af22a241c3be4bc69a948371d108e7cfa"><div·class="ttname"><a·href="a01033.html#af22a241c3be4bc69a948371d108e7cfa">OpenSubdiv::OPENSUBDIV_VERSION::Far::PtexIndices::~PtexIndices</a></div><div·class="ttdeci">~PtexIndices()</div><div·class="ttdoc">Destructor.</div></div>172 <div·class="ttc"·id="aa01033_html_af22a241c3be4bc69a948371d108e7cfa"><div·class="ttname"><a·href="a01033.html#af22a241c3be4bc69a948371d108e7cfa">OpenSubdiv::OPENSUBDIV_VERSION::Far::PtexIndices::~PtexIndices</a></div><div·class="ttdeci">~PtexIndices()</div><div·class="ttdoc">Destructor.</div></div>
173 <div·class="ttc"·id="aa01113_html"><div·class="ttname"><a·href="a01113.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="a00704_source.html#l00051">topologyRefiner.h:51</a></div></div>173 <div·class="ttc"·id="aa01113_html"><div·class="ttname"><a·href="a01113.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>
174 </div><!--·fragment·--></div><!--·contents·-->174 </div><!--·fragment·--></div><!--·contents·-->
175 </div><!--·doc-content·-->175 </div><!--·doc-content·-->
176 <!--·start·footer·part·-->176 <!--·start·footer·part·-->
177 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->177 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
178 ··<ul>178 ··<ul>
179 ····<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="a00722.html">ptexIndices.h</a></li>179 ····<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="a00722.html">ptexIndices.h</a></li>
180 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>180 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
3.07 KB
./usr/share/doc/opensubdiv/doxy_html/a00725.html
    
Offset 88, 28 lines modifiedOffset 88, 28 lines modified
88 <a·href="#nested-classes">Classes</a>·&#124;88 <a·href="#nested-classes">Classes</a>·&#124;
89 <a·href="#namespaces">Namespaces</a>··</div>89 <a·href="#namespaces">Namespaces</a>··</div>
90 ··<div·class="headertitle"><div·class="title">primvarRefiner.h·File·Reference</div></div>90 ··<div·class="headertitle"><div·class="title">primvarRefiner.h·File·Reference</div></div>
91 </div><!--header-->91 </div><!--header-->
92 <div·class="contents">92 <div·class="contents">
93 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>93 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
94 <code>#include·&quot;<a·class="el"·href="a01484_source.html">../sdc/types.h</a>&quot;</code><br·/>94 <code>#include·&quot;<a·class="el"·href="a01484_source.html">../sdc/types.h</a>&quot;</code><br·/>
95 <code>#include·&quot;<a·class="el"·href="a00770_source.html">../sdc/options.h</a>&quot;</code><br·/>95 <code>#include·&quot;<a·class="el"·href="a00890_source.html">../sdc/options.h</a>&quot;</code><br·/>
96 <code>#include·&quot;<a·class="el"·href="a00785_source.html">../sdc/bilinearScheme.h</a>&quot;</code><br·/>96 <code>#include·&quot;<a·class="el"·href="a00899_source.html">../sdc/bilinearScheme.h</a>&quot;</code><br·/>
97 <code>#include·&quot;<a·class="el"·href="a00782_source.html">../sdc/catmarkScheme.h</a>&quot;</code><br·/>97 <code>#include·&quot;<a·class="el"·href="a00902_source.html">../sdc/catmarkScheme.h</a>&quot;</code><br·/>
98 <code>#include·&quot;<a·class="el"·href="a00779_source.html">../sdc/loopScheme.h</a>&quot;</code><br·/>98 <code>#include·&quot;<a·class="el"·href="a00893_source.html">../sdc/loopScheme.h</a>&quot;</code><br·/>
99 <code>#include·&quot;<a·class="el"·href="a00755_source.html">../vtr/level.h</a>&quot;</code><br·/>99 <code>#include·&quot;<a·class="el"·href="a00755_source.html">../vtr/level.h</a>&quot;</code><br·/>
100 <code>#include·&quot;<a·class="el"·href="a00761_source.html">../vtr/fvarLevel.h</a>&quot;</code><br·/>100 <code>#include·&quot;<a·class="el"·href="a00761_source.html">../vtr/fvarLevel.h</a>&quot;</code><br·/>
101 <code>#include·&quot;<a·class="el"·href="a00752_source.html">../vtr/refinement.h</a>&quot;</code><br·/>101 <code>#include·&quot;<a·class="el"·href="a00752_source.html">../vtr/refinement.h</a>&quot;</code><br·/>
102 <code>#include·&quot;<a·class="el"·href="a00758_source.html">../vtr/fvarRefinement.h</a>&quot;</code><br·/>102 <code>#include·&quot;<a·class="el"·href="a00758_source.html">../vtr/fvarRefinement.h</a>&quot;</code><br·/>
103 <code>#include·&quot;<a·class="el"·href="a00749_source.html">../vtr/stackBuffer.h</a>&quot;</code><br·/>103 <code>#include·&quot;<a·class="el"·href="a00746_source.html">../vtr/stackBuffer.h</a>&quot;</code><br·/>
104 <code>#include·&quot;<a·class="el"·href="a00764_source.html">../vtr/componentInterfaces.h</a>&quot;</code><br·/>104 <code>#include·&quot;<a·class="el"·href="a00764_source.html">../vtr/componentInterfaces.h</a>&quot;</code><br·/>
105 <code>#include·&quot;<a·class="el"·href="a01478_source.html">../far/types.h</a>&quot;</code><br·/>105 <code>#include·&quot;<a·class="el"·href="a01478_source.html">../far/types.h</a>&quot;</code><br·/>
106 <code>#include·&quot;<a·class="el"·href="a00743_source.html">../far/error.h</a>&quot;</code><br·/>106 <code>#include·&quot;<a·class="el"·href="a00743_source.html">../far/error.h</a>&quot;</code><br·/>
107 <code>#include·&quot;<a·class="el"·href="a00710_source.html">../far/topologyLevel.h</a>&quot;</code><br·/>107 <code>#include·&quot;<a·class="el"·href="a00710_source.html">../far/topologyLevel.h</a>&quot;</code><br·/>
108 <code>#include·&quot;<a·class="el"·href="a00704_source.html">../far/topologyRefiner.h</a>&quot;</code><br·/>108 <code>#include·&quot;<a·class="el"·href="a00707_source.html">../far/topologyRefiner.h</a>&quot;</code><br·/>
109 <code>#include·&lt;cassert&gt;</code><br·/>109 <code>#include·&lt;cassert&gt;</code><br·/>
110 </div>110 </div>
111 <p><a·href="a00725_source.html">Go·to·the·source·code·of·this·file.</a></p>111 <p><a·href="a00725_source.html">Go·to·the·source·code·of·this·file.</a></p>
112 <table·class="memberdecls">112 <table·class="memberdecls">
113 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>113 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
114 Classes</h2></td></tr>114 Classes</h2></td></tr>
115 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01021.html">PrimvarRefinerReal&lt;·REAL·&gt;</a></td></tr>115 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01021.html">PrimvarRefinerReal&lt;·REAL·&gt;</a></td></tr>
7.66 KB
./usr/share/doc/opensubdiv/doxy_html/a00725_source.html
    
Offset 1281, 19 lines modifiedOffset 1281, 19 lines modified
1281 <div·class="ttc"·id="aa01021_html_aa2fd72e336a12bf454dd79ba6ce8ee56"><div·class="ttname"><a·href="a01021.html#aa2fd72e336a12bf454dd79ba6ce8ee56">OpenSubdiv::OPENSUBDIV_VERSION::Far::PrimvarRefinerReal::InterpolateVarying</a></div><div·class="ttdeci">void·InterpolateVarying(int·level,·T·const·&amp;src,·U·&amp;dst)·const</div><div·class="ttdoc">Apply·only·varying·interpolation·weights·to·a·primvar·buffer·for·a·single·level·of·refinement.</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00725_source.html#l00412">primvarRefiner.h:412</a></div></div>1281 <div·class="ttc"·id="aa01021_html_aa2fd72e336a12bf454dd79ba6ce8ee56"><div·class="ttname"><a·href="a01021.html#aa2fd72e336a12bf454dd79ba6ce8ee56">OpenSubdiv::OPENSUBDIV_VERSION::Far::PrimvarRefinerReal::InterpolateVarying</a></div><div·class="ttdeci">void·InterpolateVarying(int·level,·T·const·&amp;src,·U·&amp;dst)·const</div><div·class="ttdoc">Apply·only·varying·interpolation·weights·to·a·primvar·buffer·for·a·single·level·of·refinement.</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00725_source.html#l00412">primvarRefiner.h:412</a></div></div>
1282 <div·class="ttc"·id="aa01021_html_ab97b75b7c0fffa06a5948bd6ba7b420d"><div·class="ttname"><a·href="a01021.html#ab97b75b7c0fffa06a5948bd6ba7b420d">OpenSubdiv::OPENSUBDIV_VERSION::Far::PrimvarRefinerReal::Interpolate</a></div><div·class="ttdeci">void·Interpolate(int·level,·T·const·&amp;src,·U·&amp;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>1282 <div·class="ttc"·id="aa01021_html_ab97b75b7c0fffa06a5948bd6ba7b420d"><div·class="ttname"><a·href="a01021.html#ab97b75b7c0fffa06a5948bd6ba7b420d">OpenSubdiv::OPENSUBDIV_VERSION::Far::PrimvarRefinerReal::Interpolate</a></div><div·class="ttdeci">void·Interpolate(int·level,·T·const·&amp;src,·U·&amp;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>
1283 <div·class="ttc"·id="aa01021_html_ad8f74e1887299ed02e0094100f18c998"><div·class="ttname"><a·href="a01021.html#ad8f74e1887299ed02e0094100f18c998">OpenSubdiv::OPENSUBDIV_VERSION::Far::PrimvarRefinerReal::InterpolateFaceVarying</a></div><div·class="ttdeci">void·InterpolateFaceVarying(int·level,·T·const·&amp;src,·U·&amp;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>1283 <div·class="ttc"·id="aa01021_html_ad8f74e1887299ed02e0094100f18c998"><div·class="ttname"><a·href="a01021.html#ad8f74e1887299ed02e0094100f18c998">OpenSubdiv::OPENSUBDIV_VERSION::Far::PrimvarRefinerReal::InterpolateFaceVarying</a></div><div·class="ttdeci">void·InterpolateFaceVarying(int·level,·T·const·&amp;src,·U·&amp;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>
1284 <div·class="ttc"·id="aa01021_html_ade7a1750cdc922e27c561520815d8b27"><div·class="ttname"><a·href="a01021.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>1284 <div·class="ttc"·id="aa01021_html_ade7a1750cdc922e27c561520815d8b27"><div·class="ttname"><a·href="a01021.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>
1285 <div·class="ttc"·id="aa01021_html_afdee0e9e9c6edd34c96892efff808a87"><div·class="ttname"><a·href="a01021.html#afdee0e9e9c6edd34c96892efff808a87">OpenSubdiv::OPENSUBDIV_VERSION::Far::PrimvarRefinerReal::LimitFaceVarying</a></div><div·class="ttdeci">void·LimitFaceVarying(T·const·&amp;src,·U·&amp;dst,·int·channel=0)·const</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00725_source.html#l00369">primvarRefiner.h:369</a></div></div>1285 <div·class="ttc"·id="aa01021_html_afdee0e9e9c6edd34c96892efff808a87"><div·class="ttname"><a·href="a01021.html#afdee0e9e9c6edd34c96892efff808a87">OpenSubdiv::OPENSUBDIV_VERSION::Far::PrimvarRefinerReal::LimitFaceVarying</a></div><div·class="ttdeci">void·LimitFaceVarying(T·const·&amp;src,·U·&amp;dst,·int·channel=0)·const</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00725_source.html#l00369">primvarRefiner.h:369</a></div></div>
1286 <div·class="ttc"·id="aa01029_html"><div·class="ttname"><a·href="a01029.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>1286 <div·class="ttc"·id="aa01029_html"><div·class="ttname"><a·href="a01029.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>
1287 <div·class="ttc"·id="aa01029_html_a643d81a2ae20ba1897433f5af5a3697a"><div·class="ttname"><a·href="a01029.html#a643d81a2ae20ba1897433f5af5a3697a">OpenSubdiv::OPENSUBDIV_VERSION::Far::PrimvarRefiner::PrimvarRefiner</a></div><div·class="ttdeci">PrimvarRefiner(TopologyRefiner·const·&amp;refiner)</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00725_source.html#l01267">primvarRefiner.h:1267</a></div></div>1287 <div·class="ttc"·id="aa01029_html_a643d81a2ae20ba1897433f5af5a3697a"><div·class="ttname"><a·href="a01029.html#a643d81a2ae20ba1897433f5af5a3697a">OpenSubdiv::OPENSUBDIV_VERSION::Far::PrimvarRefiner::PrimvarRefiner</a></div><div·class="ttdeci">PrimvarRefiner(TopologyRefiner·const·&amp;refiner)</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00725_source.html#l01267">primvarRefiner.h:1267</a></div></div>
1288 <div·class="ttc"·id="aa01113_html"><div·class="ttname"><a·href="a01113.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="a00704_source.html#l00051">topologyRefiner.h:51</a></div></div>1288 <div·class="ttc"·id="aa01113_html"><div·class="ttname"><a·href="a01113.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>
1289 <div·class="ttc"·id="aa01325_html_a11fcd51ef86118f65e603c1474377a78"><div·class="ttname"><a·href="a01325.html#a11fcd51ef86118f65e603c1474377a78">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease::Rule</a></div><div·class="ttdeci">Rule</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00776_source.html#l00082">crease.h:82</a></div></div>1289 <div·class="ttc"·id="aa01325_html_a11fcd51ef86118f65e603c1474377a78"><div·class="ttname"><a·href="a01325.html#a11fcd51ef86118f65e603c1474377a78">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease::Rule</a></div><div·class="ttdeci">Rule</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00896_source.html#l00082">crease.h:82</a></div></div>
1290 <div·class="ttc"·id="aa01325_html_a11fcd51ef86118f65e603c1474377a78a61d137f866997ed3693e3fcad76def5f"><div·class="ttname"><a·href="a01325.html#a11fcd51ef86118f65e603c1474377a78a61d137f866997ed3693e3fcad76def5f">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease::RULE_SMOOTH</a></div><div·class="ttdeci">@·RULE_SMOOTH</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00776_source.html#l00084">crease.h:84</a></div></div>1290 <div·class="ttc"·id="aa01325_html_a11fcd51ef86118f65e603c1474377a78a61d137f866997ed3693e3fcad76def5f"><div·class="ttname"><a·href="a01325.html#a11fcd51ef86118f65e603c1474377a78a61d137f866997ed3693e3fcad76def5f">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease::RULE_SMOOTH</a></div><div·class="ttdeci">@·RULE_SMOOTH</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00896_source.html#l00084">crease.h:84</a></div></div>
1291 <div·class="ttc"·id="aa01325_html_a11fcd51ef86118f65e603c1474377a78a966fa1ae8aeb8587c498cf6a92cc3335"><div·class="ttname"><a·href="a01325.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="a00776_source.html#l00086">crease.h:86</a></div></div>1291 <div·class="ttc"·id="aa01325_html_a11fcd51ef86118f65e603c1474377a78a966fa1ae8aeb8587c498cf6a92cc3335"><div·class="ttname"><a·href="a01325.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="a00896_source.html#l00086">crease.h:86</a></div></div>
1292 <div·class="ttc"·id="aa01333_html"><div·class="ttname"><a·href="a01333.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="a00773_source.html#l00066">scheme.h:66</a></div></div>1292 <div·class="ttc"·id="aa01333_html"><div·class="ttname"><a·href="a01333.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="a00887_source.html#l00066">scheme.h:66</a></div></div>
1293 <div·class="ttc"·id="aa01345_html"><div·class="ttname"><a·href="a01345.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>1293 <div·class="ttc"·id="aa01345_html"><div·class="ttname"><a·href="a01345.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>
1294 <div·class="ttc"·id="aa01345_html_a60304b65bf89363bcc3165d3cde67f86"><div·class="ttname"><a·href="a01345.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>1294 <div·class="ttc"·id="aa01345_html_a60304b65bf89363bcc3165d3cde67f86"><div·class="ttname"><a·href="a01345.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>
1295 </div><!--·fragment·--></div><!--·contents·-->1295 </div><!--·fragment·--></div><!--·contents·-->
1296 </div><!--·doc-content·-->1296 </div><!--·doc-content·-->
1297 <!--·start·footer·part·-->1297 <!--·start·footer·part·-->
1298 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->1298 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
1299 ··<ul>1299 ··<ul>
1.68 KB
./usr/share/doc/opensubdiv/doxy_html/a00728.html
    
Offset 87, 16 lines modifiedOffset 87, 16 lines modified
87 ··<div·class="summary">87 ··<div·class="summary">
88 <a·href="#nested-classes">Classes</a>·&#124;88 <a·href="#nested-classes">Classes</a>·&#124;
89 <a·href="#namespaces">Namespaces</a>··</div>89 <a·href="#namespaces">Namespaces</a>··</div>
90 ··<div·class="headertitle"><div·class="title">patchTableFactory.h·File·Reference</div></div>90 ··<div·class="headertitle"><div·class="title">patchTableFactory.h·File·Reference</div></div>
91 </div><!--header-->91 </div><!--header-->
92 <div·class="contents">92 <div·class="contents">
93 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>93 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
94 <code>#include·&quot;<a·class="el"·href="a00704_source.html">../far/topologyRefiner.h</a>&quot;</code><br·/>94 <code>#include·&quot;<a·class="el"·href="a00707_source.html">../far/topologyRefiner.h</a>&quot;</code><br·/>
95 <code>#include·&quot;<a·class="el"·href="a00731_source.html">../far/patchTable.h</a>&quot;</code><br·/>95 <code>#include·&quot;<a·class="el"·href="a00734_source.html">../far/patchTable.h</a>&quot;</code><br·/>
96 </div>96 </div>
97 <p><a·href="a00728_source.html">Go·to·the·source·code·of·this·file.</a></p>97 <p><a·href="a00728_source.html">Go·to·the·source·code·of·this·file.</a></p>
98 <table·class="memberdecls">98 <table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
100 Classes</h2></td></tr>100 Classes</h2></td></tr>
101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01009.html">PatchTableFactory</a></td></tr>101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01009.html">PatchTableFactory</a></td></tr>
102 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</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="a01113.html"·title="Stores·topology·data·for·a·specified·set·of·refinement·options.">TopologyRefiner</a>.··<a·href="a01009.html#details">More...</a><br·/></td></tr>102 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</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="a01113.html"·title="Stores·topology·data·for·a·specified·set·of·refinement·options.">TopologyRefiner</a>.··<a·href="a01009.html#details">More...</a><br·/></td></tr>
11.8 KB
./usr/share/doc/opensubdiv/doxy_html/a00728_source.html
    
Offset 267, 15 lines modifiedOffset 267, 15 lines modified
267 <div·class="line"><a·id="l00231"·name="l00231"></a><span·class="lineno">··231</span>·</div>267 <div·class="line"><a·id="l00231"·name="l00231"></a><span·class="lineno">··231</span>·</div>
268 <div·class="line"><a·id="l00232"·name="l00232"></a><span·class="lineno">··232</span>}·<span·class="comment">//·end·namespace·OpenSubdiv</span></div>268 <div·class="line"><a·id="l00232"·name="l00232"></a><span·class="lineno">··232</span>}·<span·class="comment">//·end·namespace·OpenSubdiv</span></div>
269 <div·class="line"><a·id="l00233"·name="l00233"></a><span·class="lineno">··233</span>·</div>269 <div·class="line"><a·id="l00233"·name="l00233"></a><span·class="lineno">··233</span>·</div>
270 <div·class="line"><a·id="l00234"·name="l00234"></a><span·class="lineno">··234</span>·</div>270 <div·class="line"><a·id="l00234"·name="l00234"></a><span·class="lineno">··234</span>·</div>
271 <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>271 <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>
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="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="a01478_source.html#l00047">types.h:47</a></div></div>273 <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="a01478_source.html#l00047">types.h:47</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="a00731_source.html#l00055">patchTable.h:55</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="a00734_source.html#l00055">patchTable.h:55</a></div></div>
275 <div·class="ttc"·id="aa01009_html"><div·class="ttname"><a·href="a01009.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>275 <div·class="ttc"·id="aa01009_html"><div·class="ttname"><a·href="a01009.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>
276 <div·class="ttc"·id="aa01009_html_a37218ea13f75caee4c93cc4e94d26060"><div·class="ttname"><a·href="a01009.html#a37218ea13f75caee4c93cc4e94d26060">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::PatchTagVector</a></div><div·class="ttdeci">std::vector&lt;·PatchFaceTag·&gt;·PatchTagVector</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00728_source.html#l00208">patchTableFactory.h:208</a></div></div>276 <div·class="ttc"·id="aa01009_html_a37218ea13f75caee4c93cc4e94d26060"><div·class="ttname"><a·href="a01009.html#a37218ea13f75caee4c93cc4e94d26060">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::PatchTagVector</a></div><div·class="ttdeci">std::vector&lt;·PatchFaceTag·&gt;·PatchTagVector</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00728_source.html#l00208">patchTableFactory.h:208</a></div></div>
277 <div·class="ttc"·id="aa01009_html_a6ad8881e91652a8fe4d68d18ac16a435"><div·class="ttname"><a·href="a01009.html#a6ad8881e91652a8fe4d68d18ac16a435">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Create</a></div><div·class="ttdeci">static·PatchTable·*·Create(TopologyRefiner·const·&amp;refiner,·Options·options=Options(),·ConstIndexArray·selectedFaces=ConstIndexArray())</div><div·class="ttdoc">Instantiates·a·PatchTable·from·a·client-provided·TopologyRefiner.</div></div>277 <div·class="ttc"·id="aa01009_html_a6ad8881e91652a8fe4d68d18ac16a435"><div·class="ttname"><a·href="a01009.html#a6ad8881e91652a8fe4d68d18ac16a435">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Create</a></div><div·class="ttdeci">static·PatchTable·*·Create(TopologyRefiner·const·&amp;refiner,·Options·options=Options(),·ConstIndexArray·selectedFaces=ConstIndexArray())</div><div·class="ttdoc">Instantiates·a·PatchTable·from·a·client-provided·TopologyRefiner.</div></div>
278 <div·class="ttc"·id="aa01013_html"><div·class="ttname"><a·href="a01013.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>278 <div·class="ttc"·id="aa01013_html"><div·class="ttname"><a·href="a01013.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>
279 <div·class="ttc"·id="aa01013_html_a039b27c797bb2b4be4af66798787081e"><div·class="ttname"><a·href="a01013.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>279 <div·class="ttc"·id="aa01013_html_a039b27c797bb2b4be4af66798787081e"><div·class="ttname"><a·href="a01013.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>
280 <div·class="ttc"·id="aa01013_html_a0fe3eeef4b5b332c7747a940db43cd8d"><div·class="ttname"><a·href="a01013.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>280 <div·class="ttc"·id="aa01013_html_a0fe3eeef4b5b332c7747a940db43cd8d"><div·class="ttname"><a·href="a01013.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>
281 <div·class="ttc"·id="aa01013_html_a113fa8ce12150940afe0215c702cc89d"><div·class="ttname"><a·href="a01013.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>281 <div·class="ttc"·id="aa01013_html_a113fa8ce12150940afe0215c702cc89d"><div·class="ttname"><a·href="a01013.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 316, 19 lines modifiedOffset 316, 19 lines modified
316 <div·class="ttc"·id="aa01017_html_a395c4eda069d129a467d5266a4746673"><div·class="ttname"><a·href="a01017.html#a395c4eda069d129a467d5266a4746673">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::PatchFaceTag::_hasBoundaryEdge</a></div><div·class="ttdeci">unsigned·int·_hasBoundaryEdge</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00728_source.html#l00200">patchTableFactory.h:200</a></div></div>316 <div·class="ttc"·id="aa01017_html_a395c4eda069d129a467d5266a4746673"><div·class="ttname"><a·href="a01017.html#a395c4eda069d129a467d5266a4746673">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::PatchFaceTag::_hasBoundaryEdge</a></div><div·class="ttdeci">unsigned·int·_hasBoundaryEdge</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00728_source.html#l00200">patchTableFactory.h:200</a></div></div>
317 <div·class="ttc"·id="aa01017_html_a4130a836c1d7653793698df818db0624"><div·class="ttname"><a·href="a01017.html#a4130a836c1d7653793698df818db0624">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::PatchFaceTag::_boundaryMask</a></div><div·class="ttdeci">unsigned·int·_boundaryMask</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00728_source.html#l00197">patchTableFactory.h:197</a></div></div>317 <div·class="ttc"·id="aa01017_html_a4130a836c1d7653793698df818db0624"><div·class="ttname"><a·href="a01017.html#a4130a836c1d7653793698df818db0624">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::PatchFaceTag::_boundaryMask</a></div><div·class="ttdeci">unsigned·int·_boundaryMask</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00728_source.html#l00197">patchTableFactory.h:197</a></div></div>
318 <div·class="ttc"·id="aa01017_html_a85527f734ee41ab3855c42c0e1257f95"><div·class="ttname"><a·href="a01017.html#a85527f734ee41ab3855c42c0e1257f95">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::PatchFaceTag::_hasPatch</a></div><div·class="ttdeci">unsigned·int·_hasPatch</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00728_source.html#l00194">patchTableFactory.h:194</a></div></div>318 <div·class="ttc"·id="aa01017_html_a85527f734ee41ab3855c42c0e1257f95"><div·class="ttname"><a·href="a01017.html#a85527f734ee41ab3855c42c0e1257f95">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::PatchFaceTag::_hasPatch</a></div><div·class="ttdeci">unsigned·int·_hasPatch</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00728_source.html#l00194">patchTableFactory.h:194</a></div></div>
319 <div·class="ttc"·id="aa01017_html_aba817ee7f5b93139589ed6cf97b557cf"><div·class="ttname"><a·href="a01017.html#aba817ee7f5b93139589ed6cf97b557cf">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::PatchFaceTag::assignTransitionPropertiesFromEdgeMask</a></div><div·class="ttdeci">void·assignTransitionPropertiesFromEdgeMask(int·boundaryVertexMask)</div></div>319 <div·class="ttc"·id="aa01017_html_aba817ee7f5b93139589ed6cf97b557cf"><div·class="ttname"><a·href="a01017.html#aba817ee7f5b93139589ed6cf97b557cf">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::PatchFaceTag::assignTransitionPropertiesFromEdgeMask</a></div><div·class="ttdeci">void·assignTransitionPropertiesFromEdgeMask(int·boundaryVertexMask)</div></div>
320 <div·class="ttc"·id="aa01017_html_ac8bb3912a3ce86b15842e79d0b421204"><div·class="ttname"><a·href="a01017.html#ac8bb3912a3ce86b15842e79d0b421204">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::PatchFaceTag::clear</a></div><div·class="ttdeci">void·clear()</div></div>320 <div·class="ttc"·id="aa01017_html_ac8bb3912a3ce86b15842e79d0b421204"><div·class="ttname"><a·href="a01017.html#ac8bb3912a3ce86b15842e79d0b421204">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::PatchFaceTag::clear</a></div><div·class="ttdeci">void·clear()</div></div>
321 <div·class="ttc"·id="aa01017_html_ace61bb1240f406368b44e72e58728428"><div·class="ttname"><a·href="a01017.html#ace61bb1240f406368b44e72e58728428">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::PatchFaceTag::assignBoundaryPropertiesFromEdgeMask</a></div><div·class="ttdeci">void·assignBoundaryPropertiesFromEdgeMask(int·boundaryEdgeMask)</div></div>321 <div·class="ttc"·id="aa01017_html_ace61bb1240f406368b44e72e58728428"><div·class="ttname"><a·href="a01017.html#ace61bb1240f406368b44e72e58728428">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::PatchFaceTag::assignBoundaryPropertiesFromEdgeMask</a></div><div·class="ttdeci">void·assignBoundaryPropertiesFromEdgeMask(int·boundaryEdgeMask)</div></div>
322 <div·class="ttc"·id="aa01017_html_ae1df61bc00c50b927351c1e6b044f5a1"><div·class="ttname"><a·href="a01017.html#ae1df61bc00c50b927351c1e6b044f5a1">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::PatchFaceTag::_boundaryCount</a></div><div·class="ttdeci">unsigned·int·_boundaryCount</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00728_source.html#l00199">patchTableFactory.h:199</a></div></div>322 <div·class="ttc"·id="aa01017_html_ae1df61bc00c50b927351c1e6b044f5a1"><div·class="ttname"><a·href="a01017.html#ae1df61bc00c50b927351c1e6b044f5a1">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::PatchFaceTag::_boundaryCount</a></div><div·class="ttdeci">unsigned·int·_boundaryCount</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00728_source.html#l00199">patchTableFactory.h:199</a></div></div>
323 <div·class="ttc"·id="aa01113_html"><div·class="ttname"><a·href="a01113.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="a00704_source.html#l00051">topologyRefiner.h:51</a></div></div>323 <div·class="ttc"·id="aa01113_html"><div·class="ttname"><a·href="a01113.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>
324 <div·class="ttc"·id="aa01121_html"><div·class="ttname"><a·href="a01121.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::AdaptiveOptions</a></div><div·class="ttdoc">Adaptive·refinement·options.</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00704_source.html#l00156">topologyRefiner.h:156</a></div></div>324 <div·class="ttc"·id="aa01121_html"><div·class="ttname"><a·href="a01121.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::AdaptiveOptions</a></div><div·class="ttdoc">Adaptive·refinement·options.</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00707_source.html#l00156">topologyRefiner.h:156</a></div></div>
325 <div·class="ttc"·id="aa01121_html_a5834971432c649e28d5a0186f79a60d5"><div·class="ttname"><a·href="a01121.html#a5834971432c649e28d5a0186f79a60d5">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::AdaptiveOptions::useSingleCreasePatch</a></div><div·class="ttdeci">unsigned·int·useSingleCreasePatch</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00704_source.html#l00176">topologyRefiner.h:176</a></div></div>325 <div·class="ttc"·id="aa01121_html_a5834971432c649e28d5a0186f79a60d5"><div·class="ttname"><a·href="a01121.html#a5834971432c649e28d5a0186f79a60d5">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::AdaptiveOptions::useSingleCreasePatch</a></div><div·class="ttdeci">unsigned·int·useSingleCreasePatch</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00707_source.html#l00176">topologyRefiner.h:176</a></div></div>
326 <div·class="ttc"·id="aa01121_html_a5eba866952b7be15b065060b1f5a81da"><div·class="ttname"><a·href="a01121.html#a5eba866952b7be15b065060b1f5a81da">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::AdaptiveOptions::useInfSharpPatch</a></div><div·class="ttdeci">unsigned·int·useInfSharpPatch</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00704_source.html#l00178">topologyRefiner.h:178</a></div></div>326 <div·class="ttc"·id="aa01121_html_a5eba866952b7be15b065060b1f5a81da"><div·class="ttname"><a·href="a01121.html#a5eba866952b7be15b065060b1f5a81da">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::AdaptiveOptions::useInfSharpPatch</a></div><div·class="ttdeci">unsigned·int·useInfSharpPatch</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00707_source.html#l00178">topologyRefiner.h:178</a></div></div>
327 <div·class="ttc"·id="aa01121_html_a74c90a5955fcad9c95d4c18346f7c312"><div·class="ttname"><a·href="a01121.html#a74c90a5955fcad9c95d4c18346f7c312">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::AdaptiveOptions::considerFVarChannels</a></div><div·class="ttdeci">unsigned·int·considerFVarChannels</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00704_source.html#l00180">topologyRefiner.h:180</a></div></div>327 <div·class="ttc"·id="aa01121_html_a74c90a5955fcad9c95d4c18346f7c312"><div·class="ttname"><a·href="a01121.html#a74c90a5955fcad9c95d4c18346f7c312">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::AdaptiveOptions::considerFVarChannels</a></div><div·class="ttdeci">unsigned·int·considerFVarChannels</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00707_source.html#l00180">topologyRefiner.h:180</a></div></div>
328 <div·class="ttc"·id="aa01345_html"><div·class="ttname"><a·href="a01345.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>328 <div·class="ttc"·id="aa01345_html"><div·class="ttname"><a·href="a01345.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>
329 </div><!--·fragment·--></div><!--·contents·-->329 </div><!--·fragment·--></div><!--·contents·-->
330 </div><!--·doc-content·-->330 </div><!--·doc-content·-->
331 <!--·start·footer·part·-->331 <!--·start·footer·part·-->
332 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->332 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
333 ··<ul>333 ··<ul>
334 ····<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="a00728.html">patchTableFactory.h</a></li>334 ····<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="a00728.html">patchTableFactory.h</a></li>
6.71 KB
./usr/share/doc/opensubdiv/doxy_html/a00731.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/patchTable.h·File·Reference</title>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 83, 33 lines modifiedOffset 83, 29 lines modified
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124;87 <a·href="#nested-classes">Classes</a>·&#124;
88 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">patchTable.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">patchMap.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
93 <code>#include·&quot;<a·class="el"·href="a00740_source.html">../far/patchDescriptor.h</a>&quot;</code><br·/> 
94 <code>#include·&quot;<a·class="el"·href="a00737_source.html">../far/patchParam.h</a>&quot;</code><br·/>93 <code>#include·&quot;<a·class="el"·href="a00734_source.html">../far/patchTable.h</a>&quot;</code><br·/>
95 <code>#include·&quot;<a·class="el"·href="a00719_source.html">../far/stencilTable.h</a>&quot;</code><br·/> 
96 <code>#include·&quot;<a·class="el"·href="a00770_source.html">../sdc/options.h</a>&quot;</code><br·/> 
97 <code>#include·&lt;vector&gt;</code><br·/>94 <code>#include·&lt;cassert&gt;</code><br·/>
98 </div>95 </div>
99 <p><a·href="a00731_source.html">Go·to·the·source·code·of·this·file.</a></p>96 <p><a·href="a00731_source.html">Go·to·the·source·code·of·this·file.</a></p>
100 <table·class="memberdecls">97 <table·class="memberdecls">
101 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
102 Classes</h2></td></tr>99 Classes</h2></td></tr>
103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00993.html">PatchTable</a></td></tr>100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00977.html">PatchMap</a></td></tr>
104 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Container·for·arrays·of·parametric·patches.··<a·href="a00993.html#details">More...</a><br·/></td></tr>101 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</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>
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00997.html">PatchTable::PatchHandle</a></td></tr>103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00985.html">PatchMap::QuadNode::Child</a></td></tr>
107 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</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="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
109 </table><table·class="memberdecls">105 </table><table·class="memberdecls">
110 <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>
111 Namespaces</h2></td></tr>107 Namespaces</h2></td></tr>
112 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>108 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
114 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>110 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>
Offset 118, 13 lines modifiedOffset 114, 13 lines modified
118 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
119 </table>115 </table>
120 </div><!--·contents·-->116 </div><!--·contents·-->
121 </div><!--·doc-content·-->117 </div><!--·doc-content·-->
122 <!--·start·footer·part·-->118 <!--·start·footer·part·-->
123 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->119 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
124 ··<ul>120 ··<ul>
125 ····<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>121 ····<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">patchMap.h</a></li>
126 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>122 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
127 ··</ul>123 ··</ul>
128 </div>124 </div>
129 </body>125 </body>
130 </html>126 </html>
1.04 KB
html2text {}
    
Offset 5, 34 lines modifiedOffset 5, 30 lines modified
  
  
  
5 [Logo]·OpenSubdiv5 [Logo]·OpenSubdiv
  
  
6 Classes·|·Namespaces6 Classes·|·Namespaces
7 patchTable.h·File·Reference7 patchMap.h·File·Reference
8 #include·"../version.h"8 #include·"../version.h"
9 #include·"../far/patchDescriptor.h" 
10 #include·"../far/patchParam.h" 
11 #include·"../far/stencilTable.h"9 #include·"../far/patchTable.h"
 10 #include·<cassert>
12 #include·"../sdc/options.h" 
13 #include·<vector> 
14 Go_to_the_source_code_of_this_file.11 Go_to_the_source_code_of_this_file.
15 ·Classes12 ·Classes
16 class· PatchTable13 ·class· PatchMap
17  ······Container·for·arrays·of·parametric·patches.·More...14  ·······An·quadtree-based·map·connecting·coarse·faces·to·their·sub-patches.
 15 ·········More...
18  16  
 17 struct· PatchMap::QuadNode::Child
19 class· PatchTable::PatchHandle 
20  ······Handle·that·can·be·used·as·unique·patch·identifier·within·PatchTable. 
21 ········More... 
22  18  
23 ·Namespaces19 ·Namespaces
24 namespace· OpenSubdiv20 namespace· OpenSubdiv
25  21  
26 namespace· OpenSubdiv::OPENSUBDIV_VERSION22 namespace· OpenSubdiv::OPENSUBDIV_VERSION
27  23  
28 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Far24 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Far
29  25  
30 ····*·opensubdiv26 ····*·opensubdiv
31 ····*·far27 ····*·far
32 ····*·patchTable.h28 ····*·patchMap.h
33 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.429 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
364 B
./usr/share/doc/opensubdiv/doxy_html/a00731.js
272 B
js-beautify {}
    
Offset 1, 4 lines modifiedOffset 1, 4 lines modified
1 var·a00731·=·[1 var·a00731·=·[
2 ····["PatchTable",·"a00993.html",·"a00993"],2 ····["PatchMap",·"a00977.html",·"a00977"],
3 ····["PatchTable::PatchHandle",·"a00997.html",·"a00997"]3 ····["PatchMap::QuadNode::Child",·"a00985.html",·"a00985"]
4 ];4 ];
224 KB
./usr/share/doc/opensubdiv/doxy_html/a00731_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/patchTable.h·Source·File</title>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 80, 15 lines modifiedOffset 80, 15 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">patchTable.h</div></div>86 ··<div·class="headertitle"><div·class="title">patchMap.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <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>89 <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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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 107, 695 lines modifiedOffset 107, 216 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <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>114 <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>
115 <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>115 <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>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../far/patchDescriptor.h&quot;</span></div>119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../far/patchTable.h&quot;</span></div>
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;../far/patchParam.h&quot;</span></div>120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&quot;../far/stencilTable.h&quot;</span></div>121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·&quot;../sdc/options.h&quot;</span></div> 
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> 
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div> 
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> 
127 <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>123 <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>
128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> 
130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">namespace·</span>Far·{</div> 
131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> 
132 <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> 
133 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
 126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Far·{</div>
 127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
 128 <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>
134 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">public</span>:</div>129 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">public</span>:</div>
135 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>130 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
 131 <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>
136 <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> 
137 <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> 
138 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keyword">public</span>:</div> 
139 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>132 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>
 133 <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>·&amp;·patchTable·);</div>
140 <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> 
141 <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> 
142 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>134 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>
 135 <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>
143 <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> 
144 <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> 
145 <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> 
146 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····};</div> 
147 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>136 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
148 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="keyword">public</span>:</div>137 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="keyword">private</span>:</div>
 138 <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>·&amp;·patchTable);</div>
 139 <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>·&amp;·patchTable);</div>
149 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> 
150 <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>·&amp;·src);</div> 
151 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> 
152 <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>140 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>
154 <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">IsFeat[·...·truncated·by·diffoscope;·len:·53,·SHA:·6f26551b72813ca308f318722c2e51a98108f28e00fc22106dd0e8b6c2cae18c·...·]</div>141 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="keyword">private</span>:</div>
 142 <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>
 143 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="keyword">struct·</span>QuadNode·{</div>
 144 <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>
155 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>145 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
156 <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> 
157 <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>146 <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>
 147 <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>
 148 <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>
 149 <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>
158 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····}</div>150 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>········};</div>
159 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> 
160 <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> 
161 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>151 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
162 <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">GetMaxV[·...·truncated·by·diffoscope;·len:·104,·SHA:·55067e6d28c17f0747359df78f6f6645b587020b842c20017e121a74997188e3·...·]</div>152 <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>
 153 <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>
163 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div>154 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div>
164 <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">GetNumP[·...·truncated·by·diffoscope;·len:·108,·SHA:·92107ebdeb93d74317349deb8cf3c4e0f04fadd8600682674f1178098e742201·...·]</div>155 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>········<span·class="comment">//·sets·the·child·in·&quot;quadrant&quot;·to·point·to·the·node·or·patch·of·the·given·index</span></div>
 156 <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>
165 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>157 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>
 158 <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>
166 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>159 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>····};</div>
167 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div>160 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>····<span·class="keyword">typedef</span>·std::vector&lt;QuadNode&gt;·QuadTree;</div>
168 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div>161 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>
169 <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#a9373bf15eaee01[·...·truncated·by·diffoscope;·len:·187,·SHA:·0b9f7ac174319063d00cec6b71300508b0ea2e11f12145bdc7d5a8c721c12782·...·]</div>162 <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>
 163 <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>
 164 <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>
170 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div>165 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>
 166 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>·T&gt;</div>
 167 <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>·&amp;·median,·T·&amp;·u,·T·&amp;·v);</div>
 168 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>·T&gt;</div>
 169 <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>·&amp;·median,·T·&amp;·u,·T·&amp;·v,·<span·class="keywordtype">bool</span>·&amp;·rotated);</div>
171 <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="a01345.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>·&amp;·handle)·<span·class="keyword">const</span>;</div> 
172 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> 
173 <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>·&amp;·handle)·<span·class="keyword">const</span>;</div> 
174 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>·</div> 
175 <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="a01345.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> 
176 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>·</div> 
177 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno"><a·class="line"·href="a00993.html#a8c1242bf6bffa416c2e172a02f3ee31c">··119</a></span>····<a·class="code·hl_struct"·href="a00989.html">PatchParam</a>·<a·class="code·hl_function"·href="a00993.html#a8c1242bf6bffa416c2e172a02f3ee31c">GetPatchParam</a>(<span·class="keywordtype">int</span>·array,·<span·class="keywordtype">int</span>·patch)·<span·class="keyword">const</span>;</div> 
178 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>·</div> 
Max diff block lines reached; 150705/186125 bytes (80.97%) of diff not shown.
42.5 KB
html2text {}
    
Offset 4, 15 lines modifiedOffset 4, 15 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 patchTable.h5 patchMap.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2013·Pixar8 ·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·in11 ·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 30, 952 lines modifiedOffset 30, 238 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_FAR_PATCH_TABLE_H37 ·25#ifndef·OPENSUBDIV3_FAR_PATCH_MAP_H
38 ·26#define·OPENSUBDIV3_FAR_PATCH_TABLE_H38 ·26#define·OPENSUBDIV3_FAR_PATCH_MAP_H
39 ·2739 ·27
40 ·28#include·"../version.h"40 ·28#include·"../version.h"
41 ·2941 ·29
42 ·30#include·"../far/patchDescriptor.h" 
43 ·31#include·"../far/patchParam.h" 
44 ·32#include·"../far/stencilTable.h"42 ·30#include·"../far/patchTable.h"
 43 ·31
 44 ·32#include·<cassert>
45 ·3345 ·33
46 ·34#include·"../sdc/options.h" 
47 ·35 
48 ·36#include·<vector> 
49 ·37 
50 ·38namespace·OpenSubdiv·{46 ·34namespace·OpenSubdiv·{
51 ·39namespace·OPENSUBDIV_VERSION·{47 ·35namespace·OPENSUBDIV_VERSION·{
52 ·4048 ·36
53 ·41namespace·Far·{49 ·37namespace·Far·{
 50 ·38
 51 49class·PatchMap·{
54 ·42 
55 55class·PatchTable·{ 
56 ·56 
57 ·57public:52 ·50public:
 53 ·51
 54 52·typedef·PatchTable::PatchHandle·Handle;
 55 ·53
 56 58·PatchMap(·PatchTable·const·&·patchTable·);
 57 ·59
 58 ·74·Handle·const·*·FindPatch(·int·patchFaceId,·double·u,·double·v·)·const;
 59 ·75
 60 ·76private:
 61 ·77·void·initializeHandles(PatchTable·const·&·patchTable);
 62 ·78·void·initializeQuadtree(PatchTable·const·&·patchTable);
58 ·58 
59 60·class·PatchHandle·{ 
60 ·61·//·XXXX·manuelk·members·will·eventually·be·made·private 
61 ·62·public: 
62 ·63 
63 64·friend·class·PatchTable; 
64 65·friend·class·PatchMap; 
65 ·66 
66 67·Index·arrayIndex,·//·Array·index·of·the·patch 
67 68·patchIndex,·//·Absolute·Index·of·the·patch 
68 69·vertIndex;·//·Relative·offset·to·the·first·CV·of·the·patch·in·array 
69 ·70·}; 
70 ·71 
71 ·72public: 
72 ·73 
73 75·PatchTable(PatchTable·const·&·src); 
74 ·76 
75 78·~PatchTable(); 
76 ·7963 ·79
77 81·bool·IsFeatureAdaptive()·const; 
78 ·82 
79 84·int·GetNumControlVerticesTotal()·const·{ 
80 ·85·return·(int)_patchVerts.size(); 
81 ·86·} 
82 ·87 
83 89·int·GetNumPatchesTotal()·const;64 ·80private:
 65 ·81·//·Quadtree·node·with·4·children,·tree·is·just·a·vector·of·nodes
 66 ·82·struct·QuadNode·{
 67 ·83·QuadNode()·{·std::memset(this,·0,·sizeof(QuadNode));·}
 68 ·84
 69 85·struct·Child·{
 70 86·unsigned·int·isSet·:·1;·//·true·if·the·child·has·been·set
 71 87·unsigned·int·isLeaf·:·1;·//·true·if·the·child·is·a·QuadNode
 72 88·unsigned·int·index·:·30;·//·child·index·(either·QuadNode·or·Handle)
 73 ·89·};
84 ·9074 ·90
85 92·int·GetMaxValence()·const·{·return·_maxValence;·}75 ·91·//·sets·all·the·children·to·point·to·the·patch·of·given·index
 76 ·92·void·SetChildren(int·index);
86 ·9377 ·93
87 95·int·GetNumPtexFaces()·const·{·return·_numPtexFaces;·}78 ·94·//·sets·the·child·in·"quadrant"·to·point·to·the·node·or·patch·of·the·given
 79 index
 80 ·95·void·SetChild(int·quadrant,·int·index,·bool·isLeaf);
88 ·9681 ·96
89 ·97 
90 ·9982 ·97·Child·children[4];
 83 ·98·};
 84 ·99·typedef·std::vector<QuadNode>·QuadTree;
91 ·10585 ·100
92 107·PatchDescriptor·GetPatchDescriptor(PatchHandle·const·&·handle)·const;86 ·101·//·Internal·methods·supporting·quadtree·construction·and·queries
 87 ·102·void·assignRootNode(QuadNode·*·node,·int·index);
 88 ·103·QuadNode·*·assignLeafOrChildNode(QuadNode·*·node,·bool·isLeaf,·int·quad,
 89 int·index);
93 ·10890 ·104
94 110·ConstIndexArray·GetPatchVertices(PatchHandle·const·&·handle)·const;91 ·105·template·<class·T>
 92 ·106·static·int·transformUVToQuadQuadrant(T·const·&·median,·T·&·u,·T·&·v);
 93 ·107·template·<class·T>
 94 ·108·static·int·transformUVToTriQuadrant(T·const·&·median,·T·&·u,·T·&·v,·bool·&
 95 rotated);
 96 ·109
 97 ·110private:
 98 ·111·bool·_patchesAreTriangular;·//·tri·and·quad·assembly·and·search
 99 requirements·differ
95 ·111100 ·112
96 113·PatchParam·GetPatchParam(PatchHandle·const·&·handle)·const;101 ·113·int·_minPatchFace;·//·minimum·patch·face·index·supported·by·the·map
 102 ·114·int·_maxPatchFace;·//·maximum·patch·face·index·supported·by·the·map
 103 ·115·int·_maxDepth;·//·maximum·depth·of·a·patch·in·the·tree
97 ·114104 ·116
98 116·ConstIndexArray·GetPatchVertices(int·array,·int·patch)·const; 
99 ·117 
Max diff block lines reached; 37421/43458 bytes (86.11%) of diff not shown.
6.71 KB
./usr/share/doc/opensubdiv/doxy_html/a00734.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/patchMap.h·File·Reference</title>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 83, 29 lines modifiedOffset 83, 33 lines modified
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124;87 <a·href="#nested-classes">Classes</a>·&#124;
88 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">patchMap.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">patchTable.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
 93 <code>#include·&quot;<a·class="el"·href="a00740_source.html">../far/patchDescriptor.h</a>&quot;</code><br·/>
 94 <code>#include·&quot;<a·class="el"·href="a00737_source.html">../far/patchParam.h</a>&quot;</code><br·/>
93 <code>#include·&quot;<a·class="el"·href="a00731_source.html">../far/patchTable.h</a>&quot;</code><br·/>95 <code>#include·&quot;<a·class="el"·href="a00719_source.html">../far/stencilTable.h</a>&quot;</code><br·/>
 96 <code>#include·&quot;<a·class="el"·href="a00890_source.html">../sdc/options.h</a>&quot;</code><br·/>
94 <code>#include·&lt;cassert&gt;</code><br·/>97 <code>#include·&lt;vector&gt;</code><br·/>
95 </div>98 </div>
96 <p><a·href="a00734_source.html">Go·to·the·source·code·of·this·file.</a></p>99 <p><a·href="a00734_source.html">Go·to·the·source·code·of·this·file.</a></p>
97 <table·class="memberdecls">100 <table·class="memberdecls">
98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>101 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
99 Classes</h2></td></tr>102 Classes</h2></td></tr>
100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00977.html">PatchMap</a></td></tr>103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00993.html">PatchTable</a></td></tr>
101 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</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>104 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Container·for·arrays·of·parametric·patches.··<a·href="a00993.html#details">More...</a><br·/></td></tr>
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00985.html">PatchMap::QuadNode::Child</a></td></tr>106 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00997.html">PatchTable::PatchHandle</a></td></tr>
 107 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</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>
104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
105 </table><table·class="memberdecls">109 </table><table·class="memberdecls">
106 <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>
107 Namespaces</h2></td></tr>111 Namespaces</h2></td></tr>
108 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>112 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
110 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>114 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>
Offset 114, 13 lines modifiedOffset 118, 13 lines modified
114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>118 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
115 </table>119 </table>
116 </div><!--·contents·-->120 </div><!--·contents·-->
117 </div><!--·doc-content·-->121 </div><!--·doc-content·-->
118 <!--·start·footer·part·-->122 <!--·start·footer·part·-->
119 <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!·-->
120 ··<ul>124 ··<ul>
121 ····<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>125 ····<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">patchTable.h</a></li>
122 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>126 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
123 ··</ul>127 ··</ul>
124 </div>128 </div>
125 </body>129 </body>
126 </html>130 </html>
1.04 KB
html2text {}
    
Offset 5, 30 lines modifiedOffset 5, 34 lines modified
  
  
  
5 [Logo]·OpenSubdiv5 [Logo]·OpenSubdiv
  
  
6 Classes·|·Namespaces6 Classes·|·Namespaces
7 patchMap.h·File·Reference7 patchTable.h·File·Reference
8 #include·"../version.h"8 #include·"../version.h"
 9 #include·"../far/patchDescriptor.h"
 10 #include·"../far/patchParam.h"
9 #include·"../far/patchTable.h"11 #include·"../far/stencilTable.h"
10 #include·<cassert>12 #include·"../sdc/options.h"
 13 #include·<vector>
11 Go_to_the_source_code_of_this_file.14 Go_to_the_source_code_of_this_file.
12 ·Classes15 ·Classes
13 ·class· PatchMap16 class· PatchTable
 17  ······Container·for·arrays·of·parametric·patches.·More...
14  ·······An·quadtree-based·map·connecting·coarse·faces·to·their·sub-patches. 
15 ·········More... 
16  18  
17 struct· PatchMap::QuadNode::Child19 class· PatchTable::PatchHandle
 20  ······Handle·that·can·be·used·as·unique·patch·identifier·within·PatchTable.
 21 ········More...
18  22  
19 ·Namespaces23 ·Namespaces
20 namespace· OpenSubdiv24 namespace· OpenSubdiv
21  25  
22 namespace· OpenSubdiv::OPENSUBDIV_VERSION26 namespace· OpenSubdiv::OPENSUBDIV_VERSION
23  27  
24 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Far28 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Far
25  29  
26 ····*·opensubdiv30 ····*·opensubdiv
27 ····*·far31 ····*·far
28 ····*·patchMap.h32 ····*·patchTable.h
29 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.433 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
364 B
./usr/share/doc/opensubdiv/doxy_html/a00734.js
272 B
js-beautify {}
    
Offset 1, 4 lines modifiedOffset 1, 4 lines modified
1 var·a00734·=·[1 var·a00734·=·[
2 ····["PatchMap",·"a00977.html",·"a00977"],2 ····["PatchTable",·"a00993.html",·"a00993"],
3 ····["PatchMap::QuadNode::Child",·"a00985.html",·"a00985"]3 ····["PatchTable::PatchHandle",·"a00997.html",·"a00997"]
4 ];4 ];
224 KB
./usr/share/doc/opensubdiv/doxy_html/a00734_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/patchMap.h·Source·File</title>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 80, 15 lines modifiedOffset 80, 15 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">patchMap.h</div></div>86 ··<div·class="headertitle"><div·class="title">patchTable.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <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>89 <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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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 107, 216 lines modifiedOffset 107, 695 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <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>114 <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>
115 <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>115 <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>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../far/patchTable.h&quot;</span></div>119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../far/patchDescriptor.h&quot;</span></div>
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;../far/patchParam.h&quot;</span></div>
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&quot;../far/stencilTable.h&quot;</span></div>
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
 123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·&quot;../sdc/options.h&quot;</span></div>
 124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
 125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
 126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
123 <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>127 <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>
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
 129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>
 130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">namespace·</span>Far·{</div>
 131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
 132 <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>
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>133 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Far·{</div> 
127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> 
128 <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> 
129 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">public</span>:</div>134 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">public</span>:</div>
130 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>135 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
131 <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·[·...·truncated·by·diffoscope;·len:·76,·SHA:·3a4273ec05fb583553f0eb5d69e7432e02c85f9fdadf93a7fb7b3bb9a5c357b2·...·]</div>136 <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>
 137 <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>
 138 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keyword">public</span>:</div>
132 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>139 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
133 <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[·...·truncated·by·diffoscope;·len:·83,·SHA:·96ee9e3d221c8618f711e47ebabbdfb41a53280f735cf98b1b24cbb29a69de03·...·];</div>140 <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>
 141 <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>
134 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>142 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
135 <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·cla[·...·truncated·by·diffoscope;·len:·163,·SHA:·177d570efda53f9df6fdd82c34a310861a7875379fe1093033335bf802e8b38e·...·]</div>143 <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>
 144 <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>
 145 <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>
 146 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····};</div>
136 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>147 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>
137 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="keyword">private</span>:</div>148 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="keyword">public</span>:</div>
138 <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>·&amp;·patchTable);</div> 
139 <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>·&amp;·patchTable);</div>149 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>
 150 <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>·&amp;·src);</div>
 151 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>
 152 <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>
140 <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>
 154 <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>
141 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="keyword">private</span>:</div> 
142 <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> 
143 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="keyword">struct·</span>QuadNode·{</div> 
144 <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> 
145 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>155 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>
 156 <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>
 157 <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>
146 <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> 
147 <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> 
148 <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> 
149 <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> 
150 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>········};</div>158 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····}</div>
 159 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>
 160 <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>
151 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>161 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
 162 <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>
152 <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> 
153 <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> 
154 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div>163 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div>
 164 <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>
155 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>········<span·class="comment">//·sets·the·child·in·&quot;quadrant&quot;·to·point·to·the·node·or·patch·of·the·given·index</span></div> 
156 <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> 
157 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>165 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>
158 <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> 
159 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>····};</div>166 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>
160 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>····<span·class="keyword">typedef</span>·std::vector&lt;QuadNode&gt;·QuadTree;</div>167 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div>
161 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>168 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div>
 169 <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>·&amp;·handle)·<span·class="keyword">const</span>;</div>
162 <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> 
163 <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> 
164 <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> 
165 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>170 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div>
 171 <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="a01345.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>·&amp;·handle)·<span·class="keyword">const</span>;</div>
166 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>·T&gt;</div> 
167 <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>·&amp;·median,·T·&amp;·u,·T·&amp;·v);</div> 
168 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>·T&gt;</div> 
169 <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>·&amp;·median,·T·&amp;·u,·T·&amp;·v,·<span·class="keywordtype">bool</span>·&amp;·rotated);</div> 
170 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div> 
171 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span><span·class="keyword">private</span>:</div> 
172 <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> 
173 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div>172 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div>
 173 <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>·&amp;·handle)·<span·class="keyword">const</span>;</div>
174 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>····<span·class="keywordtype">int</span>··_minPatchFace;··<span·class="comment">//·minimum·patch·face·index·supported·by·the·map</span></div> 
Max diff block lines reached; 150705/186125 bytes (80.97%) of diff not shown.
42.5 KB
html2text {}
    
Offset 4, 15 lines modifiedOffset 4, 15 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 patchMap.h5 patchTable.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2013·Pixar8 ·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·in11 ·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 30, 238 lines modifiedOffset 30, 952 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_FAR_PATCH_MAP_H37 ·25#ifndef·OPENSUBDIV3_FAR_PATCH_TABLE_H
38 ·26#define·OPENSUBDIV3_FAR_PATCH_MAP_H38 ·26#define·OPENSUBDIV3_FAR_PATCH_TABLE_H
39 ·2739 ·27
40 ·28#include·"../version.h"40 ·28#include·"../version.h"
41 ·2941 ·29
 42 ·30#include·"../far/patchDescriptor.h"
 43 ·31#include·"../far/patchParam.h"
42 ·30#include·"../far/patchTable.h"44 ·32#include·"../far/stencilTable.h"
43 ·31 
44 ·32#include·<cassert> 
45 ·3345 ·33
 46 ·34#include·"../sdc/options.h"
 47 ·35
 48 ·36#include·<vector>
 49 ·37
46 ·34namespace·OpenSubdiv·{50 ·38namespace·OpenSubdiv·{
47 ·35namespace·OPENSUBDIV_VERSION·{51 ·39namespace·OPENSUBDIV_VERSION·{
48 ·3652 ·40
49 ·37namespace·Far·{53 ·41namespace·Far·{
50 ·38 
51 49class·PatchMap·{54 ·42
 55 55class·PatchTable·{
 56 ·56
52 ·50public:57 ·57public:
53 ·51 
54 52·typedef·PatchTable::PatchHandle·Handle; 
55 ·53 
56 58·PatchMap(·PatchTable·const·&·patchTable·); 
57 ·59 
58 ·74·Handle·const·*·FindPatch(·int·patchFaceId,·double·u,·double·v·)·const; 
59 ·75 
60 ·76private: 
61 ·77·void·initializeHandles(PatchTable·const·&·patchTable); 
62 ·78·void·initializeQuadtree(PatchTable·const·&·patchTable);58 ·58
 59 60·class·PatchHandle·{
 60 ·61·//·XXXX·manuelk·members·will·eventually·be·made·private
 61 ·62·public:
 62 ·63
 63 64·friend·class·PatchTable;
 64 65·friend·class·PatchMap;
 65 ·66
 66 67·Index·arrayIndex,·//·Array·index·of·the·patch
 67 68·patchIndex,·//·Absolute·Index·of·the·patch
 68 69·vertIndex;·//·Relative·offset·to·the·first·CV·of·the·patch·in·array
 69 ·70·};
 70 ·71
 71 ·72public:
 72 ·73
 73 75·PatchTable(PatchTable·const·&·src);
 74 ·76
 75 78·~PatchTable();
63 ·7976 ·79
 77 81·bool·IsFeatureAdaptive()·const;
 78 ·82
 79 84·int·GetNumControlVerticesTotal()·const·{
 80 ·85·return·(int)_patchVerts.size();
 81 ·86·}
 82 ·87
 83 89·int·GetNumPatchesTotal()·const;
64 ·80private: 
65 ·81·//·Quadtree·node·with·4·children,·tree·is·just·a·vector·of·nodes 
66 ·82·struct·QuadNode·{ 
67 ·83·QuadNode()·{·std::memset(this,·0,·sizeof(QuadNode));·} 
68 ·84 
69 85·struct·Child·{ 
70 86·unsigned·int·isSet·:·1;·//·true·if·the·child·has·been·set 
71 87·unsigned·int·isLeaf·:·1;·//·true·if·the·child·is·a·QuadNode 
72 88·unsigned·int·index·:·30;·//·child·index·(either·QuadNode·or·Handle) 
73 ·89·}; 
74 ·9084 ·90
 85 92·int·GetMaxValence()·const·{·return·_maxValence;·}
75 ·91·//·sets·all·the·children·to·point·to·the·patch·of·given·index 
76 ·92·void·SetChildren(int·index); 
77 ·9386 ·93
 87 95·int·GetNumPtexFaces()·const·{·return·_numPtexFaces;·}
78 ·94·//·sets·the·child·in·"quadrant"·to·point·to·the·node·or·patch·of·the·given 
79 index 
80 ·95·void·SetChild(int·quadrant,·int·index,·bool·isLeaf); 
81 ·9688 ·96
 89 ·97
 90 ·99
82 ·97·Child·children[4]; 
83 ·98·}; 
84 ·99·typedef·std::vector<QuadNode>·QuadTree; 
85 ·10091 ·105
 92 107·PatchDescriptor·GetPatchDescriptor(PatchHandle·const·&·handle)·const;
86 ·101·//·Internal·methods·supporting·quadtree·construction·and·queries 
87 ·102·void·assignRootNode(QuadNode·*·node,·int·index); 
88 ·103·QuadNode·*·assignLeafOrChildNode(QuadNode·*·node,·bool·isLeaf,·int·quad, 
89 int·index); 
90 ·10493 ·108
 94 110·ConstIndexArray·GetPatchVertices(PatchHandle·const·&·handle)·const;
91 ·105·template·<class·T> 
92 ·106·static·int·transformUVToQuadQuadrant(T·const·&·median,·T·&·u,·T·&·v); 
93 ·107·template·<class·T> 
94 ·108·static·int·transformUVToTriQuadrant(T·const·&·median,·T·&·u,·T·&·v,·bool·& 
95 rotated); 
96 ·109 
97 ·110private: 
98 ·111·bool·_patchesAreTriangular;·//·tri·and·quad·assembly·and·search 
99 requirements·differ 
100 ·11295 ·111
 96 113·PatchParam·GetPatchParam(PatchHandle·const·&·handle)·const;
101 ·113·int·_minPatchFace;·//·minimum·patch·face·index·supported·by·the·map 
Max diff block lines reached; 37421/43458 bytes (86.11%) of diff not shown.
3.93 KB
./usr/share/doc/opensubdiv/doxy_html/a00746.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/sparseSelector.h·File·Reference</title>8 <title>OpenSubdiv:·opensubdiv/vtr/stackBuffer.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 82, 21 lines modifiedOffset 82, 18 lines modified
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#namespaces">Namespaces</a>··</div>87 <a·href="#namespaces">Namespaces</a>··</div>
88 ··<div·class="headertitle"><div·class="title">sparseSelector.h·File·Reference</div></div>88 ··<div·class="headertitle"><div·class="title">stackBuffer.h·File·Reference</div></div>
89 </div><!--header-->89 </div><!--header-->
90 <div·class="contents">90 <div·class="contents">
91 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>91 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
92 <code>#include·&quot;<a·class="el"·href="a01487_source.html">../vtr/types.h</a>&quot;</code><br·/> 
93 <code>#include·&quot;<a·class="el"·href="a00752_source.html">../vtr/refinement.h</a>&quot;</code><br·/> 
94 <code>#include·&lt;vector&gt;</code><br·/> 
95 </div>92 </div>
96 <p><a·href="a00746_source.html">Go·to·the·source·code·of·this·file.</a></p>93 <p><a·href="a00746_source.html">Go·to·the·source·code·of·this·file.</a></p>
97 <table·class="memberdecls">94 <table·class="memberdecls">
98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
99 Namespaces</h2></td></tr>96 Namespaces</h2></td></tr>
100 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>97 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 106, 13 lines modifiedOffset 103, 13 lines modified
106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
107 </table>104 </table>
108 </div><!--·contents·-->105 </div><!--·contents·-->
109 </div><!--·doc-content·-->106 </div><!--·doc-content·-->
110 <!--·start·footer·part·-->107 <!--·start·footer·part·-->
111 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->108 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
112 ··<ul>109 ··<ul>
113 ····<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="a00746.html">sparseSelector.h</a></li>110 ····<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="a00746.html">stackBuffer.h</a></li>
114 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>111 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
115 ··</ul>112 ··</ul>
116 </div>113 </div>
117 </body>114 </body>
118 </html>115 </html>
575 B
html2text {}
    
Offset 5, 24 lines modifiedOffset 5, 21 lines modified
  
  
  
5 [Logo]·OpenSubdiv5 [Logo]·OpenSubdiv
  
  
6 Namespaces6 Namespaces
7 sparseSelector.h·File·Reference7 stackBuffer.h·File·Reference
8 #include·"../version.h"8 #include·"../version.h"
9 #include·"../vtr/types.h" 
10 #include·"../vtr/refinement.h" 
11 #include·<vector> 
12 Go_to_the_source_code_of_this_file.9 Go_to_the_source_code_of_this_file.
13 ·Namespaces10 ·Namespaces
14 namespace· OpenSubdiv11 namespace· OpenSubdiv
15  12  
16 namespace· OpenSubdiv::OPENSUBDIV_VERSION13 namespace· OpenSubdiv::OPENSUBDIV_VERSION
17  14  
18 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Vtr15 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Vtr
19  16  
20 ····*·opensubdiv17 ····*·opensubdiv
21 ····*·vtr18 ····*·vtr
22 ····*·sparseSelector.h19 ····*·stackBuffer.h
23 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.420 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
57.5 KB
./usr/share/doc/opensubdiv/doxy_html/a00746_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/sparseSelector.h·Source·File</title>8 <title>OpenSubdiv:·opensubdiv/vtr/stackBuffer.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 80, 19 lines modifiedOffset 80, 19 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">sparseSelector.h</div></div>86 ··<div·class="headertitle"><div·class="title">stackBuffer.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <a·href="a00746.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>89 <a·href="a00746.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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·DreamWorks·Animation·LLC.</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·DreamWorks·Animation·LLC.</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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>
94 <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>94 <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>
95 <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>95 <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>
96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>
97 <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>97 <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 106, 98 lines modifiedOffset 106, 223 lines modified
106 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div>106 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div>
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <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>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_VTR_STACK_BUFFER_H</span></div>
114 <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>114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·OPENSUBDIV3_VTR_STACK_BUFFER_H</span></div>
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;../vtr/types.h&quot;</span></div> 
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../vtr/refinement.h&quot;</span></div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div>
 119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div> 
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> 
123 <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> 
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> 
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> 
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Vtr·{</div>121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">namespace·</span>Vtr·{</div>
127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">namespace·</span>internal·{</div>122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span>internal·{</div>
128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>
 124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="comment">//</span></div>
 125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="comment">//··The·StackBuffer·class·is·intended·solely·to·take·the·place·of·VLAs·(Variable</span></div>
 126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="comment">//··Length·Arrays)·which·most·compilers·support,·but·are·not·strictly·standard·C++.</span></div>
 127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="comment">//··Portability·concerns·forces·us·to·make·use·of·either·alloca()·or·some·other</span></div>
 128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="comment">//··mechanism·to·create·small·arrays·on·the·stack·that·are·typically·based·on·the</span></div>
 129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="comment">//··valence·of·a·vertex·--·small·in·general,·but·occasionally·large.</span></div>
129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="comment">//</span></div>130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="comment">//</span></div>
130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="comment">//··SparseSelector:</span></div>131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="comment">//··Note·also·that·since·the·intent·of·this·is·to·replace·VLAs·--·not·general</span></div>
 132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="comment">//··std::vectors·--·support·for·std::vector·functionality·is·intentionally·limited</span></div>
 133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="comment">//··and·STL-like·naming·is·avoided.··Like·a·VLA·there·is·no·incremental·growth.</span></div>
131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="comment">//······Class·supporting·&quot;selection&quot;·of·components·in·a·Level·for·sparse·Refinement.</span></div> 
132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="comment">//··The·term·&quot;selection&quot;·here·implies·interest·in·the·limit·for·that·component,·i.e.</span></div> 
133 <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> 
134 <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> 
135 <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>134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="comment">//··Support·for·resizing·is·available·to·reuse·an·instance·at·the·beginning·of·a</span></div>
 135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="comment">//··loop·with·a·new·size,·but·resizing·in·this·case·reinitializes·all·elements.</span></div>
136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="comment">//</span></div>136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="comment">//</span></div>
137 <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> 
138 <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> 
139 <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> 
140 <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> 
141 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="comment">//</span></div> 
142 <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> 
143 <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> 
144 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="comment">//··feature-adaptive·refinement.</span></div> 
145 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="comment">//</span></div> 
146 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">class·</span>SparseSelector·{</div> 
147 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
 138 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·TYPE,·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·SIZE,·<span·class="keywordtype">bool</span>·POD_TYPE·=·false&gt;</div>
 139 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">class·</span>StackBuffer</div>
 140 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>{</div>
148 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword">public</span>:</div>141 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">public</span>:</div>
 142 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keyword">typedef</span>·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·size_type;</div>
149 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····SparseSelector(Refinement&amp;·refine)·:·_refine(&amp;refine),·_selected(false)·{·}</div> 
150 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····~SparseSelector()·{·}</div> 
151 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> 
152 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keywordtype">void</span>········setRefinement(Refinement&amp;·refine)·{·_refine·=·&amp;refine;·}</div> 
153 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····Refinement&amp;·getRefinement()<span·class="keyword">·const·············</span>{·<span·class="keywordflow">return</span>·*_refine;·}</div> 
154 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>143 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
155 <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>144 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">public</span>:</div>
 145 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="comment">//··Constructors·and·destructor·--·declared·inline·below:</span></div>
 146 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····StackBuffer();</div>
 147 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····StackBuffer(size_type·size);</div>
 148 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····~StackBuffer();</div>
156 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>149 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
157 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="comment">//</span></div>150 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="keyword">public</span>:</div>
158 <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>151 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="comment">//··Note·the·reliance·on·implicit·casting·so·that·it·can·be·used·similar·to</span></div>
 152 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="comment">//··a·VLA.··This·removes·the·need·for·operator[]·as·the·resulting·TYPE*·will</span></div>
159 <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>153 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="comment">//··natively·support·[].··(The·presence·of·both·TYPE*·and·operator[]·also</span></div>
 154 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<span·class="comment">//··causes·an·ambiguous·overloading·error·with·32-bit·MSVC·builds.)</span></div>
160 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="comment">//</span></div>155 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
161 <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> 
162 <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> 
163 <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>156 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····<span·class="keyword">operator</span>·TYPE·<span·class="keyword">const</span>·*·()·<span·class="keyword">const</span>·{·<span·class="keywordflow">return</span>·_data;·}</div>
 157 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="keyword">operator</span>·TYPE·*·······()·······{·<span·class="keywordflow">return</span>·_data;·}</div>
 158 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
 159 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····size_type·GetSize()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_size;·}</div>
164 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>160 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>
 161 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="keywordtype">void</span>·SetSize(size_type·size);</div>
 162 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="keywordtype">void</span>·Reserve(size_type·capacity);</div>
 163 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>
165 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="keyword">private</span>:</div>164 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="keyword">private</span>:</div>
166 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····SparseSelector()·:·_refine(0),·_selected(false)·{·}</div>165 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····<span·class="comment">//··Non-copyable:</span></div>
 166 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····StackBuffer(<span·class="keyword">const</span>·StackBuffer&lt;TYPE,SIZE,POD_TYPE&gt;·&amp;)·{·}</div>
 167 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····StackBuffer&amp;·operator=(<span·class="keyword">const</span>·StackBuffer&lt;TYPE,SIZE,POD_TYPE&gt;·&amp;)·{·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div>
167 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>168 <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>····<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-&gt;getParentVertexSparseTag(pVertex)._selected;·}</div> 
Max diff block lines reached; 20993/48172 bytes (43.58%) of diff not shown.
10.4 KB
html2text {}
    
Offset 4, 18 lines modifiedOffset 4, 18 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 sparseSelector.h5 stackBuffer.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2014·DreamWorks·Animation·LLC.8 ·2//·Copyright·2015·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·in11 ·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·trade15 ·9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade
Offset 29, 111 lines modifiedOffset 29, 233 lines modified
29 ·17//29 ·17//
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·24#ifndef·OPENSUBDIV3_VTR_SPARSE_SELECTOR_H36 ·24#ifndef·OPENSUBDIV3_VTR_STACK_BUFFER_H
37 ·25#define·OPENSUBDIV3_VTR_SPARSE_SELECTOR_H37 ·25#define·OPENSUBDIV3_VTR_STACK_BUFFER_H
38 ·2638 ·26
39 ·27#include·"../version.h"39 ·27#include·"../version.h"
40 ·2840 ·28
41 ·29#include·"../vtr/types.h" 
42 ·30#include·"../vtr/refinement.h"41 ·29namespace·OpenSubdiv·{
 42 ·30namespace·OPENSUBDIV_VERSION·{
43 ·3143 ·31
44 ·32#include·<vector> 
45 ·33 
46 ·34namespace·OpenSubdiv·{ 
47 ·35namespace·OPENSUBDIV_VERSION·{ 
48 ·36 
49 ·37namespace·Vtr·{44 ·32namespace·Vtr·{
50 ·38namespace·internal·{45 ·33namespace·internal·{
51 ·3946 ·34
 47 ·35//
 48 ·36//·The·StackBuffer·class·is·intended·solely·to·take·the·place·of·VLAs
 49 (Variable
 50 ·37//·Length·Arrays)·which·most·compilers·support,·but·are·not·strictly
 51 standard·C++.
 52 ·38//·Portability·concerns·forces·us·to·make·use·of·either·alloca()·or·some
 53 other
 54 ·39//·mechanism·to·create·small·arrays·on·the·stack·that·are·typically·based·on
 55 the
 56 ·40//·valence·of·a·vertex·--·small·in·general,·but·occasionally·large.
52 ·40//57 ·41//
 58 ·42//·Note·also·that·since·the·intent·of·this·is·to·replace·VLAs·--·not·general
 59 ·43//·std::vectors·--·support·for·std::vector·functionality·is·intentionally
 60 limited
 61 ·44//·and·STL-like·naming·is·avoided.·Like·a·VLA·there·is·no·incremental
 62 growth.
 63 ·45//·Support·for·resizing·is·available·to·reuse·an·instance·at·the·beginning
 64 of·a
 65 ·46//·loop·with·a·new·size,·but·resizing·in·this·case·reinitializes·all
 66 elements.
53 ·41//·SparseSelector: 
54 ·42//·Class·supporting·"selection"·of·components·in·a·Level·for·sparse 
55 Refinement. 
56 ·43//·The·term·"selection"·here·implies·interest·in·the·limit·for·that 
57 component,·i.e. 
58 ·44//·the·limit·point·for·a·selected·vertex,·the·limit·patch·for·a·face,·etc. 
59 So·this 
60 ·45//·class·is·responsible·for·ensuring·that·all·neighboring·components 
61 required·to 
62 ·46//·support·the·limit·of·those·selected·are·included·in·the·refinement. 
63 ·47//67 ·47//
 68 ·48
 69 ·49template·<typename·TYPE,·unsigned·int·SIZE,·bool·POD_TYPE·=·false>
 70 ·50class·StackBuffer
 71 ·51{
64 ·48//·This·class·is·associated·with·(and·constructed·given)·a·Refinement·and 
65 its·role 
66 ·49//·is·to·initialize·that·Refinement·instance·for·eventual·sparse·refinement. 
67 So·it 
68 ·50//·is·a·friend·of·and·expected·to·modify·the·Refinement·as·part·of·the 
69 selection. 
70 ·51//·Given·its·simplicity·and·scope·it·may·be·worth·nesting·it·in·Vtr:: 
71 Refinement. 
72 ·52// 
73 ·53//·While·all·three·component·types·--·vertices,·edges·and·faces·--·can·be 
74 selected, 
75 ·54//·only·selection·of·faces·is·currently·used·and·actively·supported·as·part 
76 of·the 
77 ·55//·feature-adaptive·refinement. 
78 ·56// 
79 ·57class·SparseSelector·{ 
80 ·58 
81 ·59public:72 ·52public:
82 ·60·SparseSelector(Refinement&·refine)·:·_refine(&refine),·_selected(false)·{·} 
83 ·61·~SparseSelector()·{·} 
84 ·62 
85 ·63·void·setRefinement(Refinement&·refine)·{·_refine·=·&refine;·} 
86 ·64·Refinement&·getRefinement()·const·{·return·*_refine;·} 
87 ·65 
88 ·66·bool·isSelectionEmpty()·const·{·return·!_selected;·} 
89 ·67 
90 ·68·// 
91 ·69·//·Methods·for·selecting·(and·marking)·components·for·refinement.·All 
92 component·indices 
93 ·70·//·refer·to·components·in·the·parent: 
94 ·71·// 
95 ·72·void·selectVertex(Index·pVertex); 
96 ·73·void·selectEdge(·Index·pEdge); 
97 ·74·void·selectFace(·Index·pFace); 
98 ·7573 ·53·typedef·unsigned·int·size_type;
 74 ·54
 75 ·55public:
 76 ·56·//·Constructors·and·destructor·--·declared·inline·below:
 77 ·57·StackBuffer();
 78 ·58·StackBuffer(size_type·size);
 79 ·59·~StackBuffer();
 80 ·60
 81 ·61public:
 82 ·62·//·Note·the·reliance·on·implicit·casting·so·that·it·can·be·used·similar·to
 83 ·63·//·a·VLA.·This·removes·the·need·for·operator[]·as·the·resulting·TYPE*·will
 84 ·64·//·natively·support·[].·(The·presence·of·both·TYPE*·and·operator[]·also
 85 ·65·//·causes·an·ambiguous·overloading·error·with·32-bit·MSVC·builds.)
 86 ·66
 87 ·67·operator·TYPE·const·*·()·const·{·return·_data;·}
Max diff block lines reached; 4065/10584 bytes (38.41%) of diff not shown.
3.93 KB
./usr/share/doc/opensubdiv/doxy_html/a00749.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/stackBuffer.h·File·Reference</title>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 82, 18 lines modifiedOffset 82, 21 lines modified
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#namespaces">Namespaces</a>··</div>87 <a·href="#namespaces">Namespaces</a>··</div>
88 ··<div·class="headertitle"><div·class="title">stackBuffer.h·File·Reference</div></div>88 ··<div·class="headertitle"><div·class="title">sparseSelector.h·File·Reference</div></div>
89 </div><!--header-->89 </div><!--header-->
90 <div·class="contents">90 <div·class="contents">
91 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>91 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
 92 <code>#include·&quot;<a·class="el"·href="a01487_source.html">../vtr/types.h</a>&quot;</code><br·/>
 93 <code>#include·&quot;<a·class="el"·href="a00752_source.html">../vtr/refinement.h</a>&quot;</code><br·/>
 94 <code>#include·&lt;vector&gt;</code><br·/>
92 </div>95 </div>
93 <p><a·href="a00749_source.html">Go·to·the·source·code·of·this·file.</a></p>96 <p><a·href="a00749_source.html">Go·to·the·source·code·of·this·file.</a></p>
94 <table·class="memberdecls">97 <table·class="memberdecls">
95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
96 Namespaces</h2></td></tr>99 Namespaces</h2></td></tr>
97 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>100 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>
98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 103, 13 lines modifiedOffset 106, 13 lines modified
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 </table>107 </table>
105 </div><!--·contents·-->108 </div><!--·contents·-->
106 </div><!--·doc-content·-->109 </div><!--·doc-content·-->
107 <!--·start·footer·part·-->110 <!--·start·footer·part·-->
108 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->111 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
109 ··<ul>112 ··<ul>
110 ····<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">stackBuffer.h</a></li>113 ····<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">sparseSelector.h</a></li>
111 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>114 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
112 ··</ul>115 ··</ul>
113 </div>116 </div>
114 </body>117 </body>
115 </html>118 </html>
575 B
html2text {}
    
Offset 5, 21 lines modifiedOffset 5, 24 lines modified
  
  
  
5 [Logo]·OpenSubdiv5 [Logo]·OpenSubdiv
  
  
6 Namespaces6 Namespaces
7 stackBuffer.h·File·Reference7 sparseSelector.h·File·Reference
8 #include·"../version.h"8 #include·"../version.h"
 9 #include·"../vtr/types.h"
 10 #include·"../vtr/refinement.h"
 11 #include·<vector>
9 Go_to_the_source_code_of_this_file.12 Go_to_the_source_code_of_this_file.
10 ·Namespaces13 ·Namespaces
11 namespace· OpenSubdiv14 namespace· OpenSubdiv
12  15  
13 namespace· OpenSubdiv::OPENSUBDIV_VERSION16 namespace· OpenSubdiv::OPENSUBDIV_VERSION
14  17  
15 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Vtr18 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Vtr
16  19  
17 ····*·opensubdiv20 ····*·opensubdiv
18 ····*·vtr21 ····*·vtr
19 ····*·stackBuffer.h22 ····*·sparseSelector.h
20 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.423 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
57.5 KB
./usr/share/doc/opensubdiv/doxy_html/a00749_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/stackBuffer.h·Source·File</title>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 80, 19 lines modifiedOffset 80, 19 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">stackBuffer.h</div></div>86 ··<div·class="headertitle"><div·class="title">sparseSelector.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <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>89 <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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·DreamWorks·Animation·LLC.</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·DreamWorks·Animation·LLC.</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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>
94 <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>94 <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>
95 <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>95 <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>
96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>
97 <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>97 <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 106, 223 lines modifiedOffset 106, 98 lines modified
106 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div>106 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div>
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_VTR_STACK_BUFFER_H</span></div>113 <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>
114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·OPENSUBDIV3_VTR_STACK_BUFFER_H</span></div>114 <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>
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;../vtr/types.h&quot;</span></div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../vtr/refinement.h&quot;</span></div>
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
 121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
 122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
 123 <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>
 124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
 125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">namespace·</span>Vtr·{</div>126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Vtr·{</div>
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span>internal·{</div>127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">namespace·</span>internal·{</div>
123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="comment">//</span></div> 
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="comment">//··The·StackBuffer·class·is·intended·solely·to·take·the·place·of·VLAs·(Variable</span></div> 
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="comment">//··Length·Arrays)·which·most·compilers·support,·but·are·not·strictly·standard·C++.</span></div> 
127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="comment">//··Portability·concerns·forces·us·to·make·use·of·either·alloca()·or·some·other</span></div> 
128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="comment">//··mechanism·to·create·small·arrays·on·the·stack·that·are·typically·based·on·the</span></div> 
129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="comment">//··valence·of·a·vertex·--·small·in·general,·but·occasionally·large.</span></div> 
130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="comment">//</span></div>129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="comment">//</span></div>
131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="comment">//··Note·also·that·since·the·intent·of·this·is·to·replace·VLAs·--·not·general</span></div>130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="comment">//··SparseSelector:</span></div>
132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="comment">//··std::vectors·--·support·for·std::vector·functionality·is·intentionally·limited</span></div> 
133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="comment">//··and·STL-like·naming·is·avoided.··Like·a·VLA·there·is·no·incremental·growth.</span></div> 
134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="comment">//··Support·for·resizing·is·available·to·reuse·an·instance·at·the·beginning·of·a</span></div>131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="comment">//······Class·supporting·&quot;selection&quot;·of·components·in·a·Level·for·sparse·Refinement.</span></div>
 132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="comment">//··The·term·&quot;selection&quot;·here·implies·interest·in·the·limit·for·that·component,·i.e.</span></div>
 133 <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>
 134 <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>
135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="comment">//··loop·with·a·new·size,·but·resizing·in·this·case·reinitializes·all·elements.</span></div>135 <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>
136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="comment">//</span></div>136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="comment">//</span></div>
 137 <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>
 138 <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>
 139 <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>
 140 <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>
 141 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="comment">//</span></div>
 142 <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>
 143 <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>
 144 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="comment">//··feature-adaptive·refinement.</span></div>
 145 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="comment">//</span></div>
 146 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">class·</span>SparseSelector·{</div>
137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>147 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
138 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·TYPE,·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·SIZE,·<span·class="keywordtype">bool</span>·POD_TYPE·=·false&gt;</div> 
139 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">class·</span>StackBuffer</div> 
140 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>{</div> 
141 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">public</span>:</div>148 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword">public</span>:</div>
 149 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····SparseSelector(Refinement&amp;·refine)·:·_refine(&amp;refine),·_selected(false)·{·}</div>
142 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keyword">typedef</span>·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·size_type;</div> 
143 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> 
144 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">public</span>:</div> 
145 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="comment">//··Constructors·and·destructor·--·declared·inline·below:</span></div> 
146 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····StackBuffer();</div> 
147 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····StackBuffer(size_type·size);</div> 
148 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····~StackBuffer();</div>150 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····~SparseSelector()·{·}</div>
149 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>151 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
 152 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keywordtype">void</span>········setRefinement(Refinement&amp;·refine)·{·_refine·=·&amp;refine;·}</div>
 153 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····Refinement&amp;·getRefinement()<span·class="keyword">·const·············</span>{·<span·class="keywordflow">return</span>·*_refine;·}</div>
150 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="keyword">public</span>:</div> 
151 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="comment">//··Note·the·reliance·on·implicit·casting·so·that·it·can·be·used·similar·to</span></div> 
152 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="comment">//··a·VLA.··This·removes·the·need·for·operator[]·as·the·resulting·TYPE*·will</span></div> 
153 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="comment">//··natively·support·[].··(The·presence·of·both·TYPE*·and·operator[]·also</span></div> 
154 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<span·class="comment">//··causes·an·ambiguous·overloading·error·with·32-bit·MSVC·builds.)</span></div> 
155 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>154 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>
 155 <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>
156 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····<span·class="keyword">operator</span>·TYPE·<span·class="keyword">const</span>·*·()·<span·class="keyword">const</span>·{·<span·class="keywordflow">return</span>·_data;·}</div> 
157 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="keyword">operator</span>·TYPE·*·······()·······{·<span·class="keywordflow">return</span>·_data;·}</div> 
158 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>156 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>
159 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····size_type·GetSize()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_size;·}</div>157 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="comment">//</span></div>
 158 <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>
 159 <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>
 160 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="comment">//</span></div>
 161 <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>
 162 <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>
 163 <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>
160 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>164 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
161 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="keywordtype">void</span>·SetSize(size_type·size);</div> 
162 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="keywordtype">void</span>·Reserve(size_type·capacity);</div> 
163 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> 
164 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="keyword">private</span>:</div>165 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="keyword">private</span>:</div>
 166 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····SparseSelector()·:·_refine(0),·_selected(false)·{·}</div>
165 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····<span·class="comment">//··Non-copyable:</span></div> 
166 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····StackBuffer(<span·class="keyword">const</span>·StackBuffer&lt;TYPE,SIZE,POD_TYPE&gt;·&amp;)·{·}</div> 
167 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····StackBuffer&amp;·operator=(<span·class="keyword">const</span>·StackBuffer&lt;TYPE,SIZE,POD_TYPE&gt;·&amp;)·{·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div> 
Max diff block lines reached; 20993/48172 bytes (43.58%) of diff not shown.
10.4 KB
html2text {}
    
Offset 4, 18 lines modifiedOffset 4, 18 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 stackBuffer.h5 sparseSelector.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2015·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·in11 ·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·trade15 ·9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade
Offset 29, 233 lines modifiedOffset 29, 111 lines modified
29 ·17//29 ·17//
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·24#ifndef·OPENSUBDIV3_VTR_STACK_BUFFER_H36 ·24#ifndef·OPENSUBDIV3_VTR_SPARSE_SELECTOR_H
37 ·25#define·OPENSUBDIV3_VTR_STACK_BUFFER_H37 ·25#define·OPENSUBDIV3_VTR_SPARSE_SELECTOR_H
38 ·2638 ·26
39 ·27#include·"../version.h"39 ·27#include·"../version.h"
40 ·2840 ·28
41 ·29namespace·OpenSubdiv·{ 
42 ·30namespace·OPENSUBDIV_VERSION·{41 ·29#include·"../vtr/types.h"
 42 ·30#include·"../vtr/refinement.h"
43 ·3143 ·31
 44 ·32#include·<vector>
 45 ·33
 46 ·34namespace·OpenSubdiv·{
 47 ·35namespace·OPENSUBDIV_VERSION·{
 48 ·36
44 ·32namespace·Vtr·{49 ·37namespace·Vtr·{
45 ·33namespace·internal·{50 ·38namespace·internal·{
 51 ·39
46 ·34 
47 ·35// 
48 ·36//·The·StackBuffer·class·is·intended·solely·to·take·the·place·of·VLAs 
49 (Variable 
50 ·37//·Length·Arrays)·which·most·compilers·support,·but·are·not·strictly 
51 standard·C++. 
52 ·38//·Portability·concerns·forces·us·to·make·use·of·either·alloca()·or·some 
53 other 
54 ·39//·mechanism·to·create·small·arrays·on·the·stack·that·are·typically·based·on 
55 the 
56 ·40//·valence·of·a·vertex·--·small·in·general,·but·occasionally·large. 
57 ·41//52 ·40//
58 ·42//·Note·also·that·since·the·intent·of·this·is·to·replace·VLAs·--·not·general 
59 ·43//·std::vectors·--·support·for·std::vector·functionality·is·intentionally 
60 limited 
61 ·44//·and·STL-like·naming·is·avoided.·Like·a·VLA·there·is·no·incremental 
62 growth. 
63 ·45//·Support·for·resizing·is·available·to·reuse·an·instance·at·the·beginning 
64 of·a 
65 ·46//·loop·with·a·new·size,·but·resizing·in·this·case·reinitializes·all 
66 elements.53 ·41//·SparseSelector:
 54 ·42//·Class·supporting·"selection"·of·components·in·a·Level·for·sparse
 55 Refinement.
 56 ·43//·The·term·"selection"·here·implies·interest·in·the·limit·for·that
 57 component,·i.e.
 58 ·44//·the·limit·point·for·a·selected·vertex,·the·limit·patch·for·a·face,·etc.
 59 So·this
 60 ·45//·class·is·responsible·for·ensuring·that·all·neighboring·components
 61 required·to
 62 ·46//·support·the·limit·of·those·selected·are·included·in·the·refinement.
67 ·47//63 ·47//
68 ·48 
69 ·49template·<typename·TYPE,·unsigned·int·SIZE,·bool·POD_TYPE·=·false> 
70 ·50class·StackBuffer 
71 ·51{64 ·48//·This·class·is·associated·with·(and·constructed·given)·a·Refinement·and
 65 its·role
 66 ·49//·is·to·initialize·that·Refinement·instance·for·eventual·sparse·refinement.
 67 So·it
 68 ·50//·is·a·friend·of·and·expected·to·modify·the·Refinement·as·part·of·the
 69 selection.
 70 ·51//·Given·its·simplicity·and·scope·it·may·be·worth·nesting·it·in·Vtr::
 71 Refinement.
 72 ·52//
 73 ·53//·While·all·three·component·types·--·vertices,·edges·and·faces·--·can·be
 74 selected,
 75 ·54//·only·selection·of·faces·is·currently·used·and·actively·supported·as·part
 76 of·the
 77 ·55//·feature-adaptive·refinement.
 78 ·56//
 79 ·57class·SparseSelector·{
 80 ·58
72 ·52public:81 ·59public:
 82 ·60·SparseSelector(Refinement&·refine)·:·_refine(&refine),·_selected(false)·{·}
 83 ·61·~SparseSelector()·{·}
 84 ·62
 85 ·63·void·setRefinement(Refinement&·refine)·{·_refine·=·&refine;·}
 86 ·64·Refinement&·getRefinement()·const·{·return·*_refine;·}
 87 ·65
 88 ·66·bool·isSelectionEmpty()·const·{·return·!_selected;·}
 89 ·67
 90 ·68·//
 91 ·69·//·Methods·for·selecting·(and·marking)·components·for·refinement.·All
 92 component·indices
 93 ·70·//·refer·to·components·in·the·parent:
 94 ·71·//
 95 ·72·void·selectVertex(Index·pVertex);
 96 ·73·void·selectEdge(·Index·pEdge);
 97 ·74·void·selectFace(·Index·pFace);
 98 ·75
73 ·53·typedef·unsigned·int·size_type; 
74 ·54 
75 ·55public: 
76 ·56·//·Constructors·and·destructor·--·declared·inline·below: 
77 ·57·StackBuffer(); 
78 ·58·StackBuffer(size_type·size); 
79 ·59·~StackBuffer(); 
80 ·60 
81 ·61public: 
82 ·62·//·Note·the·reliance·on·implicit·casting·so·that·it·can·be·used·similar·to 
83 ·63·//·a·VLA.·This·removes·the·need·for·operator[]·as·the·resulting·TYPE*·will 
84 ·64·//·natively·support·[].·(The·presence·of·both·TYPE*·and·operator[]·also 
85 ·65·//·causes·an·ambiguous·overloading·error·with·32-bit·MSVC·builds.) 
86 ·66 
87 ·67·operator·TYPE·const·*·()·const·{·return·_data;·} 
Max diff block lines reached; 4065/10584 bytes (38.41%) of diff not shown.
1.13 KB
./usr/share/doc/opensubdiv/doxy_html/a00752.html
    
Offset 87, 15 lines modifiedOffset 87, 15 lines modified
87 ··<div·class="summary">87 ··<div·class="summary">
88 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">refinement.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">refinement.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
93 <code>#include·&quot;<a·class="el"·href="a01484_source.html">../sdc/types.h</a>&quot;</code><br·/>93 <code>#include·&quot;<a·class="el"·href="a01484_source.html">../sdc/types.h</a>&quot;</code><br·/>
94 <code>#include·&quot;<a·class="el"·href="a00770_source.html">../sdc/options.h</a>&quot;</code><br·/>94 <code>#include·&quot;<a·class="el"·href="a00890_source.html">../sdc/options.h</a>&quot;</code><br·/>
95 <code>#include·&quot;<a·class="el"·href="a01487_source.html">../vtr/types.h</a>&quot;</code><br·/>95 <code>#include·&quot;<a·class="el"·href="a01487_source.html">../vtr/types.h</a>&quot;</code><br·/>
96 <code>#include·&quot;<a·class="el"·href="a00755_source.html">../vtr/level.h</a>&quot;</code><br·/>96 <code>#include·&quot;<a·class="el"·href="a00755_source.html">../vtr/level.h</a>&quot;</code><br·/>
97 <code>#include·&lt;vector&gt;</code><br·/>97 <code>#include·&lt;vector&gt;</code><br·/>
98 </div>98 </div>
99 <p><a·href="a00752_source.html">Go·to·the·source·code·of·this·file.</a></p>99 <p><a·href="a00752_source.html">Go·to·the·source·code·of·this·file.</a></p>
100 <table·class="memberdecls">100 <table·class="memberdecls">
101 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>101 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
1.23 KB
./usr/share/doc/opensubdiv/doxy_html/a00755.html
    
Offset 87, 16 lines modifiedOffset 87, 16 lines modified
87 ··<div·class="summary">87 ··<div·class="summary">
88 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">level.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">level.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
93 <code>#include·&quot;<a·class="el"·href="a01484_source.html">../sdc/types.h</a>&quot;</code><br·/>93 <code>#include·&quot;<a·class="el"·href="a01484_source.html">../sdc/types.h</a>&quot;</code><br·/>
94 <code>#include·&quot;<a·class="el"·href="a00776_source.html">../sdc/crease.h</a>&quot;</code><br·/>94 <code>#include·&quot;<a·class="el"·href="a00896_source.html">../sdc/crease.h</a>&quot;</code><br·/>
95 <code>#include·&quot;<a·class="el"·href="a00770_source.html">../sdc/options.h</a>&quot;</code><br·/>95 <code>#include·&quot;<a·class="el"·href="a00890_source.html">../sdc/options.h</a>&quot;</code><br·/>
96 <code>#include·&quot;<a·class="el"·href="a01487_source.html">../vtr/types.h</a>&quot;</code><br·/>96 <code>#include·&quot;<a·class="el"·href="a01487_source.html">../vtr/types.h</a>&quot;</code><br·/>
97 <code>#include·&lt;algorithm&gt;</code><br·/>97 <code>#include·&lt;algorithm&gt;</code><br·/>
98 <code>#include·&lt;vector&gt;</code><br·/>98 <code>#include·&lt;vector&gt;</code><br·/>
99 <code>#include·&lt;cassert&gt;</code><br·/>99 <code>#include·&lt;cassert&gt;</code><br·/>
100 <code>#include·&lt;cstring&gt;</code><br·/>100 <code>#include·&lt;cstring&gt;</code><br·/>
101 </div>101 </div>
102 <p><a·href="a00755_source.html">Go·to·the·source·code·of·this·file.</a></p>102 <p><a·href="a00755_source.html">Go·to·the·source·code·of·this·file.</a></p>
3.79 KB
./usr/share/doc/opensubdiv/doxy_html/a00755_source.html
    
Offset 969, 15 lines modifiedOffset 969, 15 lines modified
969 <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>969 <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>
970 <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&lt;·LocalIndex·&gt;·ConstLocalIndexArray</div><div·class="ttdef"><b>Definition:</b>·<a·href="a01487_source.html#l00083">types.h:83</a></div></div>970 <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&lt;·LocalIndex·&gt;·ConstLocalIndexArray</div><div·class="ttdef"><b>Definition:</b>·<a·href="a01487_source.html#l00083">types.h:83</a></div></div>
971 <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&lt;·LocalIndex·&gt;·LocalIndexArray</div><div·class="ttdef"><b>Definition:</b>·<a·href="a01487_source.html#l00082">types.h:82</a></div></div>971 <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&lt;·LocalIndex·&gt;·LocalIndexArray</div><div·class="ttdef"><b>Definition:</b>·<a·href="a01487_source.html#l00082">types.h:82</a></div></div>
972 <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="a01487_source.html#l00054">types.h:54</a></div></div>972 <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="a01487_source.html#l00054">types.h:54</a></div></div>
973 <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&lt;·Index·&gt;·ConstIndexArray</div><div·class="ttdef"><b>Definition:</b>·<a·href="a01487_source.html#l00080">types.h:80</a></div></div>973 <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&lt;·Index·&gt;·ConstIndexArray</div><div·class="ttdef"><b>Definition:</b>·<a·href="a01487_source.html#l00080">types.h:80</a></div></div>
974 <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="a01487_source.html#l00066">types.h:66</a></div></div>974 <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="a01487_source.html#l00066">types.h:66</a></div></div>
975 <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&lt;·Index·&gt;·IndexArray</div><div·class="ttdef"><b>Definition:</b>·<a·href="a01487_source.html#l00079">types.h:79</a></div></div>975 <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&lt;·Index·&gt;·IndexArray</div><div·class="ttdef"><b>Definition:</b>·<a·href="a01487_source.html#l00079">types.h:79</a></div></div>
976 <div·class="ttc"·id="aa01325_html_a11fcd51ef86118f65e603c1474377a78"><div·class="ttname"><a·href="a01325.html#a11fcd51ef86118f65e603c1474377a78">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease::Rule</a></div><div·class="ttdeci">Rule</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00776_source.html#l00082">crease.h:82</a></div></div>976 <div·class="ttc"·id="aa01325_html_a11fcd51ef86118f65e603c1474377a78"><div·class="ttname"><a·href="a01325.html#a11fcd51ef86118f65e603c1474377a78">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease::Rule</a></div><div·class="ttdeci">Rule</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00896_source.html#l00082">crease.h:82</a></div></div>
977 </div><!--·fragment·--></div><!--·contents·-->977 </div><!--·fragment·--></div><!--·contents·-->
978 </div><!--·doc-content·-->978 </div><!--·doc-content·-->
979 <!--·start·footer·part·-->979 <!--·start·footer·part·-->
980 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->980 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
981 ··<ul>981 ··<ul>
982 ····<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>982 ····<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>
983 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>983 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
1.13 KB
./usr/share/doc/opensubdiv/doxy_html/a00758.html
    
Offset 87, 15 lines modifiedOffset 87, 15 lines modified
87 ··<div·class="summary">87 ··<div·class="summary">
88 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">fvarRefinement.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">fvarRefinement.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
93 <code>#include·&quot;<a·class="el"·href="a01484_source.html">../sdc/types.h</a>&quot;</code><br·/>93 <code>#include·&quot;<a·class="el"·href="a01484_source.html">../sdc/types.h</a>&quot;</code><br·/>
94 <code>#include·&quot;<a·class="el"·href="a00776_source.html">../sdc/crease.h</a>&quot;</code><br·/>94 <code>#include·&quot;<a·class="el"·href="a00896_source.html">../sdc/crease.h</a>&quot;</code><br·/>
95 <code>#include·&quot;<a·class="el"·href="a01487_source.html">../vtr/types.h</a>&quot;</code><br·/>95 <code>#include·&quot;<a·class="el"·href="a01487_source.html">../vtr/types.h</a>&quot;</code><br·/>
96 <code>#include·&quot;<a·class="el"·href="a00752_source.html">../vtr/refinement.h</a>&quot;</code><br·/>96 <code>#include·&quot;<a·class="el"·href="a00752_source.html">../vtr/refinement.h</a>&quot;</code><br·/>
97 <code>#include·&quot;<a·class="el"·href="a00761_source.html">../vtr/fvarLevel.h</a>&quot;</code><br·/>97 <code>#include·&quot;<a·class="el"·href="a00761_source.html">../vtr/fvarLevel.h</a>&quot;</code><br·/>
98 <code>#include·&lt;vector&gt;</code><br·/>98 <code>#include·&lt;vector&gt;</code><br·/>
99 <code>#include·&lt;cassert&gt;</code><br·/>99 <code>#include·&lt;cassert&gt;</code><br·/>
100 <code>#include·&lt;cstring&gt;</code><br·/>100 <code>#include·&lt;cstring&gt;</code><br·/>
101 </div>101 </div>
1.29 KB
./usr/share/doc/opensubdiv/doxy_html/a00761.html
    
Offset 87, 16 lines modifiedOffset 87, 16 lines modified
87 ··<div·class="summary">87 ··<div·class="summary">
88 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">fvarLevel.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">fvarLevel.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
93 <code>#include·&quot;<a·class="el"·href="a01484_source.html">../sdc/types.h</a>&quot;</code><br·/>93 <code>#include·&quot;<a·class="el"·href="a01484_source.html">../sdc/types.h</a>&quot;</code><br·/>
94 <code>#include·&quot;<a·class="el"·href="a00776_source.html">../sdc/crease.h</a>&quot;</code><br·/>94 <code>#include·&quot;<a·class="el"·href="a00896_source.html">../sdc/crease.h</a>&quot;</code><br·/>
95 <code>#include·&quot;<a·class="el"·href="a00770_source.html">../sdc/options.h</a>&quot;</code><br·/>95 <code>#include·&quot;<a·class="el"·href="a00890_source.html">../sdc/options.h</a>&quot;</code><br·/>
96 <code>#include·&quot;<a·class="el"·href="a01487_source.html">../vtr/types.h</a>&quot;</code><br·/>96 <code>#include·&quot;<a·class="el"·href="a01487_source.html">../vtr/types.h</a>&quot;</code><br·/>
97 <code>#include·&quot;<a·class="el"·href="a00755_source.html">../vtr/level.h</a>&quot;</code><br·/>97 <code>#include·&quot;<a·class="el"·href="a00755_source.html">../vtr/level.h</a>&quot;</code><br·/>
98 <code>#include·&lt;vector&gt;</code><br·/>98 <code>#include·&lt;vector&gt;</code><br·/>
99 <code>#include·&lt;cassert&gt;</code><br·/>99 <code>#include·&lt;cassert&gt;</code><br·/>
100 <code>#include·&lt;cstring&gt;</code><br·/>100 <code>#include·&lt;cstring&gt;</code><br·/>
101 </div>101 </div>
102 <p><a·href="a00761_source.html">Go·to·the·source·code·of·this·file.</a></p>102 <p><a·href="a00761_source.html">Go·to·the·source·code·of·this·file.</a></p>
4.77 KB
./usr/share/doc/opensubdiv/doxy_html/a00761_source.html
    
Offset 529, 16 lines modifiedOffset 529, 16 lines modified
529 <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>529 <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>
530 <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&lt;·LocalIndex·&gt;·ConstLocalIndexArray</div><div·class="ttdef"><b>Definition:</b>·<a·href="a01487_source.html#l00083">types.h:83</a></div></div>530 <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&lt;·LocalIndex·&gt;·ConstLocalIndexArray</div><div·class="ttdef"><b>Definition:</b>·<a·href="a01487_source.html#l00083">types.h:83</a></div></div>
531 <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&lt;·LocalIndex·&gt;·LocalIndexArray</div><div·class="ttdef"><b>Definition:</b>·<a·href="a01487_source.html#l00082">types.h:82</a></div></div>531 <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&lt;·LocalIndex·&gt;·LocalIndexArray</div><div·class="ttdef"><b>Definition:</b>·<a·href="a01487_source.html#l00082">types.h:82</a></div></div>
532 <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="a01487_source.html#l00054">types.h:54</a></div></div>532 <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="a01487_source.html#l00054">types.h:54</a></div></div>
533 <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&lt;·Index·&gt;·ConstIndexArray</div><div·class="ttdef"><b>Definition:</b>·<a·href="a01487_source.html#l00080">types.h:80</a></div></div>533 <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&lt;·Index·&gt;·ConstIndexArray</div><div·class="ttdef"><b>Definition:</b>·<a·href="a01487_source.html#l00080">types.h:80</a></div></div>
534 <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="a01487_source.html#l00066">types.h:66</a></div></div>534 <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="a01487_source.html#l00066">types.h:66</a></div></div>
535 <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&lt;·Index·&gt;·IndexArray</div><div·class="ttdef"><b>Definition:</b>·<a·href="a01487_source.html#l00079">types.h:79</a></div></div>535 <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&lt;·Index·&gt;·IndexArray</div><div·class="ttdef"><b>Definition:</b>·<a·href="a01487_source.html#l00079">types.h:79</a></div></div>
536 <div·class="ttc"·id="aa01325_html_a11fcd51ef86118f65e603c1474377a78a27ed0595212af48db763e461bfdc29ef"><div·class="ttname"><a·href="a01325.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="a00776_source.html#l00088">crease.h:87</a></div></div>536 <div·class="ttc"·id="aa01325_html_a11fcd51ef86118f65e603c1474377a78a27ed0595212af48db763e461bfdc29ef"><div·class="ttname"><a·href="a01325.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="a00896_source.html#l00088">crease.h:87</a></div></div>
537 <div·class="ttc"·id="aa01325_html_a11fcd51ef86118f65e603c1474377a78a966fa1ae8aeb8587c498cf6a92cc3335"><div·class="ttname"><a·href="a01325.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="a00776_source.html#l00086">crease.h:86</a></div></div>537 <div·class="ttc"·id="aa01325_html_a11fcd51ef86118f65e603c1474377a78a966fa1ae8aeb8587c498cf6a92cc3335"><div·class="ttname"><a·href="a01325.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="a00896_source.html#l00086">crease.h:86</a></div></div>
538 </div><!--·fragment·--></div><!--·contents·-->538 </div><!--·fragment·--></div><!--·contents·-->
539 </div><!--·doc-content·-->539 </div><!--·doc-content·-->
540 <!--·start·footer·part·-->540 <!--·start·footer·part·-->
541 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->541 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
542 ··<ul>542 ··<ul>
543 ····<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>543 ····<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>
544 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>544 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
1.47 KB
./usr/share/doc/opensubdiv/doxy_html/a00764.html
    
Offset 87, 17 lines modifiedOffset 87, 17 lines modified
87 ··<div·class="summary">87 ··<div·class="summary">
88 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">componentInterfaces.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">componentInterfaces.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
93 <code>#include·&quot;<a·class="el"·href="a01484_source.html">../sdc/types.h</a>&quot;</code><br·/>93 <code>#include·&quot;<a·class="el"·href="a01484_source.html">../sdc/types.h</a>&quot;</code><br·/>
94 <code>#include·&quot;<a·class="el"·href="a00776_source.html">../sdc/crease.h</a>&quot;</code><br·/>94 <code>#include·&quot;<a·class="el"·href="a00896_source.html">../sdc/crease.h</a>&quot;</code><br·/>
95 <code>#include·&quot;<a·class="el"·href="a01487_source.html">../vtr/types.h</a>&quot;</code><br·/>95 <code>#include·&quot;<a·class="el"·href="a01487_source.html">../vtr/types.h</a>&quot;</code><br·/>
96 <code>#include·&quot;<a·class="el"·href="a00749_source.html">../vtr/stackBuffer.h</a>&quot;</code><br·/>96 <code>#include·&quot;<a·class="el"·href="a00746_source.html">../vtr/stackBuffer.h</a>&quot;</code><br·/>
97 <code>#include·&lt;vector&gt;</code><br·/>97 <code>#include·&lt;vector&gt;</code><br·/>
98 </div>98 </div>
99 <p><a·href="a00764_source.html">Go·to·the·source·code·of·this·file.</a></p>99 <p><a·href="a00764_source.html">Go·to·the·source·code·of·this·file.</a></p>
100 <table·class="memberdecls">100 <table·class="memberdecls">
101 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>101 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
102 Namespaces</h2></td></tr>102 Namespaces</h2></td></tr>
103 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>103 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>
6.09 KB
./usr/share/doc/opensubdiv/doxy_html/a00770.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/options.h·File·Reference</title>8 <title>OpenSubdiv:·opensubdiv/osd/cudaPatchTable.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 83, 40 lines modifiedOffset 83, 45 lines modified
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124;87 <a·href="#nested-classes">Classes</a>·&#124;
88 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">options.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">cudaPatchTable.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
 93 <code>#include·&quot;../osd/nonCopyable.h&quot;</code><br·/>
 94 <code>#include·&quot;<a·class="el"·href="a01481_source.html">../osd/types.h</a>&quot;</code><br·/>
 95 <code>#include·&lt;vector&gt;</code><br·/>
93 </div>96 </div>
94 <p><a·href="a00770_source.html">Go·to·the·source·code·of·this·file.</a></p>97 <p><a·href="a00770_source.html">Go·to·the·source·code·of·this·file.</a></p>
95 <table·class="memberdecls">98 <table·class="memberdecls">
96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
97 Classes</h2></td></tr>100 Classes</h2></td></tr>
98 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01329.html">Options</a></td></tr>101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01181.html">CudaPatchTable</a></td></tr>
99 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">All·supported·options·applying·to·subdivision·scheme.··<a·href="a01329.html#details">More...</a><br·/></td></tr>102 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">CUDA·patch·table.··<a·href="a01181.html#details">More...</a><br·/></td></tr>
100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 </table><table·class="memberdecls">104 </table><table·class="memberdecls">
102 <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>
103 Namespaces</h2></td></tr>106 Namespaces</h2></td></tr>
104 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>107 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>109 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>
107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 111 <tr·class="memitem:a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr>
 112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
108 <tr·class="memitem:a00913"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00913.html">OpenSubdiv::OPENSUBDIV_VERSION::Sdc</a></td></tr>113 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>
109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
110 </table>115 </table>
111 </div><!--·contents·-->116 </div><!--·contents·-->
112 </div><!--·doc-content·-->117 </div><!--·doc-content·-->
113 <!--·start·footer·part·-->118 <!--·start·footer·part·-->
114 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->119 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
115 ··<ul>120 ··<ul>
116 ····<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="a00770.html">options.h</a></li>121 ····<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="a00770.html">cudaPatchTable.h</a></li>
117 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>122 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
118 ··</ul>123 ··</ul>
119 </div>124 </div>
120 </body>125 </body>
121 </html>126 </html>
844 B
html2text {}
    
Offset 5, 25 lines modifiedOffset 5, 30 lines modified
  
  
  
5 [Logo]·OpenSubdiv5 [Logo]·OpenSubdiv
  
  
6 Classes·|·Namespaces6 Classes·|·Namespaces
7 options.h·File·Reference7 cudaPatchTable.h·File·Reference
8 #include·"../version.h"8 #include·"../version.h"
 9 #include·"../osd/nonCopyable.h"
 10 #include·"../osd/types.h"
 11 #include·<vector>
9 Go_to_the_source_code_of_this_file.12 Go_to_the_source_code_of_this_file.
10 ·Classes13 ·Classes
11 class· Options 
12  ······All·supported·options·applying·to·subdivision·scheme.·More...14 class· CudaPatchTable
 15  ······CUDA·patch·table.·More...
13  16  
14 ·Namespaces17 ·Namespaces
15 namespace· OpenSubdiv18 namespace· OpenSubdiv
16  19  
17 namespace· OpenSubdiv::OPENSUBDIV_VERSION20 namespace· OpenSubdiv::OPENSUBDIV_VERSION
18  21  
 22 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Far
 23  
19 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Sdc24 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd
20  25  
21 ····*·opensubdiv26 ····*·opensubdiv
22 ····*·sdc27 ····*·osd
23 ····*·options.h28 ····*·cudaPatchTable.h
24 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.429 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
247 B
./usr/share/doc/opensubdiv/doxy_html/a00770.js
155 B
js-beautify {}
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 var·a00770·=·[1 var·a00770·=·[
2 ····["Options",·"a01329.html",·"a01329"]2 ····["CudaPatchTable",·"a01181.html",·"a01181"]
3 ];3 ];
71.4 KB
./usr/share/doc/opensubdiv/doxy_html/a00770_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/options.h·Source·File</title>8 <title>OpenSubdiv:·opensubdiv/osd/cudaPatchTable.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 80, 19 lines modifiedOffset 80, 19 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">options.h</div></div>86 ··<div·class="headertitle"><div·class="title">cudaPatchTable.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <a·href="a00770.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>89 <a·href="a00770.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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·DreamWorks·Animation·LLC.</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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>
94 <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>94 <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>
95 <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>95 <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>
96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>
97 <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>97 <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 106, 125 lines modifiedOffset 106, 120 lines modified
106 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div>106 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div>
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_SDC_OPTIONS_H</span></div> 
114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·OPENSUBDIV3_SDC_OPTIONS_H</span></div> 
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
 114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_CUDA_PATCH_TABLE_H</span></div>
 115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_CUDA_PATCH_TABLE_H</span></div>
 116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
 119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../osd/nonCopyable.h&quot;</span></div>
 120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;../osd/types.h&quot;</span></div>
 121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
 122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
 123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div>124 <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>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
 127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">namespace·</span>Far{</div>
 128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keyword">class·</span>PatchTable;</div>
 129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>};</div>
 130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">namespace·</span>Sdc·{</div>131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">namespace·</span>Osd·{</div>
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
123 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> 
124 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01329.html">···51</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01329.html">Options</a>·{</div>133 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01181.html">···51</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01181.html">CudaPatchTable</a>·:·<span·class="keyword">private</span>·NonCopyable&lt;CudaPatchTable&gt;·{</div>
125 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">public</span>:</div>134 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">public</span>:</div>
 135 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01181.html#a32a8745ae6ebb1fe7c6b0b9f6c3c0eae">···54</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01181.html">CudaPatchTable</a>·*<a·class="code·hl_function"·href="a01181.html#a32a8745ae6ebb1fe7c6b0b9f6c3c0eae">Create</a>(<a·class="code·hl_class"·href="a00993.html">Far::PatchTable</a>·<span·class="keyword">const</span>·*patchTable,</div>
 136 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··································<span·class="keywordtype">void</span>·*deviceContext·=·NULL);</div>
 137 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01181.html#a77236fdbdacca3f2e8e21c4be8ca0bf6">···57</a></span>····<a·class="code·hl_function"·href="a01181.html#a77236fdbdacca3f2e8e21c4be8ca0bf6">~CudaPatchTable</a>();</div>
 138 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
 139 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01181.html#a7e3a54d16295a2557cf0e63cb223a2db">···60</a></span>····<span·class="keywordtype">void</span>·*<a·class="code·hl_function"·href="a01181.html#a7e3a54d16295a2557cf0e63cb223a2db">GetPatchArrayBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01181.html#ab051492a1c9d697cdbb351fd09300659">_patchArrays</a>;·}</div>
 140 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>
 141 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01181.html#aa14d12be64d8e84f6303a9803e73b71d">···63</a></span>····<span·class="keywordtype">void</span>·*<a·class="code·hl_function"·href="a01181.html#aa14d12be64d8e84f6303a9803e73b71d">GetPatchIndexBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01181.html#aff9fed47b172665795e7b46f4713cb39">_indexBuffer</a>;·}</div>
 142 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>
 143 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01181.html#ab9e6dd4a1062dc6560e306db28f31a67">···66</a></span>····<span·class="keywordtype">void</span>·*<a·class="code·hl_function"·href="a01181.html#ab9e6dd4a1062dc6560e306db28f31a67">GetPatchParamBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01181.html#afec3f4b40a8f9b6e6ed2715a774d959a">_patchParamBuffer</a>;·}</div>
 144 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>
 145 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01181.html#a54e86fe3c2d4863e344fd9be2a8141c9">···69</a></span>····<span·class="keywordtype">void</span>·*<a·class="code·hl_function"·href="a01181.html#a54e86fe3c2d4863e344fd9be2a8141c9">GetVaryingPatchArrayBuffer</a>()<span·class="keyword">·const·</span>{</div>
 146 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01181.html#a372ca54f02d574dc4a20aa2f35277a1d">_varyingPatchArrays</a>;</div>
 147 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····}</div>
 148 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01181.html#a486517cc7e9296c01072ccd51f77da27">···73</a></span>····<span·class="keywordtype">void</span>·*<a·class="code·hl_function"·href="a01181.html#a486517cc7e9296c01072ccd51f77da27">GetVaryingPatchIndexBuffer</a>()<span·class="keyword">·const·</span>{</div>
 149 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01181.html#a732aefa1f4a2701e2a19c828be76b7d0">_varyingIndexBuffer</a>;</div>
 150 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····}</div>
126 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01329.html#acbf78f1a6abfc8db080ef7fb3c3f417e">···53</a></span>····<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a01329.html#acbf78f1a6abfc8db080ef7fb3c3f417e">VtxBoundaryInterpolation</a>·{</div> 
127 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>········<a·class="code·hl_enumvalue"·href="a01329.html#acbf78f1a6abfc8db080ef7fb3c3f417ea5d15ed470f1f0ecce0549282de54a3ba">VTX_BOUNDARY_NONE</a>·=·0,········</div> 
128 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01329.html#acbf78f1a6abfc8db080ef7fb3c3f417ea9240987283549b42eeb262f088b68fdf">···56</a></span>········<a·class="code·hl_enumvalue"·href="a01329.html#acbf78f1a6abfc8db080ef7fb3c3f417ea9240987283549b42eeb262f088b68fdf">VTX_BOUNDARY_EDGE_ONLY</a>,·······</div> 
129 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········<a·class="code·hl_enumvalue"·href="a01329.html#acbf78f1a6abfc8db080ef7fb3c3f417eac6e5f52f358d3b6d62cc2b708a5a8757">VTX_BOUNDARY_EDGE_AND_CORNER</a>··</div> 
130 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01329.html#acbf78f1a6abfc8db080ef7fb3c3f417eac6e5f52f358d3b6d62cc2b708a5a8757">···59</a></span>····};</div> 
131 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01329.html#a5b87eaca6ca0833462c9d4ad84df167b">···60</a></span>····<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a01329.html#a5b87eaca6ca0833462c9d4ad84df167b">FVarLinearInterpolation</a>·{</div> 
132 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01329.html#a5b87eaca6ca0833462c9d4ad84df167bac91a565721cd973b4d3cd3c697dda50f">···61</a></span>········<a·class="code·hl_enumvalue"·href="a01329.html#a5b87eaca6ca0833462c9d4ad84df167bac91a565721cd973b4d3cd3c697dda50f">FVAR_LINEAR_NONE</a>·=·0,·········</div> 
133 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01329.html#a5b87eaca6ca0833462c9d4ad84df167ba2d0edb4dd10e355f8089b4a7ab1d1d72">···62</a></span>········<a·class="code·hl_enumvalue"·href="a01329.html#a5b87eaca6ca0833462c9d4ad84df167ba2d0edb4dd10e355f8089b4a7ab1d1d72">FVAR_LINEAR_CORNERS_ONLY</a>,·····</div> 
134 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01329.html#a5b87eaca6ca0833462c9d4ad84df167ba79d654b94893314766a372c630f142c6">···63</a></span>········<a·class="code·hl_enumvalue"·href="a01329.html#a5b87eaca6ca0833462c9d4ad84df167ba79d654b94893314766a372c630f142c6">FVAR_LINEAR_CORNERS_PLUS1</a>,····</div> 
135 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01329.html#a5b87eaca6ca0833462c9d4ad84df167ba6c323349983f89298e3ae7e06b9cdef6">···64</a></span>········<a·class="code·hl_enumvalue"·href="a01329.html#a5b87eaca6ca0833462c9d4ad84df167ba6c323349983f89298e3ae7e06b9cdef6">FVAR_LINEAR_CORNERS_PLUS2</a>,····</div> 
136 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01329.html#a5b87eaca6ca0833462c9d4ad84df167ba60007144d7e8d50ed9f907badecf8ea1">···65</a></span>········<a·class="code·hl_enumvalue"·href="a01329.html#a5b87eaca6ca0833462c9d4ad84df167ba60007144d7e8d50ed9f907badecf8ea1">FVAR_LINEAR_BOUNDARIES</a>,·······</div> 
137 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>········<a·class="code·hl_enumvalue"·href="a01329.html#a5b87eaca6ca0833462c9d4ad84df167ba8d4df083104973fad1479109988e0387">FVAR_LINEAR_ALL</a>···············</div> 
138 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01329.html#a5b87eaca6ca0833462c9d4ad84df167ba8d4df083104973fad1479109988e0387">···67</a></span>····};</div> 
139 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01329.html#a16ec522dc0398bf1435a912cd669ffb0">···68</a></span>····<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a01329.html#a16ec522dc0398bf1435a912cd669ffb0">CreasingMethod</a>·{</div> 
140 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01329.html#a16ec522dc0398bf1435a912cd669ffb0a10f2956db48d2975424be2e52ebd544d">···69</a></span>········<a·class="code·hl_enumvalue"·href="a01329.html#a16ec522dc0398bf1435a912cd669ffb0a10f2956db48d2975424be2e52ebd544d">CREASE_UNIFORM</a>·=·0,···········</div> 
141 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>········<a·class="code·hl_enumvalue"·href="a01329.html#a16ec522dc0398bf1435a912cd669ffb0a1e31a583663dd65a7b2feffeb24268b5">CREASE_CHAIKIN</a>················</div> 
142 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01329.html#a16ec522dc0398bf1435a912cd669ffb0a1e31a583663dd65a7b2feffeb24268b5">···71</a></span>····};</div> 
143 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01329.html#a10fe8c2b78e5c59377614876a362c38b">···72</a></span>····<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a01329.html#a10fe8c2b78e5c59377614876a362c38b">TriangleSubdivision</a>·{</div> 
144 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01329.html#a10fe8c2b78e5c59377614876a362c38ba2dd7b5ddb5288776e48d86049e56e730">···73</a></span>········<a·class="code·hl_enumvalue"·href="a01329.html#a10fe8c2b78e5c59377614876a362c38ba2dd7b5ddb5288776e48d86049e56e730">TRI_SUB_CATMARK</a>·=·0,··········</div> 
145 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>········<a·class="code·hl_enumvalue"·href="a01329.html#a10fe8c2b78e5c59377614876a362c38baf222ead5fa4875f2ea2794c2d765a87d">TRI_SUB_SMOOTH</a>················</div> 
146 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01329.html#a10fe8c2b78e5c59377614876a362c38baf222ead5fa4875f2ea2794c2d765a87d">···75</a></span>····};</div> 
147 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>151 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>
148 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="keyword">public</span>:</div>152 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01181.html#aa9be824a572029f3ec1e0c0d6cfecd77">···78</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01181.html#aa9be824a572029f3ec1e0c0d6cfecd77">GetNumF[·...·truncated·by·diffoscope;·len:·244,·SHA:·a270b1a84749f5974b694261f8bb1cee07c1e9dc5025731abb00ec373ce5ad20·...·]</div>
149 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>153 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>
 154 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01181.html#a04c544025f2690d1a4973b6ff5273646">···81</a></span>····<span·class="keywordtype">void</span>·*<a·class="code·hl_function"·href="a01181.html#a04c544025f2690d1a4973b6ff5273646">GetFVarPatchArrayBuffer</a>(<span·class="keywordtype">int</span>·fvarChannel)<span·class="keyword">·const·</span>{</div>
 155 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01181.html#a9ae3024459ccecb8a33ef3af5f27130a">_fvarPatchArrays</a>[fvarChannel];</div>
150 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01329.html#a28d39a844c3a37ab61d32ab7c6352f09">···79</a></span>····<a·class="code·hl_function"·href="a01329.html#a28d39a844c3a37ab61d32ab7c6352f09">Options</a>()·:·_vtxBoundInterp(<a·class="code·hl_enumvalue"·href="a01329.html#acbf78f1a6abfc8db080ef7fb3c3f417ea5d15ed470f1f0ecce0549282de54a3ba">VTX_BOUNDARY_NONE</a>),</div> 
151 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>················_fvarLinInterp(<a·class="code·hl_enumvalue"·href="a01329.html#a5b87eaca6ca0833462c9d4ad84df167ba8d4df083104973fad1479109988e0387">FVAR_LINEAR_ALL</a>),</div> 
152 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>················_creasingMethod(<a·class="code·hl_enumvalue"·href="a01329.html#a16ec522dc0398bf1435a912cd669ffb0a10f2956db48d2975424be2e52ebd544d">CREASE_UNIFORM</a>),</div> 
153 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>················_triangleSub(<a·class="code·hl_enumvalue"·href="a01329.html#a10fe8c2b78e5c59377614876a362c38ba2dd7b5ddb5288776e48d86049e56e730">TRI_SUB_CATMARK</a>)·{·}</div> 
154 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>156 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····}</div>
155 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="comment">//</span></div> 
156 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····<span·class="comment">//··Trivial·get/set·methods:</span></div> 
157 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="comment">//</span></div> 
158 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>157 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
159 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a01329.html#a590338ee8b544306b970a0c1445cd01f">···89</a></span>····<a·class="code·hl_enumeration"·href="a01329.html#acbf78f1a6abfc8db080ef7fb3c3f417e">VtxBoundaryInterpolation</a>·<a·class="co[·...·truncated·by·diffoscope;·len:·313,·SHA:·10cac0b1c3f3f981990d8c32d47114f628c2c166e5c4628a8fb0c760f78031da·...·]</div>158 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01181.html#abdb11e2609df00620abd8c081c3b13be">···86</a></span>····<span·class="keywordtype">void</span>·*<a·class="code·hl_function"·href="a01181.html#abdb11e2609df00620abd8c081c3b13be">GetFV[·...·truncated·by·diffoscope;·len:·113,·SHA:·68aea39460a272ab2305b85f78dc3b0087ad2e1e689bf7b20b7a49435ab77a49·...·]</div>
 159 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01181.html#a4fd7bd0ad86a18e26331e88d278450d9">_fvarIndexBuffers</a>[fvarChannel];</div>
 160 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····}</div>
160 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>161 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>
161 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01329.html#a70997d63dc747e55154e2ab4b4354141">···92</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01329.html#a70997d63dc747e55154e2ab4b4354141">SetVtx[·...·truncated·by·diffoscope;·len:·180,·SHA:·8128b16b8ba1a8b3fc6a63f2f463d68219b49eacd29eb7b3ac7948937d196900·...·]</div>162 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a01181.html#adb0788b75a061fc9b650d75bf691f1d8">···91</a></span>····<span·class="keywordtype">void</span>·*<a·class="code·hl_function"·href="a01181.html#adb0788b75a061fc9b650d75bf691f1d8">GetFV[·...·truncated·by·diffoscope;·len:·113,·SHA:·e024da79bfcf4bc3b1b79a914502b3caffa3493b9137b29c6f4ddc188777e7ae·...·]</div>
 163 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01181.html#a24f6a6d8efcff60c81c635786f88e951">_fvarParamBuffers</a>[fvarChannel];</div>
162 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div>164 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····}</div>
163 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a01329.html#acab24306782f101827103b87bbe4b8dd">···95</a></span>····<a·class="code·hl_enumeration"·href="a01329.html#a5b87eaca6ca0833462c9d4ad84df167b">FVarLinearInterpolation</a>·<a·class="code·hl_function"·href="a01329.html#acab24306782f101827103b87bbe4b8dd">GetFVarLinearInterpolation</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·(<a·class="code·hl_enumeration"·href="a01329.html#a5b87eaca6ca0833462c9d4ad84df167b">FVarLinearInterpolation</a>)·_fvarLinInterp;·}</div> 
Max diff block lines reached; 31544/59636 bytes (52.89%) of diff not shown.
13.1 KB
html2text {}
    
Offset 4, 18 lines modifiedOffset 4, 18 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 options.h5 cudaPatchTable.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2014·DreamWorks·Animation·LLC.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·in11 ·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·trade15 ·9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade
Offset 29, 200 lines modifiedOffset 29, 168 lines modified
29 ·17//29 ·17//
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·24#ifndef·OPENSUBDIV3_SDC_OPTIONS_H 
37 ·25#define·OPENSUBDIV3_SDC_OPTIONS_H 
38 ·2636 ·24
 37 ·25#ifndef·OPENSUBDIV3_OSD_CUDA_PATCH_TABLE_H
 38 ·26#define·OPENSUBDIV3_OSD_CUDA_PATCH_TABLE_H
 39 ·27
39 ·27#include·"../version.h"40 ·28#include·"../version.h"
40 ·2841 ·29
 42 ·30#include·"../osd/nonCopyable.h"
 43 ·31#include·"../osd/types.h"
 44 ·32
 45 ·33#include·<vector>
 46 ·34
41 ·29namespace·OpenSubdiv·{47 ·35namespace·OpenSubdiv·{
42 ·30namespace·OPENSUBDIV_VERSION·{48 ·36namespace·OPENSUBDIV_VERSION·{
43 ·3149 ·37
 50 ·38namespace·Far{
 51 ·39·class·PatchTable;
 52 ·40};
 53 ·41
44 ·32namespace·Sdc·{54 ·42namespace·Osd·{
 55 ·43
 56 51class·CudaPatchTable·:·private·NonCopyable<CudaPatchTable>·{
45 ·33 
46 ·50 
47 51class·Options·{ 
48 ·52public:57 ·52public:
 58 54·static·CudaPatchTable·*Create(Far::PatchTable·const·*patchTable,
 59 ·55·void·*deviceContext·=·NULL);
 60 57·~CudaPatchTable();
 61 ·58
 62 60·void·*GetPatchArrayBuffer()·const·{·return·_patchArrays;·}
 63 ·61
 64 63·void·*GetPatchIndexBuffer()·const·{·return·_indexBuffer;·}
 65 ·64
 66 66·void·*GetPatchParamBuffer()·const·{·return·_patchParamBuffer;·}
 67 ·67
 68 69·void·*GetVaryingPatchArrayBuffer()·const·{
 69 ·70·return·_varyingPatchArrays;
49 53·enum·VtxBoundaryInterpolation·{ 
50 ·54·VTX_BOUNDARY_NONE·=·0, 
51 56·VTX_BOUNDARY_EDGE_ONLY, 
52 ·57·VTX_BOUNDARY_EDGE_AND_CORNER 
53 59·}; 
54 60·enum·FVarLinearInterpolation·{ 
55 61·FVAR_LINEAR_NONE·=·0, 
56 62·FVAR_LINEAR_CORNERS_ONLY, 
57 63·FVAR_LINEAR_CORNERS_PLUS1, 
58 64·FVAR_LINEAR_CORNERS_PLUS2, 
59 65·FVAR_LINEAR_BOUNDARIES, 
60 ·66·FVAR_LINEAR_ALL 
61 67·}; 
62 68·enum·CreasingMethod·{ 
63 69·CREASE_UNIFORM·=·0, 
64 ·70·CREASE_CHAIKIN 
65 71·};70 ·71·}
 71 73·void·*GetVaryingPatchIndexBuffer()·const·{
 72 ·74·return·_varyingIndexBuffer;
66 72·enum·TriangleSubdivision·{ 
67 73·TRI_SUB_CATMARK·=·0, 
68 ·74·TRI_SUB_SMOOTH 
69 75·};73 ·75·}
70 ·7674 ·76
 75 78·int·GetNumFVarChannels()·const·{·return·(int)_fvarPatchArrays.size();·}
 76 ·79
 77 81·void·*GetFVarPatchArrayBuffer(int·fvarChannel)·const·{
 78 ·82·return·_fvarPatchArrays[fvarChannel];
71 ·77public: 
72 ·78 
73 79·Options()·:·_vtxBoundInterp(VTX_BOUNDARY_NONE), 
74 ·80·_fvarLinInterp(FVAR_LINEAR_ALL), 
75 ·81·_creasingMethod(CREASE_UNIFORM), 
76 ·82·_triangleSub(TRI_SUB_CATMARK)·{·} 
77 ·8379 ·83·}
 80 ·84
 81 86·void·*GetFVarPatchIndexBuffer(int·fvarChannel·=·0)·const·{
 82 ·87·return·_fvarIndexBuffers[fvarChannel];
 83 ·88·}
 84 ·89
 85 91·void·*GetFVarPatchParamBuffer(int·fvarChannel·=·0)·const·{
 86 ·92·return·_fvarParamBuffers[fvarChannel];
78 ·84·// 
79 ·85·//·Trivial·get/set·methods: 
80 ·86·// 
81 ·87 
82 89·VtxBoundaryInterpolation·GetVtxBoundaryInterpolation()·const·{·return 
83 (VtxBoundaryInterpolation)·_vtxBoundInterp;·} 
84 ·90 
85 92·void·SetVtxBoundaryInterpolation(VtxBoundaryInterpolation·b) 
86 {·_vtxBoundInterp·=·(EnumIntType)·b;·} 
87 ·9387 ·93·}
88 95·FVarLinearInterpolation·GetFVarLinearInterpolation()·const·{·return 
89 (FVarLinearInterpolation)·_fvarLinInterp;·} 
90 ·96 
91 98·void·SetFVarLinearInterpolation(FVarLinearInterpolation·b)·{·_fvarLinInterp 
92 =·(EnumIntType)·b;·}88 ·94
 89 ·95protected:
 90 96·CudaPatchTable();
 91 ·97
 92 98·bool·allocate(Far::PatchTable·const·*patchTable);
93 ·9993 ·99
Max diff block lines reached; 8751/13391 bytes (65.35%) of diff not shown.
8.01 KB
./usr/share/doc/opensubdiv/doxy_html/a00773.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/scheme.h·File·Reference</title>8 <title>OpenSubdiv:·opensubdiv/osd/cudaEvaluator.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 83, 49 lines modifiedOffset 83, 47 lines modified
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124;87 <a·href="#nested-classes">Classes</a>·&#124;
88 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">scheme.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">cudaEvaluator.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
93 <code>#include·&quot;<a·class="el"·href="a01484_source.html">../sdc/types.h</a>&quot;</code><br·/> 
94 <code>#include·&quot;<a·class="el"·href="a00770_source.html">../sdc/options.h</a>&quot;</code><br·/> 
95 <code>#include·&quot;<a·class="el"·href="a00776_source.html">../sdc/crease.h</a>&quot;</code><br·/> 
96 <code>#include·&lt;cassert&gt;</code><br·/> 
97 <code>#include·&lt;cstdlib&gt;</code><br·/> 
98 <code>#include·&lt;vector&gt;</code><br·/>93 <code>#include·&lt;vector&gt;</code><br·/>
 94 <code>#include·&quot;<a·class="el"·href="a00881_source.html">../osd/bufferDescriptor.h</a>&quot;</code><br·/>
 95 <code>#include·&quot;<a·class="el"·href="a01481_source.html">../osd/types.h</a>&quot;</code><br·/>
99 </div>96 </div>
100 <p><a·href="a00773_source.html">Go·to·the·source·code·of·this·file.</a></p>97 <p><a·href="a00773_source.html">Go·to·the·source·code·of·this·file.</a></p>
101 <table·class="memberdecls">98 <table·class="memberdecls">
102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
103 Classes</h2></td></tr>100 Classes</h2></td></tr>
104 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01333.html">Scheme&lt;·SCHEME_TYPE·&gt;</a></td></tr>101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01173.html">CudaStencilTable</a></td></tr>
 102 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">CUDA·stencil·table.··<a·href="a01173.html#details">More...</a><br·/></td></tr>
105 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a01333.html"·title="Scheme·is·a·class·template·which·provides·all·implementation·for·the·subdivision·schemes·supported·by...">Scheme</a>·is·a·class·template·which·provides·all·implementation·for·the·subdivision·schemes·supported·by·<a·class="el"·href="a00905.html">OpenSubdiv</a>·through·specializations·of·the·methods·of·each.·An·instance·of·Scheme&lt;SCHEME_TYPE&gt;·includes·a·set·of·<a·class="el"·href="a01329.html"·title="All·supported·options·applying·to·subdivision·scheme.">Options</a>·that·will·dictate·the·variable·aspects·of·its·behavior.·<br··/> 
106 ··<a·href="a01333.html#details">More...</a><br·/></td></tr> 
107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
108 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01337.html">Scheme&lt;·SCHEME_TYPE·&gt;::LocalMask&lt;·WEIGHT·&gt;</a></td></tr>104 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01177.html">CudaEvaluator</a></td></tr>
109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
110 </table><table·class="memberdecls">106 </table><table·class="memberdecls">
111 <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>
112 Namespaces</h2></td></tr>108 Namespaces</h2></td></tr>
113 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>109 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
115 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>111 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 113 <tr·class="memitem:a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr>
 114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
117 <tr·class="memitem:a00913"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00913.html">OpenSubdiv::OPENSUBDIV_VERSION::Sdc</a></td></tr>115 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>116 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
119 </table>117 </table>
120 </div><!--·contents·-->118 </div><!--·contents·-->
121 </div><!--·doc-content·-->119 </div><!--·doc-content·-->
122 <!--·start·footer·part·-->120 <!--·start·footer·part·-->
123 <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!·-->
124 ··<ul>122 ··<ul>
125 ····<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="a00773.html">scheme.h</a></li>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="a00773.html">cudaEvaluator.h</a></li>
126 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>124 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
127 ··</ul>125 ··</ul>
128 </div>126 </div>
129 </body>127 </body>
130 </html>128 </html>
1.29 KB
html2text {}
    
Offset 5, 37 lines modifiedOffset 5, 32 lines modified
  
  
  
5 [Logo]·OpenSubdiv5 [Logo]·OpenSubdiv
  
  
6 Classes·|·Namespaces6 Classes·|·Namespaces
7 scheme.h·File·Reference7 cudaEvaluator.h·File·Reference
8 #include·"../version.h"8 #include·"../version.h"
9 #include·"../sdc/types.h" 
10 #include·"../sdc/options.h" 
11 #include·"../sdc/crease.h" 
12 #include·<cassert> 
13 #include·<cstdlib> 
14 #include·<vector>9 #include·<vector>
 10 #include·"../osd/bufferDescriptor.h"
 11 #include·"../osd/types.h"
15 Go_to_the_source_code_of_this_file.12 Go_to_the_source_code_of_this_file.
16 ·Classes13 ·Classes
 14 class· CudaStencilTable
 15  ······CUDA·stencil·table.·More...
17 class· Scheme<_SCHEME_TYPE_> 
18 ········Scheme·is·a·class·template·which·provides·all·implementation·for·the 
19 ········subdivision·schemes·supported·by·OpenSubdiv·through·specializations·of 
20  ······the·methods·of·each.·An·instance·of·Scheme<SCHEME_TYPE>·includes·a·set 
21 ········of·Options·that·will·dictate·the·variable·aspects·of·its·behavior. 
22 ········More... 
23  16  
24 class· Scheme<_SCHEME_TYPE_>::LocalMask<_WEIGHT_>17 class· CudaEvaluator
25  18  
26 ·Namespaces19 ·Namespaces
27 namespace· OpenSubdiv20 namespace· OpenSubdiv
28  21  
29 namespace· OpenSubdiv::OPENSUBDIV_VERSION22 namespace· OpenSubdiv::OPENSUBDIV_VERSION
30  23  
 24 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Far
 25  
31 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Sdc26 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd
32  27  
33 ····*·opensubdiv28 ····*·opensubdiv
34 ····*·sdc29 ····*·osd
35 ····*·scheme.h30 ····*·cudaEvaluator.h
36 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.431 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
386 B
./usr/share/doc/opensubdiv/doxy_html/a00773.js
294 B
js-beautify {}
    
Offset 1, 4 lines modifiedOffset 1, 4 lines modified
1 var·a00773·=·[1 var·a00773·=·[
2 ····["Scheme<·SCHEME_TYPE·>",·"a01333.html",·"a01333"], 
3 ····["Scheme<·SCHEME_TYPE·>::LocalMask<·WEIGHT·>",·"a01337.html",·"a01337"]2 ····["CudaStencilTable",·"a01173.html",·"a01173"],
 3 ····["CudaEvaluator",·"a01177.html",·null]
4 ];4 ];
1.14 MB
./usr/share/doc/opensubdiv/doxy_html/a00773_source.html
    
Offset 21, 8403 lines modifiedOffset 21, 7947 lines modified
00000140:·6f6e·7465·6e74·3d22·446f·7879·6765·6e20··ontent="Doxygen·00000140:·6f6e·7465·6e74·3d22·446f·7879·6765·6e20··ontent="Doxygen·
00000150:·312e·392e·3422·2f3e·0a3c·6d65·7461·206e··1.9.4"/>.<meta·n00000150:·312e·392e·3422·2f3e·0a3c·6d65·7461·206e··1.9.4"/>.<meta·n
00000160:·616d·653d·2276·6965·7770·6f72·7422·2063··ame="viewport"·c00000160:·616d·653d·2276·6965·7770·6f72·7422·2063··ame="viewport"·c
00000170:·6f6e·7465·6e74·3d22·7769·6474·683d·6465··ontent="width=de00000170:·6f6e·7465·6e74·3d22·7769·6474·683d·6465··ontent="width=de
00000180:·7669·6365·2d77·6964·7468·2c20·696e·6974··vice-width,·init00000180:·7669·6365·2d77·6964·7468·2c20·696e·6974··vice-width,·init
00000190:·6961·6c2d·7363·616c·653d·3122·2f3e·0a3c··ial-scale=1"/>.<00000190:·6961·6c2d·7363·616c·653d·3122·2f3e·0a3c··ial-scale=1"/>.<
Diff chunk too large, falling back to line-by-line diff (897 lines added, 897 lines removed)
000001a0:·7469·746c·653e·4f70·656e·5375·6264·6976··title>OpenSubdiv000001a0:·7469·746c·653e·4f70·656e·5375·6264·6976··title>OpenSubdiv
000001b0:·3a20·6f70·656e·7375·6264·6976·2f73·6463··:·opensubdiv/sdc000001b0:·3a20·6f70·656e·7375·6264·6976·2f6f·7364··:·opensubdiv/osd
000001c0:·2f73·6368·656d·652e·6820·536f·7572·6365··/scheme.h·Source000001c0:·2f63·7564·6145·7661·6c75·6174·6f72·2e68··/cudaEvaluator.h
000001d0:·2046·696c·653c·2f74·6974·6c65·3e0a·3c6c···File</title>.<l000001d0:·2053·6f75·7263·6520·4669·6c65·3c2f·7469···Source·File</ti
000001e0:·696e·6b20·6872·6566·3d22·7461·6273·2e63··ink·href="tabs.c000001e0:·746c·653e·0a3c·6c69·6e6b·2068·7265·663d··tle>.<link·href=
000001f0:·7373·2220·7265·6c3d·2273·7479·6c65·7368··ss"·rel="stylesh000001f0:·2274·6162·732e·6373·7322·2072·656c·3d22··"tabs.css"·rel="
00000200:·6565·7422·2074·7970·653d·2274·6578·742f··eet"·type="text/00000200:·7374·796c·6573·6865·6574·2220·7479·7065··stylesheet"·type
00000210:·6373·7322·2f3e·0a3c·7363·7269·7074·2074··css"/>.<script·t00000210:·3d22·7465·7874·2f63·7373·222f·3e0a·3c73··="text/css"/>.<s
00000220:·7970·653d·2274·6578·742f·6a61·7661·7363··ype="text/javasc00000220:·6372·6970·7420·7479·7065·3d22·7465·7874··cript·type="text
00000230:·7269·7074·2220·7372·633d·226a·7175·6572··ript"·src="jquer00000230:·2f6a·6176·6173·6372·6970·7422·2073·7263··/javascript"·src
00000240:·792e·6a73·223e·3c2f·7363·7269·7074·3e0a··y.js"></script>.00000240:·3d22·6a71·7565·7279·2e6a·7322·3e3c·2f73··="jquery.js"></s
00000250:·3c73·6372·6970·7420·7479·7065·3d22·7465··<script·type="te00000250:·6372·6970·743e·0a3c·7363·7269·7074·2074··cript>.<script·t
00000260:·7874·2f6a·6176·6173·6372·6970·7422·2073··xt/javascript"·s00000260:·7970·653d·2274·6578·742f·6a61·7661·7363··ype="text/javasc
00000270:·7263·3d22·6479·6e73·6563·7469·6f6e·732e··rc="dynsections.00000270:·7269·7074·2220·7372·633d·2264·796e·7365··ript"·src="dynse
00000280:·6a73·223e·3c2f·7363·7269·7074·3e0a·3c6c··js"></script>.<l00000280:·6374·696f·6e73·2e6a·7322·3e3c·2f73·6372··ctions.js"></scr
00000290:·696e·6b20·6872·6566·3d22·6e61·7674·7265··ink·href="navtre00000290:·6970·743e·0a3c·6c69·6e6b·2068·7265·663d··ipt>.<link·href=
000002a0:·652e·6373·7322·2072·656c·3d22·7374·796c··e.css"·rel="styl000002a0:·226e·6176·7472·6565·2e63·7373·2220·7265··"navtree.css"·re
000002b0:·6573·6865·6574·2220·7479·7065·3d22·7465··esheet"·type="te000002b0:·6c3d·2273·7479·6c65·7368·6565·7422·2074··l="stylesheet"·t
000002c0:·7874·2f63·7373·222f·3e0a·3c73·6372·6970··xt/css"/>.<scrip000002c0:·7970·653d·2274·6578·742f·6373·7322·2f3e··ype="text/css"/>
000002d0:·7420·7479·7065·3d22·7465·7874·2f6a·6176··t·type="text/jav000002d0:·0a3c·7363·7269·7074·2074·7970·653d·2274··.<script·type="t
000002e0:·6173·6372·6970·7422·2073·7263·3d22·7265··ascript"·src="re000002e0:·6578·742f·6a61·7661·7363·7269·7074·2220··ext/javascript"·
000002f0:·7369·7a65·2e6a·7322·3e3c·2f73·6372·6970··size.js"></scrip000002f0:·7372·633d·2272·6573·697a·652e·6a73·223e··src="resize.js">
00000300:·743e·0a3c·7363·7269·7074·2074·7970·653d··t>.<script·type=00000300:·3c2f·7363·7269·7074·3e0a·3c73·6372·6970··</script>.<scrip
00000310:·2274·6578·742f·6a61·7661·7363·7269·7074··"text/javascript00000310:·7420·7479·7065·3d22·7465·7874·2f6a·6176··t·type="text/jav
00000320:·2220·7372·633d·226e·6176·7472·6565·6461··"·src="navtreeda00000320:·6173·6372·6970·7422·2073·7263·3d22·6e61··ascript"·src="na
00000330:·7461·2e6a·7322·3e3c·2f73·6372·6970·743e··ta.js"></script>00000330:·7674·7265·6564·6174·612e·6a73·223e·3c2f··vtreedata.js"></
00000340:·0a3c·7363·7269·7074·2074·7970·653d·2274··.<script·type="t00000340:·7363·7269·7074·3e0a·3c73·6372·6970·7420··script>.<script·
00000350:·6578·742f·6a61·7661·7363·7269·7074·2220··ext/javascript"·00000350:·7479·7065·3d22·7465·7874·2f6a·6176·6173··type="text/javas
00000360:·7372·633d·226e·6176·7472·6565·2e6a·7322··src="navtree.js"00000360:·6372·6970·7422·2073·7263·3d22·6e61·7674··cript"·src="navt
00000370:·3e3c·2f73·6372·6970·743e·0a3c·6c69·6e6b··></script>.<link00000370:·7265·652e·6a73·223e·3c2f·7363·7269·7074··ree.js"></script
00000380:·2068·7265·663d·2273·6561·7263·682f·7365···href="search/se00000380:·3e0a·3c6c·696e·6b20·6872·6566·3d22·7365··>.<link·href="se
00000390:·6172·6368·2e63·7373·2220·7265·6c3d·2273··arch.css"·rel="s00000390:·6172·6368·2f73·6561·7263·682e·6373·7322··arch/search.css"
000003a0:·7479·6c65·7368·6565·7422·2074·7970·653d··tylesheet"·type=000003a0:·2072·656c·3d22·7374·796c·6573·6865·6574···rel="stylesheet
000003b0:·2274·6578·742f·6373·7322·2f3e·0a3c·7363··"text/css"/>.<sc000003b0:·2220·7479·7065·3d22·7465·7874·2f63·7373··"·type="text/css
000003c0:·7269·7074·2074·7970·653d·2274·6578·742f··ript·type="text/000003c0:·222f·3e0a·3c73·6372·6970·7420·7479·7065··"/>.<script·type
000003d0:·6a61·7661·7363·7269·7074·2220·7372·633d··javascript"·src=000003d0:·3d22·7465·7874·2f6a·6176·6173·6372·6970··="text/javascrip
000003e0:·2273·6561·7263·682f·7365·6172·6368·6461··"search/searchda000003e0:·7422·2073·7263·3d22·7365·6172·6368·2f73··t"·src="search/s
000003f0:·7461·2e6a·7322·3e3c·2f73·6372·6970·743e··ta.js"></script>000003f0:·6561·7263·6864·6174·612e·6a73·223e·3c2f··earchdata.js"></
00000400:·0a3c·7363·7269·7074·2074·7970·653d·2274··.<script·type="t00000400:·7363·7269·7074·3e0a·3c73·6372·6970·7420··script>.<script·
00000410:·6578·742f·6a61·7661·7363·7269·7074·2220··ext/javascript"·00000410:·7479·7065·3d22·7465·7874·2f6a·6176·6173··type="text/javas
00000420:·7372·633d·2273·6561·7263·682f·7365·6172··src="search/sear00000420:·6372·6970·7422·2073·7263·3d22·7365·6172··cript"·src="sear
00000430:·6368·2e6a·7322·3e3c·2f73·6372·6970·743e··ch.js"></script>00000430:·6368·2f73·6561·7263·682e·6a73·223e·3c2f··ch/search.js"></
00000440:·0a3c·6c69·6e6b·2068·7265·663d·2264·6f78··.<link·href="dox00000440:·7363·7269·7074·3e0a·3c6c·696e·6b20·6872··script>.<link·hr
00000450:·7967·656e·2e63·7373·2220·7265·6c3d·2273··ygen.css"·rel="s00000450:·6566·3d22·646f·7879·6765·6e2e·6373·7322··ef="doxygen.css"
00000460:·7479·6c65·7368·6565·7422·2074·7970·653d··tylesheet"·type=00000460:·2072·656c·3d22·7374·796c·6573·6865·6574···rel="stylesheet
00000470:·2274·6578·742f·6373·7322·202f·3e0a·3c6c··"text/css"·/>.<l00000470:·2220·7479·7065·3d22·7465·7874·2f63·7373··"·type="text/css
00000480:·696e·6b20·6872·6566·3d22·646f·7879·2e63··ink·href="doxy.c00000480:·2220·2f3e·0a3c·6c69·6e6b·2068·7265·663d··"·/>.<link·href=
00000490:·7373·2220·7265·6c3d·2273·7479·6c65·7368··ss"·rel="stylesh00000490:·2264·6f78·792e·6373·7322·2072·656c·3d22··"doxy.css"·rel="
000004a0:·6565·7422·2074·7970·653d·2274·6578·742f··eet"·type="text/000004a0:·7374·796c·6573·6865·6574·2220·7479·7065··stylesheet"·type
000004b0:·6373·7322·2f3e·0a3c·2f68·6561·643e·0a3c··css"/>.</head>.<000004b0:·3d22·7465·7874·2f63·7373·222f·3e0a·3c2f··="text/css"/>.</
000004c0:·626f·6479·3e0a·3c64·6976·2069·643d·2274··body>.<div·id="t000004c0:·6865·6164·3e0a·3c62·6f64·793e·0a3c·6469··head>.<body>.<di
000004d0:·6f70·223e·3c21·2d2d·2064·6f20·6e6f·7420··op"><!--·do·not·000004d0:·7620·6964·3d22·746f·7022·3e3c·212d·2d20··v·id="top"><!--·
000004e0:·7265·6d6f·7665·2074·6869·7320·6469·762c··remove·this·div,000004e0:·646f·206e·6f74·2072·656d·6f76·6520·7468··do·not·remove·th
000004f0:·2069·7420·6973·2063·6c6f·7365·6420·6279···it·is·closed·by000004f0:·6973·2064·6976·2c20·6974·2069·7320·636c··is·div,·it·is·cl
00000500:·2064·6f78·7967·656e·2120·2d2d·3e0a·3c64···doxygen!·-->.<d00000500:·6f73·6564·2062·7920·646f·7879·6765·6e21··osed·by·doxygen!
00000510:·6976·2069·643d·2274·6974·6c65·6172·6561··iv·id="titlearea00000510:·202d·2d3e·0a3c·6469·7620·6964·3d22·7469···-->.<div·id="ti
00000520:·223e·0a3c·7461·626c·6520·6365·6c6c·7370··">.<table·cellsp00000520:·746c·6561·7265·6122·3e0a·3c74·6162·6c65··tlearea">.<table
00000530:·6163·696e·673d·2230·2220·6365·6c6c·7061··acing="0"·cellpa00000530:·2063·656c·6c73·7061·6369·6e67·3d22·3022···cellspacing="0"
00000540:·6464·696e·673d·2230·223e·0a20·3c74·626f··dding="0">.·<tbo00000540:·2063·656c·6c70·6164·6469·6e67·3d22·3022···cellpadding="0"
00000550:·6479·3e0a·203c·7472·2069·643d·2270·726f··dy>.·<tr·id="pro00000550:·3e0a·203c·7462·6f64·793e·0a20·3c74·7220··>.·<tbody>.·<tr·
00000560:·6a65·6374·726f·7722·3e0a·2020·3c74·6420··jectrow">.··<td·00000560:·6964·3d22·7072·6f6a·6563·7472·6f77·223e··id="projectrow">
00000570:·6964·3d22·7072·6f6a·6563·746c·6f67·6f22··id="projectlogo"00000570:·0a20·203c·7464·2069·643d·2270·726f·6a65··.··<td·id="proje
00000580:·3e3c·696d·6720·616c·743d·224c·6f67·6f22··><img·alt="Logo"00000580:·6374·6c6f·676f·223e·3c69·6d67·2061·6c74··ctlogo"><img·alt
00000590:·2073·7263·3d22·6f70·656e·7375·6264·6976···src="opensubdiv00000590:·3d22·4c6f·676f·2220·7372·633d·226f·7065··="Logo"·src="ope
000005a0:·5f6c·6f67·6f5f·6865·6164·6572·2e70·6e67··_logo_header.png000005a0:·6e73·7562·6469·765f·6c6f·676f·5f68·6561··nsubdiv_logo_hea
000005b0:·222f·3e3c·2f74·643e·0a20·203c·7464·2069··"/></td>.··<td·i000005b0:·6465·722e·706e·6722·2f3e·3c2f·7464·3e0a··der.png"/></td>.
000005c0:·643d·2270·726f·6a65·6374·616c·6967·6e22··d="projectalign"000005c0:·2020·3c74·6420·6964·3d22·7072·6f6a·6563····<td·id="projec
000005d0:·3e0a·2020·203c·6469·7620·6964·3d22·7072··>.···<div·id="pr000005d0:·7461·6c69·676e·223e·0a20·2020·3c64·6976··talign">.···<div
000005e0:·6f6a·6563·746e·616d·6522·3e4f·7065·6e53··ojectname">OpenS000005e0:·2069·643d·2270·726f·6a65·6374·6e61·6d65···id="projectname
000005f0:·7562·6469·760a·2020·203c·2f64·6976·3e0a··ubdiv.···</div>.000005f0:·223e·4f70·656e·5375·6264·6976·0a20·2020··">OpenSubdiv.···
00000600:·2020·3c2f·7464·3e0a·203c·2f74·723e·0a20····</td>.·</tr>.·00000600:·3c2f·6469·763e·0a20·203c·2f74·643e·0a20··</div>.··</td>.·
00000610:·3c2f·7462·6f64·793e·0a3c·2f74·6162·6c65··</tbody>.</table00000610:·3c2f·7472·3e0a·203c·2f74·626f·6479·3e0a··</tr>.·</tbody>.
00000620:·3e0a·3c2f·6469·763e·0a3c·212d·2d20·656e··>.</div>.<!--·en00000620:·3c2f·7461·626c·653e·0a3c·2f64·6976·3e0a··</table>.</div>.
00000630:·6420·6865·6164·6572·2070·6172·7420·2d2d··d·header·part·--00000630:·3c21·2d2d·2065·6e64·2068·6561·6465·7220··<!--·end·header·
00000640:·3e0a·3c21·2d2d·2047·656e·6572·6174·6564··>.<!--·Generated00000640:·7061·7274·202d·2d3e·0a3c·212d·2d20·4765··part·-->.<!--·Ge
00000650:·2062·7920·446f·7879·6765·6e20·312e·392e···by·Doxygen·1.9.00000650:·6e65·7261·7465·6420·6279·2044·6f78·7967··nerated·by·Doxyg
00000660:·3420·2d2d·3e0a·3c73·6372·6970·7420·7479··4·-->.<script·ty00000660:·656e·2031·2e39·2e34·202d·2d3e·0a3c·7363··en·1.9.4·-->.<sc
00000670:·7065·3d22·7465·7874·2f6a·6176·6173·6372··pe="text/javascr00000670:·7269·7074·2074·7970·653d·2274·6578·742f··ript·type="text/
00000680:·6970·7422·3e0a·2f2a·2040·6c69·6365·6e73··ipt">./*·@licens00000680:·6a61·7661·7363·7269·7074·223e·0a2f·2a20··javascript">./*·
00000690:·6520·6d61·676e·6574·3a3f·7874·3d75·726e··e·magnet:?xt=urn00000690:·406c·6963·656e·7365·206d·6167·6e65·743a··@license·magnet:
000006a0:·3a62·7469·683a·6433·6439·6139·6136·3539··:btih:d3d9a9a659000006a0:·3f78·743d·7572·6e3a·6274·6968·3a64·3364··?xt=urn:btih:d3d
000006b0:·3535·3231·6639·3636·3661·3565·3934·6363··5521f9666a5e94cc000006b0:·3961·3961·3635·3935·3532·3166·3936·3636··9a9a6595521f9666
000006c0:·3833·3064·6162·3833·6236·3536·3939·2661··830dab83b65699&a000006c0:·6135·6539·3463·6338·3330·6461·6238·3362··a5e94cc830dab83b
000006d0:·6d70·3b64·6e3d·6578·7061·742e·7478·7420··mp;dn=expat.txt·000006d0:·3635·3639·3926·616d·703b·646e·3d65·7870··65699&amp;dn=exp
000006e0:·4d49·5420·2a2f·0a76·6172·2073·6561·7263··MIT·*/.var·searc000006e0:·6174·2e74·7874·204d·4954·202a·2f0a·7661··at.txt·MIT·*/.va
000006f0:·6842·6f78·203d·206e·6577·2053·6561·7263··hBox·=·new·Searc000006f0:·7220·7365·6172·6368·426f·7820·3d20·6e65··r·searchBox·=·ne
00000700:·6842·6f78·2822·7365·6172·6368·426f·7822··hBox("searchBox"00000700:·7720·5365·6172·6368·426f·7828·2273·6561··w·SearchBox("sea
00000710:·2c20·2273·6561·7263·6822·2c27·5365·6172··,·"search",'Sear00000710:·7263·6842·6f78·222c·2022·7365·6172·6368··rchBox",·"search
00000720:·6368·272c·272e·6874·6d6c·2729·3b0a·2f2a··ch','.html');./*00000720:·222c·2753·6561·7263·6827·2c27·2e68·746d··",'Search','.htm
00000730:·2040·6c69·6365·6e73·652d·656e·6420·2a2f···@license-end·*/00000730:·6c27·293b·0a2f·2a20·406c·6963·656e·7365··l');./*·@license
00000740:·0a3c·2f73·6372·6970·743e·0a3c·7363·7269··.</script>.<scri00000740:·2d65·6e64·202a·2f0a·3c2f·7363·7269·7074··-end·*/.</script
00000750:·7074·2074·7970·653d·2274·6578·742f·6a61··pt·type="text/ja00000750:·3e0a·3c73·6372·6970·7420·7479·7065·3d22··>.<script·type="
00000760:·7661·7363·7269·7074·2220·7372·633d·226d··vascript"·src="m00000760:·7465·7874·2f6a·6176·6173·6372·6970·7422··text/javascript"
00000770:·656e·7564·6174·612e·6a73·223e·3c2f·7363··enudata.js"></sc00000770:·2073·7263·3d22·6d65·6e75·6461·7461·2e6a···src="menudata.j
00000780:·7269·7074·3e0a·3c73·6372·6970·7420·7479··ript>.<script·ty00000780:·7322·3e3c·2f73·6372·6970·743e·0a3c·7363··s"></script>.<sc
00000790:·7065·3d22·7465·7874·2f6a·6176·6173·6372··pe="text/javascr00000790:·7269·7074·2074·7970·653d·2274·6578·742f··ript·type="text/
000007a0:·6970·7422·2073·7263·3d22·6d65·6e75·2e6a··ipt"·src="menu.j000007a0:·6a61·7661·7363·7269·7074·2220·7372·633d··javascript"·src=
000007b0:·7322·3e3c·2f73·6372·6970·743e·0a3c·7363··s"></script>.<sc000007b0:·226d·656e·752e·6a73·223e·3c2f·7363·7269··"menu.js"></scri
000007c0:·7269·7074·2074·7970·653d·2274·6578·742f··ript·type="text/000007c0:·7074·3e0a·3c73·6372·6970·7420·7479·7065··pt>.<script·type
000007d0:·6a61·7661·7363·7269·7074·223e·0a2f·2a20··javascript">./*·000007d0:·3d22·7465·7874·2f6a·6176·6173·6372·6970··="text/javascrip
000007e0:·406c·6963·656e·7365·206d·6167·6e65·743a··@license·magnet:000007e0:·7422·3e0a·2f2a·2040·6c69·6365·6e73·6520··t">./*·@license·
000007f0:·3f78·743d·7572·6e3a·6274·6968·3a64·3364··?xt=urn:btih:d3d000007f0:·6d61·676e·6574·3a3f·7874·3d75·726e·3a62··magnet:?xt=urn:b
00000800:·3961·3961·3635·3935·3532·3166·3936·3636··9a9a6595521f966600000800:·7469·683a·6433·6439·6139·6136·3539·3535··tih:d3d9a9a65955
00000810:·6135·6539·3463·6338·3330·6461·6238·3362··a5e94cc830dab83b00000810:·3231·6639·3636·3661·3565·3934·6363·3833··21f9666a5e94cc83
00000820:·3635·3639·3926·616d·703b·646e·3d65·7870··65699&amp;dn=exp00000820:·3064·6162·3833·6236·3536·3939·2661·6d70··0dab83b65699&amp
00000830:·6174·2e74·7874·204d·4954·202a·2f0a·2428··at.txt·MIT·*/.$(00000830:·3b64·6e3d·6578·7061·742e·7478·7420·4d49··;dn=expat.txt·MI
00000840:·6675·6e63·7469·6f6e·2829·207b·0a20·2069··function()·{.··i00000840:·5420·2a2f·0a24·2866·756e·6374·696f·6e28··T·*/.$(function(
00000850:·6e69·744d·656e·7528·2727·2c74·7275·652c··nitMenu('',true,00000850:·2920·7b0a·2020·696e·6974·4d65·6e75·2827··)·{.··initMenu('
00000860:·6661·6c73·652c·2773·6561·7263·682e·7068··false,'search.ph00000860:·272c·7472·7565·2c66·616c·7365·2c27·7365··',true,false,'se
00000870:·7027·2c27·5365·6172·6368·2729·3b0a·2020··p','Search');.··00000870:·6172·6368·2e70·6870·272c·2753·6561·7263··arch.php','Searc
00000880:·2428·646f·6375·6d65·6e74·292e·7265·6164··$(document).read00000880:·6827·293b·0a20·2024·2864·6f63·756d·656e··h');.··$(documen
00000890:·7928·6675·6e63·7469·6f6e·2829·207b·2069··y(function()·{·i00000890:·7429·2e72·6561·6479·2866·756e·6374·696f··t).ready(functio
000008a0:·6e69·745f·7365·6172·6368·2829·3b20·7d29··nit_search();·})000008a0:·6e28·2920·7b20·696e·6974·5f73·6561·7263··n()·{·init_searc
000008b0:·3b0a·7d29·3b0a·2f2a·2040·6c69·6365·6e73··;.});./*·@licens000008b0:·6828·293b·207d·293b·0a7d·293b·0a2f·2a20··h();·});.});./*·
000008c0:·652d·656e·6420·2a2f·0a3c·2f73·6372·6970··e-end·*/.</scrip000008c0:·406c·6963·656e·7365·2d65·6e64·202a·2f0a··@license-end·*/.
000008d0:·743e·0a3c·6469·7620·6964·3d22·6d61·696e··t>.<div·id="main000008d0:·3c2f·7363·7269·7074·3e0a·3c64·6976·2069··</script>.<div·i
000008e0:·2d6e·6176·223e·3c2f·6469·763e·0a3c·2f64··-nav"></div>.</d000008e0:·643d·226d·6169·6e2d·6e61·7622·3e3c·2f64··d="main-nav"></d
000008f0:·6976·3e3c·212d·2d20·746f·7020·2d2d·3e0a··iv><!--·top·-->.000008f0:·6976·3e0a·3c2f·6469·763e·3c21·2d2d·2074··iv>.</div><!--·t
00000900:·3c64·6976·2069·643d·2273·6964·652d·6e61··<div·id="side-na00000900:·6f70·202d·2d3e·0a3c·6469·7620·6964·3d22··op·-->.<div·id="
00000910:·7622·2063·6c61·7373·3d22·7569·2d72·6573··v"·class="ui-res00000910:·7369·6465·2d6e·6176·2220·636c·6173·733d··side-nav"·class=
Max diff block lines reached; 1003108/1127470 bytes (88.97%) of diff not shown.
64.1 KB
html2text {}
    
Offset 4, 18 lines modifiedOffset 4, 18 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 scheme.h5 cudaEvaluator.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2014·DreamWorks·Animation·LLC.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·in11 ·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·trade15 ·9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade
Offset 29, 851 lines modifiedOffset 29, 741 lines modified
29 ·17//29 ·17//
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·24#ifndef·OPENSUBDIV3_SDC_SCHEME_H 
37 ·25#define·OPENSUBDIV3_SDC_SCHEME_H 
38 ·2636 ·24
 37 ·25#ifndef·OPENSUBDIV3_OSD_CUDA_EVALUATOR_H
 38 ·26#define·OPENSUBDIV3_OSD_CUDA_EVALUATOR_H
 39 ·27
39 ·27#include·"../version.h"40 ·28#include·"../version.h"
 41 ·29
40 ·28 
41 ·29#include·"../sdc/types.h" 
42 ·30#include·"../sdc/options.h" 
43 ·31#include·"../sdc/crease.h" 
44 ·32 
45 ·33#include·<cassert> 
46 ·34#include·<cstdlib> 
47 ·35#include·<vector>42 ·30#include·<vector>
 43 ·31#include·"../osd/bufferDescriptor.h"
 44 ·32#include·"../osd/types.h"
 45 ·33
 46 ·34namespace·OpenSubdiv·{
 47 ·35namespace·OPENSUBDIV_VERSION·{
48 ·3648 ·36
49 ·37namespace·OpenSubdiv·{ 
50 ·38namespace·OPENSUBDIV_VERSION·{ 
51 ·39 
52 ·40namespace·Sdc·{49 ·37namespace·Far·{
 50 ·38·class·PatchTable;
 51 ·39·class·StencilTable;
 52 ·40·class·LimitStencilTable;
53 ·4153 ·41}
54 ·65template·<SchemeType·SCHEME_TYPE> 
55 66class·Scheme·{ 
56 ·6754 ·42
 55 ·43namespace·Osd·{
 56 ·44
 57 52class·CudaStencilTable·{
57 ·68public:58 ·53public:
58 ·69 
59 70·Scheme()·:·_options()·{·} 
60 ·71 
61 72·Scheme(Options·const&·options)·:·_options(options)·{·} 
62 ·73 
63 74·Options·GetOptions()·const·{·return·_options;·} 
64 75·void·SetOptions(const·Options&·newOptions)·{·_options·=·newOptions;·} 
65 ·76 
66 ·80·template·<typename·FACE,·typename·MASK> 
67 ·81·void·ComputeFaceVertexMask(FACE·const&·faceNeighborhood,·MASK& 
68 faceVertexMask)·const; 
69 ·82 
70 ·98·template·<typename·EDGE,·typename·MASK> 
71 ·99·void·ComputeEdgeVertexMask(EDGE·const&·edgeNeighborhood,·MASK& 
72 edgeVertexMask, 
73 ·100·Crease::Rule·parentRule·=·Crease::RULE_UNKNOWN, 
74 ·101·Crease::Rule·childRule·=·Crease::RULE_UNKNOWN)·const;59 54·static·CudaStencilTable·*Create(Far::StencilTable·const·*stencilTable,
 60 ·55·void·*deviceContext·=·NULL)·{
 61 ·56·(void)deviceContext;·//·unused
 62 ·57·return·new·CudaStencilTable(stencilTable);
 63 ·58·}
 64 59·static·CudaStencilTable·*Create(Far::LimitStencilTable·const
 65 *limitStencilTable,
 66 ·60·void·*deviceContext·=·NULL)·{
 67 ·61·(void)deviceContext;·//·unused
 68 ·62·return·new·CudaStencilTable(limitStencilTable);
 69 ·63·}
 70 ·64
 71 65·explicit·CudaStencilTable(Far::StencilTable·const·*stencilTable);
 72 66·explicit·CudaStencilTable(Far::LimitStencilTable·const·*limitStencilTable);
 73 67·~CudaStencilTable();
 74 ·68
 75 ·69·//·interfaces·needed·for·CudaCompute
 76 70·void·*GetSizesBuffer()·const·{·return·_sizes;·}
 77 71·void·*GetOffsetsBuffer()·const·{·return·_offsets;·}
 78 72·void·*GetIndicesBuffer()·const·{·return·_indices;·}
 79 73·void·*GetWeightsBuffer()·const·{·return·_weights;·}
 80 74·void·*GetDuWeightsBuffer()·const·{·return·_duWeights;·}
 81 75·void·*GetDvWeightsBuffer()·const·{·return·_dvWeights;·}
 82 76·void·*GetDuuWeightsBuffer()·const·{·return·_duuWeights;·}
 83 77·void·*GetDuvWeightsBuffer()·const·{·return·_duvWeights;·}
 84 78·void·*GetDvvWeightsBuffer()·const·{·return·_dvvWeights;·}
 85 79·int·GetNumStencils()·const·{·return·_numStencils;·}
 86 ·80
 87 ·81private:
 88 ·82·void·*·_sizes,
 89 ·83·*·_offsets,
 90 ·84·*·_indices,
 91 ·85·*·_weights,
 92 ·86·*·_duWeights,
 93 ·87·*·_dvWeights,
 94 ·88·*·_duuWeights,
 95 ·89·*·_duvWeights,
 96 ·90·*·_dvvWeights;
 97 ·91·int·_numStencils;
 98 ·92};
 99 ·93
 100 94class·CudaEvaluator·{
 101 ·95public:
75 ·102102 ·101
76 ·112·template·<typename·VERTEX,·typename·MASK> 
77 ·113·void·ComputeVertexVertexMask(VERTEX·const&·vertexNeighborhood,·MASK& 
78 vertexVertexMask, 
79 ·114·Crease::Rule·parentRule·=·Crease::RULE_UNKNOWN, 
Max diff block lines reached; 60265/65567 bytes (91.91%) of diff not shown.
5.27 KB
./usr/share/doc/opensubdiv/doxy_html/a00776.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/crease.h·File·Reference</title>8 <title>OpenSubdiv:·opensubdiv/osd/opencl.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 80, 44 lines modifiedOffset 80, 24 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary"> 
87 <a·href="#nested-classes">Classes</a>·&#124; 
88 <a·href="#namespaces">Namespaces</a>··</div> 
89 ··<div·class="headertitle"><div·class="title">crease.h·File·Reference</div></div>86 ··<div·class="headertitle"><div·class="title">opencl.h·File·Reference</div></div>
90 </div><!--header-->87 </div><!--header-->
91 <div·class="contents">88 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>89 <div·class="textblock"><code>#include·&lt;CL/opencl.h&gt;</code><br·/>
93 <code>#include·&quot;<a·class="el"·href="a00770_source.html">../sdc/options.h</a>&quot;</code><br·/> 
94 </div>90 </div>
95 <p><a·href="a00776_source.html">Go·to·the·source·code·of·this·file.</a></p>91 <p><a·href="a00776_source.html">Go·to·the·source·code·of·this·file.</a></p>
96 <table·class="memberdecls"> 
97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
98 Classes</h2></td></tr> 
99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01325.html">Crease</a></td></tr> 
100 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Types,·constants·and·utilities·related·to·semi-sharp·creasing·&ndash;·whose·implementation·is·independent·of·the·subdivision·scheme.··<a·href="a01325.html#details">More...</a><br·/></td></tr> 
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
102 </table><table·class="memberdecls"> 
103 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> 
104 Namespaces</h2></td></tr> 
105 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr> 
107 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr> 
109 <tr·class="memitem:a00913"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00913.html">OpenSubdiv::OPENSUBDIV_VERSION::Sdc</a></td></tr> 
110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
111 </table> 
112 </div><!--·contents·-->92 </div><!--·contents·-->
113 </div><!--·doc-content·-->93 </div><!--·doc-content·-->
114 <!--·start·footer·part·-->94 <!--·start·footer·part·-->
115 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->95 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
116 ··<ul>96 ··<ul>
117 ····<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="a00776.html">crease.h</a></li>97 ····<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="a00776.html">opencl.h</a></li>
118 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>98 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
119 ··</ul>99 ··</ul>
120 </div>100 </div>
121 </body>101 </body>
122 </html>102 </html>
727 B
html2text {}
    
Offset 4, 28 lines modifiedOffset 4, 14 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 Classes·|·Namespaces 
6 crease.h·File·Reference5 opencl.h·File·Reference
 6 #include·<CL/opencl.h>
7 #include·"../version.h" 
8 #include·"../sdc/options.h" 
9 Go_to_the_source_code_of_this_file.7 Go_to_the_source_code_of_this_file.
10 ·Classes 
11 class· Crease 
12  ······Types,·constants·and·utilities·related·to·semi-sharp·creasing··whose 
13 ········implementation·is·independent·of·the·subdivision·scheme.·More... 
14   
15 ·Namespaces 
16 namespace· OpenSubdiv 
17   
18 namespace· OpenSubdiv::OPENSUBDIV_VERSION 
19   
20 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Sdc 
21   
22 ····*·opensubdiv8 ····*·opensubdiv
23 ····*·sdc9 ····*·osd
24 ····*·crease.h10 ····*·opencl.h
25 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.411 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
62.6 KB
./usr/share/doc/opensubdiv/doxy_html/a00776_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/crease.h·Source·File</title>8 <title>OpenSubdiv:·opensubdiv/osd/opencl.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 80, 19 lines modifiedOffset 80, 19 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">crease.h</div></div>86 ··<div·class="headertitle"><div·class="title">opencl.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <a·href="a00776.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>89 <a·href="a00776.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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·DreamWorks·Animation·LLC.</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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>
94 <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>94 <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>
95 <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>95 <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>
96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>
97 <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>97 <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 106, 205 lines modifiedOffset 106, 33 lines modified
106 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div>106 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div>
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_SDC_CREASE_H</span></div> 
114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·OPENSUBDIV3_SDC_CREASE_H</span></div> 
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_OPENCL_H</span></div>
 115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_OPENCL_H</span></div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
 117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#if·defined(OPENSUBDIV_HAS_CLEW)</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;../sdc/options.h&quot;</span></div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#··include·&lt;clew.h&gt;</span></div>
 119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#else</span></div>
 120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#··if·defined(__APPLE__)</span></div>
 121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#····include·&lt;OpenCL/opencl.h&gt;</span></div>
 122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#··else</span></div>
 123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#····include·&lt;CL/opencl.h&gt;</span></div>
 124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#··endif</span></div>
 125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#endif</span></div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
120 <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> 
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> 
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> 
123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span>Sdc·{</div> 
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> 
125 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> 
126 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01325.html">···62</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01325.html">Crease</a>·{</div> 
127 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="keyword">public</span>:</div> 
128 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> 
129 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01325.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="a01325.html#a2f54449f8a8ca460b0ad468b1aa1b4e0">SHARPNESS_SMOOTH</a>;····<span·class="comment">//·=··0.0f,·do·we·really·need·this?</span></div> 
130 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01325.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="a01325.html#a3bd7c586b7bf49ac3b1053ba789dae07">SHARPNESS_INFINITE</a>;··<span·class="comment">//·=·10.0f;</span></div> 
131 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> 
132 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01325.html#a4620253f6da5407f55c2b95a727e0f03">···70</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01325.html#a4620253f6da5407f55c2b95a727e0f03">IsSmooth</a>(<span·class="keywordtype">float</span>·sharpness)····{·<span·class="keywordflow">return</span>·sharpness·&lt;=·<a·class="code·hl_variable"·href="a01325.html#a2f54449f8a8ca460b0ad468b1aa1b4e0">SHARPNESS_SMOOTH</a>;·}</div> 
133 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01325.html#ac9bfeebd44b0e47bb06c119c3b4ed750">···71</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01325.html#ac9bfeebd44b0e47bb06c119c3b4ed750">IsSharp</a>(<span·class="keywordtype">float</span>·sharpness)·····{·<span·class="keywordflow">return</span>·sharpness·&gt;·<a·class="code·hl_variable"·href="a01325.html#a2f54449f8a8ca460b0ad468b1aa1b4e0">SHARPNESS_SMOOTH</a>;·}</div> 
134 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01325.html#a0538e02ac31e9f1118abdd1f272e7982">···72</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01325.html#a0538e02ac31e9f1118abdd1f272e7982">IsInfinite</a>(<span·class="keywordtype">float</span>·sharpness)··{·<span·class="keywordflow">return</span>·sharpness·&gt;=·<a·class="code·hl_variable"·href="a01325.html#a3bd7c586b7bf49ac3b1053ba789dae07">SHARPNESS_INFINITE</a>;·}</div> 
135 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01325.html#a694f45be997ab00786d1b80f5bd39d8f">···73</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01325.html#a694f45be997ab00786d1b80f5bd39d8f">IsSemiSharp</a>(<span·class="keywordtype">float</span>·sharpness)·{·<span·class="keywordflow">return</span>·(<a·class="code·hl_variable"·href="a01325.html#a2f54449f8a8ca460b0ad468b1aa1b4e0">SHARPNESS_SMOOTH</a>·&lt;·sharpness)·&amp;&amp;·(sharpness·&lt;·<a·class="code·hl_variable"·href="a01325.html#a3bd7c586b7bf49ac3b1053ba789dae07">SHARPNESS_INFINITE</a>);·}</div> 
136 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> 
137 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78">···82</a></span>····<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78">Rule</a>·{</div> 
138 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78ab299aefb26013a79d52191a7887fea53">···83</a></span>········<a·class="code·hl_enumvalue"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78ab299aefb26013a79d52191a7887fea53">RULE_UNKNOWN</a>·=·0,</div> 
139 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78a61d137f866997ed3693e3fcad76def5f">···84</a></span>········<a·class="code·hl_enumvalue"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78a61d137f866997ed3693e3fcad76def5f">RULE_SMOOTH</a>··=·(1·&lt;&lt;·0),</div> 
140 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78a43469c29d8579a63bc1d6247d2624799">···85</a></span>········<a·class="code·hl_enumvalue"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78a43469c29d8579a63bc1d6247d2624799">RULE_DART</a>····=·(1·&lt;&lt;·1),</div> 
141 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78a966fa1ae8aeb8587c498cf6a92cc3335">···86</a></span>········<a·class="code·hl_enumvalue"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78a966fa1ae8aeb8587c498cf6a92cc3335">RULE_CREASE</a>··=·(1·&lt;&lt;·2),</div> 
142 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>········<a·class="code·hl_enumvalue"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78a27ed0595212af48db763e461bfdc29ef">RULE_CORNER</a>··=·(1·&lt;&lt;·3)</div> 
143 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78a27ed0595212af48db763e461bfdc29ef">···88</a></span>····};</div> 
144 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> 
145 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span><span·class="keyword">public</span>:</div> 
146 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a01325.html#a9659c3f2c73b80d9dc22763a6054079b">···91</a></span>····<a·class="code·hl_function"·href="a01325.html#a9659c3f2c73b80d9dc22763a6054079b">Crease</a>()·:·_options()·{·}</div> 
147 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01325.html#a75d5d7e54170ccf6481932916e0fa9c1">···92</a></span>····<a·class="code·hl_function"·href="a01325.html#a75d5d7e54170ccf6481932916e0fa9c1">Crease</a>(<a·class="code·hl_class"·href="a01329.html">Options</a>·<span·class="keyword">const</span>&amp;·options)·:·_options(options)·{·}</div> 
148 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="a01325.html#af6737d6f9be18766c7a993cc9da108a8">···93</a></span>····<a·class="code·hl_function"·href="a01325.html#af6737d6f9be18766c7a993cc9da108a8">~Crease</a>()·{·}</div> 
149 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> 
150 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a01325.html#a5dfa6810f510fac1ec621fc9e6b530c4">···95</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01325.html#a5dfa6810f510fac1ec621fc9e6b530c4">IsUniform</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_options.<a·class="code·hl_function"·href="a01329.html#a17dfce050325c0054b6e2fa422cb62b1">GetCreasingMethod</a>()·==·<a·class="code·hl_enumvalue"·href="a01329.html#a16ec522dc0398bf1435a912cd669ffb0a10f2956db48d2975424be2e52ebd544d">Options::CREASE_UNIFORM</a>;·}</div> 
151 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> 
152 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> 
153 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····<span·class="keywordtype">float</span>·<a·class="code·hl_function"·href="a01325.html#aa4ac191c71a85e2929036f27377fea59">SharpenBoundaryEdge</a>(<span·class="keywordtype">float</span>·edgeSharpness)·<span·class="keyword">const</span>;</div> 
154 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>····<span·class="keywordtype">float</span>·<a·class="code·hl_function"·href="a01325.html#a121d7a72bfdf61c89df7447a52ffb848">SharpenBoundaryVertex</a>(<span·class="keywordtype">float</span>·edgeSharpness)·<span·class="keyword">const</span>;</div> 
155 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div> 
156 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>····<span·class="comment">//··For·future·consideration</span></div> 
157 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>····<span·class="comment">//float·SharpenNonManifoldEdge(float·edgeSharpness)·const;</span></div> 
158 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>····<span·class="comment">//float·SharpenNonManifoldVertex(float·edgeSharpness)·const;</span></div> 
159 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span><span·class="comment"></span>·</div> 
160 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>·</div> 
161 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>····<span·class="keywordtype">float</span>·<a·class="code·hl_function"·href="a01325.html#a7e5126bd5cff203bcea84ef35845fb40">SubdivideUniformSharpness</a>(<span·class="keywordtype">float</span>·vertexOrEdgeSharpness)·<span·class="keyword">const</span>;</div> 
162 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>·</div> 
163 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>····<span·class="keywordtype">float</span>·<a·class="code·hl_function"·href="a01325.html#a03f4bc921d6ee6fad4440ac134e92e36">SubdivideVertexSharpness</a>(<span·class="keywordtype">float</span>·vertexSharpness)·<span·class="keyword">const</span>;</div> 
164 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>·</div> 
165 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno"><a·class="line"·href="a01325.html#ab37ffb609adbeb8b5b8242b572d4d0de">··128</a></span>····<span·class="keywordtype">float</span>·<a·class="code·hl_function"·href="a01325.html#ab37ffb609adbeb8b5b8242b572d4d0de">SubdivideEdgeSharpnessAtVertex</a>(<span·class="keywordtype">float</span>········edgeSharpness,</div> 
166 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>·········································<span·class="keywordtype">int</span>··········incidentEdgeCountAtEndVertex,</div> 
167 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>·········································<span·class="keywordtype">float</span>·<span·class="keyword">const</span>*·edgeSharpnessAroundEndVertex)·<span·class="keyword">const</span>;</div> 
168 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>·</div> 
169 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno"><a·class="line"·href="a01325.html#a7c27382a0be83617c49b8587ba75b438">··132</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01325.html#a7c27382a0be83617c49b8587ba75b438">SubdivideEdgeSharpnessesAroundVertex</a>(<span·class="keywordtype">int</span>··········incidentEdgeCountAtVertex,</div> 
170 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>··············································<span·class="keywordtype">float</span>·<span·class="keyword">const</span>*·incidentEdgeSharpnessAroundVertex,</div> 
171 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>··············································<span·class="keywordtype">float</span>*·······childEdgesSharpnessAroundVertex)·<span·class="keyword">const</span>;</div> 
172 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>·</div> 
173 <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>·</div> 
174 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno"><a·class="line"·href="a01325.html#a41ebb75d28c5973328e0e3883495aeba">··144</a></span>····<a·class="code·hl_enumeration"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78">Rule</a>·<a·class="code·hl_function"·href="a01325.html#a41ebb75d28c5973328e0e3883495aeba">DetermineVertexVertexRule</a>(<span·class="keywordtype">float</span>········vertexSharpness,</div> 
175 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>···································<span·class="keywordtype">int</span>··········incidentEdgeCount,</div> 
176 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>···································<span·class="keywordtype">float</span>·<span·class="keyword">const</span>*·incidentEdgeSharpness)·<span·class="keyword">const</span>;</div> 
177 <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno"><a·class="line"·href="a01325.html#a500fadaa8cec78ab9690ad7331dba3d6">··147</a></span>····<a·class="code·hl_enumeration"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78">Rule</a>·<a·class="code·hl_function"·href="a01325.html#a500fadaa8cec78ab9690ad7331dba3d6">DetermineVertexVertexRule</a>(<span·class="keywordtype">float</span>········vertexSharpness,</div> 
178 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>···································<span·class="keywordtype">int</span>··········sharpEdgeCount)·<span·class="keyword">const</span>;</div> 
179 <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span>·</div> 
180 <div·class="line"><a·id="l00162"·name="l00162"></a><span·class="lineno"><a·class="line"·href="a01325.html#ab13f654f25ef7628396fd902291b8f96">··162</a></span>····<span·class="keywordtype">float</span>·<a·class="code·hl_function"·href="a01325.html#ab13f654f25ef7628396fd902291b8f96">ComputeFractionalWeightAtVertex</a>(<span·class="keywordtype">float</span>········vertexSharpness,</div> 
181 <div·class="line"><a·id="l00163"·name="l00163"></a><span·class="lineno">··163</span>··········································<span·class="keywordtype">float</span>········childVertexSharpness,</div> 
182 <div·class="line"><a·id="l00164"·name="l00164"></a><span·class="lineno">··164</span>··········································<span·class="keywordtype">int</span>··········incidentEdgeCount,</div> 
183 <div·class="line"><a·id="l00165"·name="l00165"></a><span·class="lineno">··165</span>··········································<span·class="keywordtype">float</span>·<span·class="keyword">const</span>*·incidentEdgeSharpness,</div> 
184 <div·class="line"><a·id="l00166"·name="l00166"></a><span·class="lineno">··166</span>··········································<span·class="keywordtype">float</span>·<span·class="keyword">const</span>*·childEdgesSharpness)·<span·class="keyword">const</span>;</div> 
185 <div·class="line"><a·id="l00167"·name="l00167"></a><span·class="lineno">··167</span>·</div> 
186 <div·class="line"><a·id="l00168"·name="l00168"></a><span·class="lineno">··168</span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01325.html#a362f22e7cba1a0b9f63e9b007c19f296">GetSharpEdgePairOfCrease</a>(<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·incidentEdgeSharpness,</div> 
187 <div·class="line"><a·id="l00169"·name="l00169"></a><span·class="lineno">··169</span>··································<span·class="keywordtype">int</span>···········incidentEdgeCount,</div> 
Max diff block lines reached; 945/52467 bytes (1.80%) of diff not shown.
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 utf-81 us-ascii
11.2 KB
html2text {}
    
Offset 4, 18 lines modifiedOffset 4, 18 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 crease.h5 opencl.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2014·DreamWorks·Animation·LLC.8 ·2//·Copyright·2014·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·in11 ·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·trade15 ·9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade
Offset 29, 289 lines modifiedOffset 29, 26 lines modified
29 ·17//29 ·17//
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·24#ifndef·OPENSUBDIV3_SDC_CREASE_H 
37 ·25#define·OPENSUBDIV3_SDC_CREASE_H 
38 ·26 
39 ·27#include·"../version.h" 
40 ·28 
41 ·29#include·"../sdc/options.h" 
42 ·30 
43 ·31namespace·OpenSubdiv·{ 
44 ·32namespace·OPENSUBDIV_VERSION·{ 
45 ·33 
46 ·34namespace·Sdc·{ 
47 ·35 
48 ·61 
49 62class·Crease·{ 
50 ·63public: 
51 ·65 
52 67·static·float·const·SHARPNESS_SMOOTH;·//·=·0.0f,·do·we·really·need·this? 
53 68·static·float·const·SHARPNESS_INFINITE;·//·=·10.0f; 
54 ·69 
55 70·static·bool·IsSmooth(float·sharpness)·{·return·sharpness·<= 
56 SHARPNESS_SMOOTH;·} 
57 71·static·bool·IsSharp(float·sharpness)·{·return·sharpness·>·SHARPNESS_SMOOTH; 
58 } 
59 72·static·bool·IsInfinite(float·sharpness)·{·return·sharpness·>= 
60 SHARPNESS_INFINITE;·} 
61 73·static·bool·IsSemiSharp(float·sharpness)·{·return·(SHARPNESS_SMOOTH·< 
62 sharpness)·&&·(sharpness·<·SHARPNESS_INFINITE);·} 
63 ·75 
64 82·enum·Rule·{ 
65 83·RULE_UNKNOWN·=·0, 
66 84·RULE_SMOOTH·=·(1·<<·0), 
67 85·RULE_DART·=·(1·<<·1), 
68 86·RULE_CREASE·=·(1·<<·2), 
69 ·87·RULE_CORNER·=·(1·<<·3) 
70 88·}; 
71 ·89 
72 ·90public: 
73 91·Crease()·:·_options()·{·} 
74 92·Crease(Options·const&·options)·:·_options(options)·{·} 
75 93·~Crease()·{·} 
76 ·94 
77 95·bool·IsUniform()·const·{·return·_options.GetCreasingMethod()·==·Options:: 
78 CREASE_UNIFORM;·} 
79 ·96 
80 ·98 
81 ·104·float·SharpenBoundaryEdge(float·edgeSharpness)·const; 
82 ·105·float·SharpenBoundaryVertex(float·edgeSharpness)·const; 
83 ·106 
84 ·107·//·For·future·consideration 
85 ·108·//float·SharpenNonManifoldEdge(float·edgeSharpness)·const; 
86 ·109·//float·SharpenNonManifoldVertex(float·edgeSharpness)·const; 
87 ·111 
88 ·113 
89 ·124·float·SubdivideUniformSharpness(float·vertexOrEdgeSharpness)·const; 
90 ·125 
91 ·126·float·SubdivideVertexSharpness(float·vertexSharpness)·const; 
92 ·127 
93 128·float·SubdivideEdgeSharpnessAtVertex(float·edgeSharpness, 
94 ·129·int·incidentEdgeCountAtEndVertex, 
95 ·130·float·const*·edgeSharpnessAroundEndVertex)·const; 
96 ·131 
97 132·void·SubdivideEdgeSharpnessesAroundVertex(int·incidentEdgeCountAtVertex, 
98 ·133·float·const*·incidentEdgeSharpnessAroundVertex, 
99 ·134·float*·childEdgesSharpnessAroundVertex)·const; 
100 ·136 
101 ·138 
102 144·Rule·DetermineVertexVertexRule(float·vertexSharpness, 
103 ·145·int·incidentEdgeCount, 
104 ·146·float·const*·incidentEdgeSharpness)·const; 
105 147·Rule·DetermineVertexVertexRule(float·vertexSharpness, 
106 ·148·int·sharpEdgeCount)·const; 
107 ·150 
108 162·float·ComputeFractionalWeightAtVertex(float·vertexSharpness, 
109 ·163·float·childVertexSharpness, 
110 ·164·int·incidentEdgeCount, 
111 ·165·float·const*·incidentEdgeSharpness, 
112 ·166·float·const*·childEdgesSharpness)·const; 
113 ·167 
114 ·168·void·GetSharpEdgePairOfCrease(float·const·*·incidentEdgeSharpness, 
115 ·169·int·incidentEdgeCount, 
116 ·170·int·sharpEdgePair[2])·const; 
117 ·171 
118 ·172·//·Would·these·really·help?·Maybe·only·need·Rules·for·the·vertex-vertex 
119 case... 
120 ·173·// 
121 ·174·//·Rule·DetermineEdgeVertexRule(float·parentEdgeSharpness)·const; 
122 ·175·//·Rule·DetermineEdgeVertexRule(float·childEdge1Sharpness,·float 
123 childEdge2Sharpness)·const; 
124 ·176 
125 ·177protected: 
126 ·178·float·decrementSharpness(float·sharpness)·const; 
127 ·179 
128 ·180private: 
129 ·181·Options·_options; 
130 ·182}; 
131 ·183 
132 ·184 
133 ·185// 
134 ·186//·Inline·declarations: 
135 ·187// 
136 ·188inline·float 
Max diff block lines reached; 133/11409 bytes (1.17%) of diff not shown.
5.59 KB
./usr/share/doc/opensubdiv/doxy_html/a00779.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/loopScheme.h·File·Reference</title>8 <title>OpenSubdiv:·opensubdiv/osd/clVertexBuffer.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 81, 38 lines modifiedOffset 81, 43 lines modified
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
 87 <a·href="#nested-classes">Classes</a>·&#124;
87 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
88 ··<div·class="headertitle"><div·class="title">loopScheme.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">clVertexBuffer.h·File·Reference</div></div>
89 </div><!--header-->90 </div><!--header-->
90 <div·class="contents">91 <div·class="contents">
91 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
92 <code>#include·&quot;<a·class="el"·href="a00773_source.html">../sdc/scheme.h</a>&quot;</code><br·/>93 <code>#include·&quot;<a·class="el"·href="a00776_source.html">../osd/opencl.h</a>&quot;</code><br·/>
93 <code>#include·&lt;cassert&gt;</code><br·/> 
94 <code>#include·&lt;cmath&gt;</code><br·/> 
95 </div>94 </div>
96 <p><a·href="a00779_source.html">Go·to·the·source·code·of·this·file.</a></p>95 <p><a·href="a00779_source.html">Go·to·the·source·code·of·this·file.</a></p>
97 <table·class="memberdecls">96 <table·class="memberdecls">
 97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 98 Classes</h2></td></tr>
 99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01149.html">CLVertexBuffer</a></td></tr>
 100 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Concrete·vertex·buffer·class·for·OpenCL·subdivision.··<a·href="a01149.html#details">More...</a><br·/></td></tr>
 101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 102 </table><table·class="memberdecls">
98 <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>
99 Namespaces</h2></td></tr>104 Namespaces</h2></td></tr>
100 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>105 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>107 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 <tr·class="memitem:a00913"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00913.html">OpenSubdiv::OPENSUBDIV_VERSION::Sdc</a></td></tr>109 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 </table>111 </table>
107 </div><!--·contents·-->112 </div><!--·contents·-->
108 </div><!--·doc-content·-->113 </div><!--·doc-content·-->
109 <!--·start·footer·part·-->114 <!--·start·footer·part·-->
110 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->115 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
111 ··<ul>116 ··<ul>
112 ····<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">loopScheme.h</a></li>117 ····<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="a00779.html">clVertexBuffer.h</a></li>
113 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>118 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
114 ··</ul>119 ··</ul>
115 </div>120 </div>
116 </body>121 </body>
117 </html>122 </html>
777 B
html2text {}
    
Offset 4, 25 lines modifiedOffset 4, 27 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 Namespaces 
6 loopScheme.h·File·Reference5 Classes·|·Namespaces
 6 clVertexBuffer.h·File·Reference
7 #include·"../version.h"7 #include·"../version.h"
 8 #include·"../osd/opencl.h"
8 #include·"../sdc/scheme.h" 
9 #include·<cassert> 
10 #include·<cmath> 
11 Go_to_the_source_code_of_this_file.9 Go_to_the_source_code_of_this_file.
 10 ·Classes
 11 class· CLVertexBuffer
 12  ······Concrete·vertex·buffer·class·for·OpenCL·subdivision.·More...
 13  
12 ·Namespaces14 ·Namespaces
13 namespace· OpenSubdiv15 namespace· OpenSubdiv
14  16  
15 namespace· OpenSubdiv::OPENSUBDIV_VERSION17 namespace· OpenSubdiv::OPENSUBDIV_VERSION
16  18  
17 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Sdc19 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd
18  20  
19 ····*·opensubdiv21 ····*·opensubdiv
20 ····*·sdc22 ····*·osd
21 ····*·loopScheme.h23 ····*·clVertexBuffer.h
22 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.424 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
137 KB
./usr/share/doc/opensubdiv/doxy_html/a00779_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/loopScheme.h·Source·File</title>8 <title>OpenSubdiv:·opensubdiv/osd/clVertexBuffer.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 80, 19 lines modifiedOffset 80, 19 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">loopScheme.h</div></div>86 ··<div·class="headertitle"><div·class="title">clVertexBuffer.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <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>89 <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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·DreamWorks·Animation·LLC.</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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>
94 <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>94 <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>
95 <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>95 <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>
96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>
97 <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>97 <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 106, 596 lines modifiedOffset 106, 90 lines modified
106 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div>106 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div>
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_SDC_LOOP_SCHEME_H</span></div> 
114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·OPENSUBDIV3_SDC_LOOP_SCHEME_H</span></div> 
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
 114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_CL_VERTEX_BUFFER_H</span></div>
 115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_CL_VERTEX_BUFFER_H</span></div>
 116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> 
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;../sdc/scheme.h&quot;</span></div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;../osd/opencl.h&quot;</span></div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>120 <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>
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div>121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
123 <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> 
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> 
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>Sdc·{</div>123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span>Osd·{</div>
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
 125 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a01149.html">···42</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01149.html">CLVertexBuffer</a>·{</div>
127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> 
128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="comment">//</span></div> 
129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="comment">//··Specializations·for·Sdc::Scheme&lt;SCHEME_LOOP&gt;:</span></div> 
130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="comment">//</span></div> 
131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="comment">//</span></div> 
132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>126 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="comment">//</span></div>127 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">public</span>:</div>
 128 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01149.html#ac5f331ad354f94f90a08a928f7f57bba">···46</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01149.html">CLVertexBuffer</a>·*·<a·class="code·hl_function"·href="a01149.html#ac5f331ad354f94f90a08a928f7f57bba">Create</a>(<span·class="keywordtype">int</span>·numElements,·<span·class="keywordtype">int</span>·numVertices,·cl_context·clContext);</div>
134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="comment">//··Loop·traits:</span></div> 
135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="comment">//</span></div> 
136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="keyword">template</span>·&lt;&gt;</div> 
137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01333.html#a0e02d297f903bddcf8bc10c0ae17ad3c">···48</a></span><span·class="keyword">inline</span>·<a·class="code·hl_enumeration"·href="a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887b">Split</a>·<a·class="code·hl_function"·href="a01333.html#a14b97ddde5fba31ca7f933508ee649da">Scheme&lt;SCHEME_LOOP&gt;::GetTopologicalSplitType</a>()·{·<span·class="keywordflow">return</span>·<a·class="code·hl_enumvalue"·href="a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887ba31959b36c678fcb560f478ecb7c051f5">SPLIT_TO_TRIS</a>;·}</div> 
138 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>129 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>
139 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">template</span>·&lt;&gt;</div>130 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·DEVICE_CONTEXT&gt;</div>
140 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01333.html#a36744b2ac3801874da987d36851be86c">···51</a></span><span·class="keyword">inline</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01333.html#a53100471[·...·truncated·by·diffoscope;·len:·124,·SHA:·2e6748757af92d0f5df1b3b77a5d5f77ad7051045205559a213a38a68c684e57·...·]</div>131 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01149.html#ad1ac8e33d52862dac84a2da1483fee51">···49</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01149.html">CLVertexBuffer</a>·*·<a·class="code·hl_funct[·...·truncated·by·diffoscope;·len:·168,·SHA:·1b412a1f1dd3790831230433cc7165676a0cf95bc76ac61640d143d88f27f7b6·...·]</div>
 132 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>···································DEVICE_CONTEXT·context)·{</div>
 133 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01149.html#ac5f331ad354f94f90a08a928f7f57bba">Create</a>(numElements,·numVertices,·context-&gt;GetContext());</div>
141 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>134 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····}</div>
142 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">template</span>·&lt;&gt;</div> 
143 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01333.html#ad46ad6c30664729d163c5fcc20cdf917">···54</a></span><span·class="keyword">inline</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01333.html#a8f7e983b2195ac6b388c7a6db17f8cb0">Scheme&lt;SCHEME_LOOP&gt;::GetRegularVertexValence</a>()·{·<span·class="keywordflow">return</span>·6;·}</div> 
144 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>135 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>
 136 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01149.html#a4801ba3ea81294d3e7e3da970863896e">···55</a></span>····<a·class="code·hl_function"·href="a01149.html#a4801ba3ea81294d3e7e3da970863896e">~CLVertexBuffer</a>();</div>
145 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="keyword">template</span>·&lt;&gt;</div> 
146 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01333.html#a953430a884584e984c0afbb058091be1">···57</a></span><span·class="keyword">inline</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01333.html#a73cf51e4315ca86e5e0a3954c92f8f74">Scheme&lt;SCHEME_LOOP&gt;::GetLocalNeighborhoodSize</a>()·{·<span·class="keywordflow">return</span>·1;·}</div> 
147 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>137 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>
 138 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01149.html#a7259d1296f30e13d171cd892708d8d0a">···59</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01149.html#a7259d1296f30e13d171cd892708d8d0a">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,·cl_command_queue·clQueue,·</div>
 139 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········cl_event*·startEvents·=·NULL,·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·numStartEvents·=·0,·cl_event*·endEvent·=·NULL);</div>
148 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> 
149 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="comment">//</span></div> 
150 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="comment">//··Protected·methods·to·assign·the·two·types·of·masks·for·an·edge-vertex·--</span></div> 
151 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="comment">//··Crease·and·Smooth.</span></div> 
152 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="comment">//</span></div> 
153 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="comment">//··The·Crease·case·does·not·really·need·to·be·specialized,·though·it·may·be</span></div> 
154 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="comment">//··preferable·to·define·all·explicitly·here.</span></div> 
155 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="comment">//</span></div> 
156 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="keyword">template</span>·&lt;&gt;</div> 
157 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·EDGE,·<span·class="keyword">typename</span>·MASK&gt;</div> 
158 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="keyword">inline</span>·<span·class="keywordtype">void</span></div> 
159 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01333.html#a0b9bc37795aeebc3e732c117a5934426">···70</a></span><a·class="code·hl_function"·href="a01333.html#a56964a4c783aa15ec1f819306ee9f214">Scheme&lt;SCHEME_LOOP&gt;::assignCreaseMaskForEdge</a>(EDGE·<span·class="keyword">const</span>&amp;,·MASK&amp;·mask)<span·class="keyword">·const</span></div> 
160 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="keyword"></span>{</div> 
161 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····mask.SetNumVertexWeights(2);</div> 
162 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····mask.SetNumEdgeWeights(0);</div> 
163 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····mask.SetNumFaceWeights(0);</div> 
164 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····mask.SetFaceWeightsForFaceCenters(<span·class="keyword">false</span>);</div> 
165 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>140 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>
166 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····mask.VertexWeight(0)·=·0.5f;</div> 
167 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····mask.VertexWeight(1)·=·0.5f;</div>141 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·DEVICE_CONTEXT&gt;</div>
 142 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01149.html#a2cf1549497a0e50dde24baad4792e08c">···63</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01149.html#a2cf1549497a0e50dde24baad4792e08c">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>
 143 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····················DEVICE_CONTEXT·context,·</div>
 144 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····················cl_event*·startEvents·=·NULL,·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·numStartEvents·=·0,·cl_event*·endEvent·=·NULL)·{</div>
 145 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>········<a·class="code·hl_function"·href="a01149.html#a7259d1296f30e13d171cd892708d8d0a">UpdateData</a>(src,·startVertex,·numVertices,·context-&gt;GetCommandQueue(),·startEvents,·numStartEvents,·endEvent);</div>
168 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>}</div>146 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····}</div>
169 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>147 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
 148 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01149.html#a77cee40767fd4936f20a8f9d9d9ea625">···70</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01149.html#a77cee40767fd4936f20a8f9d9d9ea625">GetNumElements</a>()·<span·class="keyword">const</span>;</div>
170 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">template</span>·&lt;&gt;</div> 
171 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·EDGE,·<span·class="keyword">typename</span>·MASK&gt;</div> 
172 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="keyword">inline</span>·<span·class="keywordtype">void</span></div> 
173 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01333.html#a16cbaf7f173cf2fdc02c992d3a31c925">···84</a></span><a·class="code·hl_function"·href="a01333.html#a059f5c2c9193be58be31955e987a0600">Scheme&lt;SCHEME_LOOP&gt;::assignSmoothMaskForEdge</a>(EDGE·<span·class="keyword">const</span>&amp;·edge,·MASK&amp;·mask)<span·class="keyword">·const</span></div> 
174 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span><span·class="keyword"></span>{</div> 
175 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="keywordtype">int</span>·faceCount·=·edge.GetNumFaces();</div> 
176 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>149 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>
 150 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01149.html#aaf4a32b8a414eff77000c584c2015cb7">···73</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01149.html#aaf4a32b8a414eff77000c584c2015cb7">GetNumVertices</a>()·<span·class="keyword">const</span>;</div>
177 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····mask.SetNumVertexWeights(2);</div> 
178 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····mask.SetNumEdgeWeights(0);</div> 
179 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····mask.SetNumFaceWeights(faceCount);</div> 
180 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····mask.SetFaceWeightsForFaceCenters(<span·class="keyword">false</span>);</div> 
Max diff block lines reached; 11173/111715 bytes (10.00%) of diff not shown.
27.4 KB
html2text {}
    
Offset 4, 18 lines modifiedOffset 4, 18 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 loopScheme.h5 clVertexBuffer.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2014·DreamWorks·Animation·LLC.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·in11 ·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·trade15 ·9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade
Offset 29, 677 lines modifiedOffset 29, 115 lines modified
29 ·17//29 ·17//
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·24#ifndef·OPENSUBDIV3_SDC_LOOP_SCHEME_H 
37 ·25#define·OPENSUBDIV3_SDC_LOOP_SCHEME_H 
38 ·2636 ·24
 37 ·25#ifndef·OPENSUBDIV3_OSD_CL_VERTEX_BUFFER_H
 38 ·26#define·OPENSUBDIV3_OSD_CL_VERTEX_BUFFER_H
 39 ·27
39 ·27#include·"../version.h"40 ·28#include·"../version.h"
40 ·28 
41 ·29#include·"../sdc/scheme.h"41 ·29#include·"../osd/opencl.h"
42 ·3042 ·30
43 ·31#include·<cassert> 
44 ·32#include·<cmath>43 ·31namespace·OpenSubdiv·{
 44 ·32namespace·OPENSUBDIV_VERSION·{
45 ·3345 ·33
46 ·34namespace·OpenSubdiv·{ 
47 ·35namespace·OPENSUBDIV_VERSION·{ 
48 ·36namespace·Sdc·{46 ·34namespace·Osd·{
 47 ·35
 48 42class·CLVertexBuffer·{
49 ·37 
50 ·38 
51 ·39// 
52 ·40//·Specializations·for·Sdc::Scheme<SCHEME_LOOP>: 
53 ·41// 
54 ·42// 
55 ·4349 ·43
 50 ·44public:
 51 46·static·CLVertexBuffer·*·Create(int·numElements,·int·numVertices,·cl_context
 52 clContext);
56 ·44// 
57 ·45//·Loop·traits: 
58 ·46// 
59 ·47template·<> 
60 48inline·Split·Scheme<SCHEME_LOOP>::GetTopologicalSplitType()·{·return 
61 SPLIT_TO_TRIS;·} 
62 ·49 
63 ·50template·<> 
64 51inline·int·Scheme<SCHEME_LOOP>::GetRegularFaceSize()·{·return·3;·} 
65 ·52 
66 ·53template·<> 
67 54inline·int·Scheme<SCHEME_LOOP>::GetRegularVertexValence()·{·return·6;·} 
68 ·55 
69 ·56template·<> 
70 57inline·int·Scheme<SCHEME_LOOP>::GetLocalNeighborhoodSize()·{·return·1;·} 
71 ·58 
72 ·59 
73 ·60// 
74 ·61//·Protected·methods·to·assign·the·two·types·of·masks·for·an·edge-vertex·-- 
75 ·62//·Crease·and·Smooth. 
76 ·63// 
77 ·64//·The·Crease·case·does·not·really·need·to·be·specialized,·though·it·may·be 
78 ·65//·preferable·to·define·all·explicitly·here. 
79 ·66// 
80 ·67template·<> 
81 ·68template·<typename·EDGE,·typename·MASK> 
82 ·69inline·void 
83 70Scheme<SCHEME_LOOP>::assignCreaseMaskForEdge(EDGE·const&,·MASK&·mask)·const 
84 ·71{ 
85 ·72·mask.SetNumVertexWeights(2); 
86 ·73·mask.SetNumEdgeWeights(0); 
87 ·74·mask.SetNumFaceWeights(0); 
88 ·75·mask.SetFaceWeightsForFaceCenters(false); 
89 ·76 
90 ·77·mask.VertexWeight(0)·=·0.5f; 
91 ·78·mask.VertexWeight(1)·=·0.5f; 
92 ·79} 
93 ·80 
94 ·81template·<> 
95 ·82template·<typename·EDGE,·typename·MASK> 
96 ·83inline·void 
97 84Scheme<SCHEME_LOOP>::assignSmoothMaskForEdge(EDGE·const&·edge,·MASK&·mask) 
98 const 
99 ·85{ 
100 ·86·int·faceCount·=·edge.GetNumFaces(); 
101 ·87 
102 ·88·mask.SetNumVertexWeights(2); 
103 ·89·mask.SetNumEdgeWeights(0); 
104 ·90·mask.SetNumFaceWeights(faceCount); 
105 ·91·mask.SetFaceWeightsForFaceCenters(false); 
106 ·92 
107 ·93·// 
108 ·94·//·This·is·where·we·run·into·the·issue·of·"face·weights"·--·we·want·to 
109 weight·the 
110 ·95·//·face-centers·for·Catmark,·but·face-centers·are·not·generated·for·Loop. 
111 So·do 
112 ·96·//·we·make·assumptions·on·how·the·mask·is·used,·assign·some·property·to·the 
113 mask 
114 ·97·//·to·indicate·how·they·were·assigned,·or·take·input·from·the·mask·itself? 
115 ·98·// 
116 ·99·//·Regardless,·we·have·two·choices: 
117 ·100·//·-·face-weights·are·for·the·vertices·opposite·the·edge·(as·in·Hbr): 
118 ·101·//·vertex·weights·=·0.375f; 
119 ·102·//·face·weights·=·0.125f; 
120 ·103·// 
121 ·104·//·-·face-weights·are·for·the·face·centers: 
122 ·105·//·vertex·weights·=·0.125f; 
123 ·106·//·face·weights·=·0.375f; 
124 ·107·// 
125 ·108·//·Coincidentally·the·coefficients·are·the·same·but·reversed. 
126 ·109·// 
127 ·110·typedef·typename·MASK::Weight·Weight; 
Max diff block lines reached; 4416/28001 bytes (15.77%) of diff not shown.
6.14 KB
./usr/share/doc/opensubdiv/doxy_html/a00782.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/catmarkScheme.h·File·Reference</title>8 <title>OpenSubdiv:·opensubdiv/osd/clPatchTable.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 81, 38 lines modifiedOffset 81, 48 lines modified
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
 87 <a·href="#nested-classes">Classes</a>·&#124;
87 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
88 ··<div·class="headertitle"><div·class="title">catmarkScheme.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">clPatchTable.h·File·Reference</div></div>
89 </div><!--header-->90 </div><!--header-->
90 <div·class="contents">91 <div·class="contents">
91 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
92 <code>#include·&quot;<a·class="el"·href="a00773_source.html">../sdc/scheme.h</a>&quot;</code><br·/>93 <code>#include·&quot;<a·class="el"·href="a00776_source.html">../osd/opencl.h</a>&quot;</code><br·/>
93 <code>#include·&lt;cassert&gt;</code><br·/>94 <code>#include·&quot;../osd/nonCopyable.h&quot;</code><br·/>
 95 <code>#include·&quot;<a·class="el"·href="a01481_source.html">../osd/types.h</a>&quot;</code><br·/>
94 <code>#include·&lt;cmath&gt;</code><br·/>96 <code>#include·&lt;vector&gt;</code><br·/>
95 </div>97 </div>
96 <p><a·href="a00782_source.html">Go·to·the·source·code·of·this·file.</a></p>98 <p><a·href="a00782_source.html">Go·to·the·source·code·of·this·file.</a></p>
97 <table·class="memberdecls">99 <table·class="memberdecls">
 100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 101 Classes</h2></td></tr>
 102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01145.html">CLPatchTable</a></td></tr>
 103 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">CL·patch·table.··<a·href="a01145.html#details">More...</a><br·/></td></tr>
 104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 105 </table><table·class="memberdecls">
98 <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>
99 Namespaces</h2></td></tr>107 Namespaces</h2></td></tr>
100 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>108 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>110 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 112 <tr·class="memitem:a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr>
 113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 <tr·class="memitem:a00913"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00913.html">OpenSubdiv::OPENSUBDIV_VERSION::Sdc</a></td></tr>114 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>115 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 </table>116 </table>
107 </div><!--·contents·-->117 </div><!--·contents·-->
108 </div><!--·doc-content·-->118 </div><!--·doc-content·-->
109 <!--·start·footer·part·-->119 <!--·start·footer·part·-->
110 <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!·-->
111 ··<ul>121 ··<ul>
112 ····<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>122 ····<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="a00782.html">clPatchTable.h</a></li>
113 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>123 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
114 ··</ul>124 ··</ul>
115 </div>125 </div>
116 </body>126 </body>
117 </html>127 </html>
870 B
html2text {}
    
Offset 4, 25 lines modifiedOffset 4, 32 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 Namespaces5 Classes·|·Namespaces
6 catmarkScheme.h·File·Reference6 clPatchTable.h·File·Reference
7 #include·"../version.h"7 #include·"../version.h"
 8 #include·"../osd/opencl.h"
 9 #include·"../osd/nonCopyable.h"
8 #include·"../sdc/scheme.h"10 #include·"../osd/types.h"
9 #include·<cassert> 
10 #include·<cmath>11 #include·<vector>
11 Go_to_the_source_code_of_this_file.12 Go_to_the_source_code_of_this_file.
 13 ·Classes
 14 class· CLPatchTable
 15  ······CL·patch·table.·More...
 16  
12 ·Namespaces17 ·Namespaces
13 namespace· OpenSubdiv18 namespace· OpenSubdiv
14  19  
15 namespace· OpenSubdiv::OPENSUBDIV_VERSION20 namespace· OpenSubdiv::OPENSUBDIV_VERSION
16  21  
 22 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Far
 23  
17 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Sdc24 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd
18  25  
19 ····*·opensubdiv26 ····*·opensubdiv
20 ····*·sdc27 ····*·osd
21 ····*·catmarkScheme.h28 ····*·clPatchTable.h
22 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.429 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
135 KB
./usr/share/doc/opensubdiv/doxy_html/a00782_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/catmarkScheme.h·Source·File</title>8 <title>OpenSubdiv:·opensubdiv/osd/clPatchTable.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 80, 19 lines modifiedOffset 80, 19 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">catmarkScheme.h</div></div>86 ··<div·class="headertitle"><div·class="title">clPatchTable.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <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>89 <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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·DreamWorks·Animation·LLC.</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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>
94 <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>94 <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>
95 <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>95 <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>
96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>
97 <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>97 <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 106, 548 lines modifiedOffset 106, 121 lines modified
106 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div>106 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div>
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <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> 
114 <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> 
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
 114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_CL_PATCH_TABLE_H</span></div>
 115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_CL_PATCH_TABLE_H</span></div>
 116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
 119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../osd/opencl.h&quot;</span></div>
 120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;../osd/nonCopyable.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;../sdc/scheme.h&quot;</span></div>121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&quot;../osd/types.h&quot;</span></div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> 
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div> 
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div> 
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
 123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
 124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
123 <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>125 <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>
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> 
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Sdc·{</div> 
127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="comment">//</span></div>128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">namespace·</span>Far{</div>
129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="comment">//··Specializations·for·Scheme&lt;SCHEME_CATMARK&gt;:</span></div>129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">class·</span>PatchTable;</div>
130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="comment">//</span></div>130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>};</div>
131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="comment">//</span></div> 
133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="comment">//··Catmark·traits:</span></div> 
134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="comment">//</span></div> 
135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">template</span>·&lt;&gt;</div>132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">namespace·</span>Osd·{</div>
136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01333.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="a01333.html#a14b97ddde5fba31ca7f933508ee649da">Scheme&lt;SCHEME_CATMARK&gt;::GetTopologicalSplitType</a>()·{·<span·class="keywordflow">return</span>·<a·class="code·hl_enumvalue"·href="a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887ba56eed514f6a5971f198c9e421054b513">SPLIT_TO_QUADS</a>;·}</div> 
137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
 134 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01145.html">···52</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01145.html">CLPatchTable</a>·:·<span·class="keyword">private</span>·NonCopyable&lt;CLPatchTable&gt;·{</div>
138 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">template</span>·&lt;&gt;</div> 
139 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01333.html#a36744b2ac3801874da987d36851be86c">···50</a></span><span·class="keyword">inline</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01333.html#a531004716c07aad5436cb2db27e1ec24">Scheme&lt;SCHEME_CATMARK&gt;::GetRegularFaceSize</a>()·{·<span·class="keywordflow">return</span>·4;·}</div> 
140 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> 
141 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">template</span>·&lt;&gt;</div>135 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">public</span>:</div>
 136 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01145.html#a699b5e01d46024fce198a17e4527df05">···55</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01145.html">CLPatchTable</a>·*<a·class="code·hl_function"·href="a01145.html#a699b5e01d46024fce198a17e4527df05">Create</a>(<a·class="code·hl_class"·href="a00993.html">Far::PatchTable</a>·<span·class="keyword">const</span>·*patchTable,</div>
 137 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>································cl_context·clContext);</div>
142 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01333.html#ad46ad6c30664729d163c5fcc20cdf917">···53</a></span><span·class="keyword">inline</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01333.html#a8f7e983b2195ac6b388c7a6db17f8cb0">Scheme&lt;SCHEME_CATMARK&gt;::GetRegularVertexValence</a>()·{·<span·class="keywordflow">return</span>·4;·}</div> 
143 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> 
144 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">template</span>·&lt;&gt;</div> 
145 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01333.html#a953430a884584e984c0afbb058091be1">···56</a></span><span·class="keyword">inline</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01333.html#a73cf51e4315ca86e5e0a3954c92f8f74">Scheme&lt;SCHEME_CATMARK&gt;::GetLocalNeighborhoodSize</a>()·{·<span·class="keywordflow">return</span>·1;·}</div> 
146 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>138 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
 139 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·DEVICE_CONTEXT&gt;</div>
 140 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01145.html#ad52ee9f29f56576ed9ab6c7e258e14ae">···59</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01145.html">CLPatchTable</a>·*·<a·class="code·hl_function"·href="a01145.html#ad52ee9f29f56576ed9ab6c7e258e14ae">Create</a>(<a·class="code·hl_class"·href="a00993.html">Far::PatchTable</a>·<span·class="keyword">const</span>·*patchTable,</div>
 141 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·································DEVICE_CONTEXT·context)·{</div>
 142 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01145.html#a699b5e01d46024fce198a17e4527df05">Create</a>(patchTable,·context-&gt;GetContext());</div>
 143 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····}</div>
147 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>144 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
 145 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01145.html#a214a812acfe800e62954b45e2f2ee15d">···65</a></span>····<a·class="code·hl_function"·href="a01145.html#a214a812acfe800e62954b45e2f2ee15d">~CLPatchTable</a>();</div>
148 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="comment">//</span></div> 
149 <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> 
150 <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> 
151 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="comment">//</span></div>146 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
 147 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01145.html#a693751f5a6c94b134873f5c524fd999a">···68</a></span>····cl_mem·<a·class="code·hl_function"·href="a01145.html#a693751f5a6c94b134873f5c524fd999a">GetPatchArrayBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01145.html#a7210a18569c2e0f0d728092835951c70">_patchArrays</a>;·}</div>
152 <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·&quot;triangle·subdivision&quot;</span></div> 
153 <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> 
154 <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> 
155 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="comment">//··this·option.</span></div> 
156 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="comment">//</span></div>148 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
 149 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01145.html#abf29cd5f256ac52b7afdc6d87f915c4b">···71</a></span>····cl_mem·<a·class="code·hl_function"·href="a01145.html#abf29cd5f256ac52b7afdc6d87f915c4b">GetPatchIndexBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01145.html#a56bd6edaa10c8b3c718265203430dcb9">_indexBuffer</a>;·}</div>
157 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">template</span>·&lt;&gt;</div> 
158 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·EDGE,·<span·class="keyword">typename</span>·MASK&gt;</div> 
159 <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> 
160 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01333.html#a16cbaf7f173cf2fdc02c992d3a31c925">···71</a></span><a·class="code·hl_function"·href="a01333.html#a059f5c2c9193be58be31955e987a0600">Scheme&lt;SCHEME_CATMARK&gt;::assignSmoothMaskForEdge</a>(EDGE·<span·class="keyword">const</span>&amp;·edge,·MASK&amp;·mask)<span·class="keyword">·const·</span>{</div> 
161 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>150 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>
162 <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>151 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01145.html#a48b951719ff4fe3b94b20f997dc1d480">···74</a></span>····cl_mem·<a·class="code·hl_function"·href="a01145.html#a48b951719ff4fe3b94b20f997dc1d480">GetPatchParamBuffer</a>()<span·class=[·...·truncated·by·diffoscope;·len:·171,·SHA:·b262dbf4b8299efbcb6dcd79e5c8180a334c3ee763780d20ac87b2280c2620ee·...·]</div>
163 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>152 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
164 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····<span·class="keywordtype">int</span>·faceCount·=·edge.GetNumFaces();</div>153 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01145.html#afc269c290092f9ae42a8e15cdb8cebd1">···77</a></span>····cl_mem·<a·class="code·hl_function"·href="a01145.html#afc269c290092f9ae42a8e15cdb8cebd1">GetVaryingPatchArrayBuffer</a>()<span[·...·truncated·by·diffoscope;·len:·180,·SHA:·3c7c6ca6532787c33d663842f2f1121ea9d33402684eb7c509d787cf26b0fa4a·...·]</div>
165 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>154 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
 155 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01145.html#a954d3789118ddd8dc6a5d17e20665b3c">···80</a></span>····cl_mem·<a·class="code·hl_function"·href="a01145.html#a954d3789118ddd8dc6a5d17e20665b3c">GetVaryingPatchIndexBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01145.html#a82703277c754b05b7844b074b6a049c7">_varyingIndexBuffer</a>;·}</div>
166 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····mask.SetNumVertexWeights(2);</div> 
167 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····mask.SetNumEdgeWeights(0);</div> 
168 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····mask.SetNumFaceWeights(faceCount);</div> 
169 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····mask.SetFaceWeightsForFaceCenters(<span·class="keyword">true</span>);</div> 
170 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>156 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>
 157 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01145.html#aa9be824a572029f3ec1e0c0d6cfecd77">···83</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01145.html#aa9be824a572029f3ec1e0c0d6cfecd77">GetNumFVarChannels</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·(<span·class="keywordtype">int</span>)<a·class="code·hl_variable"·href="a01145.html#a0eece245e692b6640c527214e8df756d">_fvarPatchArrays</a>.size();·}</div>
 158 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
 159 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01145.html#a5956886f3c08959eade5d92c33136ad5">···86</a></span>····cl_mem·<a·class="code·hl_function"·href="a01145.html#a5956886f3c08959eade5d92c33136ad5">GetFVarPatchArrayBuffer</a>(<span·class="keywordtype">int</span>·fvarChannel·=·0)<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01145.html#a0eece245e692b6640c527214e8df756d">_fvarPatchArrays</a>[fvarChannel];·}</div>
 160 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>
 161 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a01145.html#a72aca2fb5c3e3f40ef9109a827c3b28f">···89</a></span>····cl_mem·<a·class="code·hl_function"·href="a01145.html#a72aca2fb5c3e3f40ef9109a827c3b28f">GetFVarPatchIndexBuffer</a>(<span·class="keywordtype">int</span>·fvarChannel·=·0)<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01145.html#af4ff1daf1bfd79ffa1cc26a79870b141">_fvarIndexBuffers</a>[fvarChannel];·}</div>
 162 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
 163 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01145.html#ad7ab95a3f811625b4d9ee2c1b6cac6af">···92</a></span>····cl_mem·<a·class="code·hl_function"·href="a01145.html#ad7ab95a3f811625b4d9ee2c1b6cac6af">GetFVarPatchParamBuffer</a>(<span·class="keywordtype">int</span>·fvarChannel·=·0)<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01145.html#af22c38b9eb5a91397769c40d36a303d3">_fvarParamBuffers</a>[fvarChannel];·}</div>
Max diff block lines reached; 83284/111304 bytes (74.83%) of diff not shown.
26.2 KB
html2text {}
    
Offset 4, 18 lines modifiedOffset 4, 18 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 catmarkScheme.h5 clPatchTable.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2014·DreamWorks·Animation·LLC.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·in11 ·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·trade15 ·9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade
Offset 29, 595 lines modifiedOffset 29, 175 lines modified
29 ·17//29 ·17//
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
 36 ·24
36 ·24#ifndef·OPENSUBDIV3_SDC_CATMARK_SCHEME_H37 ·25#ifndef·OPENSUBDIV3_OSD_CL_PATCH_TABLE_H
37 ·25#define·OPENSUBDIV3_SDC_CATMARK_SCHEME_H38 ·26#define·OPENSUBDIV3_OSD_CL_PATCH_TABLE_H
38 ·2639 ·27
39 ·27#include·"../version.h"40 ·28#include·"../version.h"
40 ·2841 ·29
 42 ·30#include·"../osd/opencl.h"
 43 ·31#include·"../osd/nonCopyable.h"
41 ·29#include·"../sdc/scheme.h"44 ·32#include·"../osd/types.h"
42 ·30 
43 ·31#include·<cassert> 
44 ·32#include·<cmath> 
45 ·3345 ·33
 46 ·34#include·<vector>
 47 ·35
46 ·34namespace·OpenSubdiv·{48 ·36namespace·OpenSubdiv·{
47 ·35namespace·OPENSUBDIV_VERSION·{49 ·37namespace·OPENSUBDIV_VERSION·{
48 ·36 
49 ·37namespace·Sdc·{ 
50 ·3850 ·38
51 ·39// 
52 ·40//·Specializations·for·Scheme<SCHEME_CATMARK>: 
53 ·41//51 ·39namespace·Far{
 52 ·40·class·PatchTable;
 53 ·41};
54 ·4254 ·42
 55 ·43namespace·Osd·{
 56 ·44
 57 52class·CLPatchTable·:·private·NonCopyable<CLPatchTable>·{
 58 ·53public:
 59 55·static·CLPatchTable·*Create(Far::PatchTable·const·*patchTable,
 60 ·56·cl_context·clContext);
55 ·43// 
56 ·44//·Catmark·traits: 
57 ·45// 
58 ·46template·<> 
59 47inline·Split·Scheme<SCHEME_CATMARK>::GetTopologicalSplitType()·{·return 
60 SPLIT_TO_QUADS;·} 
61 ·48 
62 ·49template·<> 
63 50inline·int·Scheme<SCHEME_CATMARK>::GetRegularFaceSize()·{·return·4;·} 
64 ·51 
65 ·52template·<> 
66 53inline·int·Scheme<SCHEME_CATMARK>::GetRegularVertexValence()·{·return·4;·} 
67 ·54 
68 ·55template·<> 
69 56inline·int·Scheme<SCHEME_CATMARK>::GetLocalNeighborhoodSize()·{·return·1;·} 
70 ·5761 ·57
 62 ·58·template·<typename·DEVICE_CONTEXT>
 63 59·static·CLPatchTable·*·Create(Far::PatchTable·const·*patchTable,
 64 ·60·DEVICE_CONTEXT·context)·{
 65 ·61·return·Create(patchTable,·context->GetContext());
 66 ·62·}
 67 ·63
 68 65·~CLPatchTable();
 69 ·66
 70 68·cl_mem·GetPatchArrayBuffer()·const·{·return·_patchArrays;·}
 71 ·69
 72 71·cl_mem·GetPatchIndexBuffer()·const·{·return·_indexBuffer;·}
71 ·58 
72 ·59// 
73 ·60//·Masks·for·edge-vertices:·the·hard·Crease·mask·does·not·need·to·be 
74 specialized 
75 ·61//·(simply·the·midpoint),·so·all·that·is·left·is·the·Smooth·case: 
76 ·62// 
77 ·63//·The·Smooth·mask·is·complicated·by·the·need·to·support·the·"triangle 
78 subdivision" 
79 ·64//·option,·which·applies·different·weighting·in·the·presence·of·triangles. 
80 It·is 
81 ·65//·up·for·debate·as·to·whether·this·is·useful·or·not·--·we·may·be·able·to 
82 deprecate 
83 ·66//·this·option. 
84 ·67// 
85 ·68template·<> 
86 ·69template·<typename·EDGE,·typename·MASK> 
87 ·70inline·void 
88 71Scheme<SCHEME_CATMARK>::assignSmoothMaskForEdge(EDGE·const&·edge,·MASK&·mask) 
89 const·{ 
90 ·7273 ·72
 74 74·cl_mem·GetPatchParamBuffer()·const·{·return·_patchParamBuffer;·}
 75 ·75
 76 77·cl_mem·GetVaryingPatchArrayBuffer()·const·{·return·_varyingPatchArrays;·}
 77 ·78
 78 80·cl_mem·GetVaryingPatchIndexBuffer()·const·{·return·_varyingIndexBuffer;·}
91 ·73·typedef·typename·MASK::Weight·Weight; 
92 ·74 
93 ·75·int·faceCount·=·edge.GetNumFaces(); 
94 ·76 
95 ·77·mask.SetNumVertexWeights(2); 
96 ·78·mask.SetNumEdgeWeights(0); 
97 ·79·mask.SetNumFaceWeights(faceCount); 
98 ·80·mask.SetFaceWeightsForFaceCenters(true); 
99 ·8179 ·81
 80 83·int·GetNumFVarChannels()·const·{·return·(int)_fvarPatchArrays.size();·}
 81 ·84
 82 86·cl_mem·GetFVarPatchArrayBuffer(int·fvarChannel·=·0)·const·{·return
 83 _fvarPatchArrays[fvarChannel];·}
 84 ·87
 85 89·cl_mem·GetFVarPatchIndexBuffer(int·fvarChannel·=·0)·const·{·return
 86 _fvarIndexBuffers[fvarChannel];·}
 87 ·90
Max diff block lines reached; 21686/26800 bytes (80.92%) of diff not shown.
6.31 KB
./usr/share/doc/opensubdiv/doxy_html/a00785.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/bilinearScheme.h·File·Reference</title>8 <title>OpenSubdiv:·opensubdiv/osd/clEvaluator.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 81, 36 lines modifiedOffset 81, 49 lines modified
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
 87 <a·href="#nested-classes">Classes</a>·&#124;
87 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
88 ··<div·class="headertitle"><div·class="title">bilinearScheme.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">clEvaluator.h·File·Reference</div></div>
89 </div><!--header-->90 </div><!--header-->
90 <div·class="contents">91 <div·class="contents">
91 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
92 <code>#include·&quot;<a·class="el"·href="a00773_source.html">../sdc/scheme.h</a>&quot;</code><br·/>93 <code>#include·&quot;<a·class="el"·href="a00776_source.html">../osd/opencl.h</a>&quot;</code><br·/>
 94 <code>#include·&quot;<a·class="el"·href="a01481_source.html">../osd/types.h</a>&quot;</code><br·/>
 95 <code>#include·&quot;<a·class="el"·href="a00881_source.html">../osd/bufferDescriptor.h</a>&quot;</code><br·/>
93 </div>96 </div>
94 <p><a·href="a00785_source.html">Go·to·the·source·code·of·this·file.</a></p>97 <p><a·href="a00785_source.html">Go·to·the·source·code·of·this·file.</a></p>
95 <table·class="memberdecls">98 <table·class="memberdecls">
 99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 100 Classes</h2></td></tr>
 101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01137.html">CLStencilTable</a></td></tr>
 102 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">OpenCL·stencil·table.··<a·href="a01137.html#details">More...</a><br·/></td></tr>
 103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 104 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01141.html">CLEvaluator</a></td></tr>
 105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 106 </table><table·class="memberdecls">
96 <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>
97 Namespaces</h2></td></tr>108 Namespaces</h2></td></tr>
98 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>109 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>
99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
100 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>111 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 113 <tr·class="memitem:a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr>
 114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 <tr·class="memitem:a00913"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00913.html">OpenSubdiv::OPENSUBDIV_VERSION::Sdc</a></td></tr>115 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>116 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 </table>117 </table>
105 </div><!--·contents·-->118 </div><!--·contents·-->
106 </div><!--·doc-content·-->119 </div><!--·doc-content·-->
107 <!--·start·footer·part·-->120 <!--·start·footer·part·-->
108 <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!·-->
109 ··<ul>122 ··<ul>
110 ····<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="a00785.html">bilinearScheme.h</a></li>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="a00785.html">clEvaluator.h</a></li>
111 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>124 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
112 ··</ul>125 ··</ul>
113 </div>126 </div>
114 </body>127 </body>
115 </html>128 </html>
849 B
html2text {}
    
Offset 4, 23 lines modifiedOffset 4, 33 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 Namespaces 
6 bilinearScheme.h·File·Reference5 Classes·|·Namespaces
 6 clEvaluator.h·File·Reference
7 #include·"../version.h"7 #include·"../version.h"
 8 #include·"../osd/opencl.h"
8 #include·"../sdc/scheme.h"9 #include·"../osd/types.h"
 10 #include·"../osd/bufferDescriptor.h"
9 Go_to_the_source_code_of_this_file.11 Go_to_the_source_code_of_this_file.
 12 ·Classes
 13 class· CLStencilTable
 14  ······OpenCL·stencil·table.·More...
 15  
 16 class· CLEvaluator
 17  
10 ·Namespaces18 ·Namespaces
11 namespace· OpenSubdiv19 namespace· OpenSubdiv
12  20  
13 namespace· OpenSubdiv::OPENSUBDIV_VERSION21 namespace· OpenSubdiv::OPENSUBDIV_VERSION
14  22  
 23 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Far
 24  
15 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Sdc25 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd
16  26  
17 ····*·opensubdiv27 ····*·opensubdiv
18 ····*·sdc28 ····*·osd
19 ····*·bilinearScheme.h29 ····*·clEvaluator.h
20 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.430 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
342 KB
./usr/share/doc/opensubdiv/doxy_html/a00785_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/bilinearScheme.h·Source·File</title>8 <title>OpenSubdiv:·opensubdiv/osd/clEvaluator.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 80, 19 lines modifiedOffset 80, 19 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">bilinearScheme.h</div></div>86 ··<div·class="headertitle"><div·class="title">clEvaluator.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <a·href="a00785.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>89 <a·href="a00785.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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·DreamWorks·Animation·LLC.</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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>
94 <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>94 <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>
95 <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>95 <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>
96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>
97 <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>97 <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 106, 175 lines modifiedOffset 106, 1218 lines modified
106 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div>106 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div>
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_SDC_BILINEAR_SCHEME_H</span></div> 
114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·OPENSUBDIV3_SDC_BILINEAR_SCHEME_H</span></div> 
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
 114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_CL_EVALUATOR_H</span></div>
 115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_CL_EVALUATOR_H</span></div>
 116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
 119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../osd/opencl.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;../sdc/scheme.h&quot;</span></div>120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;../osd/types.h&quot;</span></div>
 121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&quot;../osd/bufferDescriptor.h&quot;</span></div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> 
120 <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> 
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> 
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
 123 <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>
123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a00913.html">···34</a></span><span·class="keyword">namespace·</span>Sdc·{</div>124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="comment">//</span></div>126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Far·{</div>
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="comment">//··Specializations·for·Scheme&lt;SCHEME_BILINEAR&gt;:</span></div> 
127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="comment">//</span></div>127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">class·</span>PatchTable;</div>
 128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keyword">class·</span>StencilTable;</div>
 129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">class·</span>LimitStencilTable;</div>
128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>}</div>
129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="comment">//</span></div> 
130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="comment">//··Bilinear·traits:</span></div> 
131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="comment">//</span></div> 
132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">template</span>·&lt;&gt;</div> 
133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01333.html#a0e02d297f903bddcf8bc10c0ae17ad3c">···44</a></span><span·class="keyword">inline</span>·<a·class="code·hl_enumeration"·href="a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887b">Split</a>·<a·class="code·hl_function"·href="a01333.html#a14b97ddde5fba31ca7f933508ee649da">Scheme&lt;SCHEME_BILINEAR&gt;::GetTopologicalSplitType</a>()·{·<span·class="keywordflow">return</span>·<a·class="code·hl_enumvalue"·href="a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887ba56eed514f6a5971f198c9e421054b513">SPLIT_TO_QUADS</a>;·}</div> 
134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">template</span>·&lt;&gt;</div>132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">namespace·</span>Osd·{</div>
136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01333.html#a36744b2ac3801874da987d36851be86c">···47</a></span><span·class="keyword">inline</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01333.html#a531004716c07aad5436cb2db27e1ec24">Scheme&lt;SCHEME_BILINEAR&gt;::GetRegularFaceSize</a>()·{·<span·class="keywordflow">return</span>·4;·}</div> 
137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
 134 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01137.html">···52</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01137.html">CLStencilTable</a>·{</div>
138 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">template</span>·&lt;&gt;</div>135 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">public</span>:</div>
139 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01333.html#ad46ad6c30664729d163c5fcc20cdf917">···50</a></span><span·class="keyword">inline</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01333.html#a8f7e983b2[·...·truncated·by·diffoscope;·len:·132,·SHA:·48967777fd35ac6e6a376cc23e520fa73f6f4d0b245290b349829668b73a16b1·...·]</div>136 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·DEVICE_CONTEXT&gt;</div>
 137 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01137.html#ad4e05c20d99b64b2160c1a0c96cb0c01">···55</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01137.html">CLStencilTable</a>·*<a·class="code·hl_function"·href="a01137.html#ad4e05c20d99b64b2160c1a0c96cb0c01">Create</a>(<a·class="code·hl_class"·href="a01057.html">Far::StencilTable</a>·<span·class="keyword">const</span>·*stencilTable,</div>
 138 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··································DEVICE_CONTEXT·context)·{</div>
 139 <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_function"·href="a01137.html#a33ca6bb1dba9f8e390a58395d164431e">CLStencilTable</a>(stencilTable,·context-&gt;GetContext());</div>
 140 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····}</div>
140 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>141 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>
141 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">template</span>·&lt;&gt;</div>142 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·DEVICE_CONTEXT&gt;</div>
142 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01333.html#a953430a884584e984c0afbb058091be1">···53</a></span><span·class="keyword">inline</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01333.html#a73cf51e4[·...·truncated·by·diffoscope;·len:·134,·SHA:·d7992535f7fdc336a1066b602369b68a5d762f629a6ab79e0d1ad3de6acc82b7·...·]</div>143 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01137.html#a474edc933635aca814471b8d48950a0e">···61</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01137.html">CLStencilTable</a>·*<a·class="code·hl_functi[·...·truncated·by·diffoscope;·len:·68,·SHA:·91250429643408ce8991f0d5283c39bd9ad10d0f6758fc9fa480dc895d5f59cb·...·]</div>
 144 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>········<a·class="code·hl_class"·href="a01073.html">Far::LimitStencilTable</a>·<span·class="keyword">const</span>·*limitStencilTable,</div>
 145 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········DEVICE_CONTEXT·context)·{</div>
 146 <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_function"·href="a01137.html#a33ca6bb1dba9f8e390a58395d164431e">CLStencilTable</a>(limitStencilTable,·context-&gt;GetContext());</div>
143 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>147 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····}</div>
144 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> 
145 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="comment">//</span></div> 
146 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="comment">//··Refinement·masks:</span></div> 
147 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">//</span></div> 
148 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword">template</span>·&lt;&gt;</div> 
149 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·EDGE,·<span·class="keyword">typename</span>·MASK&gt;</div> 
150 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="keywordtype">void</span></div> 
151 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01333.html#af9dea56e1ab2f200dd03b4e35cf754c3">···62</a></span><a·class="code·hl_function"·href="a01333.html#a5b5a5377a01eb4ba446e174eff9e45ac">Scheme&lt;SCHEME_BILINEAR&gt;::ComputeEdgeVertexMask</a>(EDGE·<span·class="keyword">const</span>&amp;·edge,·MASK&amp;·mask,</div> 
152 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>················································<a·class="code·hl_enumeration"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78">Crease::Rule</a>,·<a·class="code·hl_enumeration"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78">Crease::Rule</a>)<span·class="keyword">·const·</span>{</div> 
153 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="comment">//··This·should·be·inline,·otherwise·trivially·replicate·it:</span></div> 
154 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····assignCreaseMaskForEdge(edge,·mask);</div> 
155 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>}</div>148 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
 149 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01137.html#a33ca6bb1dba9f8e390a58395d164431e">···67</a></span>····<a·class="code·hl_function"·href="a01137.html#a33ca6bb1dba9f8e390a58395d164431e">CLStencilTable</a>(<a·class="code·hl_class"·href="a01057.html">Far::StencilTable</a>·<span·class="keyword">const</span>·*stencilTable,</div>
 150 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>···················cl_context·clContext);</div>
 151 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01137.html#af2994e79cf93c872e39659321750351a">···69</a></span>····<a·class="code·hl_function"·href="a01137.html#af2994e79cf93c872e39659321750351a">CLStencilTable</a>(<a·class="code·hl_class"·href="a01073.html">Far::LimitStencilTable</a>·<span·class="keyword">const</span>·*limitStencilTable,</div>
 152 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>···················cl_context·clContext);</div>
 153 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01137.html#ab84d9750ece4e75ae7a51e7d912df82b">···71</a></span>····<a·class="code·hl_function"·href="a01137.html#ab84d9750ece4e75ae7a51e7d912df82b">~CLStencilTable</a>();</div>
156 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>154 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>
157 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">template</span>·&lt;&gt;</div> 
158 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·VERTEX,·<span·class="keyword">typename</span>·MASK&gt;</div> 
159 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="keywordtype">void</span></div> 
160 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01333.html#acd3f8303b964bda017e6f1e0cc77c6c3">···71</a></span><a·class="code·hl_function"·href="a01333.html#a328ca26e6142838c4844b034546fb8c7">Scheme&lt;SCHEME_BILINEAR&gt;::ComputeVertexVertexMask</a>(VERTEX·<span·class="keyword">const</span>&amp;·vertex,·MASK&amp;·mask,</div> 
161 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··················································<a·class="code·hl_enumeration"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78">Crease::Rule</a>,·<a·class="code·hl_enumeration"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78">Crease::Rule</a>)<span·class="keyword">·const·</span>{</div> 
162 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="comment">//··This·should·be·inline,·otherwise·trivially·replicate·it:</span></div> 
163 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····assignCornerMaskForVertex(vertex,·mask);</div> 
164 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>}</div> 
165 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> 
166 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> 
167 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="comment">//</span></div>155 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="comment">//·interfaces·needed·for·CLComputeKernel</span></div>
168 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="comment">//··Limit·masks·for·position·--·the·limit·position·of·all·vertices·is·the·refined·vertex.</span></div> 
169 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="comment">//</span></div> 
170 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">template</span>·&lt;&gt;</div> 
171 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·VERTEX,·<span·class="keyword">typename</span>·MASK&gt;</div> 
172 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="keyword">inline</span>·<span·class="keywordtype">void</span></div> 
173 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01333.html#ab38c56ce6121aed94f2796bf5df894be">···84</a></span><a·class="code·hl_function"·href="a01333.html#aa2821d365ea8135d6316c0f926f87ccb">Scheme&lt;SCHEME_BILINEAR&gt;::assignCornerLimi[·...·truncated·by·diffoscope;·len:·155,·SHA:·79abddb0d4d2c5d07d21a621ccbc3d10e5235f992f909e3f205653742694da5a·...·]</div>156 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01137.html#a65e52572efdebb80844185aada8d5951">···74</a></span>····cl_mem·<a·class="code·hl_function"·href="a01137.html#a65e52572efdebb80844185aada8d5951">GetSizesBuffer</a>()<span·class="key[·...·truncated·by·diffoscope;·len:·76,·SHA:·3e7a9d057bd4182c9141ae23e4882a6b9f3ad3cbd341cd43fd398405689d373f·...·]</div>
 157 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01137.html#a3bd38b85fd2bea1c4d2018d2f8e177a3">···75</a></span>····cl_mem·<a·class="code·hl_function"·href="a01137.html#a3bd38b85fd2bea1c4d2018d2f8e177a3">GetOffsetsBuffer</a>()<span·class="keyword">····const·</span>{·<span·class="keywordflow">return</span>·_offsets;·}</div>
 158 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01137.html#a5cbc4ec76e497871b20b4ef91f5f054f">···76</a></span>····cl_mem·<a·class="code·hl_function"·href="a01137.html#a5cbc4ec76e497871b20b4ef91f5f054f">GetIndicesBuffer</a>()<span·class="keyword">····const·</span>{·<span·class="keywordflow">return</span>·_indices;·}</div>
Max diff block lines reached; 246127/276607 bytes (88.98%) of diff not shown.
71.6 KB
html2text {}
    
Offset 4, 18 lines modifiedOffset 4, 18 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 bilinearScheme.h5 clEvaluator.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2014·DreamWorks·Animation·LLC.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·in11 ·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·trade15 ·9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade
Offset 29, 211 lines modifiedOffset 29, 1557 lines modified
29 ·17//29 ·17//
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·24#ifndef·OPENSUBDIV3_SDC_BILINEAR_SCHEME_H 
37 ·25#define·OPENSUBDIV3_SDC_BILINEAR_SCHEME_H 
38 ·2636 ·24
 37 ·25#ifndef·OPENSUBDIV3_OSD_CL_EVALUATOR_H
 38 ·26#define·OPENSUBDIV3_OSD_CL_EVALUATOR_H
 39 ·27
39 ·27#include·"../version.h"40 ·28#include·"../version.h"
 41 ·29
 42 ·30#include·"../osd/opencl.h"
 43 ·31#include·"../osd/types.h"
 44 ·32#include·"../osd/bufferDescriptor.h"
40 ·28 
41 ·29#include·"../sdc/scheme.h" 
42 ·30 
43 ·31namespace·OpenSubdiv·{ 
44 ·32namespace·OPENSUBDIV_VERSION·{ 
45 ·3345 ·33
 46 ·34namespace·OpenSubdiv·{
 47 ·35namespace·OPENSUBDIV_VERSION·{
 48 ·36
 49 ·37namespace·Far·{
 50 ·38·class·PatchTable;
 51 ·39·class·StencilTable;
 52 ·40·class·LimitStencilTable;
 53 ·41}
 54 ·42
46 34namespace·Sdc·{55 ·43namespace·Osd·{
 56 ·44
 57 52class·CLStencilTable·{
 58 ·53public:
 59 ·54·template·<typename·DEVICE_CONTEXT>
 60 55·static·CLStencilTable·*Create(Far::StencilTable·const·*stencilTable,
 61 ·56·DEVICE_CONTEXT·context)·{
 62 ·57·return·new·CLStencilTable(stencilTable,·context->GetContext());
 63 ·58·}
 64 ·59
 65 ·60·template·<typename·DEVICE_CONTEXT>
 66 61·static·CLStencilTable·*Create(
 67 ·62·Far::LimitStencilTable·const·*limitStencilTable,
 68 ·63·DEVICE_CONTEXT·context)·{
 69 ·64·return·new·CLStencilTable(limitStencilTable,·context->GetContext());
 70 ·65·}
47 ·35 
48 ·36// 
49 ·37//·Specializations·for·Scheme<SCHEME_BILINEAR>: 
50 ·38// 
51 ·39 
52 ·40// 
53 ·41//·Bilinear·traits: 
54 ·42// 
55 ·43template·<> 
56 44inline·Split·Scheme<SCHEME_BILINEAR>::GetTopologicalSplitType()·{·return 
57 SPLIT_TO_QUADS;·} 
58 ·45 
59 ·46template·<> 
60 47inline·int·Scheme<SCHEME_BILINEAR>::GetRegularFaceSize()·{·return·4;·} 
61 ·48 
62 ·49template·<> 
63 50inline·int·Scheme<SCHEME_BILINEAR>::GetRegularVertexValence()·{·return·4;·} 
64 ·51 
65 ·52template·<> 
66 53inline·int·Scheme<SCHEME_BILINEAR>::GetLocalNeighborhoodSize()·{·return·0;·} 
67 ·54 
68 ·55 
69 ·56// 
70 ·57//·Refinement·masks: 
71 ·58// 
72 ·59template·<> 
73 ·60template·<typename·EDGE,·typename·MASK> 
74 ·61void 
75 62Scheme<SCHEME_BILINEAR>::ComputeEdgeVertexMask(EDGE·const&·edge,·MASK&·mask, 
76 ·63·Crease::Rule,·Crease::Rule)·const·{ 
77 ·64·//·This·should·be·inline,·otherwise·trivially·replicate·it: 
78 ·65·assignCreaseMaskForEdge(edge,·mask); 
79 ·66}71 ·66
 72 67·CLStencilTable(Far::StencilTable·const·*stencilTable,
 73 ·68·cl_context·clContext);
 74 69·CLStencilTable(Far::LimitStencilTable·const·*limitStencilTable,
 75 ·70·cl_context·clContext);
 76 71·~CLStencilTable();
 77 ·72
 78 ·73·//·interfaces·needed·for·CLComputeKernel
 79 74·cl_mem·GetSizesBuffer()·const·{·return·_sizes;·}
 80 75·cl_mem·GetOffsetsBuffer()·const·{·return·_offsets;·}
 81 76·cl_mem·GetIndicesBuffer()·const·{·return·_indices;·}
 82 77·cl_mem·GetWeightsBuffer()·const·{·return·_weights;·}
 83 78·cl_mem·GetDuWeightsBuffer()·const·{·return·_duWeights;·}
 84 79·cl_mem·GetDvWeightsBuffer()·const·{·return·_dvWeights;·}
 85 80·cl_mem·GetDuuWeightsBuffer()·const·{·return·_duuWeights;·}
 86 81·cl_mem·GetDuvWeightsBuffer()·const·{·return·_duvWeights;·}
 87 82·cl_mem·GetDvvWeightsBuffer()·const·{·return·_dvvWeights;·}
 88 83·int·GetNumStencils()·const·{·return·_numStencils;·}
 89 ·84
 90 ·85private:
 91 ·86·cl_mem·_sizes;
 92 ·87·cl_mem·_offsets;
 93 ·88·cl_mem·_indices;
 94 ·89·cl_mem·_weights;
 95 ·90·cl_mem·_duWeights;
 96 ·91·cl_mem·_dvWeights;
 97 ·92·cl_mem·_duuWeights;
Max diff block lines reached; 67954/73269 bytes (92.75%) of diff not shown.
5.64 KB
./usr/share/doc/opensubdiv/doxy_html/a00788.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/cudaPatchTable.h·File·Reference</title>8 <title>OpenSubdiv:·opensubdiv/osd/mtlCommon.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 83, 45 lines modifiedOffset 83, 40 lines modified
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124;87 <a·href="#nested-classes">Classes</a>·&#124;
88 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">cudaPatchTable.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">mtlCommon.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
93 <code>#include·&quot;../osd/nonCopyable.h&quot;</code><br·/> 
94 <code>#include·&quot;<a·class="el"·href="a01481_source.html">../osd/types.h</a>&quot;</code><br·/> 
95 <code>#include·&lt;vector&gt;</code><br·/>93 <code>#include·&lt;cstddef&gt;</code><br·/>
96 </div>94 </div>
97 <p><a·href="a00788_source.html">Go·to·the·source·code·of·this·file.</a></p>95 <p><a·href="a00788_source.html">Go·to·the·source·code·of·this·file.</a></p>
98 <table·class="memberdecls">96 <table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
100 Classes</h2></td></tr>98 Classes</h2></td></tr>
101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01181.html">CudaPatchTable</a></td></tr>99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01277.html">MTLContext</a></td></tr>
102 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">CUDA·patch·table.··<a·href="a01181.html#details">More...</a><br·/></td></tr> 
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 </table><table·class="memberdecls">101 </table><table·class="memberdecls">
105 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
106 Namespaces</h2></td></tr>103 Namespaces</h2></td></tr>
107 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>104 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
109 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>106 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
111 <tr·class="memitem:a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr> 
112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
113 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>108 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>
114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
115 </table>110 </table>
116 </div><!--·contents·-->111 </div><!--·contents·-->
117 </div><!--·doc-content·-->112 </div><!--·doc-content·-->
118 <!--·start·footer·part·-->113 <!--·start·footer·part·-->
119 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->114 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
120 ··<ul>115 ··<ul>
121 ····<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="a00788.html">cudaPatchTable.h</a></li>116 ····<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="a00788.html">mtlCommon.h</a></li>
122 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>117 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
123 ··</ul>118 ··</ul>
124 </div>119 </div>
125 </body>120 </body>
126 </html>121 </html>
742 B
html2text {}
    
Offset 5, 30 lines modifiedOffset 5, 25 lines modified
  
  
  
5 [Logo]·OpenSubdiv5 [Logo]·OpenSubdiv
  
  
6 Classes·|·Namespaces6 Classes·|·Namespaces
7 cudaPatchTable.h·File·Reference7 mtlCommon.h·File·Reference
8 #include·"../version.h"8 #include·"../version.h"
 9 #include·<cstddef>
9 #include·"../osd/nonCopyable.h" 
10 #include·"../osd/types.h" 
11 #include·<vector> 
12 Go_to_the_source_code_of_this_file.10 Go_to_the_source_code_of_this_file.
13 ·Classes11 ·Classes
 12 class· MTLContext
14 class· CudaPatchTable 
15  ······CUDA·patch·table.·More... 
16  13  
17 ·Namespaces14 ·Namespaces
18 namespace· OpenSubdiv15 namespace· OpenSubdiv
19  16  
20 namespace· OpenSubdiv::OPENSUBDIV_VERSION17 namespace· OpenSubdiv::OPENSUBDIV_VERSION
21  18  
22 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Far 
23   
24 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd19 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd
25  20  
26 ····*·opensubdiv21 ····*·opensubdiv
27 ····*·osd22 ····*·osd
28 ····*·cudaPatchTable.h23 ····*·mtlCommon.h
29 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.424 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
250 B
./usr/share/doc/opensubdiv/doxy_html/a00788.js
158 B
js-beautify {}
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 var·a00788·=·[1 var·a00788·=·[
2 ····["CudaPatchTable",·"a01181.html",·"a01181"]2 ····["MTLContext",·"a01277.html",·"a01277"]
3 ];3 ];
41.6 KB
./usr/share/doc/opensubdiv/doxy_html/a00788_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/cudaPatchTable.h·Source·File</title>8 <title>OpenSubdiv:·opensubdiv/osd/mtlCommon.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 80, 19 lines modifiedOffset 80, 19 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">cudaPatchTable.h</div></div>86 ··<div·class="headertitle"><div·class="title">mtlCommon.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <a·href="a00788.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>89 <a·href="a00788.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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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>
94 <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>94 <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>
95 <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>95 <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>
96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>
97 <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>97 <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 107, 119 lines modifiedOffset 107, 51 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_CUDA_PATCH_TABLE_H</span></div>114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_MTL_COMMON_H</span></div>
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_CUDA_PATCH_TABLE_H</span></div>115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_MTL_COMMON_H</span></div>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../osd/nonCopyable.h&quot;</span></div>119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;../osd/types.h&quot;</span></div> 
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
 121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">@protocol·</span>MTLDevice;</div>
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">@protocol·</span>MTLCommandQueue;</div>
123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>
124 <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>124 <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>
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">namespace·</span>Far{</div>127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">namespace·</span>Osd·{</div>
 128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
 129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a01277.html">···40</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01277.html">MTLContext</a>·{</div>
128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keyword">class·</span>PatchTable;</div>130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">public</span>:</div>
 131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a01277.html#a7d70f5acf4efd89092645b4c44e480cf">···42</a></span>········id&lt;MTLDevice&gt;·<a·class="code·hl_variable"·href="a01277.html#a7d70f5acf4efd89092645b4c44e480cf">device</a>·=·<span·class="keyword">nullptr</span>;</div>
 132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01277.html#a66809eb79c7e79a491fd8c889465166b">···43</a></span>········id&lt;MTLCommandQueue&gt;·<a·class="code·hl_variable"·href="a01277.html#a66809eb79c7e79a491fd8c889465166b">commandQueue</a>·=·<span·class="keyword">nullptr</span>;</div>
129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>};</div>133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>};</div>
130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">namespace·</span>Osd·{</div>135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>}·<span·class="comment">//·end·namespace·Osd</span></div>
132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>
133 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01181.html">···51</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01181.html">CudaPatchTable</a>·:·<span·class="keyword">private</span>·NonCopyable&lt;CudaPatchT[·...·truncated·by·diffoscope;·len:·10,·SHA:·d738a4a92a574ad1254047948eca26cd5eeb405f5bc4f8f8b101f3a90239708d·...·]</div>137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>}·<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div>
134 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">public</span>:</div>138 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div>
135 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01181.html#a32a8745ae6ebb1fe7c6b0b9f6c3c0eae">···54</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01181.html">CudaPatchTable</a>·*<a·class="code·hl_function"·href="a01181.html#a32a8745ae6ebb1fe7c6b0b9f6c3c0eae">Create</a>(<a·class="code·hl_class"·href="a00993.html">Far::PatchTable</a>·<span·class="keyword">const</span>·*patchTable,</div> 
136 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··································<span·class="keywordtype">void</span>·*deviceContext·=·NULL);</div> 
137 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01181.html#a77236fdbdacca3f2e8e21c4be8ca0bf6">···57</a></span>····<a·class="code·hl_function"·href="a01181.html#a77236fdbdacca3f2e8e21c4be8ca0bf6">~CudaPatchTable</a>();</div> 
138 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>139 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>
139 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01181.html#a7e3a54d16295a2557cf0e63cb223a2db">···60</a></span>····<span·class="keywordtype">void</span>·*<a·class="code·hl_function"·href="a01181.html#a7e3a54d16295a2557cf0e63cb223a2db">GetPatchArrayBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01181.html#ab051492a1c9d697cdbb351fd09300659">_patchArrays</a>;·}</div> 
140 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> 
141 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01181.html#aa14d12be64d8e84f6303a9803e73b71d">···63</a></span>····<span·class="keywordtype">void</span>·*<a·class="code·hl_function"·href="a01181.html#aa14d12be64d8e84f6303a9803e73b71d">GetPatchIndexBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01181.html#aff9fed47b172665795e7b46f4713cb39">_indexBuffer</a>;·}</div> 
142 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> 
143 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01181.html#ab9e6dd4a1062dc6560e306db28f31a67">···66</a></span>····<span·class="keywordtype">void</span>·*<a·class="code·hl_function"·href="a01181.html#ab9e6dd4a1062dc6560e306db28f31a67">GetPatchParamBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01181.html#afec3f4b40a8f9b6e6ed2715a774d959a">_patchParamBuffer</a>;·}</div> 
144 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> 
145 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01181.html#a54e86fe3c2d4863e344fd9be2a8141c9">···69</a></span>····<span·class="keywordtype">void</span>·*<a·class="code·hl_function"·href="a01181.html#a54e86fe3c2d4863e344fd9be2a8141c9">GetVaryingPatchArrayBuffer</a>()<span·class="keyword">·const·</span>{</div> 
146 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01181.html#a372ca54f02d574dc4a20aa2f35277a1d">_varyingPatchArrays</a>;</div> 
147 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····}</div> 
148 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01181.html#a486517cc7e9296c01072ccd51f77da27">···73</a></span>····<span·class="keywordtype">void</span>·*<a·class="code·hl_function"·href="a01181.html#a486517cc7e9296c01072ccd51f77da27">GetVaryingPatchIndexBuffer</a>()<span·class="keyword">·const·</span>{</div> 
149 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01181.html#a732aefa1f4a2701e2a19c828be76b7d0">_varyingIndexBuffer</a>;</div> 
150 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····}</div> 
151 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> 
152 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01181.html#aa9be824a572029f3ec1e0c0d6cfecd77">···78</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01181.html#aa9be824a572029f3ec1e0c0d6cfecd77">GetNumFVarChannels</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·(<span·class="keywordtype">int</span>)<a·class="code·hl_variable"·href="a01181.html#a9ae3024459ccecb8a33ef3af5f27130a">_fvarPatchArrays</a>.size();·}</div> 
153 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> 
154 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01181.html#a04c544025f2690d1a4973b6ff5273646">···81</a></span>····<span·class="keywordtype">void</span>·*<a·class="code·hl_function"·href="a01181.html#a04c544025f2690d1a4973b6ff5273646">GetFVarPatchArrayBuffer</a>(<span·class="keywordtype">int</span>·fvarChannel)<span·class="keyword">·const·</span>{</div> 
155 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01181.html#a9ae3024459ccecb8a33ef3af5f27130a">_fvarPatchArrays</a>[fvarChannel];</div> 
156 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····}</div> 
157 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> 
158 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01181.html#abdb11e2609df00620abd8c081c3b13be">···86</a></span>····<span·class="keywordtype">void</span>·*<a·class="code·hl_function"·href="a01181.html#abdb11e2609df00620abd8c081c3b13be">GetFVarPatchIndexBuffer</a>(<span·class="keywordtype">int</span>·fvarChannel·=·0)<span·class="keyword">·const·</span>{</div> 
159 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01181.html#a4fd7bd0ad86a18e26331e88d278450d9">_fvarIndexBuffers</a>[fvarChannel];</div> 
160 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····}</div> 
161 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> 
162 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a01181.html#adb0788b75a061fc9b650d75bf691f1d8">···91</a></span>····<span·class="keywordtype">void</span>·*<a·class="code·hl_function"·href="a01181.html#adb0788b75a061fc9b650d75bf691f1d8">GetFVarPatchParamBuffer</a>(<span·class="keywordtype">int</span>·fvarChannel·=·0)<span·class="keyword">·const·</span>{</div> 
163 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01181.html#a24f6a6d8efcff60c81c635786f88e951">_fvarParamBuffers</a>[fvarChannel];</div> 
164 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····}</div> 
165 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> 
166 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span><span·class="keyword">protected</span>:</div> 
167 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno"><a·class="line"·href="a01181.html#aefa9c1a9175327a40e7cf46ed32ced2f">···96</a></span>····<a·class="code·hl_function"·href="a01181.html#aefa9c1a9175327a40e7cf46ed32ced2f">CudaPatchTable</a>();</div> 
168 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> 
169 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a01181.html#aa044493f8d93b17493055e0d389645bf">···98</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01181.html#aa044493f8d93b17493055e0d389645bf">allocate</a>(<a·class="code·hl_class"·href="a00993.html">Far::PatchTable</a>·<span·class="keyword">const</span>·*patchTable);</div> 
170 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> 
171 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a01181.html#ab051492a1c9d697cdbb351fd09300659">··100</a></span>····<span·class="keywordtype">void</span>·*<a·class="code·hl_variable"·href="a01181.html#ab051492a1c9d697cdbb351fd09300659">_patchArrays</a>;</div> 
172 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno"><a·class="line"·href="a01181.html#aff9fed47b172665795e7b46f4713cb39">··101</a></span>····<span·class="keywordtype">void</span>·*<a·class="code·hl_variable"·href="a01181.html#aff9fed47b172665795e7b46f4713cb39">_indexBuffer</a>;</div> 
173 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno"><a·class="line"·href="a01181.html#afec3f4b40a8f9b6e6ed2715a774d959a">··102</a></span>····<span·class="keywordtype">void</span>·*<a·class="code·hl_variable"·href="a01181.html#afec3f4b40a8f9b6e6ed2715a774d959a">_patchParamBuffer</a>;</div> 
174 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div> 
175 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a01181.html#a372ca54f02d574dc4a20aa2f35277a1d">··104</a></span>····<span·class="keywordtype">void</span>·*<a·class="code·hl_variable"·href="a01181.html#a372ca54f02d574dc4a20aa2f35277a1d">_varyingPatchArrays</a>;</div> 
176 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno"><a·class="line"·href="a01181.html#a732aefa1f4a2701e2a19c828be76b7d0">··105</a></span>····<span·class="keywordtype">void</span>·*<a·class="code·hl_variable"·href="a01181.html#a732aefa1f4a2701e2a19c828be76b7d0">_varyingIndexBuffer</a>;</div> 
177 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div> 
178 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno"><a·class="line"·href="a01181.html#a9ae3024459ccecb8a33ef3af5f27130a">··107</a></span>····std::vector&lt;void·*&gt;·<a·class="code·hl_variable"·href="a01181.html#a9ae3024459ccecb8a33ef3af5f27130a">_fvarPatchArrays</a>;</div> 
179 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno"><a·class="line"·href="a01181.html#a4fd7bd0ad86a18e26331e88d278450d9">··108</a></span>····std::vector&lt;void·*&gt;·<a·class="code·hl_variable"·href="a01181.html#a4fd7bd0ad86a18e26331e88d278450d9">_fvarIndexBuffers</a>;</div> 
180 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno"><a·class="line"·href="a01181.html#a24f6a6d8efcff60c81c635786f88e951">··109</a></span>····std::vector&lt;void·*&gt;·<a·class="code·hl_variable"·href="a01181.html#a24f6a6d8efcff60c81c635786f88e951">_fvarParamBuffers</a>;</div> 
181 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>};</div> 
182 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> 
183 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>}··<span·class="comment">//·end·namespace·Osd</span></div> 
184 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>·</div> 
185 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>}··<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> 
186 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> 
187 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>·</div> 
188 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>}··<span·class="comment">//·end·namespace·OpenSubdiv</span></div>140 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>}·<span·class="comment">//·end·namespace·OpenSubdiv</span></div>
189 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div>141 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
190 <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>142 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="preprocessor">#endif·</span><span·class="comment">//OPENSUBDIV3_OSD_MTL_COMMON_H</span></div>
191 <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>143 <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>
 144 <div·class="ttc"·id="aa01277_html"><div·class="ttname"><a·href="a01277.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLContext</a></div><div·class="ttdef"><b>Definition:</b>·<a·href="a00788_source.html#l00040">mtlCommon.h:40</a></div></div>
Max diff block lines reached; 956/34650 bytes (2.76%) of diff not shown.
7.62 KB
html2text {}
    
Offset 4, 18 lines modifiedOffset 4, 18 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 cudaPatchTable.h5 mtlCommon.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2015·Pixar8 ·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·in11 ·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·trade15 ·9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade
Offset 30, 167 lines modifiedOffset 30, 50 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_OSD_CUDA_PATCH_TABLE_H 
38 ·26#define·OPENSUBDIV3_OSD_CUDA_PATCH_TABLE_H37 ·25#ifndef·OPENSUBDIV3_OSD_MTL_COMMON_H
 38 ·26#define·OPENSUBDIV3_OSD_MTL_COMMON_H
39 ·2739 ·27
40 ·28#include·"../version.h"40 ·28#include·"../version.h"
41 ·2941 ·29
42 ·30#include·"../osd/nonCopyable.h" 
43 ·31#include·"../osd/types.h" 
44 ·32 
45 ·33#include·<vector>42 ·30#include·<cstddef>
 43 ·31
 44 ·32@protocol·MTLDevice;
 45 ·33@protocol·MTLCommandQueue;
46 ·3446 ·34
47 ·35namespace·OpenSubdiv·{47 ·35namespace·OpenSubdiv·{
48 ·36namespace·OPENSUBDIV_VERSION·{48 ·36namespace·OPENSUBDIV_VERSION·{
49 ·3749 ·37
50 ·38namespace·Far{ 
51 ·39·class·PatchTable; 
52 ·40}; 
53 ·41 
54 ·42namespace·Osd·{50 ·38namespace·Osd·{
55 ·43 
56 51class·CudaPatchTable·:·private·NonCopyable<CudaPatchTable>·{51 ·39
 52 40class·MTLContext·{
57 ·52public:53 ·41public:
 54 42·id<MTLDevice>·device·=·nullptr;
 55 43·id<MTLCommandQueue>·commandQueue·=·nullptr;
 56 ·44};
 57 ·45
58 54·static·CudaPatchTable·*Create(Far::PatchTable·const·*patchTable, 
59 ·55·void·*deviceContext·=·NULL); 
60 57·~CudaPatchTable(); 
61 ·58 
62 60·void·*GetPatchArrayBuffer()·const·{·return·_patchArrays;·} 
63 ·61 
64 63·void·*GetPatchIndexBuffer()·const·{·return·_indexBuffer;·} 
65 ·64 
66 66·void·*GetPatchParamBuffer()·const·{·return·_patchParamBuffer;·} 
67 ·67 
68 69·void·*GetVaryingPatchArrayBuffer()·const·{ 
69 ·70·return·_varyingPatchArrays; 
70 ·71·} 
71 73·void·*GetVaryingPatchIndexBuffer()·const·{ 
72 ·74·return·_varyingIndexBuffer; 
73 ·75·} 
74 ·76 
75 78·int·GetNumFVarChannels()·const·{·return·(int)_fvarPatchArrays.size();·} 
76 ·79 
77 81·void·*GetFVarPatchArrayBuffer(int·fvarChannel)·const·{ 
78 ·82·return·_fvarPatchArrays[fvarChannel]; 
79 ·83·} 
80 ·84 
81 86·void·*GetFVarPatchIndexBuffer(int·fvarChannel·=·0)·const·{ 
82 ·87·return·_fvarIndexBuffers[fvarChannel]; 
83 ·88·} 
84 ·89 
85 91·void·*GetFVarPatchParamBuffer(int·fvarChannel·=·0)·const·{ 
86 ·92·return·_fvarParamBuffers[fvarChannel]; 
87 ·93·} 
88 ·94 
89 ·95protected: 
90 96·CudaPatchTable(); 
91 ·97 
92 98·bool·allocate(Far::PatchTable·const·*patchTable); 
93 ·99 
94 100·void·*_patchArrays; 
95 101·void·*_indexBuffer; 
96 102·void·*_patchParamBuffer; 
97 ·103 
98 104·void·*_varyingPatchArrays; 
99 105·void·*_varyingIndexBuffer; 
100 ·106 
101 107·std::vector<void·*>·_fvarPatchArrays; 
102 108·std::vector<void·*>·_fvarIndexBuffers; 
103 109·std::vector<void·*>·_fvarParamBuffers; 
104 ·110}; 
105 ·111 
106 ·112}·//·end·namespace·Osd58 ·46}·//·end·namespace·Osd
107 ·11359 ·47
108 ·114}·//·end·namespace·OPENSUBDIV_VERSION60 ·48}·//·end·namespace·OPENSUBDIV_VERSION
109 ·115using·namespace·OPENSUBDIV_VERSION;61 ·49using·namespace·OPENSUBDIV_VERSION;
110 ·11662 ·50
111 ·117}·//·end·namespace·OpenSubdiv63 ·51}·//·end·namespace·OpenSubdiv
112 ·118 
113 ·119#endif·//·OPENSUBDIV3_OSD_CUDA_PATCH_TABLE_H64 ·52
 65 ·53#endif·//OPENSUBDIV3_OSD_MTL_COMMON_H
114 OpenSubdiv66 OpenSubdiv
115 Definition:·limits.h:3267 Definition:·limits.h:32
116 OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable 
117 Container·for·arrays·of·parametric·patches. 
118 Definition:·patchTable.h:55 
119 OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaPatchTable68 OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLContext
 69 Definition:·mtlCommon.h:40
 70 OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLContext::commandQueue
 71 id<·MTLCommandQueue·>·commandQueue
 72 Definition:·mtlCommon.h:43
120 CUDA·patch·table. 
121 Definition:·cudaPatchTable.h:51 
122 OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaPatchTable::GetFVarPatchArrayBuffer 
123 void·*·GetFVarPatchArrayBuffer(int·fvarChannel)·const 
Max diff block lines reached; 133/7781 bytes (1.71%) of diff not shown.
6.29 KB
./usr/share/doc/opensubdiv/doxy_html/a00791.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/cudaEvaluator.h·File·Reference</title>8 <title>OpenSubdiv:·opensubdiv/osd/mtlPatchShaderSource.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 83, 47 lines modifiedOffset 83, 41 lines modified
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124;87 <a·href="#nested-classes">Classes</a>·&#124;
88 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">cudaEvaluator.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">mtlPatchShaderSource.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#import·&quot;../version.h&quot;</code><br·/>
93 <code>#include·&lt;vector&gt;</code><br·/> 
94 <code>#include·&quot;<a·class="el"·href="a00899_source.html">../osd/bufferDescriptor.h</a>&quot;</code><br·/>93 <code>#import·&quot;<a·class="el"·href="a00740_source.html">../far/patchDescriptor.h</a>&quot;</code><br·/>
95 <code>#include·&quot;<a·class="el"·href="a01481_source.html">../osd/types.h</a>&quot;</code><br·/>94 <code>#import·&lt;string&gt;</code><br·/>
96 </div>95 </div>
97 <p><a·href="a00791_source.html">Go·to·the·source·code·of·this·file.</a></p>96 <p><a·href="a00791_source.html">Go·to·the·source·code·of·this·file.</a></p>
98 <table·class="memberdecls">97 <table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
100 Classes</h2></td></tr>99 Classes</h2></td></tr>
101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01173.html">CudaStencilTable</a></td></tr> 
102 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">CUDA·stencil·table.··<a·href="a01173.html#details">More...</a><br·/></td></tr> 
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
104 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01177.html">CudaEvaluator</a></td></tr>100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01293.html">MTLPatchShaderSource</a></td></tr>
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 </table><table·class="memberdecls">102 </table><table·class="memberdecls">
107 <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>
108 Namespaces</h2></td></tr>104 Namespaces</h2></td></tr>
109 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>105 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>
110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
111 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>107 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>
112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
113 <tr·class="memitem:a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr> 
114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
115 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>109 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
117 </table>111 </table>
118 </div><!--·contents·-->112 </div><!--·contents·-->
119 </div><!--·doc-content·-->113 </div><!--·doc-content·-->
120 <!--·start·footer·part·-->114 <!--·start·footer·part·-->
121 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->115 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
122 ··<ul>116 ··<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="a00791.html">cudaEvaluator.h</a></li>117 ····<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="a00791.html">mtlPatchShaderSource.h</a></li>
124 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>118 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
125 ··</ul>119 ··</ul>
126 </div>120 </div>
127 </body>121 </body>
128 </html>122 </html>
864 B
html2text {}
    
Offset 5, 32 lines modifiedOffset 5, 26 lines modified
  
  
  
5 [Logo]·OpenSubdiv5 [Logo]·OpenSubdiv
  
  
6 Classes·|·Namespaces6 Classes·|·Namespaces
7 cudaEvaluator.h·File·Reference7 mtlPatchShaderSource.h·File·Reference
8 #include·"../version.h"8 #import·"../version.h"
 9 #import·"../far/patchDescriptor.h"
 10 #import·<string>
9 #include·<vector> 
10 #include·"../osd/bufferDescriptor.h" 
11 #include·"../osd/types.h" 
12 Go_to_the_source_code_of_this_file.11 Go_to_the_source_code_of_this_file.
13 ·Classes12 ·Classes
 13 class· MTLPatchShaderSource
14 class· CudaStencilTable 
15  ······CUDA·stencil·table.·More... 
16   
17 class· CudaEvaluator 
18  14  
19 ·Namespaces15 ·Namespaces
20 namespace· OpenSubdiv16 namespace· OpenSubdiv
21  17  
22 namespace· OpenSubdiv::OPENSUBDIV_VERSION18 namespace· OpenSubdiv::OPENSUBDIV_VERSION
23  19  
24 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Far 
25   
26 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd20 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd
27  21  
28 ····*·opensubdiv22 ····*·opensubdiv
29 ····*·osd23 ····*·osd
30 ····*·cudaEvaluator.h24 ····*·mtlPatchShaderSource.h
31 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.425 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
303 B
./usr/share/doc/opensubdiv/doxy_html/a00791.js
211 B
js-beautify {}
    
Offset 1, 4 lines modifiedOffset 1, 3 lines modified
1 var·a00791·=·[1 var·a00791·=·[
 2 ····["MTLPatchShaderSource",·"a01293.html",·null]
2 ····["CudaStencilTable",·"a01173.html",·"a01173"], 
3 ····["CudaEvaluator",·"a01177.html",·null] 
4 ];3 ];
169 KB
./usr/share/doc/opensubdiv/doxy_html/a00791_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/cudaEvaluator.h·Source·File</title>8 <title>OpenSubdiv:·opensubdiv/osd/mtlPatchShaderSource.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 80, 19 lines modifiedOffset 80, 19 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">cudaEvaluator.h</div></div>86 ··<div·class="headertitle"><div·class="title">mtlPatchShaderSource.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <a·href="a00791.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>89 <a·href="a00791.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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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>
94 <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>94 <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>
95 <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>95 <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>
96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>
97 <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>97 <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 107, 550 lines modifiedOffset 107, 72 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_CUDA_EVALUATOR_H</span></div>114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_MTL_PATCH_SHADER_SOURCE_H</span></div>
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_CUDA_EVALUATOR_H</span></div>115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_MTL_PATCH_SHADER_SOURCE_H</span></div>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#import·&quot;../version.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#import·&quot;../far/patchDescriptor.h&quot;</span></div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#import·&lt;string&gt;</span></div>
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;../osd/bufferDescriptor.h&quot;</span></div> 
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&quot;../osd/types.h&quot;</span></div> 
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
123 <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>121 <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>
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
 123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>
 124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>Osd·{</div>
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Far·{</div>126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01293.html">···37</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01293.html">MTLPatchShaderSource</a>·{</div>
127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">class·</span>PatchTable;</div>127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">public</span>:</div>
 128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01293.html#ad5f427d2655d384980715874209345e7">···39</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01293.html#ad5f427d2655d384980715874209345e7">GetCommonShaderSource</a>();</div>
128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keyword">class·</span>StencilTable;</div> 
129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">class·</span>LimitStencilTable;</div> 
130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>}</div>129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>
 130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01293.html#ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d">···41</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01293.html#ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d">GetPatchBasisShaderSource</a>();</div>
131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">namespace·</span>Osd·{</div>132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01293.html#a20cb122b561de15ed3b90d7e4f5176d2">···43</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01293.html#a20cb122b561de15ed3b90d7e4f5176d2">GetVertexShaderSource</a>(<a·class="co[·...·truncated·by·diffoscope;·len:·109,·SHA:·48ce2be47d870ac663136cf3f6545f0fc0ea6f9d28900252486d3094a6c2757a·...·]</div>
133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
134 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01173.html">···52</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01173.html">CudaStencilTable</a>·{</div>134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01293.html#a97a09fe0a378798cafdff72e115e373f">···45</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01293.html#a97a09fe0a378798cafdff72e115e3[·...·truncated·by·diffoscope;·len:·150,·SHA:·a14974f4315a92c7eb58cbc25e02d74a2b1c47b5b5f3ab69a33aff40a53f09fa·...·]</div>
135 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">public</span>:</div>135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
 136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01293.html#a733309309efe67ba5d1acd7d0a9ff6ca">···47</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01293.html#a733309309efe67ba5d1acd7d0a9ff6ca">GetDomainShaderSource</a>(<a·class="code·hl_enumeration"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type);</div>
136 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01173.html#afa5ea3da09e459d3786b4249caea825d">···54</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01173.html">CudaStencilTable</a>·*<a·class="code·hl_function"·href="a01173.html#afa5ea3da09e459d3786b4249caea825d">Create</a>(<a·class="code·hl_class"·href="a01057.html">Far::StencilTable</a>·<span·class="keyword">const</span>·*stencilTable,</div> 
137 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····································<span·class="keywordtype">void</span>·*deviceContext·=·NULL)·{</div> 
138 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>········(void)deviceContext;··<span·class="comment">//·unused</span></div> 
139 <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_function"·href="a01173.html#af872fc469b3696a745d30d22c2b89c4c">CudaStencilTable</a>(stencilTable);</div> 
140 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····}</div>137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
141 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01173.html#ac1bda7ee1a17bc67c977cde973c0aaad">···59</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01173.html">CudaStencilTable</a>·*<a·class="code·hl_function"·href="a01173.html#ac1bda7ee1a17bc67c977cde973c0aaad">Create</a>(<a·class="code·hl_class"·href="a01073.html">Far::LimitStencilTable</a>·<span·class="keyword">const</span>·*limitStencilTable,</div> 
142 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····································<span·class="keywordtype">void</span>·*deviceContext·=·NULL)·{</div> 
143 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>········(void)deviceContext;··<span·class="comment">//·unused</span></div> 
144 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>········<span·class="keywordflow">return</span>·<span·class="keyword">new</span>·<a·class="code·hl_function"·href="a01173.html#af872fc469b3696a745d30d22c2b89c4c">CudaStencilTable</a>(limitStencilTable)[·...·truncated·by·diffoscope;·len:·1,·SHA:·41b805ea7ac014e23556e98bb374702a08344268f92489a02f0880849394a1e4·...·]</div>138 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01293.html#a7b51f245191a47026eaedcde63850f79">···53</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01293.html#a7b51f245191a47026eaedcde63850[·...·truncated·by·diffoscope;·len:·31,·SHA:·f437adcd43c3bbf7dc680fe59d893e27045b01dab4f34bb55cfb019b407f68f3·...·]</div>
 139 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>········<a·class="code·hl_enumeration"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type,</div>
 140 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>········<a·class="code·hl_enumeration"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·fvarType);</div>
 141 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01293.html#a55538e8657b191955044d983cf1b3649">···56</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01293.html#a55538e8657b191955044d983cf1b3649">GetHullShaderSource</a>(</div>
 142 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········<a·class="code·hl_enumeration"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type,</div>
 143 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>········<a·class="code·hl_enumeration"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·fvarType);</div>
 144 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01293.html#a85470a02e193180c7d9c51b2d65962bb">···59</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01293.html#a85470a02e193180c7d9c51b2d65962bb">GetDomainShaderSource</a>(</div>
 145 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········<a·class="code·hl_enumeration"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type,</div>
 146 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>········<a·class="code·hl_enumeration"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·fvarType);</div>
 147 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>};</div>
145 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····}</div>148 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
 149 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>}··<span·class="comment">//·end·namespace·Osd</span></div>
146 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>150 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>
 151 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>}··<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div>
 152 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div>
147 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01173.html#af872fc469b3696a745d30d22c2b89c4c">···65</a></span>····<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01173.html#af872fc469b3696a745d30d22c2b89c4c">CudaStencilTable</a>(<a·class="code·hl_class"·href="a01057.html">Far::StencilTable</a>·<span·class="keyword">const</span>·*stencilTable);</div> 
148 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01173.html#a45150c630c07bbeabd4b91145cecf087">···66</a></span>····<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01173.html#a45150c630c07bbeabd4b91145cecf087">CudaStencilTable</a>(<a·class="code·hl_class"·href="a01073.html">Far::LimitStencilTable</a>·<span·class="keyword">const</span>·*limitStencilTable);</div> 
149 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01173.html#a178a7d6f638161ad174b992c844004ba">···67</a></span>····<a·class="code·hl_function"·href="a01173.html#a178a7d6f638161ad174b992c844004ba">~CudaStencilTable</a>();</div> 
150 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>153 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····</div>
151 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="comment">//·interfaces·needed·for·CudaCompute</span></div>154 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>}·<span·class="comment">//·end·namespace·OpenSubdiv</span></div>
152 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01173.html#ac4528f233689c7f4ae7f3fd7b0eea484">···70</a></span>····<span·class="keywordtype">void</span>·*<a·class="code·hl_function"·href="a01173.html#ac4528f233689c7f4ae7f3fd7b0eea484">GetSizesBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_sizes;·}</div> 
153 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01173.html#a3822b0045b4aa89b646b145acf6dc230">···71</a></span>····<span·class="keywordtype">void</span>·*<a·class="code·hl_function"·href="a01173.html#a3822b0045b4aa89b646b145acf6dc230">GetOffsetsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_offsets;·}</div> 
154 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01173.html#af2f896634b0a6cc6d4efb82aafbad5a6">···72</a></span>····<span·class="keywordtype">void</span>·*<a·class="code·hl_function"·href="a01173.html#af2f896634b0a6cc6d4efb82aafbad5a6">GetIndicesBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_indices;·}</div> 
155 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01173.html#aa3cd13b6b7e97cebf92d03d3208b75fa">···73</a></span>····<span·class="keywordtype">void</span>·*<a·class="code·hl_function"·href="a01173.html#aa3cd13b6b7e97cebf92d03d3208b75fa">GetWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_weights;·}</div> 
156 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01173.html#a2b91670573e565368e68512e02d045d6">···74</a></span>····<span·class="keywordtype">void</span>·*<a·class="code·hl_function"·href="a01173.html#a2b91670573e565368e68512e02d045d6">GetDuWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_duWeights;·}</div> 
157 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01173.html#a5a1c0c8eb5d41b526ec9480f03dbf4d0">···75</a></span>····<span·class="keywordtype">void</span>·*<a·class="code·hl_function"·href="a01173.html#a5a1c0c8eb5d41b526ec9480f03dbf4d0">GetDvWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_dvWeights;·}</div> 
158 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01173.html#a6b4f42dac92785ea5a1d77a4a75fa502">···76</a></span>····<span·class="keywordtype">void</span>·*<a·class="code·hl_function"·href="a01173.html#a6b4f42dac92785ea5a1d77a4a75fa502">GetDuuWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_duuWeights;·}</div> 
159 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01173.html#a0227c2f6e9e0eaa1bf104e5a6efa0830">···77</a></span>····<span·class="keywordtype">void</span>·*<a·class="code·hl_function"·href="a01173.html#a0227c2f6e9e0eaa1bf104e5a6efa0830">GetDuvWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_duvWeights;·}</div> 
160 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01173.html#a2fd4ce98e6978f5895dd4c79ef84e4d5">···78</a></span>····<span·class="keywordtype">void</span>·*<a·class="code·hl_function"·href="a01173.html#a2fd4ce98e6978f5895dd4c79ef84e4d5">GetDvvWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_dvvWeights;·}</div> 
161 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01173.html#a65836d2070b943c8fecbad926d074de2">···79</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01173.html#a65836d2070b943c8fecbad926d074de2">GetNumStencils</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_numStencils;·}</div> 
162 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>155 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>
 156 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="preprocessor">#endif··</span><span·class="comment">//·OPENSUBDIV3_OSD_MTL_PATCH_SHADER_SOURCE</span></div>
163 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">private</span>:</div> 
164 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="keywordtype">void</span>·*·_sizes,</div> 
165 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·········*·_offsets,</div> 
166 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·········*·_indices,</div> 
167 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·········*·_weights,</div> 
168 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·········*·_duWeights,</div> 
169 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·········*·_dvWeights,</div> 
170 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·········*·_duuWeights,</div> 
171 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·········*·_duvWeights,</div> 
172 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·········*·_dvvWeights;</div> 
173 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="keywordtype">int</span>·_numStencils;</div> 
174 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>};</div> 
175 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> 
176 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno"><a·class="line"·href="a01177.html">···94</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01177.html">CudaEvaluator</a>·{</div> 
177 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span><span·class="keyword">public</span>:</div> 
178 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> 
179 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·SRC_BUFFER,·<span·class="keyword">typename</span>·DST_BUFFER,·<span·class="keyword">typename</span>·STENCIL_TABLE&gt;</div> 
Max diff block lines reached; 28280/136293 bytes (20.75%) of diff not shown.
36.3 KB
html2text {}
    
Offset 4, 18 lines modifiedOffset 4, 18 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 cudaEvaluator.h5 mtlPatchShaderSource.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2015·Pixar8 ·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·in11 ·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·trade15 ·9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade
Offset 30, 740 lines modifiedOffset 30, 87 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_OSD_CUDA_EVALUATOR_H 
38 ·26#define·OPENSUBDIV3_OSD_CUDA_EVALUATOR_H37 ·25#ifndef·OPENSUBDIV3_OSD_MTL_PATCH_SHADER_SOURCE_H
 38 ·26#define·OPENSUBDIV3_OSD_MTL_PATCH_SHADER_SOURCE_H
39 ·2739 ·27
40 ·28#include·"../version.h"40 ·28#import·"../version.h"
 41 ·29#import·"../far/patchDescriptor.h"
 42 ·30#import·<string>
 43 ·31
41 ·29 
42 ·30#include·<vector> 
43 ·31#include·"../osd/bufferDescriptor.h" 
44 ·32#include·"../osd/types.h" 
45 ·33 
46 ·34namespace·OpenSubdiv·{44 ·32namespace·OpenSubdiv·{
47 ·35namespace·OPENSUBDIV_VERSION·{45 ·33namespace·OPENSUBDIV_VERSION·{
 46 ·34
 47 ·35namespace·Osd·{
48 ·3648 ·36
49 ·37namespace·Far·{ 
50 ·38·class·PatchTable; 
51 ·39·class·StencilTable; 
52 ·40·class·LimitStencilTable; 
53 ·41}49 37class·MTLPatchShaderSource·{
 50 ·38·public:
 51 39·static·std::string·GetCommonShaderSource();
 52 ·40
 53 41·static·std::string·GetPatchBasisShaderSource();
54 ·4254 ·42
55 ·43namespace·Osd·{55 43·static·std::string·GetVertexShaderSource(Far::PatchDescriptor::Type·type);
56 ·4456 ·44
57 52class·CudaStencilTable·{ 
58 ·53public: 
59 54·static·CudaStencilTable·*Create(Far::StencilTable·const·*stencilTable, 
60 ·55·void·*deviceContext·=·NULL)·{ 
61 ·56·(void)deviceContext;·//·unused 
62 ·57·return·new·CudaStencilTable(stencilTable); 
63 ·58·} 
64 59·static·CudaStencilTable·*Create(Far::LimitStencilTable·const 
65 *limitStencilTable, 
66 ·60·void·*deviceContext·=·NULL)·{ 
67 ·61·(void)deviceContext;·//·unused 
68 ·62·return·new·CudaStencilTable(limitStencilTable);57 45·static·std::string·GetHullShaderSource(Far::PatchDescriptor::Type·type);
 58 ·46
 59 47·static·std::string·GetDomainShaderSource(Far::PatchDescriptor::Type·type);
 60 ·48
 61 53·static·std::string·GetVertexShaderSource(
 62 ·54·Far::PatchDescriptor::Type·type,
 63 ·55·Far::PatchDescriptor::Type·fvarType);
 64 56·static·std::string·GetHullShaderSource(
 65 ·57·Far::PatchDescriptor::Type·type,
 66 ·58·Far::PatchDescriptor::Type·fvarType);
 67 59·static·std::string·GetDomainShaderSource(
 68 ·60·Far::PatchDescriptor::Type·type,
 69 ·61·Far::PatchDescriptor::Type·fvarType);
 70 ·62};
69 ·63·}71 ·63
70 ·64 
71 65·explicit·CudaStencilTable(Far::StencilTable·const·*stencilTable); 
72 66·explicit·CudaStencilTable(Far::LimitStencilTable·const·*limitStencilTable); 
73 67·~CudaStencilTable();72 ·64}·//·end·namespace·Osd
 73 ·65
 74 ·66}·//·end·namespace·OPENSUBDIV_VERSION
 75 ·67using·namespace·OPENSUBDIV_VERSION;
74 ·6876 ·68
75 ·69·//·interfaces·needed·for·CudaCompute 
76 70·void·*GetSizesBuffer()·const·{·return·_sizes;·} 
77 71·void·*GetOffsetsBuffer()·const·{·return·_offsets;·} 
78 72·void·*GetIndicesBuffer()·const·{·return·_indices;·} 
79 73·void·*GetWeightsBuffer()·const·{·return·_weights;·} 
80 74·void·*GetDuWeightsBuffer()·const·{·return·_duWeights;·} 
81 75·void·*GetDvWeightsBuffer()·const·{·return·_dvWeights;·} 
82 76·void·*GetDuuWeightsBuffer()·const·{·return·_duuWeights;·} 
83 77·void·*GetDuvWeightsBuffer()·const·{·return·_duvWeights;·} 
84 78·void·*GetDvvWeightsBuffer()·const·{·return·_dvvWeights;·} 
85 79·int·GetNumStencils()·const·{·return·_numStencils;·} 
86 ·80 
87 ·81private: 
88 ·82·void·*·_sizes, 
89 ·83·*·_offsets, 
90 ·84·*·_indices, 
91 ·85·*·_weights, 
92 ·86·*·_duWeights, 
93 ·87·*·_dvWeights, 
94 ·88·*·_duuWeights, 
95 ·89·*·_duvWeights, 
96 ·90·*·_dvvWeights; 
97 ·91·int·_numStencils; 
98 ·92}; 
99 ·93 
100 94class·CudaEvaluator·{ 
101 ·95public: 
102 ·101 
103 ·125·template·<typename·SRC_BUFFER,·typename·DST_BUFFER,·typename 
104 STENCIL_TABLE> 
105 126·static·bool·EvalStencils( 
106 ·127·SRC_BUFFER·*srcBuffer,·BufferDescriptor·const·&srcDesc, 
107 ·128·DST_BUFFER·*dstBuffer,·BufferDescriptor·const·&dstDesc, 
108 ·129·STENCIL_TABLE·const·*stencilTable, 
109 ·130·const·void·*instance·=·NULL, 
110 ·131·void·*·deviceContext·=·NULL)·{ 
111 ·132 
Max diff block lines reached; 15537/37097 bytes (41.88%) of diff not shown.
5.18 KB
./usr/share/doc/opensubdiv/doxy_html/a00794.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/opencl.h·File·Reference</title>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 80, 24 lines modifiedOffset 80, 44 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
 86 ··<div·class="summary">
 87 <a·href="#namespaces">Namespaces</a>·&#124;
 88 <a·href="#typedef-members">Typedefs</a>··</div>
86 ··<div·class="headertitle"><div·class="title">opencl.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">mtlMesh.h·File·Reference</div></div>
87 </div><!--header-->90 </div><!--header-->
88 <div·class="contents">91 <div·class="contents">
89 <div·class="textblock"><code>#include·&lt;CL/opencl.h&gt;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
 93 <code>#include·&quot;<a·class="el"·href="a00869_source.html">../osd/mesh.h</a>&quot;</code><br·/>
 94 <code>#include·&quot;<a·class="el"·href="a00797_source.html">../osd/mtlPatchTable.h</a>&quot;</code><br·/>
90 </div>95 </div>
91 <p><a·href="a00794_source.html">Go·to·the·source·code·of·this·file.</a></p>96 <p><a·href="a00794_source.html">Go·to·the·source·code·of·this·file.</a></p>
 97 <table·class="memberdecls">
 98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
 99 Namespaces</h2></td></tr>
 100 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>
 101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 102 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>
 103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 104 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>
 105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 106 </table><table·class="memberdecls">
 107 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>
 108 Typedefs</h2></td></tr>
 109 <tr·class="memitem:aa41e5b43fe46eeb0f97ff6ebdb1935aa"><td·class="memItemLeft"·align="right"·valign="top">typedef·MeshInterface&lt;·MTLPatchTable·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#aa41e5b43fe46eeb0f97ff6ebdb1935aa">MTLMeshInterface</a></td></tr>
 110 <tr·class="separator:aa41e5b43fe46eeb0f97ff6ebdb1935aa"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 111 </table>
92 </div><!--·contents·-->112 </div><!--·contents·-->
93 </div><!--·doc-content·-->113 </div><!--·doc-content·-->
94 <!--·start·footer·part·-->114 <!--·start·footer·part·-->
95 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->115 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
96 ··<ul>116 ··<ul>
97 ····<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="a00794.html">opencl.h</a></li>117 ····<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="a00794.html">mtlMesh.h</a></li>
98 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>118 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
99 ··</ul>119 ··</ul>
100 </div>120 </div>
101 </body>121 </body>
102 </html>122 </html>
642 B
html2text {}
    
Offset 4, 14 lines modifiedOffset 4, 27 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
 5 Namespaces·|·Typedefs
5 opencl.h·File·Reference6 mtlMesh.h·File·Reference
6 #include·<CL/opencl.h>7 #include·"../version.h"
 8 #include·"../osd/mesh.h"
 9 #include·"../osd/mtlPatchTable.h"
7 Go_to_the_source_code_of_this_file.10 Go_to_the_source_code_of_this_file.
 11 ·Namespaces
 12 namespace· OpenSubdiv
 13  
 14 namespace· OpenSubdiv::OPENSUBDIV_VERSION
 15  
 16 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd
 17  
 18 ·Typedefs
 19 typedef·MeshInterface<·MTLPatchTable·> MTLMeshInterface
 20  
8 ····*·opensubdiv21 ····*·opensubdiv
9 ····*·osd22 ····*·osd
10 ····*·opencl.h23 ····*·mtlMesh.h
11 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.424 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
13.3 KB
./usr/share/doc/opensubdiv/doxy_html/a00794_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/opencl.h·Source·File</title>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 80, 19 lines modifiedOffset 80, 19 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">opencl.h</div></div>86 ··<div·class="headertitle"><div·class="title">mtlMesh.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <a·href="a00794.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>89 <a·href="a00794.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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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>
94 <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>94 <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>
95 <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>95 <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>
96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>
97 <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>97 <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 107, 32 lines modifiedOffset 107, 44 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_OPENCL_H</span></div>114 <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>
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_OPENCL_H</span></div>115 <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>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#if·defined(OPENSUBDIV_HAS_CLEW)</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#··include·&lt;clew.h&gt;</span></div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;../osd/mesh.h&quot;</span></div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#else</span></div> 
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#··if·defined(__APPLE__)</span></div> 
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#····include·&lt;OpenCL/opencl.h&gt;</span></div> 
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#··else</span></div> 
123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#····include·&lt;CL/opencl.h&gt;</span></div>119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../osd/mtlPatchTable.h&quot;</span></div>
 120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
 121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
 122 <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>
 123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#··endif</span></div>124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#endif</span></div>125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>Osd·{</div>
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
 127 <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="a01261.html">MeshInterface&lt;MTLPatchTable&gt;</a>·<a·class="code·hl_typedef"·href="a00912.html#aa41e5b43fe46eeb0f97ff6ebdb1935aa">MTLMeshInterface</a>;</div>
 128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
 129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>}·<span·class="comment">//·end·namespace·Osd</span></div>
 130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>
 131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>}·<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div>
 132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div>
 133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
 134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>}·<span·class="comment">//·end·namespace·OpenSubdiv</span></div>
 135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">#endif··</span><span·class="comment">//·OPENSUBDIV3_OSD_CL_UTIL_H</span></div>136 <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>
 137 <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>
 138 <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&lt;·MTLPatchTable·&gt;·MTLMeshInterface</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00794_source.html#l00038">mtlMesh.h:38</a></div></div>
 139 <div·class="ttc"·id="aa01261_html"><div·class="ttname"><a·href="a01261.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshInterface</a></div><div·class="ttdef"><b>Definition:</b>·<a·href="a00869_source.html#l00068">mesh.h:68</a></div></div>
128 </div><!--·fragment·--></div><!--·contents·-->140 </div><!--·fragment·--></div><!--·contents·-->
129 </div><!--·doc-content·-->141 </div><!--·doc-content·-->
130 <!--·start·footer·part·-->142 <!--·start·footer·part·-->
131 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->143 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
132 ··<ul>144 ··<ul>
133 ····<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="a00794.html">opencl.h</a></li>145 ····<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="a00794.html">mtlMesh.h</a></li>
134 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>146 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
135 ··</ul>147 ··</ul>
136 </div>148 </div>
137 </body>149 </body>
138 </html>150 </html>
2.17 KB
html2text {}
    
Offset 4, 18 lines modifiedOffset 4, 18 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 opencl.h5 mtlMesh.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2014·Pixar8 ·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·in11 ·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·trade15 ·9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade
Offset 30, 25 lines modifiedOffset 30, 41 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_OSD_OPENCL_H37 ·25#ifndef·OPENSUBDIV3_OSD_MTL_MESH_H
38 ·26#define·OPENSUBDIV3_OSD_OPENCL_H38 ·26#define·OPENSUBDIV3_OSD_MTL_MESH_H
39 ·2739 ·27
40 ·28#if·defined(OPENSUBDIV_HAS_CLEW) 
41 ·29#·include·<clew.h> 
42 ·30#else 
43 ·31#·if·defined(__APPLE__) 
44 ·32#·include·<OpenCL/opencl.h> 
45 ·33#·else 
46 ·34#·include·<CL/opencl.h> 
47 ·35#·endif 
48 ·36#endif40 ·28#include·"../version.h"
 41 ·29#include·"../osd/mesh.h"
 42 ·30#include·"../osd/mtlPatchTable.h"
 43 ·31
 44 ·32
 45 ·33namespace·OpenSubdiv·{
 46 ·34namespace·OPENSUBDIV_VERSION·{
 47 ·35
 48 ·36namespace·Osd·{
49 ·3749 ·37
 50 38typedef·MeshInterface<MTLPatchTable>·MTLMeshInterface;
 51 ·39
 52 ·40}·//·end·namespace·Osd
 53 ·41
 54 ·42}·//·end·namespace·OPENSUBDIV_VERSION
 55 ·43using·namespace·OPENSUBDIV_VERSION;
 56 ·44
 57 ·45}·//·end·namespace·OpenSubdiv
 58 ·46
50 ·38#endif·//·OPENSUBDIV3_OSD_CL_UTIL_H59 ·47#endif·//·OPENSUBDIV3_OSD_MTL_MESH_H
 60 OpenSubdiv
 61 Definition:·limits.h:32
 62 OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLMeshInterface
 63 MeshInterface<·MTLPatchTable·>·MTLMeshInterface
 64 Definition:·mtlMesh.h:38
 65 OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshInterface
 66 Definition:·mesh.h:68
51 ····*·opensubdiv67 ····*·opensubdiv
52 ····*·osd68 ····*·osd
53 ····*·opencl.h69 ····*·mtlMesh.h
54 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.470 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
6.01 KB
./usr/share/doc/opensubdiv/doxy_html/a00797.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/clVertexBuffer.h·File·Reference</title>8 <title>OpenSubdiv:·opensubdiv/osd/mtlPatchTable.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 83, 41 lines modifiedOffset 83, 45 lines modified
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124;87 <a·href="#nested-classes">Classes</a>·&#124;
88 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">clVertexBuffer.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">mtlPatchTable.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
 93 <code>#include·&quot;<a·class="el"·href="a00740_source.html">../far/patchDescriptor.h</a>&quot;</code><br·/>
 94 <code>#include·&quot;../osd/nonCopyable.h&quot;</code><br·/>
93 <code>#include·&quot;<a·class="el"·href="a00794_source.html">../osd/opencl.h</a>&quot;</code><br·/>95 <code>#include·&quot;<a·class="el"·href="a01481_source.html">../osd/types.h</a>&quot;</code><br·/>
 96 <code>#include·&quot;<a·class="el"·href="a00788_source.html">../osd/mtlCommon.h</a>&quot;</code><br·/>
94 </div>97 </div>
95 <p><a·href="a00797_source.html">Go·to·the·source·code·of·this·file.</a></p>98 <p><a·href="a00797_source.html">Go·to·the·source·code·of·this·file.</a></p>
96 <table·class="memberdecls">99 <table·class="memberdecls">
97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
98 Classes</h2></td></tr>101 Classes</h2></td></tr>
99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01149.html">CLVertexBuffer</a></td></tr>102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01297.html">MTLPatchTable</a></td></tr>
100 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Concrete·vertex·buffer·class·for·OpenCL·subdivision.··<a·href="a01149.html#details">More...</a><br·/></td></tr> 
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 </table><table·class="memberdecls">104 </table><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"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>107 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
107 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>109 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 111 <tr·class="memitem:a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr>
 112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
109 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>113 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
111 </table>115 </table>
112 </div><!--·contents·-->116 </div><!--·contents·-->
113 </div><!--·doc-content·-->117 </div><!--·doc-content·-->
114 <!--·start·footer·part·-->118 <!--·start·footer·part·-->
115 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->119 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
116 ··<ul>120 ··<ul>
117 ····<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="a00797.html">clVertexBuffer.h</a></li>121 ····<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="a00797.html">mtlPatchTable.h</a></li>
118 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>122 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
119 ··</ul>123 ··</ul>
120 </div>124 </div>
121 </body>125 </body>
122 </html>126 </html>
845 B
html2text {}
    
Offset 5, 26 lines modifiedOffset 5, 30 lines modified
  
  
  
5 [Logo]·OpenSubdiv5 [Logo]·OpenSubdiv
  
  
6 Classes·|·Namespaces6 Classes·|·Namespaces
7 clVertexBuffer.h·File·Reference7 mtlPatchTable.h·File·Reference
8 #include·"../version.h"8 #include·"../version.h"
 9 #include·"../far/patchDescriptor.h"
 10 #include·"../osd/nonCopyable.h"
9 #include·"../osd/opencl.h"11 #include·"../osd/types.h"
 12 #include·"../osd/mtlCommon.h"
10 Go_to_the_source_code_of_this_file.13 Go_to_the_source_code_of_this_file.
11 ·Classes14 ·Classes
 15 class· MTLPatchTable
12 class· CLVertexBuffer 
13  ······Concrete·vertex·buffer·class·for·OpenCL·subdivision.·More... 
14  16  
15 ·Namespaces17 ·Namespaces
16 namespace· OpenSubdiv18 namespace· OpenSubdiv
17  19  
18 namespace· OpenSubdiv::OPENSUBDIV_VERSION20 namespace· OpenSubdiv::OPENSUBDIV_VERSION
19  21  
 22 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Far
 23  
20 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd24 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd
21  25  
22 ····*·opensubdiv26 ····*·opensubdiv
23 ····*·osd27 ····*·osd
24 ····*·clVertexBuffer.h28 ····*·mtlPatchTable.h
25 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.429 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
253 B
./usr/share/doc/opensubdiv/doxy_html/a00797.js
161 B
js-beautify {}
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 var·a00797·=·[1 var·a00797·=·[
2 ····["CLVertexBuffer",·"a01149.html",·"a01149"]2 ····["MTLPatchTable",·"a01297.html",·"a01297"]
3 ];3 ];
55.0 KB
./usr/share/doc/opensubdiv/doxy_html/a00797_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/clVertexBuffer.h·Source·File</title>8 <title>OpenSubdiv:·opensubdiv/osd/mtlPatchTable.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 80, 15 lines modifiedOffset 80, 15 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">clVertexBuffer.h</div></div>86 ··<div·class="headertitle"><div·class="title">mtlPatchTable.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <a·href="a00797.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>89 <a·href="a00797.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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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 107, 89 lines modifiedOffset 107, 119 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_CL_VERTEX_BUFFER_H</span></div>114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_MTL_PATCH_TABLE_H</span></div>
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_CL_VERTEX_BUFFER_H</span></div>115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_MTL_PATCH_TABLE_H</span></div>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
 118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;../far/patchDescriptor.h&quot;</span></div>
 119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../osd/nonCopyable.h&quot;</span></div>
 120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;../osd/types.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;../osd/opencl.h&quot;</span></div>121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&quot;../osd/mtlCommon.h&quot;</span></div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> 
120 <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> 
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> 
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span>Osd·{</div>123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">@protocol·</span>MTLDevice;</div>
 124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">@protocol·</span>MTLBuffer;</div>
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
125 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a01149.html">···42</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01149.html">CLVertexBuffer</a>·{</div>126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div>
 127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
 128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
 129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">namespace·</span>Far·{</div>
 130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">class·</span>PatchTable;</div>
 131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>};</div>
126 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
 133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">namespace·</span>Osd·{</div>
 134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
 135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01297.html">···46</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01297.html">MTLPatchTable</a>·:·<span·class="keyword">private</span>·NonCopyable&lt;MTLPatchTable&gt;·{</div>
127 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">public</span>:</div>136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="keyword">public</span>:</div>
128 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01149.html#ac5f331ad354f94f90a08a928f7f57bba">···46</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01149.html">CLVertexBuffer</a>·*·<a·class="code·hl_functi[·...·truncated·by·diffoscope;·len:·189,·SHA:·ff8adc84163862626a5e2284f8b9cbe5b48cdba79db406f92a683a71b0df1ec8·...·];</div>137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01297.html#aa00654dc321a5c8dc370a900b0f404da">···48</a></span>····<span·class="keyword">typedef</span>·id&lt;MTLBuffer&gt;·<a·class="code·hl_typedef"·href="a01297.html#aa00654dc321a5c8dc370a9[·...·truncated·by·diffoscope;·len:·35,·SHA:·e9d77bcf94c49ca886f0e044c1a20d99ffe6d9399b10d283063e35e5b393c392·...·];</div>
129 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>138 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
 139 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01297.html#a3f197c2ae3862390d72e7443a2525187">···50</a></span>····<a·class="code·hl_function"·href="a01297.html#a3f197c2ae3862390d72e7443a2525187">MTLPatchTable</a>();</div>
 140 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01297.html#ad608acc5d9ea38f82548f2e0e234cf4e">···51</a></span>····<a·class="code·hl_function"·href="a01297.html#ad608acc5d9ea38f82548f2e0e234cf4e">~MTLPatchTable</a>();</div>
130 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·DEVICE_CONTEXT&gt;</div> 
131 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01149.html#ad1ac8e33d52862dac84a2da1483fee51">···49</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01149.html">CLVertexBuffer</a>·*·<a·class="code·hl_function"·href="a01149.html#ad1ac8e33d52862dac84a2da1483fee51">Create</a>(<span·class="keywordtype">int</span>·numElements,·<span·class="keywordtype">int</span>·numVertices,</div> 
132 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>···································DEVICE_CONTEXT·context)·{</div> 
133 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01149.html#ac5f331ad354f94f90a08a928f7f57bba">Create</a>(numElements,·numVertices,·context-&gt;GetContext());</div> 
134 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····}</div>141 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
135 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> 
136 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01149.html#a4801ba3ea81294d3e7e3da970863896e">···55</a></span>····<a·class="code·hl_function"·href="a01149.html#a4801ba3ea81294d3e7e3da970863896e">~CLVertexBuffer</a>();</div> 
137 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> 
138 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01149.html#a7259d1296f30e13d171cd892708d8d0a">···59</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01149.html#a7259d1296f30e13d171cd892708d8d0a">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,·cl_command_queue·clQueue,·</div> 
139 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········cl_event*·startEvents·=·NULL,·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·numStartEvents·=·0,·cl_event*·endEvent·=·NULL);</div> 
140 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> 
141 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·DEVICE_CONTEXT&gt;</div>142 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·DEVICE_CONTEXT&gt;</div>
142 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01149.html#a2cf1549497a0e50dde24baad4792e08c">···63</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01149.html#a2cf1549497a0e50dde24baad4792e08c">Updat[·...·truncated·by·diffoscope;·len:·189,·SHA:·91fa9afbb9e001a81af0ad8d9657a8a04c6c5d7364f7a5064f49b19d9f0f7f05·...·]</div>143 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01297.html#ad54c4e07ca48004585448396b980f0d9">···54</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01297.html">MTLPatchTable</a>·*<a·class="code·hl_functio[·...·truncated·by·diffoscope;·len:·205,·SHA:·4e693254e444491a888e3644435ab1ac462c52ecf55f07aea203873df1dec08c·...·]</div>
 144 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····{</div>
 145 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01297.html#ad54c4e07ca48004585448396b980f0d9">Create</a>(farPatchTable,·context);</div>
 146 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····}</div>
 147 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
 148 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01297.html#a24c34d2b403d22f2d3bcfdf6f5005ee4">···59</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01297.html">MTLPatchTable</a>·*<a·class="code·hl_function"·href="a01297.html#a24c34d2b403d22f2d3bcfdf6f5005ee4">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="a01277.html">MTLContext</a>*·context);</div>
 149 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
 150 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01297.html#a18e3d09b0c7b7552f8e419e36788166a">···61</a></span>····<a·class="code·hl_typedef"·href="a00912.html#a98098cd229f60d2397d84a76fe654a31">PatchArrayVector</a>·<span·class="keyword">const</span>·&amp;<a·class="code·hl_function"·href="a01297.html#a18e3d09b0c7b7552f8e419e36788166a">GetPatchArrays</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01297.html#a5dfb6b58580f2dec58e9b5bfdb4ed9f1">_patchArrays</a>;·}</div>
 151 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01297.html#a4c33a50d79c6e811fb78461ce00c6310">···62</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01297.html#a4c33a50d79c6e811fb78461ce00c6310">GetPatchIndexBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01297.html#af3b671a26ce6aaead2c7a2633b7cd268">_indexBuffer</a>;·}</div>
 152 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01297.html#a445098a6db6b14888b3a8bac35967e52">···63</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01297.html#a445098a6db6b14888b3a8bac35967e52">GetPatchParamBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01297.html#ac8b76e9d03149033d838a528d667e193">_patchParamBuffer</a>;·}</div>
143 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····················DEVICE_CONTEXT·context,·</div>153 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>
144 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····················cl_event*·startEvents·=·NULL,·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·numStartEvents·=·0,·cl_event*·endEvent·=·NULL)·{</div> 
145 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>········<a·class="code·hl_function"·href="a01149.html#a7259d1296f30e13d171cd892708d8d0a">UpdateData</a>(src,·startVertex,·numVertices,·context-&gt;GetCommandQueue(),·startEvents,·numStartEvents,·endEven[·...·truncated·by·diffoscope;·len:·3,·SHA:·a17bddb5982b64202d19e34f029b34b429dd81208ced9fc781cdca7f3a777fc7·...·]</div>154 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01297.html#aec45672f51f456fea341d644bcf16434">···65</a></span>····<a·class="code·hl_typedef"·href="a00912.html#a98098cd229f60d2397d84a76fe654a31">PatchArrayVector</a>·<span·class="keyword">co[·...·truncated·by·diffoscope;·len:·309,·SHA:·75cec15fb7c64d9c0028eac416f774506f9431b4e128bb89e4fff65010f9bca4·...·]</div>
 155 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01297.html#a2ad5c87b20355961bc623d1c1ece01f8">···66</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01297.html#a2ad5c87b20355961bc623d1c1ece01f8">GetVaryingPatchIndexBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01297.html#ab65dac5d88eb7b4e1ccc2003f352e802">_varyingPatchIndexBuffer</a>;·}</div>
146 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····}</div>156 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>
147 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> 
148 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01149.html#a77cee40767fd4936f20a8f9d9d9ea625">···70</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01149.html#a77cee40767fd4936f20a8f9d9d9ea625">GetNum[·...·truncated·by·diffoscope;·len:·50,·SHA:·9cd436d4e8039c2ae5d3b2ca84dff2adc1fb36c9e94ffa2e43b0e20ea2d3212b·...·]</div>157 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01297.html#aa9be824a572029f3ec1e0c0d6cfecd77">···68</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01297.html#aa9be824a572029f3ec1e0c0d6cfecd77">GetNum[·...·truncated·by·diffoscope;·len:·245,·SHA:·1cf9c316c6b322eb0daeefa0314434a5167b10fc88fe4de5b536275d62df4557·...·]</div>
 158 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01297.html#ab4ae92f2c242d25fa0480d0307e0d9e5">···69</a></span>····<a·class="code·hl_typedef"·href="a00912.html#a98098cd229f60d2397d84a76fe654a31">PatchArrayVector</a>·<span·class="keyword">const</span>·&amp;<a·class="code·hl_function"·href="a01297.html#ab4ae92f2c242d25fa0480d0307e0d9e5">GetFVarPatchArrays</a>(<span·class="keywordtype">int</span>·fvarChannel·=·0)<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01297.html#abce41960eb6bedc82cbf0cb711ea66da">_fvarPatchArrays</a>[fvarChannel];·}</div>
 159 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01297.html#ae4e03248b9615425f7719fde5890796c">···70</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01297.html#ae4e03248b9615425f7719fde5890796c">GetFVarPatchIndexBuffer</a>(<span·class="keywordtype">int</span>·fvarChannel·=·0)<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01297.html#a39ae7f640465cdd116c1f87b81308fb5">_fvarIndexBuffers</a>[fvarChannel];·}</div>
 160 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01297.html#a3d306565eb0af09fa64cabc6d72c6755">···71</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01297.html#a3d306565eb0af09fa64cabc6d72c6755">GetFVarPatchParamBuffer</a>(<span·class="keywordtype">int</span>·fvarChannel·=·0)<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01297.html#abb2abbc1ce950284fa16f51583d0ab92">_fvarParamBuffers</a>[fvarChannel];·}</div>
149 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>161 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>
150 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01149.html#aaf4a32b8a414eff77000c584c2015cb7">···73</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01149.html#aaf4a32b8a414eff77000c584c2015cb7">GetNumVertices</a>()·<span·class="keyword">const<[·...·truncated·by·diffoscope;·len:·7,·SHA:·c837dc4a2ec3da1651eaccb1c2917988c950a11358b62daee35f5dd9c9a869ea·...·]</div>162 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="keyword">protected</span>:</div>
 163 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01297.html#a2246e8e016510f81c7ac9ead81d7c6eb">···74</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01297.html#a2246e8e016510f81c7ac9ead81d7c6eb">allocate</a>(<a·class="code·hl_class"·href="a00993.html">Far::PatchTable</a>·<span·class="keyword">const</span>·*farPatchTable,·<a·class="code·hl_class"·href="a01277.html">MTLContext</a>*·context);</div>
151 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>164 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
152 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01149.html#ad9c25d5b96f9d5e971f677d32b406ec6">···76</a></span>····cl_mem·<a·class="code·hl_function"·href="a01149.html#ad9c25d5b96f9d5e971f677d32b406ec6">BindCLBuffer</a>(cl_command_queue·queue);</div>165 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01297.html#a5dfb6b58580f2dec58e9b5bfdb4ed9f1">···76</a></span>····<a·class="code·hl_typedef"·href="a00912.html#a98098cd229f60d2397d84a76fe654a31">PatchArrayVector</a>·<a·class="code·hl_variable"·href="a01297.html#a5dfb6b58580f2dec58e9b5bfdb4ed9f1">_patchArra[·...·truncated·by·diffoscope;·len:·6,·SHA:·6484b68f633d5afeb696ee2b06f95567cce85a3655b16e97e88de1a704ff6d10·...·];</div>
153 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div>166 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div>
154 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="keyword">protected</span>:</div> 
155 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01149.html#a48e2b665b557d5f3f838bc552152160b">···80</a></span>····<a·class="code·hl_function"·href="a01149.html#a48e2b665b557d5f3f838bc552152160b">CLVertexBuffer</a>(<span·class="keywordtype[·...·truncated·by·diffoscope;·len:·97,·SHA:·adc686310ce0903678f36576040433d74d0dd2d78323d2fdc2d3a4cde0c51c61·...·];</div>167 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01297.html#af3b671a26ce6aaead2c7a2633b7cd268">···78</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_variable"·href="a01297.html#af3b671a26ce6aaead2c7a2633b7cd268">_indexBuffer</a>;</div>
 168 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01297.html#ac8b76e9d03149033d838a528d667e193">···79</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_variable"·href="a01297.html#ac8b76e9d03149033d838a528d667e193">_patchParamBuffer</a>;</div>
156 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>169 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>
157 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01149.html#a7ff15d15ad0fe31e5cb9a1e6c19f09b0">···84</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01149.html#a7ff15d15ad0fe31e5cb9a1e6c19f09b0">alloca[·...·truncated·by·diffoscope;·len:·28,·SHA:·b351b3254c425ceab9b1911eea3fd5c598836e2d84a2142b7ae89d514b7100f5·...·];</div>170 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01297.html#acd99a0391b3b04586b11051fd0f7ed10">···81</a></span>····<a·class="code·hl_typedef"·href="a00912.html#a98098cd229f60d2397d84a76fe654a31">PatchArrayVector</a>·<a·class="code·hl_variab[·...·truncated·by·diffoscope;·len:·80,·SHA:·69db9d8871f9b005281d2249cf82efdd275c1989803a8021e76819e9ec1b4280·...·];</div>
158 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>171 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>
 172 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01297.html#ab65dac5d88eb7b4e1ccc2003f352e802">···83</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_variable"·href="a01297.html#ab65dac5d88eb7b4e1ccc2003f352e802">_varyingPatchIndexBuffer</a>;</div>
159 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="keyword">private</span>:</div> 
160 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<span·class="keywordtype">int</span>·_numElements;</div> 
161 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····<span·class="keywordtype">int</span>·_numVertices;</div> 
162 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····cl_mem·_clMemory;</div>173 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
 174 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01297.html#abce41960eb6bedc82cbf0cb711ea66da">···85</a></span>····std::vector&lt;PatchArrayVector&gt;·<a·class="code·hl_variable"·href="a01297.html#abce41960eb6bedc82cbf0cb711ea66da">_fvarPatchArrays</a>;</div>
 175 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01297.html#a39ae7f640465cdd116c1f87b81308fb5">···86</a></span>····std::vector&lt;id&lt;MTLBuffer&gt;&gt;·<a·class="code·hl_variable"·href="a01297.html#a39ae7f640465cdd116c1f87b81308fb5">_fvarIndexBuffers</a>;</div>
 176 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01297.html#abb2abbc1ce950284fa16f51583d0ab92">···87</a></span>····std::vector&lt;id&lt;MTLBuffer&gt;&gt;·<a·class="code·hl_variable"·href="a01297.html#abb2abbc1ce950284fa16f51583d0ab92">_fvarParamBuffers</a>;</div>
 177 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>};</div>
163 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>};</div>178 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>
 179 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>}·<span·class="comment">//·end·namespace·Osd</span></div>
164 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>180 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>
165 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>}··<span·class="comment">//·end·namespace·Osd</span></div> 
166 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> 
Max diff block lines reached; 16233/45407 bytes (35.75%) of diff not shown.
10.6 KB
html2text {}
    
Offset 4, 15 lines modifiedOffset 4, 15 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 clVertexBuffer.h5 mtlPatchTable.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2013·Pixar8 ·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·in11 ·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 30, 114 lines modifiedOffset 30, 170 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_OSD_CL_VERTEX_BUFFER_H 
38 ·26#define·OPENSUBDIV3_OSD_CL_VERTEX_BUFFER_H37 ·25#ifndef·OPENSUBDIV3_OSD_MTL_PATCH_TABLE_H
 38 ·26#define·OPENSUBDIV3_OSD_MTL_PATCH_TABLE_H
39 ·2739 ·27
40 ·28#include·"../version.h"40 ·28#include·"../version.h"
 41 ·29#include·"../far/patchDescriptor.h"
 42 ·30#include·"../osd/nonCopyable.h"
41 ·29#include·"../osd/opencl.h"43 ·31#include·"../osd/types.h"
 44 ·32#include·"../osd/mtlCommon.h"
42 ·30 
43 ·31namespace·OpenSubdiv·{ 
44 ·32namespace·OPENSUBDIV_VERSION·{ 
45 ·3345 ·33
 46 ·34@protocol·MTLDevice;
 47 ·35@protocol·MTLBuffer;
 48 ·36
 49 ·37namespace·OpenSubdiv·{
 50 ·38namespace·OPENSUBDIV_VERSION·{
 51 ·39
46 ·34namespace·Osd·{52 ·40namespace·Far·{
47 ·35 
48 42class·CLVertexBuffer·{53 ·41·class·PatchTable;
 54 ·42};
49 ·4355 ·43
 56 ·44namespace·Osd·{
 57 ·45
 58 46class·MTLPatchTable·:·private·NonCopyable<MTLPatchTable>·{
50 ·44public:59 ·47public:
 60 48·typedef·id<MTLBuffer>·VertexBufferBinding;
 61 ·49
 62 50·MTLPatchTable();
 63 51·~MTLPatchTable();
51 46·static·CLVertexBuffer·*·Create(int·numElements,·int·numVertices,·cl_context 
52 clContext); 
53 ·47 
54 ·48·template·<typename·DEVICE_CONTEXT> 
55 49·static·CLVertexBuffer·*·Create(int·numElements,·int·numVertices, 
56 ·50·DEVICE_CONTEXT·context)·{ 
57 ·51·return·Create(numElements,·numVertices,·context->GetContext()); 
58 ·52·}64 ·52
59 ·53 
60 55·~CLVertexBuffer(); 
61 ·56 
62 59·void·UpdateData(const·float·*src,·int·startVertex,·int·numVertices, 
63 cl_command_queue·clQueue, 
64 ·60·cl_event*·startEvents·=·NULL,·unsigned·int·numStartEvents·=·0,·cl_event* 
65 endEvent·=·NULL); 
66 ·61 
67 ·62·template<typename·DEVICE_CONTEXT>65 ·53·template<typename·DEVICE_CONTEXT>
68 63·void·UpdateData(const·float·*src,·int·startVertex,·int·numVertices,66 54·static·MTLPatchTable·*Create(Far::PatchTable·const·*farPatchTable,
69 ·64·DEVICE_CONTEXT·context,67 DEVICE_CONTEXT·context)
 68 ·55·{
 69 ·56·return·Create(farPatchTable,·context);
70 ·65·cl_event*·startEvents·=·NULL,·unsigned·int·numStartEvents·=·0,·cl_event* 
71 endEvent·=·NULL)·{ 
72 ·66·UpdateData(src,·startVertex,·numVertices,·context->GetCommandQueue(), 
73 startEvents,·numStartEvents,·endEvent); 
74 ·67·}70 ·57·}
75 ·68 
76 70·int·GetNumElements()·const; 
77 ·71 
78 73·int·GetNumVertices()·const; 
79 ·74 
80 76·cl_mem·BindCLBuffer(cl_command_queue·queue);71 ·58
 72 59·static·MTLPatchTable·*Create(Far::PatchTable·const·*farPatchTable,
 73 MTLContext*·context);
 74 ·60
 75 61·PatchArrayVector·const·&GetPatchArrays()·const·{·return·_patchArrays;·}
 76 62·id<MTLBuffer>·GetPatchIndexBuffer()·const·{·return·_indexBuffer;·}
 77 63·id<MTLBuffer>·GetPatchParamBuffer()·const·{·return·_patchParamBuffer;·}
 78 ·64
 79 65·PatchArrayVector·const·&GetVaryingPatchArrays()·const·{·return
 80 _varyingPatchArrays;·}
 81 66·id<MTLBuffer>·GetVaryingPatchIndexBuffer()·const·{·return
 82 _varyingPatchIndexBuffer;·}
 83 ·67
 84 68·int·GetNumFVarChannels()·const·{·return·(int)_fvarPatchArrays.size();·}
 85 69·PatchArrayVector·const·&GetFVarPatchArrays(int·fvarChannel·=·0)·const
 86 {·return·_fvarPatchArrays[fvarChannel];·}
 87 70·id<MTLBuffer>·GetFVarPatchIndexBuffer(int·fvarChannel·=·0)·const·{·return
 88 _fvarIndexBuffers[fvarChannel];·}
 89 71·id<MTLBuffer>·GetFVarPatchParamBuffer(int·fvarChannel·=·0)·const·{·return
 90 _fvarParamBuffers[fvarChannel];·}
 91 ·72
 92 ·73protected:
 93 74·bool·allocate(Far::PatchTable·const·*farPatchTable,·MTLContext*·context);
 94 ·75
 95 76·PatchArrayVector·_patchArrays;
81 ·7796 ·77
82 ·78protected: 
83 80·CLVertexBuffer(int·numElements,·int·numVertices,·cl_context·clContext); 
84 ·81 
85 84·bool·allocate(cl_context·clContext); 
86 ·85 
87 ·86private: 
88 ·87·int·_numElements; 
89 ·88·int·_numVertices; 
90 ·89·cl_mem·_clMemory; 
91 ·90};97 78·id<MTLBuffer>·_indexBuffer;
 98 79·id<MTLBuffer>·_patchParamBuffer;
 99 ·80
 100 81·PatchArrayVector·_varyingPatchArrays;
 101 ·82
 102 83·id<MTLBuffer>·_varyingPatchIndexBuffer;
Max diff block lines reached; 6189/10814 bytes (57.23%) of diff not shown.
6.06 KB
./usr/share/doc/opensubdiv/doxy_html/a00800.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/clPatchTable.h·File·Reference</title>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 83, 46 lines modifiedOffset 83, 42 lines modified
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124;87 <a·href="#nested-classes">Classes</a>·&#124;
88 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">clPatchTable.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">mtlLegacyGregoryPatchTable.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
93 <code>#include·&quot;<a·class="el"·href="a00794_source.html">../osd/opencl.h</a>&quot;</code><br·/>93 <code>#include·&quot;<a·class="el"·href="a00734_source.html">../far/patchTable.h</a>&quot;</code><br·/>
94 <code>#include·&quot;../osd/nonCopyable.h&quot;</code><br·/>94 <code>#include·&quot;../osd/nonCopyable.h&quot;</code><br·/>
95 <code>#include·&quot;<a·class="el"·href="a01481_source.html">../osd/types.h</a>&quot;</code><br·/>95 <code>#include·&quot;<a·class="el"·href="a00788_source.html">../osd/mtlCommon.h</a>&quot;</code><br·/>
96 <code>#include·&lt;vector&gt;</code><br·/> 
97 </div>96 </div>
98 <p><a·href="a00800_source.html">Go·to·the·source·code·of·this·file.</a></p>97 <p><a·href="a00800_source.html">Go·to·the·source·code·of·this·file.</a></p>
99 <table·class="memberdecls">98 <table·class="memberdecls">
100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
101 Classes</h2></td></tr>100 Classes</h2></td></tr>
102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01145.html">CLPatchTable</a></td></tr>101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01289.html">MTLLegacyGregoryPatchTable</a></td></tr>
103 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">CL·patch·table.··<a·href="a01145.html#details">More...</a><br·/></td></tr> 
104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
105 </table><table·class="memberdecls">103 </table><table·class="memberdecls">
106 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>104 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
107 Namespaces</h2></td></tr>105 Namespaces</h2></td></tr>
108 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>106 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
110 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>108 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>
111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
112 <tr·class="memitem:a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr> 
113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
114 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>110 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>
115 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
116 </table>112 </table>
117 </div><!--·contents·-->113 </div><!--·contents·-->
118 </div><!--·doc-content·-->114 </div><!--·doc-content·-->
119 <!--·start·footer·part·-->115 <!--·start·footer·part·-->
120 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->116 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
121 ··<ul>117 ··<ul>
122 ····<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="a00800.html">clPatchTable.h</a></li>118 ····<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="a00800.html">mtlLegacyGregoryPatchTable.h</a></li>
123 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>119 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
124 ··</ul>120 ··</ul>
125 </div>121 </div>
126 </body>122 </body>
127 </html>123 </html>
855 B
html2text {}
    
Offset 5, 31 lines modifiedOffset 5, 27 lines modified
  
  
  
5 [Logo]·OpenSubdiv5 [Logo]·OpenSubdiv
  
  
6 Classes·|·Namespaces6 Classes·|·Namespaces
7 clPatchTable.h·File·Reference7 mtlLegacyGregoryPatchTable.h·File·Reference
8 #include·"../version.h"8 #include·"../version.h"
9 #include·"../osd/opencl.h"9 #include·"../far/patchTable.h"
10 #include·"../osd/nonCopyable.h"10 #include·"../osd/nonCopyable.h"
11 #include·"../osd/types.h"11 #include·"../osd/mtlCommon.h"
12 #include·<vector> 
13 Go_to_the_source_code_of_this_file.12 Go_to_the_source_code_of_this_file.
14 ·Classes13 ·Classes
 14 class· MTLLegacyGregoryPatchTable
15 class· CLPatchTable 
16  ······CL·patch·table.·More... 
17  15  
18 ·Namespaces16 ·Namespaces
19 namespace· OpenSubdiv17 namespace· OpenSubdiv
20  18  
21 namespace· OpenSubdiv::OPENSUBDIV_VERSION19 namespace· OpenSubdiv::OPENSUBDIV_VERSION
22  20  
23 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Far 
24   
25 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd21 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd
26  22  
27 ····*·opensubdiv23 ····*·opensubdiv
28 ····*·osd24 ····*·osd
29 ····*·clPatchTable.h25 ····*·mtlLegacyGregoryPatchTable.h
30 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.426 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
264 B
./usr/share/doc/opensubdiv/doxy_html/a00800.js
172 B
js-beautify {}
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 var·a00800·=·[1 var·a00800·=·[
2 ····["CLPatchTable",·"a01145.html",·"a01145"]2 ····["MTLLegacyGregoryPatchTable",·"a01289.html",·"a01289"]
3 ];3 ];
56.0 KB
./usr/share/doc/opensubdiv/doxy_html/a00800_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/clPatchTable.h·Source·File</title>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 80, 19 lines modifiedOffset 80, 19 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">clPatchTable.h</div></div>86 ··<div·class="headertitle"><div·class="title">mtlLegacyGregoryPatchTable.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <a·href="a00800.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>89 <a·href="a00800.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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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>
94 <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>94 <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>
95 <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>95 <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>
96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>
97 <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>97 <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 107, 120 lines modifiedOffset 107, 100 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_CL_PATCH_TABLE_H</span></div>114 <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>
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_CL_PATCH_TABLE_H</span></div>115 <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>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> 
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../osd/opencl.h&quot;</span></div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;../far/patchTable.h&quot;</span></div>
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;../osd/nonCopyable.h&quot;</span></div>119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../osd/nonCopyable.h&quot;</span></div>
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&quot;../osd/types.h&quot;</span></div>120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;../osd/mtlCommon.h&quot;</span></div>
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
 122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">@protocol·</span>MTLDevice;</div>
123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">@protocol·</span>MTLBuffer;</div>
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
125 <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>125 <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>
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">namespace·</span>Far{</div> 
129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">class·</span>PatchTable;</div> 
130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>};</div> 
131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> 
132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">namespace·</span>Osd·{</div>128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">namespace·</span>Osd·{</div>
133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>
134 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01145.html">···52</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01145.html">CLPatchTable</a>·:·<span·class="keyword">private</span>·NonCopyable&lt;CLPatchTable[·...·truncated·by·diffoscope;·len:·6,·SHA:·9c45c2b3c956f7494cc70f61b1f5308fa1f6530e62280b7a9bc263637d783090·...·]</div>130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01289.html">···41</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01289.html">MTLLegacyGregoryPatchTable</a></div>
 131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>:·<span·class="keyword">private</span>·NonCopyable&lt;MTLLegacyGregoryPatchTable&gt;</div>
 132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>{</div>
135 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">public</span>:</div>133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">public</span>:</div>
136 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01145.html#a699b5e01d46024fce198a17e4527df05">···55</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01145.html">CLPatchTable</a>·*<a·class="code·hl_function[·...·truncated·by·diffoscope;·len:·177,·SHA:·c462a60a683a89e3b74b61520a3956ee8d7c161bf3ab6ae3a01317c66c36d607·...·]</div>134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01289.html#aed8ca15f9dfcacfcfc31ab1227b61dcc">···45</a></span>····<a·class="code·hl_function"·href="a01289.html#aed8ca15f9dfcacfcfc31ab1227b61dcc">~MTLLegacyGregoryPatchTable</a>();</div>
 135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
 136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·DEVICE_CONTEXT&gt;</div>
 137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01289.html#a25a5b8f002589cba7fd380492019ece8">···48</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01289.html">MTLLegacyGregoryPatchTable</a>*·<a·class="code·hl_function"·href="a01289.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>
 138 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>········<span·class="keywordflow">return</span>·Create(farPatchTable,·context);</div>
137 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>································cl_context·clContext);</div>139 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····}</div>
138 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>140 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
 141 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01289.html#ac51e7db7abdd0eaaca33d4947bbe41b4">···52</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01289.html">MTLLegacyGregoryPatchTable</a>*·<a·class="code·hl_function"·href="a01289.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="a01277.html">MTLContext</a>*·context);</div>
 142 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>
 143 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01289.html#ad922644c53b64f5b60565065f09cbd17">···54</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01289.html#ad922644c53b64f5b60565065f09cbd17">UpdateVertexBuffer</a>(id&lt;MTLBuffer&gt;·vbo,·<span·class="keywordtype">int</span>·numVertices,·<span·class="keywordtype">int</span>·numVertexElements,·<a·class="code·hl_class"·href="a01277.html">MTLContext</a>*·context);</div>
 144 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
 145 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01289.html#afffd8d6da44d9c7113d9dc190eefdb3d">···56</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01289.html#afffd8d6da44d9c7113d9dc190eefdb3d">GetVertexBuffer</a>()<span·class="keyword">·const</span></div>
 146 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">····</span>{</div>
139 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·DEVICE_CONTEXT&gt;</div>147 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>········<span·class="keywordflow">return</span>·_vertexBuffer;</div>
140 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01145.html#ad52ee9f29f56576ed9ab6c7e258e14ae">···59</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01145.html">CLPatchTable</a>·*·<a·class="code·hl_function"·href="a01145.html#ad52ee9f29f56576ed9ab6[·...·truncated·by·diffoscope;·len:·135,·SHA:·68ed091e542dbacb851d91064d371369247f4c29780522b526646aea55ace5b9·...·]</div>148 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····}</div>
141 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·································DEVICE_CONTEXT·context)·{</div>149 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
142 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01145.html#a699b5e01d46024fce198a17e4527df05">Create</a>(patchTable,·context-&gt;GetContext());</div>150 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01289.html#a7e1414cf8ab619f18f532b58f614b123">···61</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01289.html#a7e1414cf8ab619f18f532b58f614b123">GetVertexValenceBuffer</a>()<span·class="keyword">·const</span></div>
 151 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="keyword">····</span>{</div>
 152 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········<span·class="keywordflow">return</span>·_vertexValenceBuffer;</div>
143 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····}</div>153 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····}</div>
144 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>154 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>
145 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01145.html#a214a812acfe800e62954b45e2f2ee15d">···65</a></span>····<a·class="code·hl_function"·href="a01145.html#a214a812acfe800e62954b45e2f2ee15d">~CLPatchTable</a>();</div>155 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01289.html#a846f5698d4874b41374c2ac6c52c3ea2">···66</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01289.html#a846f5698d4874b41374c2ac6c52c3ea2">GetQuadOffsetsBuffer</a>[·...·truncated·by·diffoscope;·len:·37,·SHA:·bf9e3c1c7de0610fedacd9acaf77af545d9fc807dc7691eb2e803aae5825fcb5·...·]</div>
146 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>156 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="keyword">····</span>{</div>
147 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01145.html#a693751f5a6c94b134873f5c524fd999a">···68</a></span>····cl_mem·<a·class="code·hl_function"·href="a01145.html#a693751f5a6c94b134873f5c524fd999a">GetPatchArrayBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="key[·...·truncated·by·diffoscope;·len:·124,·SHA:·b24d4ec9a95a5f96cbade6d24c3bb2a99b325a0fc9b5be485ca8925e243ba2ea·...·]</div>157 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>········<span·class="keywordflow">return</span>·_quadOffsetsBuffer;</div>
148 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>158 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····}</div>
149 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01145.html#abf29cd5f256ac52b7afdc6d87f915c4b">···71</a></span>····cl_mem·<a·class="code·hl_function"·href="a01145.html#abf29cd5f256ac52b7afdc6d87f915c4b">GetPatchIndexBuffer</a>()<span·class=[·...·truncated·by·diffoscope;·len:·166,·SHA:·4cabc4f200cb0d5758240d585cec6d490f903c0d716cf09657b2352507131023·...·]</div>159 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>
 160 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01289.html#a176fb87b7ba47d5c2c2a6d332e2687ce">···71</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01289.html#a176fb87b7ba47d5c2c2a6d332e2687ce">GetQuadOffsetsBase</a>(<a·class="code·hl_enumeration"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type)</div>
150 <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>
151 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01145.html#a48b951719ff4fe3b94b20f997dc1d480">···74</a></span>····cl_mem·<a·class="code·hl_function"·href="a01145.html#a48b951719ff4fe3b94b20f997dc1d480">GetPatchParamBuffer</a>()<span·class=[·...·truncated·by·diffoscope;·len:·171,·SHA:·b262dbf4b8299efbcb6dcd79e5c8180a334c3ee763780d20ac87b2280c2620ee·...·]</div>162 <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>
 163 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>············<span·class="keywordflow">return</span>·_quadOffsetsBase[1];</div>
 164 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········<span·class="keywordflow">return</span>·_quadOffsetsBase[0];</div>
 165 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····}</div>
152 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>166 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div>
153 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01145.html#afc269c290092f9ae42a8e15cdb8cebd1">···77</a></span>····cl_mem·<a·class="code·hl_function"·href="a01145.html#afc269c290092f9ae42a8e15cdb8cebd1">GetVaryingPatchArrayBuffer</a>()<span[·...·truncated·by·diffoscope;·len:·180,·SHA:·3c7c6ca6532787c33d663842f2f1121ea9d33402684eb7c509d787cf26b0fa4a·...·]</div>167 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="keyword">private</span>:</div>
 168 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····id&lt;MTLBuffer&gt;·_vertexBuffer;</div>
 169 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····id&lt;MTLBuffer&gt;·_vertexValenceBuffer;</div>
 170 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····id&lt;MTLBuffer&gt;·_quadOffsetsBuffer;</div>
 171 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="keywordtype">int</span>·_quadOffsetsBase[2];</div>
154 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>172 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>};</div>
155 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01145.html#a954d3789118ddd8dc6a5d17e20665b3c">···80</a></span>····cl_mem·<a·class="code·hl_function"·href="a01145.html#a954d3789118ddd8dc6a5d17e20665b3c">GetVaryingPatchIndexBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01145.html#a82703277c754b05b7844b074b6a049c7">_varyingIndexBuffer</a>;·}</div> 
156 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> 
157 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01145.html#aa9be824a572029f3ec1e0c0d6cfecd77">···83</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01145.html#aa9be824a572029f3ec1e0c0d6cfecd77">GetNumFVarChannels</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·(<span·class="keywordtype">int</span>)<a·class="code·hl_variable"·href="a01145.html#a0eece245e692b6640c527214e8df756d">_fvarPatchArrays</a>.size();·}</div> 
158 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>173 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
159 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01145.html#a5956886f3c08959eade5d92c33136ad5">···86</a></span>····cl_mem·<a·class="code·hl_function"·href="a01145.html#a5956886f3c08959eade5d92c33136ad5">GetFVarPatchArrayBuffer</a>(<span·cla[·...·truncated·by·diffoscope;·len:·239,·SHA:·fdaf77618560eae25f491957f88711f2a8e6f5147499e0d2dead868a4843303d·...·]</div>174 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>}·<span·class="comment">//end·namespace·Osd</span></div>
160 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>175 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
161 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a01145.html#a72aca2fb5c3e3f40ef9109a827c3b28f">···89</a></span>····cl_mem·<a·class="code·hl_function"·href="a01145.html#a72aca2fb5c3e3f40ef9109a827c3b28f">GetFVarPatchIndexBuffer</a>(<span·cla[·...·truncated·by·diffoscope;·len:·240,·SHA:·eaf9e8a98443f0521e7217a64eabbabe447375dea9652d1763ea658a1c74506e·...·]</div>176 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>}·<span·class="comment">//end·namespace·OPENSUBDIV_VERSION</span></div>
 177 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div>
162 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>178 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>
163 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01145.html#ad7ab95a3f811625b4d9ee2c1b6cac6af">···92</a></span>····cl_mem·<a·class="code·hl_function"·href="a01145.html#ad7ab95a3f811625b4d9ee2c1b6cac6af">GetFVarPatchParamBuffer</a>(<span·cla[·...·truncated·by·diffoscope;·len:·240,·SHA:·215c9c9b02fe7bb58e9ad34597421db0e26c40b726d0a7d1de5e3f7d4b014eb7·...·]</div>179 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>}·<span·class="comment">//end·namespace·OpenSuddiv</span></div>
164 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div>180 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>
165 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="keyword">protected</span>:</div> 
166 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a01145.html#ae69549a9493f9a51edfa7d11cec1d72f">···95</a></span>····<a·class="code·hl_function"·href="a01145.html#ae69549a9493f9a51edfa7d11cec1d72f">CLPatchTable</a>();</div> 
167 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> 
168 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno"><a·class="line"·href="a01145.html#af15d0a0d1c0b5c1be71598ba95991ff7">···97</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01145.html#af15d0a0d1c0b5c1be71598ba95991ff7">allocate</a>(<a·class="code·hl_class"·href="a00993.html">Far::PatchTable</a>·<span·class="keyword">const</span>·*patchTable,·cl_context·clContext);</div> 
169 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> 
170 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno"><a·class="line"·href="a01145.html#a7210a18569c2e0f0d728092835951c70">···99</a></span>····cl_mem·<a·class="code·hl_variable"·href="a01145.html#a7210a18569c2e0f0d728092835951c70">_patchArrays</a>;</div> 
171 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a01145.html#a56bd6edaa10c8b3c718265203430dcb9">··100</a></span>····cl_mem·<a·class="code·hl_variable"·href="a01145.html#a56bd6edaa10c8b3c718265203430dcb9">_indexBuffer</a>;</div> 
172 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno"><a·class="line"·href="a01145.html#a2d547b12237422c1035f5817e671155c">··101</a></span>····cl_mem·<a·class="code·hl_variable"·href="a01145.html#a2d547b12237422c1035f5817e671155c">_patchParamBuffer</a>;</div> 
173 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div> 
Max diff block lines reached; 15734/46304 bytes (33.98%) of diff not shown.
10.7 KB
html2text {}
    
Offset 4, 18 lines modifiedOffset 4, 18 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 clPatchTable.h5 mtlLegacyGregoryPatchTable.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2015·Pixar8 ·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·in11 ·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·trade15 ·9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade
Offset 30, 174 lines modifiedOffset 30, 127 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_OSD_CL_PATCH_TABLE_H37 ·25#ifndef·OPENSUBDIV3_OSD_MTL_LEGACY_GREGORY_PATCH_TABLE_H
38 ·26#define·OPENSUBDIV3_OSD_CL_PATCH_TABLE_H38 ·26#define·OPENSUBDIV3_OSD_MTL_LEGACY_GREGORY_PATCH_TABLE_H
39 ·2739 ·27
40 ·28#include·"../version.h"40 ·28#include·"../version.h"
 41 ·29#include·"../far/patchTable.h"
41 ·29 
42 ·30#include·"../osd/opencl.h" 
43 ·31#include·"../osd/nonCopyable.h"42 ·30#include·"../osd/nonCopyable.h"
44 ·32#include·"../osd/types.h"43 ·31#include·"../osd/mtlCommon.h"
45 ·33 
46 ·34#include·<vector>44 ·32
 45 ·33@protocol·MTLDevice;
 46 ·34@protocol·MTLBuffer;
47 ·3547 ·35
48 ·36namespace·OpenSubdiv·{48 ·36namespace·OpenSubdiv·{
49 ·37namespace·OPENSUBDIV_VERSION·{49 ·37namespace·OPENSUBDIV_VERSION·{
50 ·3850 ·38
51 ·39namespace·Far{ 
52 ·40·class·PatchTable; 
53 ·41}; 
54 ·42 
55 ·43namespace·Osd·{51 ·39namespace·Osd·{
56 ·44 
57 52class·CLPatchTable·:·private·NonCopyable<CLPatchTable>·{52 ·40
 53 41class·MTLLegacyGregoryPatchTable
 54 ·42:·private·NonCopyable<MTLLegacyGregoryPatchTable>
 55 ·43{
58 ·53public:56 ·44public:
 57 45·~MTLLegacyGregoryPatchTable();
 58 ·46
59 55·static·CLPatchTable·*Create(Far::PatchTable·const·*patchTable, 
60 ·56·cl_context·clContext); 
61 ·57 
62 ·58·template·<typename·DEVICE_CONTEXT>59 ·47·template<typename·DEVICE_CONTEXT>
 60 48·static·MTLLegacyGregoryPatchTable*·Create(Far::PatchTable·const*
 61 farPatchTable,·DEVICE_CONTEXT·context)·{
 62 ·49·return·Create(farPatchTable,·context);
 63 ·50·}
 64 ·51
63 59·static·CLPatchTable·*·Create(Far::PatchTable·const·*patchTable,65 52·static·MTLLegacyGregoryPatchTable*·Create(Far::PatchTable·const*
64 ·60·DEVICE_CONTEXT·context)·{ 
65 ·61·return·Create(patchTable,·context->GetContext());66 farPatchTable,·MTLContext*·context);
 67 ·53
 68 54·void·UpdateVertexBuffer(id<MTLBuffer>·vbo,·int·numVertices,·int
 69 numVertexElements,·MTLContext*·context);
 70 ·55
 71 56·id<MTLBuffer>·GetVertexBuffer()·const
 72 ·57·{
 73 ·58·return·_vertexBuffer;
 74 ·59·}
 75 ·60
 76 61·id<MTLBuffer>·GetVertexValenceBuffer()·const
66 ·62·}77 ·62·{
67 ·63 
68 65·~CLPatchTable(); 
69 ·66 
70 68·cl_mem·GetPatchArrayBuffer()·const·{·return·_patchArrays;·}78 ·63·return·_vertexValenceBuffer;
 79 ·64·}
 80 ·65
 81 66·id<MTLBuffer>·GetQuadOffsetsBuffer()·const
 82 ·67·{
 83 ·68·return·_quadOffsetsBuffer;
71 ·6984 ·69·}
72 71·cl_mem·GetPatchIndexBuffer()·const·{·return·_indexBuffer;·}85 ·70
 86 71·int·GetQuadOffsetsBase(Far::PatchDescriptor::Type·type)
73 ·7287 ·72·{
74 74·cl_mem·GetPatchParamBuffer()·const·{·return·_patchParamBuffer;·} 
75 ·75 
76 77·cl_mem·GetVaryingPatchArrayBuffer()·const·{·return·_varyingPatchArrays;·} 
77 ·78 
78 80·cl_mem·GetVaryingPatchIndexBuffer()·const·{·return·_varyingIndexBuffer;·} 
79 ·81 
80 83·int·GetNumFVarChannels()·const·{·return·(int)_fvarPatchArrays.size();·}88 ·73·if(type·==·Far::PatchDescriptor::GREGORY_BOUNDARY)
 89 ·74·return·_quadOffsetsBase[1];
 90 ·75·return·_quadOffsetsBase[0];
 91 ·76·}
 92 ·77
 93 ·78private:
 94 ·79·id<MTLBuffer>·_vertexBuffer;
 95 ·80·id<MTLBuffer>·_vertexValenceBuffer;
 96 ·81·id<MTLBuffer>·_quadOffsetsBuffer;
 97 ·82·int·_quadOffsetsBase[2];
 98 ·83};
81 ·8499 ·84
82 86·cl_mem·GetFVarPatchArrayBuffer(int·fvarChannel·=·0)·const·{·return 
83 _fvarPatchArrays[fvarChannel];·} 
84 ·87 
85 89·cl_mem·GetFVarPatchIndexBuffer(int·fvarChannel·=·0)·const·{·return 
86 _fvarIndexBuffers[fvarChannel];·} 
87 ·90 
88 92·cl_mem·GetFVarPatchParamBuffer(int·fvarChannel·=·0)·const·{·return 
89 _fvarParamBuffers[fvarChannel];·} 
90 ·93 
91 ·94protected: 
92 95·CLPatchTable(); 
93 ·96 
94 97·bool·allocate(Far::PatchTable·const·*patchTable,·cl_context·clContext); 
95 ·98 
96 99·cl_mem·_patchArrays; 
97 100·cl_mem·_indexBuffer; 
98 101·cl_mem·_patchParamBuffer; 
Max diff block lines reached; 5885/10895 bytes (54.02%) of diff not shown.
5.92 KB
./usr/share/doc/opensubdiv/doxy_html/a00803.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/clEvaluator.h·File·Reference</title>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 83, 30 lines modifiedOffset 83, 29 lines modified
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124;87 <a·href="#nested-classes">Classes</a>·&#124;
88 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">clEvaluator.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">mtlComputeEvaluator.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
93 <code>#include·&quot;<a·class="el"·href="a00794_source.html">../osd/opencl.h</a>&quot;</code><br·/> 
94 <code>#include·&quot;<a·class="el"·href="a01481_source.html">../osd/types.h</a>&quot;</code><br·/>93 <code>#include·&quot;<a·class="el"·href="a01481_source.html">../osd/types.h</a>&quot;</code><br·/>
95 <code>#include·&quot;<a·class="el"·href="a00899_source.html">../osd/bufferDescriptor.h</a>&quot;</code><br·/>94 <code>#include·&quot;<a·class="el"·href="a00881_source.html">../osd/bufferDescriptor.h</a>&quot;</code><br·/>
 95 <code>#include·&quot;<a·class="el"·href="a00788_source.html">../osd/mtlCommon.h</a>&quot;</code><br·/>
96 </div>96 </div>
97 <p><a·href="a00803_source.html">Go·to·the·source·code·of·this·file.</a></p>97 <p><a·href="a00803_source.html">Go·to·the·source·code·of·this·file.</a></p>
98 <table·class="memberdecls">98 <table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
100 Classes</h2></td></tr>100 Classes</h2></td></tr>
101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01137.html">CLStencilTable</a></td></tr>101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01281.html">MTLStencilTable</a></td></tr>
102 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">OpenCL·stencil·table.··<a·href="a01137.html#details">More...</a><br·/></td></tr> 
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01141.html">CLEvaluator</a></td></tr>103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01285.html">MTLComputeEvaluator</a></td></tr>
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 </table><table·class="memberdecls">105 </table><table·class="memberdecls">
107 <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>
108 Namespaces</h2></td></tr>107 Namespaces</h2></td></tr>
109 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>108 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>
110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
111 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>110 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>
Offset 117, 13 lines modifiedOffset 116, 13 lines modified
117 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>116 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
118 </table>117 </table>
119 </div><!--·contents·-->118 </div><!--·contents·-->
120 </div><!--·doc-content·-->119 </div><!--·doc-content·-->
121 <!--·start·footer·part·-->120 <!--·start·footer·part·-->
122 <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!·-->
123 ··<ul>122 ··<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="a00803.html">clEvaluator.h</a></li>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="a00803.html">mtlComputeEvaluator.h</a></li>
125 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>124 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
126 ··</ul>125 ··</ul>
127 </div>126 </div>
128 </body>127 </body>
129 </html>128 </html>
841 B
html2text {}
    
Offset 5, 32 lines modifiedOffset 5, 31 lines modified
  
  
  
5 [Logo]·OpenSubdiv5 [Logo]·OpenSubdiv
  
  
6 Classes·|·Namespaces6 Classes·|·Namespaces
7 clEvaluator.h·File·Reference7 mtlComputeEvaluator.h·File·Reference
8 #include·"../version.h"8 #include·"../version.h"
9 #include·"../osd/opencl.h" 
10 #include·"../osd/types.h"9 #include·"../osd/types.h"
11 #include·"../osd/bufferDescriptor.h"10 #include·"../osd/bufferDescriptor.h"
 11 #include·"../osd/mtlCommon.h"
12 Go_to_the_source_code_of_this_file.12 Go_to_the_source_code_of_this_file.
13 ·Classes13 ·Classes
14 class· CLStencilTable14 class· MTLStencilTable
15  ······OpenCL·stencil·table.·More... 
16  15  
17 class· CLEvaluator16 class· MTLComputeEvaluator
18  17  
19 ·Namespaces18 ·Namespaces
20 namespace· OpenSubdiv19 namespace· OpenSubdiv
21  20  
22 namespace· OpenSubdiv::OPENSUBDIV_VERSION21 namespace· OpenSubdiv::OPENSUBDIV_VERSION
23  22  
24 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Far23 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Far
25  24  
26 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd25 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd
27  26  
28 ····*·opensubdiv27 ····*·opensubdiv
29 ····*·osd28 ····*·osd
30 ····*·clEvaluator.h29 ····*·mtlComputeEvaluator.h
31 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.430 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
357 B
./usr/share/doc/opensubdiv/doxy_html/a00803.js
265 B
js-beautify {}
    
Offset 1, 4 lines modifiedOffset 1, 4 lines modified
1 var·a00803·=·[1 var·a00803·=·[
2 ····["CLStencilTable",·"a01137.html",·"a01137"],2 ····["MTLStencilTable",·"a01281.html",·"a01281"],
3 ····["CLEvaluator",·"a01141.html",·"a01141"]3 ····["MTLComputeEvaluator",·"a01285.html",·"a01285"]
4 ];4 ];
565 KB
./usr/share/doc/opensubdiv/doxy_html/a00803_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/clEvaluator.h·Source·File</title>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 80, 19 lines modifiedOffset 80, 19 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">clEvaluator.h</div></div>86 ··<div·class="headertitle"><div·class="title">mtlComputeEvaluator.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <a·href="a00803.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>89 <a·href="a00803.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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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>
94 <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>94 <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>
95 <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>95 <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>
96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>
97 <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>97 <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 107, 1217 lines modifiedOffset 107, 1084 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_CL_EVALUATOR_H</span></div>114 <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>
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_CL_EVALUATOR_H</span></div>115 <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>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../osd/opencl.h&quot;</span></div> 
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;../osd/types.h&quot;</span></div>119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../osd/types.h&quot;</span></div>
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&quot;../osd/bufferDescriptor.h&quot;</span></div>120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;../osd/bufferDescriptor.h&quot;</span></div>
 121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&quot;../osd/mtlCommon.h&quot;</span></div>
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
 123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">@protocol·</span>MTLDevice;</div>
 124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">@protocol·</span>MTLBuffer;</div>
 125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">@protocol·</span>MTLLibrary;</div>
 126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">@protocol·</span>MTLComputePipelineState;</div>
 127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
123 <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>128 <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>
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> 
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Far·{</div> 
127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">class·</span>PatchTable;</div> 
128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keyword">class·</span>StencilTable;</div> 
129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">class·</span>LimitStencilTable;</div> 
130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>}</div>130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>
 131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">namespace·</span>Far·{</div>
 132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····<span·class="keyword">class·</span>PatchTable;</div>
 133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">class·</span>StencilTable;</div>
 134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keyword">class·</span>LimitStencilTable;</div>
 135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>}</div>
131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>
132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">namespace·</span>Osd·{</div>137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">namespace·</span>Osd·{</div>
133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>138 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
134 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01137.html">···52</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01137.html">CLStencilTable</a>·{</div>139 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01281.html">···50</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01281.html">MTLStencilTable</a></div>
 140 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>{</div>
135 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">public</span>:</div>141 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">public</span>:</div>
136 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·DEVICE_CONTEXT&gt;</div>142 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·STENCIL_TABLE,·<span·class="keyword">typename</span>·DEVICE_CONTEXT&gt;</div>
137 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01137.html#ad4e05c20d99b64b2160c1a0c96cb0c01">···55</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01137.html">CLStencilTable</a>·*<a·class="code·hl_functio[·...·truncated·by·diffoscope;·len:·169,·SHA:·ef6666d4eac7a3702a277befc699e7e76238a939c545db1df3df7ce756d932e4·...·]stencilTable,</div>143 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01281.html#ad96fc1ad226b46fec987d3b131a87a90">···54</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01281.html">MTLStencilTable</a>*·<a·class="code·hl_functi[·...·truncated·by·diffoscope;·len:·83,·SHA:·2af5b2371f5335ee19926b66afa0c747d21576dd1bf454b4d4cf8c9d64776679·...·]stencilTable,</div>
138 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··································DEVICE_CONTEXT·context)·{</div>144 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>···································DEVICE_CONTEXT·context)</div>
 145 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····{</div>
139 <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_function"·href="a01137.html#a33ca6bb1dba9f8e390a58395d164431e">CLStencilTable</a>(stencilTable,·context-&gt;GetContext());</div>146 <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="a01281.html">MTLStencilTable</a>(stencilTable,·context);</div>
140 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····}</div>147 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····}</div>
141 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>148 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>
142 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·DEVICE_CONTEXT&gt;</div> 
143 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01137.html#a474edc933635aca814471b8d48950a0e">···61</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01137.html">CLStencilTable</a>·*<a·class="code·hl_function"·href="a01137.html#a474edc933635aca814471b8d48950a0e">Create</a>(</div> 
144 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>········<a·class="code·hl_class"·href="a01073.html">Far::LimitStencilTable</a>·<span·class="keyword">const</span>·*limitStencilTable,</div> 
145 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········DEVICE_CONTEXT·context)·{</div> 
146 <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_function"·href="a01137.html#a33ca6bb1dba9f8e390a58395d164431e">CLStencilTable</a>(limitStencilTable,·context-&gt;GetContext());</div> 
147 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····}</div> 
148 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>149 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
 150 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01281.html#a45e329ffe9fe4e32a1b21bfc89a6763f">···61</a></span>····<a·class="code·hl_function"·href="a01281.html#a45e329ffe9fe4e32a1b21bfc89a6763f">MTLStencilTable</a>(<a·class="code·hl_class"·href="a01057.html">Far::StencilTable</a>·<span·class="keyword">const</span>*·stencilTable,·<a·class="code·hl_class"·href="a01277.html">MTLContext</a>*·context);</div>
 151 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01281.html#a015dc72c3360b4841ee2b3feb06c106f">···62</a></span>····<a·class="code·hl_function"·href="a01281.html#a015dc72c3360b4841ee2b3feb06c106f">MTLStencilTable</a>(<a·class="code·hl_class"·href="a01073.html">Far::LimitStencilTable</a>·<span·class="keyword">const</span>*·stencilTable,·<a·class="code·hl_class"·href="a01277.html">MTLContext</a>*·context);</div>
 152 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01281.html#a1ace4fd3d4d8b840a5b48415175ea8bc">···63</a></span>····<a·class="code·hl_function"·href="a01281.html#a1ace4fd3d4d8b840a5b48415175ea8bc">~MTLStencilTable</a>();</div>
149 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01137.html#a33ca6bb1dba9f8e390a58395d164431e">···67</a></span>····<a·class="code·hl_function"·href="a01137.html#a33ca6bb1dba9f8e390a58395d164431e">CLStencilTable</a>(<a·class="code·hl_class"·href="a01057.html">Far::StencilTable</a>·<span·class="keyword">const</span>·*stencilTable,</div> 
150 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>···················cl_context·clContext);</div> 
151 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01137.html#af2994e79cf93c872e39659321750351a">···69</a></span>····<a·class="code·hl_function"·href="a01137.html#af2994e79cf93c872e39659321750351a">CLStencilTable</a>(<a·class="code·hl_class"·href="a01073.html">Far::LimitStencilTable</a>·<span·class="keyword">const</span>·*limitStencilTable,</div> 
152 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>···················cl_context·clContext);</div> 
153 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01137.html#ab84d9750ece4e75ae7a51e7d912df82b">···71</a></span>····<a·class="code·hl_function"·href="a01137.html#ab84d9750ece4e75ae7a51e7d912df82b">~CLStencilTable</a>();</div> 
154 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> 
155 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="comment">//·interfaces·needed·for·CLComputeKernel</span></div> 
156 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01137.html#a65e52572efdebb80844185aada8d5951">···74</a></span>····cl_mem·<a·class="code·hl_function"·href="a01137.html#a65e52572efdebb80844185aada8d5951">GetSizesBuffer</a>()<span·class="keyword">······const·</span>{·<span·class="keywordflow">return</span>·_sizes;·}</div> 
157 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01137.html#a3bd38b85fd2bea1c4d2018d2f8e177a3">···75</a></span>····cl_mem·<a·class="code·hl_function"·href="a01137.html#a3bd38b85fd2bea1c4d2018d2f8e177a3">GetOffsetsBuffer</a>()<span·class="keyword">····const·</span>{·<span·class="keywordflow">return</span>·_offsets;·}</div> 
158 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01137.html#a5cbc4ec76e497871b20b4ef91f5f054f">···76</a></span>····cl_mem·<a·class="code·hl_function"·href="a01137.html#a5cbc4ec76e497871b20b4ef91f5f054f">GetIndicesBuffer</a>()<span·class="keyword">····const·</span>{·<span·class="keywordflow">return</span>·_indices;·}</div> 
159 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01137.html#af37e0ab1fae60f201db4eb21ff7e941e">···77</a></span>····cl_mem·<a·class="code·hl_function"·href="a01137.html#af37e0ab1fae60f201db4eb21ff7e941e">GetWeightsBuffer</a>()<span·class="keyword">····const·</span>{·<span·class="keywordflow">return</span>·_weights;·}</div> 
160 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01137.html#aab6c794e109053815894e2314f05564b">···78</a></span>····cl_mem·<a·class="code·hl_function"·href="a01137.html#aab6c794e109053815894e2314f05564b">GetDuWeightsBuffer</a>()<span·class="keyword">··const·</span>{·<span·class="keywordflow">return</span>·_duWeights;·}</div> 
161 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01137.html#aa1550324554767683ae2bf0317e6bad6">···79</a></span>····cl_mem·<a·class="code·hl_function"·href="a01137.html#aa1550324554767683ae2bf0317e6bad6">GetDvWeightsBuffer</a>()<span·class="keyword">··const·</span>{·<span·class="keywordflow">return</span>·_dvWeights;·}</div> 
162 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01137.html#a9a1d122f4bea431331fa542cf6dee1f6">···80</a></span>····cl_mem·<a·class="code·hl_function"·href="a01137.html#a9a1d122f4bea431331fa542cf6dee1f6">GetDuuWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_duuWeights;·}</div> 
163 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01137.html#aa79d14d151020f9298c742c3072e7fc9">···81</a></span>····cl_mem·<a·class="code·hl_function"·href="a01137.html#aa79d14d151020f9298c742c3072e7fc9">GetDuvWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_duvWeights;·}</div> 
164 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01137.html#a015241b43d27300535376319ae7b6dc4">···82</a></span>····cl_mem·<a·class="code·hl_function"·href="a01137.html#a015241b43d27300535376319ae7b6dc4">GetDvvWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_dvvWeights;·}</div> 
165 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01137.html#a65836d2070b943c8fecbad926d074de2">···83</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01137.html#a65836d2070b943c8fecbad926d074de2">GetNumStencils</a>()<span·class="keyword">·········const·</span>{·<span·class="keywordflow">return</span>·_numStencils;·}</div> 
166 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>153 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>
 154 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01281.html#a9b2f404d67fa83cd4715d2bbbeef6b4c">···65</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01281.html#a9b2f404d67fa83cd4715d2bbbeef6b4c">GetSizesBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_sizesBuffer;·}</div>
 155 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01281.html#aa1aa052f6513bda4c60b0ac423fb34cc">···66</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01281.html#aa1aa052f6513bda4c60b0ac423fb34cc">GetOffsetsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_offsetsBuffer;·}</div>
 156 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01281.html#a860a80d6ea4ec9aec06280c39376683c">···67</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01281.html#a860a80d6ea4ec9aec06280c39376683c">GetIndicesBuffer</a>()<span·class="keyword">·const··</span>{·<span·class="keywordflow">return</span>·_indicesBuffer;·}</div>
 157 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01281.html#ab22907c9cfe58b82ddfcad8241304500">···68</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01281.html#ab22907c9cfe58b82ddfcad8241304500">GetWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_weightsBuffer;·}</div>
 158 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01281.html#a13aa05ad0482bad5182feb3cd75b4168">···69</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01281.html#a13aa05ad0482bad5182feb3cd75b4168">GetDuWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_duWeightsBuffer;·}</div>
 159 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01281.html#ae7df9ee000b676b2afb8b2979c006494">···70</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01281.html#ae7df9ee000b676b2afb8b2979c006494">GetDvWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_dvWeightsBuffer;·}</div>
 160 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01281.html#a4dec46cc7a06c6c1687109e48f04e085">···71</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01281.html#a4dec46cc7a06c6c1687109e48f04e085">GetDuuWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_duuWeightsBuffer;·}</div>
 161 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01281.html#a6175e9daf70e8c27fb5122546df3fb1f">···72</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01281.html#a6175e9daf70e8c27fb5122546df3fb1f">GetDuvWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_duvWeightsBuffer;·}</div>
 162 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01281.html#a2f1e271aba868c291f9e0a9e9d1ace47">···73</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01281.html#a2f1e271aba868c291f9e0a9e9d1ace47">GetDvvWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_dvvWeightsBuffer;·}</div>
 163 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>
 164 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01281.html#a65836d2070b943c8fecbad926d074de2">···75</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01281.html#a65836d2070b943c8fecbad926d074de2">GetNumStencils</a>()<span·class="keyword">·const··</span>{·<span·class="keywordflow">return</span>·_numStencils;·}</div>
 165 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>
167 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span><span·class="keyword">private</span>:</div>166 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="keyword">private</span>:</div>
168 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····cl_mem·_sizes;</div>167 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····id&lt;MTLBuffer&gt;·_sizesBuffer;</div>
 168 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····id&lt;MTLBuffer&gt;·_offsetsBuffer;</div>
Max diff block lines reached; 402363/460020 bytes (87.47%) of diff not shown.
115 KB
html2text {}
    
Offset 4, 18 lines modifiedOffset 4, 18 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 clEvaluator.h5 mtlComputeEvaluator.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2015·Pixar8 ·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·in11 ·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·trade15 ·9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade
Offset 30, 1556 lines modifiedOffset 30, 1388 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_OSD_CL_EVALUATOR_H37 ·25#ifndef·OPENSUBDIV3_OSD_MTL_COMPUTE_EVALUATOR_H
38 ·26#define·OPENSUBDIV3_OSD_CL_EVALUATOR_H38 ·26#define·OPENSUBDIV3_OSD_MTL_COMPUTE_EVALUATOR_H
39 ·2739 ·27
40 ·28#include·"../version.h"40 ·28#include·"../version.h"
41 ·2941 ·29
42 ·30#include·"../osd/opencl.h" 
43 ·31#include·"../osd/types.h"42 ·30#include·"../osd/types.h"
44 ·32#include·"../osd/bufferDescriptor.h"43 ·31#include·"../osd/bufferDescriptor.h"
 44 ·32#include·"../osd/mtlCommon.h"
45 ·3345 ·33
 46 ·34@protocol·MTLDevice;
 47 ·35@protocol·MTLBuffer;
 48 ·36@protocol·MTLLibrary;
 49 ·37@protocol·MTLComputePipelineState;
 50 ·38
46 ·34namespace·OpenSubdiv·{51 ·39namespace·OpenSubdiv·{
47 ·35namespace·OPENSUBDIV_VERSION·{52 ·40namespace·OPENSUBDIV_VERSION·{
48 ·3653 ·41
49 ·37namespace·Far·{54 ·42namespace·Far·{
50 ·38·class·PatchTable;55 ·43·class·PatchTable;
51 ·39·class·StencilTable;56 ·44·class·StencilTable;
52 ·40·class·LimitStencilTable;57 ·45·class·LimitStencilTable;
53 ·41}58 ·46}
54 ·4259 ·47
55 ·43namespace·Osd·{60 ·48namespace·Osd·{
56 ·4461 ·49
57 52class·CLStencilTable·{62 50class·MTLStencilTable
 63 ·51{
58 ·53public:64 ·52public:
59 ·54·template·<typename·DEVICE_CONTEXT> 
60 55·static·CLStencilTable·*Create(Far::StencilTable·const·*stencilTable,65 ·53·template<typename·STENCIL_TABLE,·typename·DEVICE_CONTEXT>
 66 54·static·MTLStencilTable*·Create(STENCIL_TABLE*·stencilTable,
61 ·56·DEVICE_CONTEXT·context)·{67 ·55·DEVICE_CONTEXT·context)
 68 ·56·{
62 ·57·return·new·CLStencilTable(stencilTable,·context->GetContext());69 ·57·return·new·MTLStencilTable(stencilTable,·context);
63 ·58·}70 ·58·}
64 ·5971 ·59
 72 ·60
 73 61·MTLStencilTable(Far::StencilTable·const*·stencilTable,·MTLContext*·context);
65 ·60·template·<typename·DEVICE_CONTEXT> 
66 61·static·CLStencilTable·*Create( 
67 ·62·Far::LimitStencilTable·const·*limitStencilTable, 
68 ·63·DEVICE_CONTEXT·context)·{ 
69 ·64·return·new·CLStencilTable(limitStencilTable,·context->GetContext()); 
70 ·65·} 
71 ·66 
72 67·CLStencilTable(Far::StencilTable·const·*stencilTable,74 62·MTLStencilTable(Far::LimitStencilTable·const*·stencilTable,·MTLContext*
 75 context);
73 ·68·cl_context·clContext); 
74 69·CLStencilTable(Far::LimitStencilTable·const·*limitStencilTable, 
75 ·70·cl_context·clContext); 
76 71·~CLStencilTable();76 63·~MTLStencilTable();
 77 ·64
77 ·72 
78 ·73·//·interfaces·needed·for·CLComputeKernel 
79 74·cl_mem·GetSizesBuffer()·const·{·return·_sizes;·}78 65·id<MTLBuffer>·GetSizesBuffer()·const·{·return·_sizesBuffer;·}
80 75·cl_mem·GetOffsetsBuffer()·const·{·return·_offsets;·}79 66·id<MTLBuffer>·GetOffsetsBuffer()·const·{·return·_offsetsBuffer;·}
81 76·cl_mem·GetIndicesBuffer()·const·{·return·_indices;·}80 67·id<MTLBuffer>·GetIndicesBuffer()·const·{·return·_indicesBuffer;·}
82 77·cl_mem·GetWeightsBuffer()·const·{·return·_weights;·}81 68·id<MTLBuffer>·GetWeightsBuffer()·const·{·return·_weightsBuffer;·}
83 78·cl_mem·GetDuWeightsBuffer()·const·{·return·_duWeights;·}82 69·id<MTLBuffer>·GetDuWeightsBuffer()·const·{·return·_duWeightsBuffer;·}
84 79·cl_mem·GetDvWeightsBuffer()·const·{·return·_dvWeights;·}83 70·id<MTLBuffer>·GetDvWeightsBuffer()·const·{·return·_dvWeightsBuffer;·}
85 80·cl_mem·GetDuuWeightsBuffer()·const·{·return·_duuWeights;·}84 71·id<MTLBuffer>·GetDuuWeightsBuffer()·const·{·return·_duuWeightsBuffer;·}
86 81·cl_mem·GetDuvWeightsBuffer()·const·{·return·_duvWeights;·}85 72·id<MTLBuffer>·GetDuvWeightsBuffer()·const·{·return·_duvWeightsBuffer;·}
87 82·cl_mem·GetDvvWeightsBuffer()·const·{·return·_dvvWeights;·}86 73·id<MTLBuffer>·GetDvvWeightsBuffer()·const·{·return·_dvvWeightsBuffer;·}
 87 ·74
88 83·int·GetNumStencils()·const·{·return·_numStencils;·}88 75·int·GetNumStencils()·const·{·return·_numStencils;·}
89 ·8489 ·76
90 ·85private:90 ·77private:
91 ·86·cl_mem·_sizes; 
92 ·87·cl_mem·_offsets; 
93 ·88·cl_mem·_indices; 
94 ·89·cl_mem·_weights; 
95 ·90·cl_mem·_duWeights; 
96 ·91·cl_mem·_dvWeights; 
97 ·92·cl_mem·_duuWeights; 
98 ·93·cl_mem·_duvWeights; 
99 ·94·cl_mem·_dvvWeights;91 ·78·id<MTLBuffer>·_sizesBuffer;
 92 ·79·id<MTLBuffer>·_offsetsBuffer;
 93 ·80·id<MTLBuffer>·_indicesBuffer;
 94 ·81·id<MTLBuffer>·_weightsBuffer;
 95 ·82·id<MTLBuffer>·_duWeightsBuffer;
 96 ·83·id<MTLBuffer>·_dvWeightsBuffer;
 97 ·84·id<MTLBuffer>·_duuWeightsBuffer;
 98 ·85·id<MTLBuffer>·_duvWeightsBuffer;
 99 ·86·id<MTLBuffer>·_dvvWeightsBuffer;
 100 ·87
100 ·95·int·_numStencils;101 ·88·int·_numStencils;
101 ·96};102 ·89};
 103 ·90
 104 91class·MTLComputeEvaluator
 105 ·92{
102 ·97 
103 ·98//·------------------------------------------------------------------------- 
104 -- 
105 ·99 
106 100class·CLEvaluator·{ 
107 ·101public:106 ·93public:
108 102·typedef·bool·Instantiatable;107 94·typedef·bool·Instantiatable;
 108 ·95
 109 96·static·MTLComputeEvaluator·*·Create(BufferDescriptor·const·&srcDesc,
 110 ·97·BufferDescriptor·const·&dstDesc,
Max diff block lines reached; 108101/118116 bytes (91.52%) of diff not shown.
4.7 KB
./usr/share/doc/opensubdiv/doxy_html/a00806.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/mtlCommon.h·File·Reference</title>8 <title>OpenSubdiv:·opensubdiv/osd/mtlVertexBuffer.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 83, 25 lines modifiedOffset 83, 25 lines modified
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124;87 <a·href="#nested-classes">Classes</a>·&#124;
88 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">mtlCommon.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">mtlVertexBuffer.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
93 <code>#include·&lt;cstddef&gt;</code><br·/>93 <code>#include·&quot;<a·class="el"·href="a00788_source.html">../osd/mtlCommon.h</a>&quot;</code><br·/>
94 </div>94 </div>
95 <p><a·href="a00806_source.html">Go·to·the·source·code·of·this·file.</a></p>95 <p><a·href="a00806_source.html">Go·to·the·source·code·of·this·file.</a></p>
96 <table·class="memberdecls">96 <table·class="memberdecls">
97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
98 Classes</h2></td></tr>98 Classes</h2></td></tr>
99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01277.html">MTLContext</a></td></tr>99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01301.html">CPUMTLVertexBuffer</a></td></tr>
100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 </table><table·class="memberdecls">101 </table><table·class="memberdecls">
102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
103 Namespaces</h2></td></tr>103 Namespaces</h2></td></tr>
104 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>104 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>106 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>
Offset 110, 13 lines modifiedOffset 110, 13 lines modified
110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
111 </table>111 </table>
112 </div><!--·contents·-->112 </div><!--·contents·-->
113 </div><!--·doc-content·-->113 </div><!--·doc-content·-->
114 <!--·start·footer·part·-->114 <!--·start·footer·part·-->
115 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->115 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
116 ··<ul>116 ··<ul>
117 ····<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="a00806.html">mtlCommon.h</a></li>117 ····<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="a00806.html">mtlVertexBuffer.h</a></li>
118 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>118 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
119 ··</ul>119 ··</ul>
120 </div>120 </div>
121 </body>121 </body>
122 </html>122 </html>
615 B
html2text {}
    
Offset 5, 25 lines modifiedOffset 5, 25 lines modified
  
  
  
5 [Logo]·OpenSubdiv5 [Logo]·OpenSubdiv
  
  
6 Classes·|·Namespaces6 Classes·|·Namespaces
7 mtlCommon.h·File·Reference7 mtlVertexBuffer.h·File·Reference
8 #include·"../version.h"8 #include·"../version.h"
9 #include·<cstddef>9 #include·"../osd/mtlCommon.h"
10 Go_to_the_source_code_of_this_file.10 Go_to_the_source_code_of_this_file.
11 ·Classes11 ·Classes
12 class· MTLContext12 class· CPUMTLVertexBuffer
13  13  
14 ·Namespaces14 ·Namespaces
15 namespace· OpenSubdiv15 namespace· OpenSubdiv
16  16  
17 namespace· OpenSubdiv::OPENSUBDIV_VERSION17 namespace· OpenSubdiv::OPENSUBDIV_VERSION
18  18  
19 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd19 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd
20  20  
21 ····*·opensubdiv21 ····*·opensubdiv
22 ····*·osd22 ····*·osd
23 ····*·mtlCommon.h23 ····*·mtlVertexBuffer.h
24 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.424 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
254 B
./usr/share/doc/opensubdiv/doxy_html/a00806.js
162 B
js-beautify {}
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 var·a00806·=·[1 var·a00806·=·[
2 ····["MTLContext",·"a01277.html",·"a01277"]2 ····["CPUMTLVertexBuffer",·"a01301.html",·"a01301"]
3 ];3 ];
27.2 KB
./usr/share/doc/opensubdiv/doxy_html/a00806_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/mtlCommon.h·Source·File</title>8 <title>OpenSubdiv:·opensubdiv/osd/mtlVertexBuffer.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 80, 15 lines modifiedOffset 80, 15 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">mtlCommon.h</div></div>86 ··<div·class="headertitle"><div·class="title">mtlVertexBuffer.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <a·href="a00806.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>89 <a·href="a00806.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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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 107, 51 lines modifiedOffset 107, 89 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_MTL_COMMON_H</span></div>114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_MTL_VERTEX_BUFFER_H</span></div>
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_MTL_COMMON_H</span></div>115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_MTL_VERTEX_BUFFER_H</span></div>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> 
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;../osd/mtlCommon.h&quot;</span></div>
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">@protocol·</span>MTLDevice;</div>120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">@protocol·</span>MTLDevice;</div>
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">@protocol·</span>MTLCommandQueue;</div>121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">@protocol·</span>MTLBuffer;</div>
123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
124 <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>123 <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>
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">namespace·</span>Osd·{</div>126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Osd·{</div>
128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a01277.html">···40</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01277.html">MTLContext</a>·{</div>128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01301.html">···39</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01301.html">CPUMTLVertexBuffer</a>·{</div>
130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">public</span>:</div>129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">public</span>:</div>
131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a01277.html#a7d70f5acf4efd89092645b4c44e480cf">···42</a></span>········id&lt;MTLDevice&gt;·<a·class="code·hl_variable"·href="a01277.html#a7d70f5acf4efd89092645b4c44e480cf">device</a>·=·<span·class="keyword">nullptr</span>;</div> 
132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01277.html#a66809eb79c7e79a491fd8c889465166b">···43</a></span>········id&lt;MTLCommandQueue&gt;·<a·class="code·hl_variable"·href="a01277.html#a66809eb79c7e79a491fd8c889465166b">commandQueue</[·...·truncated·by·diffoscope;·len:·41,·SHA:·68375a92b2561acb1de2e73f95f930ba0b6c0c4310963be95cfb5320c9dfda27·...·];</div>130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01301.html#a2d6cb1babaae310f9c4c7fb45e0d33bc">···41</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01301.html">CPUMTLVertexBuffer</a>*·<a·class="code·hl_fun[·...·truncated·by·diffoscope;·len:·239,·SHA:·19dc02ab8c79467c53387ad6ba448552f81611337ae0c7df7a583b0c745b6427·...·];</div>
 131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
 132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01301.html#a892b78f6079decdbfa11a14db932c25f">···43</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01301.html#a892b78f6079decdbfa11a14db932c25f">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,·<a·class="code·hl_class"·href="a01277.html">MTLContext</a>*·context);</div>
133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>};</div>133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
 134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01301.html#a77cee40767fd4936f20a8f9d9d9ea625">···45</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01301.html#a77cee40767fd4936f20a8f9d9d9ea625">GetNumElements</a>()<span·class="keyword">·const</span></div>
 135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">····</span>{</div>
 136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>········<span·class="keywordflow">return</span>·_numElements;</div>
 137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····}</div>
134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>138 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
 139 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01301.html#aaf4a32b8a414eff77000c584c2015cb7">···50</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01301.html#aaf4a32b8a414eff77000c584c2015cb7">GetNumVertices</a>()<span·class="keyword">·const</span></div>
 140 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">····</span>{</div>
 141 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>········<span·class="keywordflow">return</span>·_numVertices;</div>
 142 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····}</div>
 143 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
 144 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01301.html#adf7a9df5d3fc4d803bf5f1f374d90274">···55</a></span>····<span·class="keywordtype">float</span>*·<a·class="code·hl_function"·href="a01301.html#adf7a9df5d3fc4d803bf5f1f374d90274">BindCpuBuffer</a>();</div>
 145 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01301.html#ab72828297150416f7e6293367f5a1ddf">···56</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01301.html#ab72828297150416f7e6293367f5a1ddf">BindMTLBuffer</a>(<a·class="code·hl_class"·href="a01277.html">MTLContext</a>*·context);</div>
 146 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
 147 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01301.html#a0bdc1fa268a4bd0a0fce92e933532677">···58</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01301.html#a0bdc1fa268a4bd0a0fce92e933532677">BindVBO</a>(<a·class="code·hl_class"·href="a01277.html">MTLContext</a>*·context)</div>
 148 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····{</div>
 149 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01301.html#ab72828297150416f7e6293367f5a1ddf">BindMTLBuffer</a>(context);</div>
 150 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····}</div>
 151 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
 152 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="keyword">protected</span>:</div>
 153 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>
 154 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01301.html#a1457f342bc3007386104aa3d29277a67">···65</a></span>····<a·class="code·hl_function"·href="a01301.html#a1457f342bc3007386104aa3d29277a67">CPUMTLVertexBuffer</a>(<span·class="keywordtype">int</span>·numElements,·<span·class="keywordtype">int</span>·numVertices);</div>
 155 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
 156 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01301.html#ae765f2922a2e542bd85c1e0c0ae1d169">···67</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01301.html#ae765f2922a2e542bd85c1e0c0ae1d169">allocate</a>(<a·class="code·hl_class"·href="a01277.html">MTLContext</a>*·context);</div>
 157 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
 158 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="keyword">private</span>:</div>
 159 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="keywordtype">int</span>·_numElements;</div>
 160 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="keywordtype">int</span>·_numVertices;</div>
 161 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····id&lt;MTLBuffer&gt;·_buffer;</div>
 162 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="keywordtype">bool</span>·_dirty;</div>
 163 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>};</div>
 164 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>}·<span·class="comment">//·end·namespace·Osd</span></div>165 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>}·<span·class="comment">//end·namespace·Osd</span></div>
136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>166 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div>
137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>}·<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div>167 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>}·<span·class="comment">//end·namespace·OPENSUBDIV_VERSION</span></div>
138 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div>168 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div>
139 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>169 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>
140 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>}·<span·class="comment">//·end·namespace·OpenSubdiv</span></div>170 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>}·<span·class="comment">//end·namespace·OpenSubdiv</span></div>
141 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>171 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>
142 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="preprocessor">#endif·</span><span·class="comment">//OPENSUBDIV3_OSD_MTL_COMMON_H</span></div>172 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="preprocessor">#endif·</span><span·class="comment">//·OPENSUBDIV3_OSD_MTL_VERTEX_BUFFER_H</span></div>
143 <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>173 <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>
144 <div·class="ttc"·id="aa01277_html"><div·class="ttname"><a·href="a01277.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>174 <div·class="ttc"·id="aa01277_html"><div·class="ttname"><a·href="a01277.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLContext</a></div><div·class="ttdef"><b>Definition:</b>·<a·href="a00788_source.html#l00040">mtlCommon.h:40</a></div></div>
145 <div·class="ttc"·id="aa01277_html_a66809eb79c7e79a491fd8c889465166b"><div·class="ttname"><a·href="a01277.html#a66809eb79c7e79a491fd8c889465166b">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLContext::commandQueue</a></div><div·class="ttdeci">id&lt;·MTLCommandQueue·&gt;·commandQueue</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00806_source.html#l00043">mtlCommon.h:43</a></div></div> 
146 <div·class="ttc"·id="aa01277_html_a7d70f5acf4efd89092645b4c44e480cf"><div·class="ttname"><a·href="a01277.html#a7d70f5acf4efd89092645b4c44e480cf">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLContext::device</a></div><div·class="ttdeci">id&lt;·MTLDevice·&gt;·device</div><div·class="ttdef[·...·truncated·by·diffoscope;·len:·71,·SHA:·473b74e7a0bce1eef87674f417116075aa70a94a6dfc962fed0cbb5e71285bf8·...·]</a></div></div>175 <div·class="ttc"·id="aa01301_html"><div·class="ttname"><a·href="a01301.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CPUMTLVertexBuffer</a></div><div·class="ttdef"><b>Definition:</b>·<a·href="a00806_source.html#l00039">mtlVertexBuffer.h:39</a></div></div>
 176 <div·class="ttc"·id="aa01301_html_a0bdc1fa268a4bd0a0fce92e933532677"><div·class="ttname"><a·href="a01301.html#a0bdc1fa268a4bd0a0fce92e933532677">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CPUMTLVertexBuffer::BindVBO</a></div><div·class="ttdeci">id&lt;·MTLBuffer·&gt;·BindVBO(MTLContext·*context)</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00806_source.html#l00058">mtlVertexBuffer.h:58</a></div></div>
 177 <div·class="ttc"·id="aa01301_html_a1457f342bc3007386104aa3d29277a67"><div·class="ttname"><a·href="a01301.html#a1457f342bc3007386104aa3d29277a67">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CPUMTLVertexBuffer::CPUMTLVertexBuffer</a></div><div·class="ttdeci">CPUMTLVertexBuffer(int·numElements,·int·numVertices)</div></div>
 178 <div·class="ttc"·id="aa01301_html_a2d6cb1babaae310f9c4c7fb45e0d33bc"><div·class="ttname"><a·href="a01301.html#a2d6cb1babaae310f9c4c7fb45e0d33bc">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CPUMTLVertexBuffer::Create</a></div><div·class="ttdeci">static·CPUMTLVertexBuffer·*·Create(int·numElements,·int·numVertices,·MTLContext·*context)</div></div>
 179 <div·class="ttc"·id="aa01301_html_a77cee40767fd4936f20a8f9d9d9ea625"><div·class="ttname"><a·href="a01301.html#a77cee40767fd4936f20a8f9d9d9ea625">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CPUMTLVertexBuffer::GetNumElements</a></div><div·class="ttdeci">int·GetNumElements()·const</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00806_source.html#l00045">mtlVertexBuffer.h:45</a></div></div>
 180 <div·class="ttc"·id="aa01301_html_a892b78f6079decdbfa11a14db932c25f"><div·class="ttname"><a·href="a01301.html#a892b78f6079decdbfa11a14db932c25f">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CPUMTLVertexBuffer::UpdateData</a></div><div·class="ttdeci">void·UpdateData(const·float·*src,·int·startVertex,·int·numVertices,·MTLContext·*context)</div></div>
 181 <div·class="ttc"·id="aa01301_html_aaf4a32b8a414eff77000c584c2015cb7"><div·class="ttname"><a·href="a01301.html#aaf4a32b8a414eff77000c584c2015cb7">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CPUMTLVertexBuffer::GetNumVertices</a></div><div·class="ttdeci">int·GetNumVertices()·const</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00806_source.html#l00050">mtlVertexBuffer.h:50</a></div></div>
 182 <div·class="ttc"·id="aa01301_html_ab72828297150416f7e6293367f5a1ddf"><div·class="ttname"><a·href="a01301.html#ab72828297150416f7e6293367f5a1ddf">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CPUMTLVertexBuffer::BindMTLBuffer</a></div><div·class="ttdeci">id&lt;·MTLBuffer·&gt;·BindMTLBuffer(MTLContext·*context)</div></div>
 183 <div·class="ttc"·id="aa01301_html_adf7a9df5d3fc4d803bf5f1f374d90274"><div·class="ttname"><a·href="a01301.html#adf7a9df5d3fc4d803bf5f1f374d90274">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CPUMTLVertexBuffer::BindCpuBuffer</a></div><div·class="ttdeci">float·*·BindCpuBuffer()</div></div>
 184 <div·class="ttc"·id="aa01301_html_ae765f2922a2e542bd85c1e0c0ae1d169"><div·class="ttname"><a·href="a01301.html#ae765f2922a2e542bd85c1e0c0ae1d169">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CPUMTLVertexBuffer::allocate</a></div><div·class="ttdeci">bool·allocate(MTLContext·*context)</div></div>
147 </div><!--·fragment·--></div><!--·contents·-->185 </div><!--·fragment·--></div><!--·contents·-->
148 </div><!--·doc-content·-->186 </div><!--·doc-content·-->
149 <!--·start·footer·part·-->187 <!--·start·footer·part·-->
150 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->188 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
151 ··<ul>189 ··<ul>
152 ····<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="a00806.html">mtlCommon.h</a></li>190 ····<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="a00806.html">mtlVertexBuffer.h</a></li>
153 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>191 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
154 ··</ul>192 ··</ul>
155 </div>193 </div>
156 </body>194 </body>
157 </html>195 </html>
4.46 KB
html2text {}
    
Offset 4, 15 lines modifiedOffset 4, 15 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 mtlCommon.h5 mtlVertexBuffer.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2013·Pixar8 ·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·in11 ·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 30, 50 lines modifiedOffset 30, 101 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_OSD_MTL_COMMON_H37 ·25#ifndef·OPENSUBDIV3_OSD_MTL_VERTEX_BUFFER_H
38 ·26#define·OPENSUBDIV3_OSD_MTL_COMMON_H38 ·26#define·OPENSUBDIV3_OSD_MTL_VERTEX_BUFFER_H
39 ·2739 ·27
40 ·28#include·"../version.h"40 ·28#include·"../version.h"
 41 ·29#include·"../osd/mtlCommon.h"
 42 ·30
41 ·29 
42 ·30#include·<cstddef> 
43 ·31 
44 ·32@protocol·MTLDevice;43 ·31@protocol·MTLDevice;
45 ·33@protocol·MTLCommandQueue; 
46 ·3444 ·32@protocol·MTLBuffer;
 45 ·33
47 ·35namespace·OpenSubdiv·{46 ·34namespace·OpenSubdiv·{
48 ·36namespace·OPENSUBDIV_VERSION·{47 ·35namespace·OPENSUBDIV_VERSION·{
49 ·3748 ·36
50 ·38namespace·Osd·{49 ·37namespace·Osd·{
51 ·39 
52 40class·MTLContext·{50 ·38
 51 39class·CPUMTLVertexBuffer·{
53 ·41public:52 ·40public:
54 42·id<MTLDevice>·device·=·nullptr; 
55 43·id<MTLCommandQueue>·commandQueue·=·nullptr;53 41·static·CPUMTLVertexBuffer*·Create(int·numElements,·int·numVertices,
 54 MTLContext*·context);
 55 ·42
 56 43·void·UpdateData(const·float*·src,·int·startVertex,·int·numVertices,
 57 MTLContext*·context);
 58 ·44
 59 45·int·GetNumElements()·const
 60 ·46·{
 61 ·47·return·_numElements;
 62 ·48·}
 63 ·49
 64 50·int·GetNumVertices()·const
 65 ·51·{
 66 ·52·return·_numVertices;
 67 ·53·}
 68 ·54
 69 55·float*·BindCpuBuffer();
 70 56·id<MTLBuffer>·BindMTLBuffer(MTLContext*·context);
 71 ·57
 72 58·id<MTLBuffer>·BindVBO(MTLContext*·context)
 73 ·59·{
 74 ·60·return·BindMTLBuffer(context);
 75 ·61·}
 76 ·62
 77 ·63protected:
 78 ·64
 79 65·CPUMTLVertexBuffer(int·numElements,·int·numVertices);
 80 ·66
 81 67·bool·allocate(MTLContext*·context);
 82 ·68
 83 ·69private:
 84 ·70·int·_numElements;
 85 ·71·int·_numVertices;
 86 ·72·id<MTLBuffer>·_buffer;
 87 ·73·bool·_dirty;
56 ·44};88 ·74};
57 ·4589 ·75
58 ·46}·//·end·namespace·Osd90 ·76}·//end·namespace·Osd
59 ·4791 ·77
60 ·48}·//·end·namespace·OPENSUBDIV_VERSION92 ·78}·//end·namespace·OPENSUBDIV_VERSION
61 ·49using·namespace·OPENSUBDIV_VERSION;93 ·79·using·namespace·OPENSUBDIV_VERSION;
62 ·5094 ·80
63 ·51}·//·end·namespace·OpenSubdiv95 ·81}·//end·namespace·OpenSubdiv
64 ·5296 ·82
65 ·53#endif·//OPENSUBDIV3_OSD_MTL_COMMON_H97 ·83#endif·//·OPENSUBDIV3_OSD_MTL_VERTEX_BUFFER_H
66 OpenSubdiv98 OpenSubdiv
67 Definition:·limits.h:3299 Definition:·limits.h:32
68 OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLContext100 OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLContext
69 Definition:·mtlCommon.h:40101 Definition:·mtlCommon.h:40
70 OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLContext::commandQueue 
71 id<·MTLCommandQueue·>·commandQueue 
72 Definition:·mtlCommon.h:43 
73 OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLContext::device102 OpenSubdiv::OPENSUBDIV_VERSION::Osd::CPUMTLVertexBuffer
74 id<·MTLDevice·>·device 
75 Definition:·mtlCommon.h:42103 Definition:·mtlVertexBuffer.h:39
 104 OpenSubdiv::OPENSUBDIV_VERSION::Osd::CPUMTLVertexBuffer::BindVBO
 105 id<·MTLBuffer·>·BindVBO(MTLContext·*context)
 106 Definition:·mtlVertexBuffer.h:58
 107 OpenSubdiv::OPENSUBDIV_VERSION::Osd::CPUMTLVertexBuffer::CPUMTLVertexBuffer
 108 CPUMTLVertexBuffer(int·numElements,·int·numVertices)
 109 OpenSubdiv::OPENSUBDIV_VERSION::Osd::CPUMTLVertexBuffer::Create
 110 static·CPUMTLVertexBuffer·*·Create(int·numElements,·int·numVertices,·MTLContext
 111 *context)
 112 OpenSubdiv::OPENSUBDIV_VERSION::Osd::CPUMTLVertexBuffer::GetNumElements
 113 int·GetNumElements()·const
 114 Definition:·mtlVertexBuffer.h:45
 115 OpenSubdiv::OPENSUBDIV_VERSION::Osd::CPUMTLVertexBuffer::UpdateData
 116 void·UpdateData(const·float·*src,·int·startVertex,·int·numVertices,·MTLContext
 117 *context)
 118 OpenSubdiv::OPENSUBDIV_VERSION::Osd::CPUMTLVertexBuffer::GetNumVertices
 119 int·GetNumVertices()·const
 120 Definition:·mtlVertexBuffer.h:50
 121 OpenSubdiv::OPENSUBDIV_VERSION::Osd::CPUMTLVertexBuffer::BindMTLBuffer
 122 id<·MTLBuffer·>·BindMTLBuffer(MTLContext·*context)
 123 OpenSubdiv::OPENSUBDIV_VERSION::Osd::CPUMTLVertexBuffer::BindCpuBuffer
 124 float·*·BindCpuBuffer()
 125 OpenSubdiv::OPENSUBDIV_VERSION::Osd::CPUMTLVertexBuffer::allocate
 126 bool·allocate(MTLContext·*context)
76 ····*·opensubdiv127 ····*·opensubdiv
77 ····*·osd128 ····*·osd
78 ····*·mtlCommon.h129 ····*·mtlVertexBuffer.h
79 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4130 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
Max diff block lines reached; -1/4540 bytes (-0.02%) of diff not shown.
5.93 KB
./usr/share/doc/opensubdiv/doxy_html/a00809.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/mtlMesh.h·File·Reference</title>8 <title>OpenSubdiv:·opensubdiv/osd/hlslPatchShaderSource.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 81, 43 lines modifiedOffset 81, 43 lines modified
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
 87 <a·href="#nested-classes">Classes</a>·&#124;
87 <a·href="#namespaces">Namespaces</a>·&#124;88 <a·href="#namespaces">Namespaces</a>··</div>
88 <a·href="#typedef-members">Typedefs</a>··</div> 
89 ··<div·class="headertitle"><div·class="title">mtlMesh.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">hlslPatchShaderSource.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
 93 <code>#include·&lt;string&gt;</code><br·/>
93 <code>#include·&quot;<a·class="el"·href="a00887_source.html">../osd/mesh.h</a>&quot;</code><br·/>94 <code>#include·&quot;<a·class="el"·href="a00740_source.html">../far/patchDescriptor.h</a>&quot;</code><br·/>
94 <code>#include·&quot;<a·class="el"·href="a00815_source.html">../osd/mtlPatchTable.h</a>&quot;</code><br·/> 
95 </div>95 </div>
96 <p><a·href="a00809_source.html">Go·to·the·source·code·of·this·file.</a></p>96 <p><a·href="a00809_source.html">Go·to·the·source·code·of·this·file.</a></p>
97 <table·class="memberdecls">97 <table·class="memberdecls">
 98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 99 Classes</h2></td></tr>
 100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01257.html">HLSLPatchShaderSource</a></td></tr>
 101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 102 </table><table·class="memberdecls">
98 <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>
99 Namespaces</h2></td></tr>104 Namespaces</h2></td></tr>
100 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>105 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>107 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>109 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 </table><table·class="memberdecls"> 
107 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> 
108 Typedefs</h2></td></tr> 
109 <tr·class="memitem:aa41e5b43fe46eeb0f97ff6ebdb1935aa"><td·class="memItemLeft"·align="right"·valign="top">typedef·MeshInterface&lt;·MTLPatchTable·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#aa41e5b43fe46eeb0f97ff6ebdb1935aa">MTLMeshInterface</a></td></tr> 
110 <tr·class="separator:aa41e5b43fe46eeb0f97ff6ebdb1935aa"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
111 </table>111 </table>
112 </div><!--·contents·-->112 </div><!--·contents·-->
113 </div><!--·doc-content·-->113 </div><!--·doc-content·-->
114 <!--·start·footer·part·-->114 <!--·start·footer·part·-->
115 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->115 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
116 ··<ul>116 ··<ul>
117 ····<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="a00809.html">mtlMesh.h</a></li>117 ····<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="a00809.html">hlslPatchShaderSource.h</a></li>
118 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>118 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
119 ··</ul>119 ··</ul>
120 </div>120 </div>
121 </body>121 </body>
122 </html>122 </html>
769 B
html2text {}
    
Offset 4, 27 lines modifiedOffset 4, 27 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 Namespaces·|·Typedefs 
6 mtlMesh.h·File·Reference5 Classes·|·Namespaces
 6 hlslPatchShaderSource.h·File·Reference
7 #include·"../version.h"7 #include·"../version.h"
8 #include·"../osd/mesh.h" 
9 #include·"../osd/mtlPatchTable.h"8 #include·<string>
 9 #include·"../far/patchDescriptor.h"
10 Go_to_the_source_code_of_this_file.10 Go_to_the_source_code_of_this_file.
 11 ·Classes
 12 class· HLSLPatchShaderSource
 13  
11 ·Namespaces14 ·Namespaces
12 namespace· OpenSubdiv15 namespace· OpenSubdiv
13  16  
14 namespace· OpenSubdiv::OPENSUBDIV_VERSION17 namespace· OpenSubdiv::OPENSUBDIV_VERSION
15  18  
16 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd19 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd
17  20  
18 ·Typedefs 
19 typedef·MeshInterface<·MTLPatchTable·> MTLMeshInterface 
20   
21 ····*·opensubdiv21 ····*·opensubdiv
22 ····*·osd22 ····*·osd
23 ····*·mtlMesh.h23 ····*·hlslPatchShaderSource.h
24 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.424 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
289 B
./usr/share/doc/opensubdiv/doxy_html/a00809.js
197 B
js-beautify {}
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 var·a00809·=·[1 var·a00809·=·[
2 ····["MTLMeshInterface",·"a00809.html#aa41e5b43fe46eeb0f97ff6ebdb1935aa",·null]2 ····["HLSLPatchShaderSource",·"a01257.html",·null]
3 ];3 ];
20.3 KB
./usr/share/doc/opensubdiv/doxy_html/a00809_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/mtlMesh.h·Source·File</title>8 <title>OpenSubdiv:·opensubdiv/osd/hlslPatchShaderSource.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 80, 19 lines modifiedOffset 80, 19 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">mtlMesh.h</div></div>86 ··<div·class="headertitle"><div·class="title">hlslPatchShaderSource.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <a·href="a00809.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>89 <a·href="a00809.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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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>
94 <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>94 <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>
95 <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>95 <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>
96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>
97 <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>97 <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 107, 44 lines modifiedOffset 107, 59 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <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>114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_HLSL_PATCH_SHADER_SOURCE_H</span></div>
115 <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>115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_HLSL_PATCH_SHADER_SOURCE_H</span></div>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;../osd/mesh.h&quot;</span></div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../osd/mtlPatchTable.h&quot;</span></div>119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../far/patchDescriptor.h&quot;</span></div>
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> 
122 <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>121 <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>
123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>Osd·{</div>124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>Osd·{</div>
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
 126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01257.html">···37</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01257.html">HLSLPatchShaderSource</a>·{</div>
127 <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="a01261.html">MeshInterface&lt;MTLPatchTable&gt;</a>·<a·class="code·hl_typedef"·href="a00912.html#aa41e5b43fe46eeb0f97ff6ebdb1935aa">MTLMeshInterface</a>;</div> 
128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> 
129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>}·<span·class="comment">//·end·namespace·Osd</span></div>127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">public</span>:</div>
 128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01257.html#ad5f427d2655d384980715874209345e7">···39</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01257.html#ad5f427d2655d384980715874209345e7">GetCommonShaderSource</a>();</div>
130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>
131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>}·<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> 
132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div>130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01257.html#ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d">···41</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01257.html#ad41c6e1dc4a5cd6ee4f33fc5a8e15d[·...·truncated·by·diffoscope;·len:·35,·SHA:·caadb339d21a279c12201422d2f3db0ebe0a84ecad1b40ab79fe34b406503872·...·];</div>
 131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
 132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01257.html#a20cb122b561de15ed3b90d7e4f5176d2">···43</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01257.html#a20cb122b561de15ed3b90d7e4f5176d2">GetVertexShaderSource</a>(<a·class="code·hl_enumeration"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type);</div>
133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>}·<span·class="comment">//·end·namespace·OpenSubdiv</span></div>134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01257.html#a97a09fe0a378798cafdff72e115e373f">···45</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01257.html#a97a09fe0a378798cafdff72e115e373f">GetHullShaderSource</a>(<a·class="code[·...·truncated·by·diffoscope;·len:·107,·SHA:·173da2b1003f417a333e7cfbb1b49a98f00470a41b6b5f2f0abcdd89ba0e06a2·...·]</div>
135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
 136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01257.html#a733309309efe67ba5d1acd7d0a9ff6ca">···47</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01257.html#a733309309efe67ba5d1acd7d0a9ff6ca">GetDomainShaderSource</a>(<a·class="code·hl_enumeration"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type);</div>
 137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>};</div>
 138 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
 139 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>}··<span·class="comment">//·end·namespace·Osd</span></div>
 140 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
 141 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>}··<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div>
 142 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div>
 143 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
 144 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>}·<span·class="comment">//·end·namespace·OpenSubdiv</span></div>
 145 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>
136 <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>146 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="preprocessor">#endif··</span><span·class="comment">//·OPENSUBDIV3_OSD_HLSL_PATCH_SHADER_SOURCE_H</span></div>
137 <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>147 <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>
138 <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&lt;·MTLPatchTable·&gt;·MTLMeshInterface<[·...·truncated·by·diffoscope;·len:·90,·SHA:·95990324fd8891b7b5c09d82dff27b5954a4c0166233daa64adb59a4fe56dde2·...·]8</a></div></div>148 <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:·54,·SHA:·06b453c5bf65f551b9ea9b10a86fb0f495e8683f30b086f634beb838204c7575·...·]8</a></div></div>
139 <div·class="ttc"·id="aa01261_html"><div·class="ttname"><a·href="a01261.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshInterface</a></div><div·class="ttdef"><b>Definition:</b>·<a·href="a00887_source.html#l00068">mesh.h:68</a></div></div>149 <div·class="ttc"·id="aa01257_html"><div·class="ttname"><a·href="a01257.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::HLSLPatchShaderSource</a></div><div·class="ttdef"><b>Definition:</b>·<a·href="a00809_source.html#l00037">hlslPatchShaderSource.h:37</a></div></div>
 150 <div·class="ttc"·id="aa01257_html_a20cb122b561de15ed3b90d7e4f5176d2"><div·class="ttname"><a·href="a01257.html#a20cb122b561de15ed3b90d7e4f5176d2">OpenSubdiv::OPENSUBDIV_VERSION::Osd::HLSLPatchShaderSource::GetVertexShaderSource</a></div><div·class="ttdeci">static·std::string·GetVertexShaderSource(Far::PatchDescriptor::Type·type)</div></div>
 151 <div·class="ttc"·id="aa01257_html_a733309309efe67ba5d1acd7d0a9ff6ca"><div·class="ttname"><a·href="a01257.html#a733309309efe67ba5d1acd7d0a9ff6ca">OpenSubdiv::OPENSUBDIV_VERSION::Osd::HLSLPatchShaderSource::GetDomainShaderSource</a></div><div·class="ttdeci">static·std::string·GetDomainShaderSource(Far::PatchDescriptor::Type·type)</div></div>
 152 <div·class="ttc"·id="aa01257_html_a97a09fe0a378798cafdff72e115e373f"><div·class="ttname"><a·href="a01257.html#a97a09fe0a378798cafdff72e115e373f">OpenSubdiv::OPENSUBDIV_VERSION::Osd::HLSLPatchShaderSource::GetHullShaderSource</a></div><div·class="ttdeci">static·std::string·GetHullShaderSource(Far::PatchDescriptor::Type·type)</div></div>
 153 <div·class="ttc"·id="aa01257_html_ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d"><div·class="ttname"><a·href="a01257.html#ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d">OpenSubdiv::OPENSUBDIV_VERSION::Osd::HLSLPatchShaderSource::GetPatchBasisShaderSource</a></div><div·class="ttdeci">static·std::string·GetPatchBasisShaderSource()</div></div>
 154 <div·class="ttc"·id="aa01257_html_ad5f427d2655d384980715874209345e7"><div·class="ttname"><a·href="a01257.html#ad5f427d2655d384980715874209345e7">OpenSubdiv::OPENSUBDIV_VERSION::Osd::HLSLPatchShaderSource::GetCommonShaderSource</a></div><div·class="ttdeci">static·std::string·GetCommonShaderSource()</div></div>
140 </div><!--·fragment·--></div><!--·contents·-->155 </div><!--·fragment·--></div><!--·contents·-->
141 </div><!--·doc-content·-->156 </div><!--·doc-content·-->
142 <!--·start·footer·part·-->157 <!--·start·footer·part·-->
143 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->158 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
144 ··<ul>159 ··<ul>
145 ····<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="a00809.html">mtlMesh.h</a></li>160 ····<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="a00809.html">hlslPatchShaderSource.h</a></li>
146 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>161 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
147 ··</ul>162 ··</ul>
148 </div>163 </div>
149 </body>164 </body>
150 </html>165 </html>
3.68 KB
html2text {}
    
Offset 4, 18 lines modifiedOffset 4, 18 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 mtlMesh.h5 hlslPatchShaderSource.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2013·Pixar8 ·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·in11 ·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·trade15 ·9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade
Offset 30, 41 lines modifiedOffset 30, 65 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_OSD_MTL_MESH_H 
38 ·26#define·OPENSUBDIV3_OSD_MTL_MESH_H37 ·25#ifndef·OPENSUBDIV3_OSD_HLSL_PATCH_SHADER_SOURCE_H
 38 ·26#define·OPENSUBDIV3_OSD_HLSL_PATCH_SHADER_SOURCE_H
39 ·2739 ·27
40 ·28#include·"../version.h"40 ·28#include·"../version.h"
41 ·29#include·"../osd/mesh.h" 
42 ·30#include·"../osd/mtlPatchTable.h"41 ·29#include·<string>
 42 ·30#include·"../far/patchDescriptor.h"
43 ·3143 ·31
44 ·32 
45 ·33namespace·OpenSubdiv·{44 ·32namespace·OpenSubdiv·{
46 ·34namespace·OPENSUBDIV_VERSION·{45 ·33namespace·OPENSUBDIV_VERSION·{
47 ·3546 ·34
48 ·36namespace·Osd·{47 ·35namespace·Osd·{
49 ·37 
50 38typedef·MeshInterface<MTLPatchTable>·MTLMeshInterface; 
51 ·39 
52 ·40}·//·end·namespace·Osd 
53 ·41 
54 ·42}·//·end·namespace·OPENSUBDIV_VERSION 
55 ·43using·namespace·OPENSUBDIV_VERSION;48 ·36
 49 37class·HLSLPatchShaderSource·{
 50 ·38public:
 51 39·static·std::string·GetCommonShaderSource();
 52 ·40
 53 41·static·std::string·GetPatchBasisShaderSource();
 54 ·42
 55 43·static·std::string·GetVertexShaderSource(Far::PatchDescriptor::Type·type);
56 ·4456 ·44
57 ·45}·//·end·namespace·OpenSubdiv57 45·static·std::string·GetHullShaderSource(Far::PatchDescriptor::Type·type);
58 ·4658 ·46
59 ·47#endif·//·OPENSUBDIV3_OSD_MTL_MESH_H59 47·static·std::string·GetDomainShaderSource(Far::PatchDescriptor::Type·type);
 60 ·48};
 61 ·49
 62 ·50}·//·end·namespace·Osd
 63 ·51
 64 ·52}·//·end·namespace·OPENSUBDIV_VERSION
 65 ·53using·namespace·OPENSUBDIV_VERSION;
 66 ·54
 67 ·55}·//·end·namespace·OpenSubdiv
 68 ·56
 69 ·57#endif·//·OPENSUBDIV3_OSD_HLSL_PATCH_SHADER_SOURCE_H
60 OpenSubdiv70 OpenSubdiv
61 Definition:·limits.h:3271 Definition:·limits.h:32
62 OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLMeshInterface 
63 MeshInterface<·MTLPatchTable·>·MTLMeshInterface 
64 Definition:·mtlMesh.h:3872 OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor::Type
 73 Type
 74 Definition:·patchDescriptor.h:48
65 OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshInterface75 OpenSubdiv::OPENSUBDIV_VERSION::Osd::HLSLPatchShaderSource
66 Definition:·mesh.h:6876 Definition:·hlslPatchShaderSource.h:37
 77 OpenSubdiv::OPENSUBDIV_VERSION::Osd::HLSLPatchShaderSource::
 78 GetVertexShaderSource
 79 static·std::string·GetVertexShaderSource(Far::PatchDescriptor::Type·type)
 80 OpenSubdiv::OPENSUBDIV_VERSION::Osd::HLSLPatchShaderSource::
 81 GetDomainShaderSource
 82 static·std::string·GetDomainShaderSource(Far::PatchDescriptor::Type·type)
 83 OpenSubdiv::OPENSUBDIV_VERSION::Osd::HLSLPatchShaderSource::GetHullShaderSource
 84 static·std::string·GetHullShaderSource(Far::PatchDescriptor::Type·type)
 85 OpenSubdiv::OPENSUBDIV_VERSION::Osd::HLSLPatchShaderSource::
 86 GetPatchBasisShaderSource
 87 static·std::string·GetPatchBasisShaderSource()
 88 OpenSubdiv::OPENSUBDIV_VERSION::Osd::HLSLPatchShaderSource::
 89 GetCommonShaderSource
 90 static·std::string·GetCommonShaderSource()
67 ····*·opensubdiv91 ····*·opensubdiv
68 ····*·osd92 ····*·osd
69 ····*·mtlMesh.h93 ····*·hlslPatchShaderSource.h
70 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.494 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
6.04 KB
./usr/share/doc/opensubdiv/doxy_html/a00812.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/mtlPatchShaderSource.h·File·Reference</title>8 <title>OpenSubdiv:·opensubdiv/osd/d3d11Mesh.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 81, 43 lines modifiedOffset 81, 43 lines modified
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124; 
88 <a·href="#namespaces">Namespaces</a>··</div>87 <a·href="#namespaces">Namespaces</a>·&#124;
 88 <a·href="#typedef-members">Typedefs</a>··</div>
89 ··<div·class="headertitle"><div·class="title">mtlPatchShaderSource.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">d3d11Mesh.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#import·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
93 <code>#import·&quot;<a·class="el"·href="a00740_source.html">../far/patchDescriptor.h</a>&quot;</code><br·/>93 <code>#include·&quot;<a·class="el"·href="a00869_source.html">../osd/mesh.h</a>&quot;</code><br·/>
94 <code>#import·&lt;string&gt;</code><br·/>94 <code>#include·&quot;<a·class="el"·href="a00818_source.html">../osd/d3d11PatchTable.h</a>&quot;</code><br·/>
95 </div>95 </div>
96 <p><a·href="a00812_source.html">Go·to·the·source·code·of·this·file.</a></p>96 <p><a·href="a00812_source.html">Go·to·the·source·code·of·this·file.</a></p>
97 <table·class="memberdecls">97 <table·class="memberdecls">
98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
99 Classes</h2></td></tr> 
100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01293.html">MTLPatchShaderSource</a></td></tr> 
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
102 </table><table·class="memberdecls"> 
103 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
104 Namespaces</h2></td></tr>99 Namespaces</h2></td></tr>
105 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>100 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
107 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>102 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
109 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>104 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 106 </table><table·class="memberdecls">
 107 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>
 108 Typedefs</h2></td></tr>
 109 <tr·class="memitem:ae5c8e80d05d6eaee105d8eecfa9ab609"><td·class="memItemLeft"·align="right"·valign="top">typedef·MeshInterface&lt;·D3D11PatchTable·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#ae5c8e80d05d6eaee105d8eecfa9ab609">D3D11MeshInterface</a></td></tr>
 110 <tr·class="separator:ae5c8e80d05d6eaee105d8eecfa9ab609"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
111 </table>111 </table>
112 </div><!--·contents·-->112 </div><!--·contents·-->
113 </div><!--·doc-content·-->113 </div><!--·doc-content·-->
114 <!--·start·footer·part·-->114 <!--·start·footer·part·-->
115 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->115 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
116 ··<ul>116 ··<ul>
117 ····<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">mtlPatchShaderSource.h</a></li>117 ····<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">d3d11Mesh.h</a></li>
118 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>118 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
119 ··</ul>119 ··</ul>
120 </div>120 </div>
121 </body>121 </body>
122 </html>122 </html>
798 B
html2text {}
    
Offset 4, 27 lines modifiedOffset 4, 27 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 Classes·|·Namespaces 
6 mtlPatchShaderSource.h·File·Reference5 Namespaces·|·Typedefs
 6 d3d11Mesh.h·File·Reference
7 #import·"../version.h"7 #include·"../version.h"
8 #import·"../far/patchDescriptor.h" 
9 #import·<string>8 #include·"../osd/mesh.h"
 9 #include·"../osd/d3d11PatchTable.h"
10 Go_to_the_source_code_of_this_file.10 Go_to_the_source_code_of_this_file.
11 ·Classes 
12 class· MTLPatchShaderSource 
13   
14 ·Namespaces11 ·Namespaces
15 namespace· OpenSubdiv12 namespace· OpenSubdiv
16  13  
17 namespace· OpenSubdiv::OPENSUBDIV_VERSION14 namespace· OpenSubdiv::OPENSUBDIV_VERSION
18  15  
19 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd16 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd
20  17  
 18 ·Typedefs
 19 typedef·MeshInterface<·D3D11PatchTable·> D3D11MeshInterface
 20  
21 ····*·opensubdiv21 ····*·opensubdiv
22 ····*·osd22 ····*·osd
23 ····*·mtlPatchShaderSource.h23 ····*·d3d11Mesh.h
24 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.424 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
290 B
./usr/share/doc/opensubdiv/doxy_html/a00812.js
198 B
js-beautify {}
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 var·a00812·=·[1 var·a00812·=·[
2 ····["MTLPatchShaderSource",·"a01293.html",·null]2 ····["D3D11MeshInterface",·"a00812.html#ae5c8e80d05d6eaee105d8eecfa9ab609",·null]
3 ];3 ];
24.2 KB
./usr/share/doc/opensubdiv/doxy_html/a00812_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/mtlPatchShaderSource.h·Source·File</title>8 <title>OpenSubdiv:·opensubdiv/osd/d3d11Mesh.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 80, 15 lines modifiedOffset 80, 15 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">mtlPatchShaderSource.h</div></div>86 ··<div·class="headertitle"><div·class="title">d3d11Mesh.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <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>89 <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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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 107, 72 lines modifiedOffset 107, 45 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_MTL_PATCH_SHADER_SOURCE_H</span></div>114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_D3D11MESH_H</span></div>
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_MTL_PATCH_SHADER_SOURCE_H</span></div>115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_D3D11MESH_H</span></div>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#import·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#import·&quot;../far/patchDescriptor.h&quot;</span></div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#import·&lt;string&gt;</span></div>119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../osd/mesh.h&quot;</span></div>
 120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;../osd/d3d11PatchTable.h&quot;</span></div>
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
121 <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>122 <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>
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>Osd·{</div>125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>Osd·{</div>
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01293.html">···37</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01293.html">MTLPatchShaderSource</a>·{</div>127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a00912.html#ae5c8e80d05d6eaee105d8eecfa9ab609">···38</a></span><span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01261.html">MeshInterface&lt;D3D11PatchTable&gt;</a>·<a·clas[·...·truncated·by·diffoscope;·len:·96,·SHA:·6839e73a58ebff74617ec10ed8d966ef17f6858eb3f754f9b4683a86d69b2ac2·...·]</div>
127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">public</span>:</div>128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01293.html#ad5f427d2655d384980715874209345e7">···39</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01293.html#ad5f427d2655d384980715874209345e7">GetCommonShaderSource</a>();</div> 
129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>
130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01293.html#ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d">···41</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01293.html#ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d">GetPatchBasisShaderSource</a>();</div>130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>}·<span·class="comment">//·end·namespace·Osd</span></div>
131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01293.html#a20cb122b561de15ed3b90d7e4f5176d2">···43</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01293.html#a20cb122b561de15ed3b90d7e4f5176d2">GetVertexShaderSource</a>(<a·class="co[·...·truncated·by·diffoscope;·len:·109,·SHA:·48ce2be47d870ac663136cf3f6545f0fc0ea6f9d28900252486d3094a6c2757a·...·]</div>132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>}·<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div>
 133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div>
133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01293.html#a97a09fe0a378798cafdff72e115e373f">···45</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01293.html#a97a09fe0a378798cafdff72e115e373f">GetHullShaderSource</a>(<a·class="code·hl_enumeration"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type);</div> 
135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> 
136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01293.html#a733309309efe67ba5d1acd7d0a9ff6ca">···47</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01293.html#a733309309efe67ba5d1acd7d0a9ff6ca">GetDomainShaderSource</a>(<a·class="code·hl_enumeration"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type);</div> 
137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> 
138 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01293.html#a7b51f245191a47026eaedcde63850f79">···53</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01293.html#a7b51f245191a47026eaedcde63850f79">GetVertexShaderSource</a>(</div> 
139 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>········<a·class="code·hl_enumeration"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type,</div> 
140 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>········<a·class="code·hl_enumeration"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·fvarType);</div> 
141 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01293.html#a55538e8657b191955044d983cf1b3649">···56</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01293.html#a55538e8657b191955044d983cf1b3649">GetHullShaderSource</a>(</div> 
142 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········<a·class="code·hl_enumeration"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type,</div> 
143 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>········<a·class="code·hl_enumeration"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·fvarType);</div> 
144 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01293.html#a85470a02e193180c7d9c51b2d65962bb">···59</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01293.html#a85470a02e193180c7d9c51b2d65962bb">GetDomainShaderSource</a>(</div> 
145 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········<a·class="code·hl_enumeration"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type,</div> 
146 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>········<a·class="code·hl_enumeration"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·fvarType);</div> 
147 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>};</div> 
148 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> 
149 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>}··<span·class="comment">//·end·namespace·Osd</span></div> 
150 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> 
151 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>}··<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> 
152 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> 
153 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····</div> 
154 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>}·<span·class="comment">//·end·namespace·OpenSubdiv</span></div>135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>}··<span·class="comment">//·end·namespace·OpenSubdiv</span></div>
155 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>
156 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="preprocessor">#endif··</span><span·class="comment">//·OPENSUBDIV3_OSD_MTL_PATCH_SHADER_SOURCE</span></div>137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="preprocessor">#endif··</span><span·class="comment">//·OPENSUBDIV3_OSD_D3D11MESH_H</span></div>
157 <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>138 <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>
 139 <div·class="ttc"·id="aa00912_html_ae5c8e80d05d6eaee105d8eecfa9ab609"><div·class="ttname"><a·href="a00912.html#ae5c8e80d05d6eaee105d8eecfa9ab609">OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11MeshInterface</a></div><div·class="ttdeci">MeshInterface&lt;·D3D11PatchTable·&gt;·D3D11MeshInterface</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00812_source.html#l00038">d3d11Mesh.h:38</a></div></div>
 140 <div·class="ttc"·id="aa01261_html"><div·class="ttname"><a·href="a01261.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshInterface</a></div><div·class="ttdef"><b>Definition:</b>·<a·href="a00869_source.html#l00068">mesh.h:68</a></div></div>
158 <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> 
159 <div·class="ttc"·id="aa01293_html"><div·class="ttname"><a·href="a01293.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchShaderSource</a></div><div·class="ttdef"><b>Definition:</b>·<a·href="a00812_source.html#l00037">mtlPatchShaderSource.h:37</a></div></div> 
160 <div·class="ttc"·id="aa01293_html_a20cb122b561de15ed3b90d7e4f5176d2"><div·class="ttname"><a·href="a01293.html#a20cb122b561de15ed3b90d7e4f5176d2">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchShaderSource::GetVertexShaderSource</a></div><div·class="ttdeci">static·std::string·GetVertexShaderSource(Far::PatchDescriptor::Type·type)</div></div> 
161 <div·class="ttc"·id="aa01293_html_a55538e8657b191955044d983cf1b3649"><div·class="ttname"><a·href="a01293.html#a55538e8657b191955044d983cf1b3649">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchShaderSource::GetHullShaderSource</a></div><div·class="ttdeci">static·std::string·GetHullShaderSource(Far::PatchDescriptor::Type·type,·Far::PatchDescriptor::Type·fvarType)</div></div> 
162 <div·class="ttc"·id="aa01293_html_a733309309efe67ba5d1acd7d0a9ff6ca"><div·class="ttname"><a·href="a01293.html#a733309309efe67ba5d1acd7d0a9ff6ca">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchShaderSource::GetDomainShaderSource</a></div><div·class="ttdeci">static·std::string·GetDomainShaderSource(Far::PatchDescriptor::Type·type)</div></div> 
163 <div·class="ttc"·id="aa01293_html_a7b51f245191a47026eaedcde63850f79"><div·class="ttname"><a·href="a01293.html#a7b51f245191a47026eaedcde63850f79">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchShaderSource::GetVertexShaderSource</a></div><div·class="ttdeci">static·std::string·GetVertexShaderSource(Far::PatchDescriptor::Type·type,·Far::PatchDescriptor::Type·fvarType)</div><div·class="ttdoc">Deprecated.</div></div> 
164 <div·class="ttc"·id="aa01293_html_a85470a02e193180c7d9c51b2d65962bb"><div·class="ttname"><a·href="a01293.html#a85470a02e193180c7d9c51b2d65962bb">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchShaderSource::GetDomainShaderSource</a></div><div·class="ttdeci">static·std::string·GetDomainShaderSource(Far::PatchDescriptor::Type·type,·Far::PatchDescriptor::Type·fvarType)</div></div> 
165 <div·class="ttc"·id="aa01293_html_a97a09fe0a378798cafdff72e115e373f"><div·class="ttname"><a·href="a01293.html#a97a09fe0a378798cafdff72e115e373f">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchShaderSource::GetHullShaderSource</a></div><div·class="ttdeci">static·std::string·GetHullShaderSource(Far::PatchDescriptor::Type·type)</div></div> 
166 <div·class="ttc"·id="aa01293_html_ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d"><div·class="ttname"><a·href="a01293.html#ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchShaderSource::GetPatchBasisShaderSource</a></div><div·class="ttdeci">static·std::string·GetPatchBasisShaderSource()</div></div> 
167 <div·class="ttc"·id="aa01293_html_ad5f427d2655d384980715874209345e7"><div·class="ttname"><a·href="a01293.html#ad5f427d2655d384980715874209345e7">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchShaderSource::GetCommonShaderSource</a></div><div·class="ttdeci">static·std::string·GetCommonShaderSource()</div></div> 
168 </div><!--·fragment·--></div><!--·contents·-->141 </div><!--·fragment·--></div><!--·contents·-->
169 </div><!--·doc-content·-->142 </div><!--·doc-content·-->
170 <!--·start·footer·part·-->143 <!--·start·footer·part·-->
171 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->144 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
172 ··<ul>145 ··<ul>
173 ····<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">mtlPatchShaderSource.h</a></li>146 ····<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">d3d11Mesh.h</a></li>
174 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>147 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
175 ··</ul>148 ··</ul>
176 </div>149 </div>
177 </body>150 </body>
178 </html>151 </html>
4.52 KB
html2text {}
    
Offset 4, 15 lines modifiedOffset 4, 15 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 mtlPatchShaderSource.h5 d3d11Mesh.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2013·Pixar8 ·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·in11 ·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 30, 87 lines modifiedOffset 30, 42 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_OSD_MTL_PATCH_SHADER_SOURCE_H 
38 ·26#define·OPENSUBDIV3_OSD_MTL_PATCH_SHADER_SOURCE_H37 ·25#ifndef·OPENSUBDIV3_OSD_D3D11MESH_H
 38 ·26#define·OPENSUBDIV3_OSD_D3D11MESH_H
39 ·2739 ·27
40 ·28#import·"../version.h"40 ·28#include·"../version.h"
41 ·29#import·"../far/patchDescriptor.h" 
42 ·30#import·<string> 
43 ·3141 ·29
 42 ·30#include·"../osd/mesh.h"
 43 ·31#include·"../osd/d3d11PatchTable.h"
 44 ·32
44 ·32namespace·OpenSubdiv·{45 ·33namespace·OpenSubdiv·{
45 ·33namespace·OPENSUBDIV_VERSION·{46 ·34namespace·OPENSUBDIV_VERSION·{
46 ·3447 ·35
47 ·35namespace·Osd·{48 ·36namespace·Osd·{
 49 ·37
 50 38typedef·MeshInterface<D3D11PatchTable>·D3D11MeshInterface;
 51 ·39
48 ·36 
49 37class·MTLPatchShaderSource·{ 
50 ·38·public: 
51 39·static·std::string·GetCommonShaderSource(); 
52 ·4052 ·40
53 41·static·std::string·GetPatchBasisShaderSource();53 ·41}·//·end·namespace·Osd
54 ·4254 ·42
55 43·static·std::string·GetVertexShaderSource(Far::PatchDescriptor::Type·type); 
56 ·44 
57 45·static·std::string·GetHullShaderSource(Far::PatchDescriptor::Type·type); 
58 ·46 
59 47·static·std::string·GetDomainShaderSource(Far::PatchDescriptor::Type·type); 
60 ·48 
61 53·static·std::string·GetVertexShaderSource( 
62 ·54·Far::PatchDescriptor::Type·type, 
63 ·55·Far::PatchDescriptor::Type·fvarType); 
64 56·static·std::string·GetHullShaderSource( 
65 ·57·Far::PatchDescriptor::Type·type, 
66 ·58·Far::PatchDescriptor::Type·fvarType); 
67 59·static·std::string·GetDomainShaderSource( 
68 ·60·Far::PatchDescriptor::Type·type, 
69 ·61·Far::PatchDescriptor::Type·fvarType); 
70 ·62}; 
71 ·63 
72 ·64}·//·end·namespace·Osd 
73 ·65 
74 ·66}·//·end·namespace·OPENSUBDIV_VERSION55 ·43}·//·end·namespace·OPENSUBDIV_VERSION
75 ·67using·namespace·OPENSUBDIV_VERSION;56 ·44using·namespace·OPENSUBDIV_VERSION;
76 ·6857 ·45
77 ·69}·//·end·namespace·OpenSubdiv58 ·46}·//·end·namespace·OpenSubdiv
78 ·70 
79 ·71#endif·//·OPENSUBDIV3_OSD_MTL_PATCH_SHADER_SOURCE59 ·47
 60 ·48#endif·//·OPENSUBDIV3_OSD_D3D11MESH_H
80 OpenSubdiv61 OpenSubdiv
81 Definition:·limits.h:3262 Definition:·limits.h:32
82 OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor::Type 
83 Type 
84 Definition:·patchDescriptor.h:4863 OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11MeshInterface
 64 MeshInterface<·D3D11PatchTable·>·D3D11MeshInterface
 65 Definition:·d3d11Mesh.h:38
85 OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchShaderSource66 OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshInterface
 67 Definition:·mesh.h:68
86 Definition:·mtlPatchShaderSource.h:37 
87 OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchShaderSource:: 
88 GetVertexShaderSource 
89 static·std::string·GetVertexShaderSource(Far::PatchDescriptor::Type·type) 
90 OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchShaderSource::GetHullShaderSource 
91 static·std::string·GetHullShaderSource(Far::PatchDescriptor::Type·type,·Far:: 
92 PatchDescriptor::Type·fvarType) 
93 OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchShaderSource:: 
94 GetDomainShaderSource 
95 static·std::string·GetDomainShaderSource(Far::PatchDescriptor::Type·type) 
96 OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchShaderSource:: 
97 GetVertexShaderSource 
98 static·std::string·GetVertexShaderSource(Far::PatchDescriptor::Type·type,·Far:: 
99 PatchDescriptor::Type·fvarType) 
100 Deprecated. 
101 OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchShaderSource:: 
102 GetDomainShaderSource 
103 static·std::string·GetDomainShaderSource(Far::PatchDescriptor::Type·type,·Far:: 
104 PatchDescriptor::Type·fvarType) 
105 OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchShaderSource::GetHullShaderSource 
106 static·std::string·GetHullShaderSource(Far::PatchDescriptor::Type·type) 
107 OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchShaderSource:: 
108 GetPatchBasisShaderSource 
109 static·std::string·GetPatchBasisShaderSource() 
110 OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchShaderSource:: 
111 GetCommonShaderSource 
112 static·std::string·GetCommonShaderSource() 
113 ····*·opensubdiv68 ····*·opensubdiv
114 ····*·osd69 ····*·osd
115 ····*·mtlPatchShaderSource.h70 ····*·d3d11Mesh.h
116 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.471 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
5.95 KB
./usr/share/doc/opensubdiv/doxy_html/a00815.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/mtlPatchTable.h·File·Reference</title>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 83, 45 lines modifiedOffset 83, 40 lines modified
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124;87 <a·href="#nested-classes">Classes</a>·&#124;
88 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">mtlPatchTable.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">d3d11VertexBuffer.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
93 <code>#include·&quot;<a·class="el"·href="a00740_source.html">../far/patchDescriptor.h</a>&quot;</code><br·/> 
94 <code>#include·&quot;../osd/nonCopyable.h&quot;</code><br·/> 
95 <code>#include·&quot;<a·class="el"·href="a01481_source.html">../osd/types.h</a>&quot;</code><br·/> 
96 <code>#include·&quot;<a·class="el"·href="a00806_source.html">../osd/mtlCommon.h</a>&quot;</code><br·/> 
97 </div>93 </div>
98 <p><a·href="a00815_source.html">Go·to·the·source·code·of·this·file.</a></p>94 <p><a·href="a00815_source.html">Go·to·the·source·code·of·this·file.</a></p>
99 <table·class="memberdecls">95 <table·class="memberdecls">
100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
101 Classes</h2></td></tr>97 Classes</h2></td></tr>
102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01297.html">MTLPatchTable</a></td></tr>98 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01205.html">D3D11VertexBuffer</a></td></tr>
 99 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Concrete·vertex·buffer·class·for·DirectX·subdivision·and·DirectX·drawing.··<a·href="a01205.html#details">More...</a><br·/></td></tr>
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 </table><table·class="memberdecls">101 </table><table·class="memberdecls">
105 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
106 Namespaces</h2></td></tr>103 Namespaces</h2></td></tr>
107 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>104 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
109 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>106 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
111 <tr·class="memitem:a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr> 
112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
113 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>108 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>
114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
115 </table>110 </table>
116 </div><!--·contents·-->111 </div><!--·contents·-->
117 </div><!--·doc-content·-->112 </div><!--·doc-content·-->
118 <!--·start·footer·part·-->113 <!--·start·footer·part·-->
119 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->114 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
120 ··<ul>115 ··<ul>
121 ····<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="a00815.html">mtlPatchTable.h</a></li>116 ····<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="a00815.html">d3d11VertexBuffer.h</a></li>
122 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>117 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
123 ··</ul>118 ··</ul>
124 </div>119 </div>
125 </body>120 </body>
126 </html>121 </html>
856 B
html2text {}
    
Offset 5, 30 lines modifiedOffset 5, 26 lines modified
  
  
  
5 [Logo]·OpenSubdiv5 [Logo]·OpenSubdiv
  
  
6 Classes·|·Namespaces6 Classes·|·Namespaces
7 mtlPatchTable.h·File·Reference7 d3d11VertexBuffer.h·File·Reference
8 #include·"../version.h"8 #include·"../version.h"
9 #include·"../far/patchDescriptor.h" 
10 #include·"../osd/nonCopyable.h" 
11 #include·"../osd/types.h" 
12 #include·"../osd/mtlCommon.h" 
13 Go_to_the_source_code_of_this_file.9 Go_to_the_source_code_of_this_file.
14 ·Classes10 ·Classes
15 class· MTLPatchTable11 class· D3D11VertexBuffer
 12  ······Concrete·vertex·buffer·class·for·DirectX·subdivision·and·DirectX
 13 ········drawing.·More...
16  14  
17 ·Namespaces15 ·Namespaces
18 namespace· OpenSubdiv16 namespace· OpenSubdiv
19  17  
20 namespace· OpenSubdiv::OPENSUBDIV_VERSION18 namespace· OpenSubdiv::OPENSUBDIV_VERSION
21  19  
22 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Far 
23   
24 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd20 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd
25  21  
26 ····*·opensubdiv22 ····*·opensubdiv
27 ····*·osd23 ····*·osd
28 ····*·mtlPatchTable.h24 ····*·d3d11VertexBuffer.h
29 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.425 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
256 B
./usr/share/doc/opensubdiv/doxy_html/a00815.js
164 B
js-beautify {}
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 var·a00815·=·[1 var·a00815·=·[
2 ····["MTLPatchTable",·"a01297.html",·"a01297"]2 ····["D3D11VertexBuffer",·"a01205.html",·"a01205"]
3 ];3 ];
53.9 KB
./usr/share/doc/opensubdiv/doxy_html/a00815_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/mtlPatchTable.h·Source·File</title>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 80, 15 lines modifiedOffset 80, 15 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">mtlPatchTable.h</div></div>86 ··<div·class="headertitle"><div·class="title">d3d11VertexBuffer.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <a·href="a00815.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>89 <a·href="a00815.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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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 107, 119 lines modifiedOffset 107, 89 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_MTL_PATCH_TABLE_H</span></div>114 <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>
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_MTL_PATCH_TABLE_H</span></div>115 <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>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;../far/patchDescriptor.h&quot;</span></div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../osd/nonCopyable.h&quot;</span></div>119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">struct·</span>ID3D11Buffer;</div>
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;../osd/types.h&quot;</span></div>120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">struct·</span>ID3D11Device;</div>
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&quot;../osd/mtlCommon.h&quot;</span></div>121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">struct·</span>ID3D11DeviceContext;</div>
 122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">struct·</span>ID3D11UnorderedAccessView;</div>
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>
123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">@protocol·</span>MTLDevice;</div> 
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">@protocol·</span>MTLBuffer;</div> 
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> 
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div>124 <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>
127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
 126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
 127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">namespace·</span>Osd·{</div>
128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">namespace·</span>Far·{</div> 
130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">class·</span>PatchTable;</div> 
131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>};</div> 
132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> 
133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">namespace·</span>Osd·{</div> 
134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> 
135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01297.html">···46</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01297.html">MTLPatchTable</a>·:·<span·class="keyword">private</span>·NonCopyable&lt;MTLPatchTable&gt;·{</div>129 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01205.html">···46</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01205.html">D3D11VertexBuffer</a>·{</div>
136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="keyword">public</span>:</div>130 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="keyword">public</span>:</div>
 131 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01205.html#a915a9d78d36f58b1750237ae40555029">···49</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01205.html">D3D11VertexBuffer</a>·*·<a·class="code·hl_function"·href="a01205.html#a915a9d78d36f58b1750237ae40555029">Create</a>(<span·class="keywordtype">int</span>·numElements,·<span·class="keywordtype">int</span>·numVertices,</div>
 132 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······································ID3D11DeviceContext·*deviceContext);</div>
137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01297.html#aa00654dc321a5c8dc370a900b0f404da">···48</a></span>····<span·class="keyword">typedef</span>·id&lt;MTLBuffer&gt;·<a·class="code·hl_typedef"·href="a01297.html#aa00654dc321a5c8dc370a900b0f404da">VertexBufferBinding</a>;</div> 
138 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> 
139 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01297.html#a3f197c2ae3862390d72e7443a2525187">···50</a></span>····<a·class="code·hl_function"·href="a01297.html#a3f197c2ae3862390d72e7443a2525187">MTLPatchTable</a>();</div> 
140 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01297.html#ad608acc5d9ea38f82548f2e0e234cf4e">···51</a></span>····<a·class="code·hl_function"·href="a01297.html#ad608acc5d9ea38f82548f2e0e234cf4e">~MTLPatchTable</a>();</div> 
141 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>133 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
 134 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01205.html#ad9941ba7019b0fd8aad6e9321d91c26a">···53</a></span>····<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a01205.html#ad9941ba7019b0fd8aad6e9321d91c26a">~D3D11VertexBuffer</a>();</div>
142 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·DEVICE_CONTEXT&gt;</div> 
143 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01297.html#ad54c4e07ca48004585448396b980f0d9">···54</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01297.html">MTLPatchTable</a>·*<a·class="code·hl_function"·href="a01297.html#ad54c4e07ca48004585448396b980f0d9">Create</a>(<a·class="code·hl_class"·href="a00993.html">Far::PatchTable</a>·<span·class="keyword">const</span>·*farPatchTable,·DEVICE_CONTEXT·context)</div> 
144 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····{</div> 
145 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01297.html#ad54c4e07ca48004585448396b980f0d9">Create</a>(farPatchTable,·context);</div> 
146 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····}</div> 
147 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>135 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
148 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01297.html#a24c34d2b403d22f2d3bcfdf6f5005ee4">···59</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01297.html">MTLPatchTable</a>·*<a·class="code·hl_function[·...·truncated·by·diffoscope;·len:·250,·SHA:·061bc00018a7a6b388d0b83e226ec677c434d0d8b0f0679ff3f4fd8853c3c57a·...·]</div>136 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01205.html#a8f44858290b870c214ee24afead3e9c3">···57</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01205.html#a8f44858290b870c214ee24afead3e9c3">Update[·...·truncated·by·diffoscope;·len:·188,·SHA:·9f50b439806c27f8f6428b06dcd211af43e51104f6ed0cb57b548339696003c6·...·]</div>
 137 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····················ID3D11DeviceContext·*deviceContext);</div>
 138 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>
 139 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01205.html#a77cee40767fd4936f20a8f9d9d9ea625">···61</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01205.html#a77cee40767fd4936f20a8f9d9d9ea625">GetNumElements</a>()·<span·class="keyword">const</span>;</div>
149 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>140 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
 141 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01205.html#aaf4a32b8a414eff77000c584c2015cb7">···64</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01205.html#aaf4a32b8a414eff77000c584c2015cb7">GetNumVertices</a>()·<span·class="keyword">const</span>;</div>
150 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01297.html#a18e3d09b0c7b7552f8e419e36788166a">···61</a></span>····<a·class="code·hl_typedef"·href="a00912.html#a98098cd229f60d2397d84a76fe654a31">PatchArrayVector</a>·<span·class="keyword">const</span>·&amp;<a·class="code·hl_function"·href="a01297.html#a18e3d09b0c7b7552f8e419e36788166a">GetPatchArrays</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01297.html#a5dfb6b58580f2dec58e9b5bfdb4ed9f1">_patchArrays</a>;·}</div> 
151 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01297.html#a4c33a50d79c6e811fb78461ce00c6310">···62</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01297.html#a4c33a50d79c6e811fb78461ce00c6310">GetPatchIndexBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01297.html#af3b671a26ce6aaead2c7a2633b7cd268">_indexBuffer</a>;·}</div> 
152 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01297.html#a445098a6db6b14888b3a8bac35967e52">···63</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01297.html#a445098a6db6b14888b3a8bac35967e52">GetPatchParamBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01297.html#ac8b76e9d03149033d838a528d667e193">_patchParamBuffer</a>;·}</div> 
153 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>142 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>
 143 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01205.html#ac86f03cfaa5678c28ffce2b69e3fb5bc">···67</a></span>····ID3D11Buffer·*<a·class="code·hl_function"·href="a01205.html#ac86f03cfaa5678c28ffce2b69e3fb5bc">BindD3D11Buffer</a>(ID3D11DeviceContext·*deviceContext);</div>
154 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01297.html#aec45672f51f456fea341d644bcf16434">···65</a></span>····<a·class="code·hl_typedef"·href="a00912.html#a98098cd229f60d2397d84a76fe654a31">PatchArrayVector</a>·<span·class="keyword">const</span>·&amp;<a·class="code·hl_function"·href="a01297.html#aec45672f51f456fea341d644bcf16434">GetVaryingPatchArrays</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01297.html#acd99a0391b3b04586b11051fd0f7ed10">_varyingPatchArrays</a>;·}</div> 
155 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01297.html#a2ad5c87b20355961bc623d1c1ece01f8">···66</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01297.html#a2ad5c87b20355961bc623d1c1ece01f8">GetVaryingPatchIndexBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01297.html#ab65dac5d88eb7b4e1ccc2003f352e802">_varyingPatchIndexBuffer</a>;·}</div> 
156 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>144 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
 145 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01205.html#aedcdb663cc4d3635fb5ba9149fb0d214">···70</a></span>····ID3D11Buffer·*<a·class="code·hl_function"·href="a01205.html#aedcdb663cc4d3635fb5ba9149fb0d214">BindVBO</a>(ID3D11DeviceContext·*deviceContext)·{</div>
 146 <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="a01205.html#ac86f03cfaa5678c28ffce2b69e3fb5bc">BindD3D11Buffer</a>(deviceContext);</div>
157 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01297.html#aa9be824a572029f3ec1e0c0d6cfecd77">···68</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01297.html#aa9be824a572029f3ec1e0c0d6cfecd77">GetNumFVarChannels</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·(<span·class="keywordtype">int</span>)<a·class="code·hl_variable"·href="a01297.html#abce41960eb6bedc82cbf0cb711ea66da">_fvarPatchArrays</a>.size();·}</div> 
158 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01297.html#ab4ae92f2c242d25fa0480d0307e0d9e5">···69</a></span>····<a·class="code·hl_typedef"·href="a00912.html#a98098cd229f60d2397d84a76fe654a31">PatchArrayVector</a>·<span·class="keyword">const</span>·&amp;<a·class="code·hl_function"·href="a01297.html#ab4ae92f2c242d25fa0480d0307e0d9e5">GetFVarPatchArrays</a>(<span·class="keywordtype">int</span>·fvarChannel·=·0)<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01297.html#abce41960eb6bedc82cbf0cb711ea66da">_fvarPatchArrays</a>[fvarChannel];·}</div> 
159 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01297.html#ae4e03248b9615425f7719fde5890796c">···70</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01297.html#ae4e03248b9615425f7719fde5890796c">GetFVarPatchIndexBuffer</a>(<span·class="keywordtype">int</span>·fvarChannel·=·0)<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01297.html#a39ae7f640465cdd116c1f87b81308fb5">_fvarIndexBuffers</a>[fvarChannel];·}</div> 
160 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01297.html#a3d306565eb0af09fa64cabc6d72c6755">···71</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01297.html#a3d306565eb0af09fa64cabc6d72c6755">GetFVarPatchParamBuffer</a>(<span·class="keywordtype">int</span>·fvarChannel·=·0)<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01297.html#abb2abbc1ce950284fa16f51583d0ab92">_fvarParamBuffers</a>[fvarChannel];·}</div> 
161 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>147 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····}</div>
 148 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>
 149 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01205.html#adc0a258da9e9ac3bc19ff36418c54510">···75</a></span>····ID3D11UnorderedAccessView·*<a·class="code·hl_function"·href="a01205.html#adc0a258da9e9ac3bc19ff36418c54510">BindD3D11UAV</a>(ID3D11DeviceContext·*deviceContext);</div>
 150 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>
162 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="keyword">protected</span>:</div>151 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="keyword">protected</span>:</div>
 152 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01205.html#aacfe93ef7f7ede21dcf7088b62467742">···79</a></span>····<a·class="code·hl_function"·href="a01205.html#aacfe93ef7f7ede21dcf7088b62467742">D3D11VertexBuffer</a>(<span·class="keywordtype">int</span>·numElements,·<span·class="keywordtype">int</span>·numVertices);</div>
163 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01297.html#a2246e8e016510f81c7ac9ead81d7c6eb">···74</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01297.html#a2246e8e016510f81c7ac9ead81d7c6eb">allocate</a>(<a·class="code·hl_class"·href="a00993.html">Far::PatchTable</a>·<span·class="keyword">const</span>·*farPatchTable,·<a·class="code·hl_class"·href="a01277.html">MTLContext</a>*·context);</div> 
164 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> 
165 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01297.html#a5dfb6b58580f2dec58e9b5bfdb4ed9f1">···76</a></span>····<a·class="code·hl_typedef"·href="a00912.html#a98098cd229f60d2397d84a76fe654a31">PatchArrayVector</a>·<a·class="code·hl_variable"·href="a01297.html#a5dfb6b58580f2dec58e9b5bfdb4ed9f1">_patchArrays</a>;</div> 
166 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> 
167 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01297.html#af3b671a26ce6aaead2c7a2633b7cd268">···78</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_variable"·href="a01297.html#af3b671a26ce6aaead2c7a2633b7cd268">_indexBuffer</a>;</div> 
168 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01297.html#ac8b76e9d03149033d838a528d667e193">···79</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_variable"·href="a01297.html#ac8b76e9d03149033d838a528d667e193">_patchParamBuffer</a>;</div> 
169 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>153 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>
170 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01297.html#acd99a0391b3b04586b11051fd0f7ed10">···81</a></span>····<a·class="code·hl_typedef"·href="a00912.html#a98098cd229f60d2397d84a76fe654a31">PatchArrayVector</a>·<a·class="code·hl_variable"·href="a01297.html#acd99a0391b3b04586b1[·...·truncated·by·diffoscope;·len:·39,·SHA:·399835f552f0922d21f9fe270103819bb83b98ec545367110f8c1df12adc4ff3·...·]</div>154 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<span·class="comment">//·Allocates·D3D11·buffer</span></div>
 155 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01205.html#ae61b4ed6cc7cb69826cd0804c2d972b7">···82</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01205.html#ae61b4ed6cc7cb69826cd0804c2d972b7">allocate</a>(ID3D11Device·*device);</div>
171 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>156 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>
172 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01297.html#ab65dac5d88eb7b4e1ccc2003f352e802">···83</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_variable"·href="a01297.html#ab65dac5d88eb7b4e1ccc2003f352e802">_varyingPatchIndexBuffer[·...·truncated·by·diffoscope;·len:·5,·SHA:·81c077769cd3ae4b168f7350022ceb35bafd10236659a6c368f64cad6fbe7c29·...·]</div>157 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="keyword">private</span>:</div>
 158 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····<span·class="keywordtype">int</span>·_numElements;</div>
 159 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="keywordtype">int</span>·_numVertices;</div>
173 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>160 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····ID3D11Buffer·*_buffer;</div>
174 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01297.html#abce41960eb6bedc82cbf0cb711ea66da">···85</a></span>····std::vector&lt;PatchArrayVector&gt;·<a·class="code·hl_variable"·href="a01297.html#abce41960eb6bedc82cbf0cb711ea66da">_fvarPatchArrays</a>;</div> 
175 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01297.html#a39ae7f640465cdd116c1f87b81308fb5">···86</a></span>····std::vector&lt;id&lt;MTLBuffer&gt;&gt;·<a·class="code·hl_variable"·href="a01297.html#a39ae7f640465cdd116c1f87b81308fb5">_fvarIndexBuffers</a>;</div> 
176 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01297.html#abb2abbc1ce950284fa16f51583d0ab92">···87</a></span>····std::vector&lt;id&lt;MTLBuffer&gt;&gt;·<a·class="code·hl_variable"·href="a01297.html#abb2abbc1ce950284fa16f51583d0ab92">_fvarParamBuffers</a>;</div> 
177 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>};</div>161 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····ID3D11Buffer·*_uploadBuffer;</div>
 162 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····ID3D11UnorderedAccessView·*_uav;</div>
178 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>163 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>};</div>
179 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>}·<span·class="comment">//·end·namespace·Osd</span></div> 
180 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>164 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>
Max diff block lines reached; 16169/44540 bytes (36.30%) of diff not shown.
10.3 KB
html2text {}
    
Offset 4, 15 lines modifiedOffset 4, 15 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 mtlPatchTable.h5 d3d11VertexBuffer.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2013·Pixar8 ·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·in11 ·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 30, 170 lines modifiedOffset 30, 106 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_OSD_MTL_PATCH_TABLE_H 
38 ·26#define·OPENSUBDIV3_OSD_MTL_PATCH_TABLE_H37 ·25#ifndef·OPENSUBDIV3_OSD_D3D11_VERTEX_BUFFER_H
 38 ·26#define·OPENSUBDIV3_OSD_D3D11_VERTEX_BUFFER_H
39 ·2739 ·27
40 ·28#include·"../version.h"40 ·28#include·"../version.h"
 41 ·29
 42 ·30struct·ID3D11Buffer;
 43 ·31struct·ID3D11Device;
 44 ·32struct·ID3D11DeviceContext;
 45 ·33struct·ID3D11UnorderedAccessView;
 46 ·34
41 ·29#include·"../far/patchDescriptor.h" 
42 ·30#include·"../osd/nonCopyable.h" 
43 ·31#include·"../osd/types.h" 
44 ·32#include·"../osd/mtlCommon.h" 
45 ·33 
46 ·34@protocol·MTLDevice; 
47 ·35@protocol·MTLBuffer; 
48 ·36 
49 ·37namespace·OpenSubdiv·{47 ·35namespace·OpenSubdiv·{
50 ·38namespace·OPENSUBDIV_VERSION·{48 ·36namespace·OPENSUBDIV_VERSION·{
 49 ·37
 50 ·38namespace·Osd·{
51 ·3951 ·39
 52 46class·D3D11VertexBuffer·{
52 ·40namespace·Far·{ 
53 ·41·class·PatchTable; 
54 ·42}; 
55 ·43 
56 ·44namespace·Osd·{ 
57 ·45 
58 46class·MTLPatchTable·:·private·NonCopyable<MTLPatchTable>·{ 
59 ·47public:53 ·47public:
60 48·typedef·id<MTLBuffer>·VertexBufferBinding; 
61 ·49 
62 50·MTLPatchTable(); 
63 51·~MTLPatchTable(); 
64 ·52 
65 ·53·template<typename·DEVICE_CONTEXT> 
66 54·static·MTLPatchTable·*Create(Far::PatchTable·const·*farPatchTable, 
67 DEVICE_CONTEXT·context) 
68 ·55·{ 
69 ·56·return·Create(farPatchTable,·context);54 49·static·D3D11VertexBuffer·*·Create(int·numElements,·int·numVertices,
 55 ·50·ID3D11DeviceContext·*deviceContext);
 56 ·51
 57 53·virtual·~D3D11VertexBuffer();
 58 ·54
 59 57·void·UpdateData(const·float·*src,·int·startVertex,·int·numVertices,
 60 ·58·ID3D11DeviceContext·*deviceContext);
 61 ·59
 62 61·int·GetNumElements()·const;
 63 ·62
 64 64·int·GetNumVertices()·const;
 65 ·65
 66 67·ID3D11Buffer·*BindD3D11Buffer(ID3D11DeviceContext·*deviceContext);
 67 ·68
 68 70·ID3D11Buffer·*BindVBO(ID3D11DeviceContext·*deviceContext)·{
 69 ·71·return·BindD3D11Buffer(deviceContext);
70 ·57·}70 ·72·}
 71 ·73
 72 75·ID3D11UnorderedAccessView·*BindD3D11UAV(ID3D11DeviceContext·*deviceContext);
 73 ·76
71 ·58 
72 59·static·MTLPatchTable·*Create(Far::PatchTable·const·*farPatchTable, 
73 MTLContext*·context); 
74 ·60 
75 61·PatchArrayVector·const·&GetPatchArrays()·const·{·return·_patchArrays;·} 
76 62·id<MTLBuffer>·GetPatchIndexBuffer()·const·{·return·_indexBuffer;·} 
77 63·id<MTLBuffer>·GetPatchParamBuffer()·const·{·return·_patchParamBuffer;·} 
78 ·64 
79 65·PatchArrayVector·const·&GetVaryingPatchArrays()·const·{·return 
80 _varyingPatchArrays;·} 
81 66·id<MTLBuffer>·GetVaryingPatchIndexBuffer()·const·{·return 
82 _varyingPatchIndexBuffer;·} 
83 ·67 
84 68·int·GetNumFVarChannels()·const·{·return·(int)_fvarPatchArrays.size();·} 
85 69·PatchArrayVector·const·&GetFVarPatchArrays(int·fvarChannel·=·0)·const 
86 {·return·_fvarPatchArrays[fvarChannel];·} 
87 70·id<MTLBuffer>·GetFVarPatchIndexBuffer(int·fvarChannel·=·0)·const·{·return 
88 _fvarIndexBuffers[fvarChannel];·} 
89 71·id<MTLBuffer>·GetFVarPatchParamBuffer(int·fvarChannel·=·0)·const·{·return 
90 _fvarParamBuffers[fvarChannel];·} 
91 ·72 
92 ·73protected:74 ·77protected:
 75 79·D3D11VertexBuffer(int·numElements,·int·numVertices);
93 74·bool·allocate(Far::PatchTable·const·*farPatchTable,·MTLContext*·context); 
94 ·75 
95 76·PatchArrayVector·_patchArrays; 
96 ·77 
97 78·id<MTLBuffer>·_indexBuffer; 
98 79·id<MTLBuffer>·_patchParamBuffer; 
99 ·8076 ·80
100 81·PatchArrayVector·_varyingPatchArrays; 
101 ·82 
102 83·id<MTLBuffer>·_varyingPatchIndexBuffer; 
103 ·84 
104 85·std::vector<PatchArrayVector>·_fvarPatchArrays; 
105 86·std::vector<id<MTLBuffer>>·_fvarIndexBuffers; 
106 87·std::vector<id<MTLBuffer>>·_fvarParamBuffers; 
107 ·88}; 
108 ·89 
109 ·90}·//·end·namespace·Osd77 ·81·//·Allocates·D3D11·buffer
 78 82·bool·allocate(ID3D11Device·*device);
 79 ·83
Max diff block lines reached; 6145/10544 bytes (58.28%) of diff not shown.
5.92 KB
./usr/share/doc/opensubdiv/doxy_html/a00818.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/mtlLegacyGregoryPatchTable.h·File·Reference</title>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 83, 42 lines modifiedOffset 83, 45 lines modified
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124;87 <a·href="#nested-classes">Classes</a>·&#124;
88 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">mtlLegacyGregoryPatchTable.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">d3d11PatchTable.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
 93 <code>#include·&lt;vector&gt;</code><br·/>
93 <code>#include·&quot;<a·class="el"·href="a00731_source.html">../far/patchTable.h</a>&quot;</code><br·/>94 <code>#include·&quot;<a·class="el"·href="a00740_source.html">../far/patchDescriptor.h</a>&quot;</code><br·/>
94 <code>#include·&quot;../osd/nonCopyable.h&quot;</code><br·/>95 <code>#include·&quot;../osd/nonCopyable.h&quot;</code><br·/>
95 <code>#include·&quot;<a·class="el"·href="a00806_source.html">../osd/mtlCommon.h</a>&quot;</code><br·/>96 <code>#include·&quot;<a·class="el"·href="a01481_source.html">../osd/types.h</a>&quot;</code><br·/>
96 </div>97 </div>
97 <p><a·href="a00818_source.html">Go·to·the·source·code·of·this·file.</a></p>98 <p><a·href="a00818_source.html">Go·to·the·source·code·of·this·file.</a></p>
98 <table·class="memberdecls">99 <table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
100 Classes</h2></td></tr>101 Classes</h2></td></tr>
101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01289.html">MTLLegacyGregoryPatchTable</a></td></tr>102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01201.html">D3D11PatchTable</a></td></tr>
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
103 </table><table·class="memberdecls">104 </table><table·class="memberdecls">
104 <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>
105 Namespaces</h2></td></tr>106 Namespaces</h2></td></tr>
106 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>107 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>
107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
108 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>109 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>
109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 111 <tr·class="memitem:a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr>
 112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
110 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>113 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>
111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
112 </table>115 </table>
113 </div><!--·contents·-->116 </div><!--·contents·-->
114 </div><!--·doc-content·-->117 </div><!--·doc-content·-->
115 <!--·start·footer·part·-->118 <!--·start·footer·part·-->
116 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->119 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
117 ··<ul>120 ··<ul>
118 ····<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>121 ····<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">d3d11PatchTable.h</a></li>
119 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>122 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
120 ··</ul>123 ··</ul>
121 </div>124 </div>
122 </body>125 </body>
123 </html>126 </html>
841 B
html2text {}
    
Offset 5, 27 lines modifiedOffset 5, 30 lines modified
  
  
  
5 [Logo]·OpenSubdiv5 [Logo]·OpenSubdiv
  
  
6 Classes·|·Namespaces6 Classes·|·Namespaces
7 mtlLegacyGregoryPatchTable.h·File·Reference7 d3d11PatchTable.h·File·Reference
8 #include·"../version.h"8 #include·"../version.h"
 9 #include·<vector>
9 #include·"../far/patchTable.h"10 #include·"../far/patchDescriptor.h"
10 #include·"../osd/nonCopyable.h"11 #include·"../osd/nonCopyable.h"
11 #include·"../osd/mtlCommon.h"12 #include·"../osd/types.h"
12 Go_to_the_source_code_of_this_file.13 Go_to_the_source_code_of_this_file.
13 ·Classes14 ·Classes
14 class· MTLLegacyGregoryPatchTable15 class· D3D11PatchTable
15  16  
16 ·Namespaces17 ·Namespaces
17 namespace· OpenSubdiv18 namespace· OpenSubdiv
18  19  
19 namespace· OpenSubdiv::OPENSUBDIV_VERSION20 namespace· OpenSubdiv::OPENSUBDIV_VERSION
20  21  
 22 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Far
 23  
21 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd24 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd
22  25  
23 ····*·opensubdiv26 ····*·opensubdiv
24 ····*·osd27 ····*·osd
25 ····*·mtlLegacyGregoryPatchTable.h28 ····*·d3d11PatchTable.h
26 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.429 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
267 B
./usr/share/doc/opensubdiv/doxy_html/a00818.js
175 B
js-beautify {}
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 var·a00818·=·[1 var·a00818·=·[
2 ····["MTLLegacyGregoryPatchTable",·"a01289.html",·"a01289"]2 ····["D3D11PatchTable",·"a01201.html",·"a01201"]
3 ];3 ];
48.2 KB
./usr/share/doc/opensubdiv/doxy_html/a00818_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/mtlLegacyGregoryPatchTable.h·Source·File</title>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 80, 19 lines modifiedOffset 80, 19 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">mtlLegacyGregoryPatchTable.h</div></div>86 ··<div·class="headertitle"><div·class="title">d3d11PatchTable.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <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>89 <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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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>
94 <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>94 <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>
95 <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>95 <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>
96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>
97 <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>97 <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 107, 100 lines modifiedOffset 107, 108 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <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>114 <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>
115 <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>115 <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>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
 118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
 119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;../far/patchTable.h&quot;</span></div>120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;../far/patchDescriptor.h&quot;</span></div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../osd/nonCopyable.h&quot;</span></div>121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&quot;../osd/nonCopyable.h&quot;</span></div>
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;../osd/mtlCommon.h&quot;</span></div>122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·&quot;../osd/types.h&quot;</span></div>
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">@protocol·</span>MTLDevice;</div> 
123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">@protocol·</span>MTLBuffer;</div>124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">struct·</span>ID3D11Buffer;</div>
 125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">struct·</span>ID3D11ShaderResourceView;</div>
 126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">struct·</span>ID3D11Device;</div>
 127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">struct·</span>ID3D11DeviceContext;</div>
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
125 <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>129 <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>
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> 
128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">namespace·</span>Osd·{</div> 
129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01289.html">···41</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01289.html">MTLLegacyGregoryPatchTable</a></div>132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">namespace·</span>Far{</div>
131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>:·<span·class="keyword">private</span>·NonCopyable&lt;MTLLegacyGregoryPatchTable&gt;</div>133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">class·</span>PatchTable;</div>
132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>{</div>134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>};</div>
133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">public</span>:</div> 
134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01289.html#aed8ca15f9dfcacfcfc31ab1227b61dcc">···45</a></span>····<a·class="code·hl_function"·href="a01289.html#aed8ca15f9dfcacfcfc31ab1227b61dcc">~MTLLegacyGregoryPatchTable</a>();</div> 
135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·DEVICE_CONTEXT&gt;</div> 
137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01289.html#a25a5b8f002589cba7fd380492019ece8">···48</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01289.html">MTLLegacyGregoryPatchTable</a>*·<a·class="code·hl_function"·href="a01289.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> 
138 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>········<span·class="keywordflow">return</span>·Create(farPatchTable,·context);</div>136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="keyword">namespace·</span>Osd·{</div>
139 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····}</div>137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
 138 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01201.html">···49</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01201.html">D3D11PatchTable</a>·:·<span·class="keyword">private</span>·NonCopyable&lt;D3D11PatchTable&gt;·{</div>
 139 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">public</span>:</div>
 140 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01201.html#a2d85a5ed6ddcef5023c9ef2e6fdd38a5">···51</a></span>····<span·class="keyword">typedef</span>·ID3D11Buffer·*·<a·class="code·hl_typedef"·href="a01201.html#a2d85a5ed6ddcef5023c9ef2e6fdd38a5">VertexBufferBinding</a>;</div>
140 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>141 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
 142 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01201.html#ac81ed5f09e3d3a2aae5a01802b343a6d">···53</a></span>····<a·class="code·hl_function"·href="a01201.html#ac81ed5f09e3d3a2aae5a01802b343a6d">D3D11PatchTable</a>();</div>
 143 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01201.html#a39d5e5c13d54a0f5774047ffa2bb17e4">···54</a></span>····<a·class="code·hl_function"·href="a01201.html#a39d5e5c13d54a0f5774047ffa2bb17e4">~D3D11PatchTable</a>();</div>
141 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01289.html#ac51e7db7abdd0eaaca33d4947bbe41b4">···52</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01289.html">MTLLegacyGregoryPatchTable</a>*·<a·class="code·hl_function"·href="a01289.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="a01277.html">MTLContext</a>*·context);</div> 
142 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> 
143 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01289.html#ad922644c53b64f5b60565065f09cbd17">···54</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01289.html#ad922644c53b64f5b60565065f09cbd17">UpdateVertexBuffer</a>(id&lt;MTLBuffer&gt;·vbo,·<span·class="keywordtype">int</span>·numVertices,·<span·class="keywordtype">int</span>·numVertexElements,·<a·class="code·hl_class"·href="a01277.html">MTLContext</a>*·context);</div> 
144 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>144 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
145 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01289.html#afffd8d6da44d9c7113d9dc190eefdb3d">···56</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01289.html#afffd8d6da44d9c7113d9dc190eefdb3d">GetVertexBuffer</a>()<span·class="keyword">·const</span></div> 
146 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">····</span>{</div> 
147 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>········<span·class="keywordflow">return</span>·_vertexBuffer;</div> 
148 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····}</div>145 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·DEVICE_CONTEXT&gt;</div>
 146 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01201.html#a0d96d4b3eaf2b3e453cbcb031340ebca">···57</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01201.html">D3D11PatchTable</a>·*<a·class="code·hl_function"·href="a01201.html#a0d96d4b3eaf2b3e453cbcb031340ebca">Create</a>(<a·class="code·hl_class"·href="a00993.html">Far::PatchTable</a>·<span·class="keyword">const</span>·*farPatchTable,</div>
 147 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>···································DEVICE_CONTEXT·context)·{</div>
 148 <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="a01201.html#a0d96d4b3eaf2b3e453cbcb031340ebca">Create</a>(farPatchTable,·context-&gt;GetDeviceContext());</div>
149 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>149 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····}</div>
150 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01289.html#a7e1414cf8ab619f18f532b58f614b123">···61</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01289.html#a7e1414cf8ab619f18f532b58f614b123">GetVertexValenceBuffer</a>()<span·class="keyword">·const</span></div> 
151 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="keyword">····</span>{</div>150 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>
152 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········<span·class="keywordflow">return</span>·_vertexValenceBuffer;</div>151 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01201.html#a8d071db2033c568b98a8aed737e563e9">···62</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01201.html">D3D11PatchTable</a>·*<a·class="code·hl_functi[·...·truncated·by·diffoscope;·len:·182,·SHA:·67427c3dd67ce60a6ff790a6637571fe88e4cdbaf536686faaa7f2decb6891b6·...·]</div>
 152 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>···································ID3D11DeviceContext·*deviceContext);</div>
153 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····}</div>153 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>
 154 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01201.html#a18e3d09b0c7b7552f8e419e36788166a">···65</a></span>····<a·class="code·hl_typedef"·href="a00912.html#a98098cd229f60d2397d84a76fe654a31">PatchArrayVector</a>·<span·class="keyword">const</span>·&amp;<a·class="code·hl_function"·href="a01201.html#a18e3d09b0c7b7552f8e419e36788166a">GetPatchArrays</a>()<span·class="keyword">·const·</span>{</div>
 155 <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="a01201.html#a5dfb6b58580f2dec58e9b5bfdb4ed9f1">_patchArrays</a>;</div>
154 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> 
155 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01289.html#a846f5698d4874b41374c2ac6c52c3ea2">···66</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01289.html#a846f5698d4874b41374c2ac6c52c3ea2">GetQuadOffsetsBuffer</a>()<span·class="keyword">·const</span></div> 
156 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="keyword">····</span>{</div> 
157 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>········<span·class="keywordflow">return</span>·_quadOffsetsBuffer;</div> 
158 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····}</div>156 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····}</div>
159 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>157 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
160 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01289.html#a176fb87b7ba47d5c2c2a6d332e2687ce">···71</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01289.html#a176fb87b7ba47d5c2c2a6d332e2687ce">GetQuad[·...·truncated·by·diffoscope;·len:·136,·SHA:·040c2a58812c27274c2ef73cdd4b4773c73ed25e0d6e3b9ed670d54dcb2d3791·...·]</div>158 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01201.html#a45505c8c99abe0baf8b56981fa0a31e1">···70</a></span>····ID3D11Buffer*·<a·class="code·hl_function"·href="a01201.html#a45505c8c99abe0baf8b56981fa0a31e1">GetPatchIndexBuffer</a>()<span[·...·truncated·by·diffoscope;·len:·32,·SHA:·f1abd3d4f48817eeea5d8ac8acd9515b81755d2388cc9ee4f979004394fc6b69·...·]</div>
 159 <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="a01201.html#a70f9e642d07efb73b8e7dc7a418d6311">_indexBuffer</a>;</div>
161 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····{</div>160 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····}</div>
162 <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> 
163 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>············<span·class="keywordflow">return</span>·_quadOffsetsBase[1];</div> 
164 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········<span·class="keywordflow">return</span>·_quadOffsetsBase[0];</div> 
165 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····}</div>161 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>
 162 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01201.html#ab57fd008d10c0c2c6ed4182bb3f187ee">···75</a></span>····ID3D11ShaderResourceView*·<a·class="code·hl_function"·href="a01201.html#ab57fd008d10c0c2c6ed4182bb3f187ee">GetPatchParamSRV</a>()<span·class="keyword">·const·</span>{</div>
 163 <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="a01201.html#a906a11e9011b14e667c4e46e0cb0089c">_patchParamBufferSRV</a>;</div>
166 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div>164 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····}</div>
 165 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
167 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="keyword">private</span>:</div>166 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="keyword">protected</span>:</div>
168 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····id&lt;MTLBuffer&gt;·_vertexBuffer;</div> 
169 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····id&lt;MTLBuffer&gt;·_vertexValenceBuffer;</div> 
170 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····id&lt;MTLBuffer&gt;·_quadOffsetsBuffer;</div> 
171 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="keywordtype">int</span>·_quadOffsetsBase[2];</div>167 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····<span·class="comment">//·allocate·buffers·from·patchTable</span></div>
 168 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01201.html#a281807810d02943d0819c40e111b9144">···81</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01201.html#a281807810d02943d0819c40e111b9144">allocate</a>(<a·class="code·hl_class"·href="a00993.html">Far::PatchTable</a>·<span·class="keyword">const</span>·*farPatchTable,</div>
 169 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··················ID3D11DeviceContext·*deviceContext);</div>
172 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>};</div>170 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>
 171 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01201.html#a5dfb6b58580f2dec58e9b5bfdb4ed9f1">···84</a></span>····<a·class="code·hl_typedef"·href="a00912.html#a98098cd229f60d2397d84a76fe654a31">PatchArrayVector</a>·<a·class="code·hl_variable"·href="a01201.html#a5dfb6b58580f2dec58e9b5bfdb4ed9f1">_patchArrays</a>;</div>
173 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>172 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>
 173 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01201.html#a70f9e642d07efb73b8e7dc7a418d6311">···86</a></span>····ID3D11Buffer·············*<a·class="code·hl_variable"·href="a01201.html#a70f9e642d07efb73b8e7dc7a418d6311">_indexBuffer</a>;</div>
Max diff block lines reached; 13445/40097 bytes (33.53%) of diff not shown.
8.89 KB
html2text {}
    
Offset 4, 18 lines modifiedOffset 4, 18 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 mtlLegacyGregoryPatchTable.h5 d3d11PatchTable.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2013·Pixar8 ·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·in11 ·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·trade15 ·9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade
Offset 30, 127 lines modifiedOffset 30, 134 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_OSD_MTL_LEGACY_GREGORY_PATCH_TABLE_H37 ·25#ifndef·OPENSUBDIV3_OSD_GL_PATCH_TABLE_H
38 ·26#define·OPENSUBDIV3_OSD_MTL_LEGACY_GREGORY_PATCH_TABLE_H38 ·26#define·OPENSUBDIV3_OSD_GL_PATCH_TABLE_H
39 ·2739 ·27
40 ·28#include·"../version.h"40 ·28#include·"../version.h"
 41 ·29
 42 ·30#include·<vector>
41 ·29#include·"../far/patchTable.h"43 ·31#include·"../far/patchDescriptor.h"
42 ·30#include·"../osd/nonCopyable.h"44 ·32#include·"../osd/nonCopyable.h"
43 ·31#include·"../osd/mtlCommon.h"45 ·33#include·"../osd/types.h"
44 ·32 
45 ·33@protocol·MTLDevice; 
46 ·34@protocol·MTLBuffer; 
47 ·3546 ·34
 47 ·35struct·ID3D11Buffer;
 48 ·36struct·ID3D11ShaderResourceView;
 49 ·37struct·ID3D11Device;
 50 ·38struct·ID3D11DeviceContext;
 51 ·39
48 ·36namespace·OpenSubdiv·{52 ·40namespace·OpenSubdiv·{
49 ·37namespace·OPENSUBDIV_VERSION·{53 ·41namespace·OPENSUBDIV_VERSION·{
 54 ·42
 55 ·43namespace·Far{
 56 ·44·class·PatchTable;
 57 ·45};
50 ·38 
51 ·39namespace·Osd·{ 
52 ·40 
53 41class·MTLLegacyGregoryPatchTable 
54 ·42:·private·NonCopyable<MTLLegacyGregoryPatchTable> 
55 ·43{ 
56 ·44public: 
57 45·~MTLLegacyGregoryPatchTable(); 
58 ·4658 ·46
 59 ·47namespace·Osd·{
 60 ·48
 61 49class·D3D11PatchTable·:·private·NonCopyable<D3D11PatchTable>·{
 62 ·50public:
 63 51·typedef·ID3D11Buffer·*·VertexBufferBinding;
 64 ·52
 65 53·D3D11PatchTable();
 66 54·~D3D11PatchTable();
59 ·47·template<typename·DEVICE_CONTEXT> 
60 48·static·MTLLegacyGregoryPatchTable*·Create(Far::PatchTable·const* 
61 farPatchTable,·DEVICE_CONTEXT·context)·{ 
62 ·49·return·Create(farPatchTable,·context); 
63 ·50·} 
64 ·51 
65 52·static·MTLLegacyGregoryPatchTable*·Create(Far::PatchTable·const* 
66 farPatchTable,·MTLContext*·context); 
67 ·53 
68 54·void·UpdateVertexBuffer(id<MTLBuffer>·vbo,·int·numVertices,·int 
69 numVertexElements,·MTLContext*·context); 
70 ·5567 ·55
 68 ·56·template<typename·DEVICE_CONTEXT>
 69 57·static·D3D11PatchTable·*Create(Far::PatchTable·const·*farPatchTable,
 70 ·58·DEVICE_CONTEXT·context)·{
 71 ·59·return·Create(farPatchTable,·context->GetDeviceContext());
71 56·id<MTLBuffer>·GetVertexBuffer()·const 
72 ·57·{ 
73 ·58·return·_vertexBuffer; 
74 ·59·} 
75 ·60 
76 61·id<MTLBuffer>·GetVertexValenceBuffer()·const 
77 ·62·{ 
78 ·63·return·_vertexValenceBuffer; 
79 ·64·}72 ·60·}
80 ·65 
81 66·id<MTLBuffer>·GetQuadOffsetsBuffer()·const73 ·61
 74 62·static·D3D11PatchTable·*Create(Far::PatchTable·const·*farPatchTable,
 75 ·63·ID3D11DeviceContext·*deviceContext);
 76 ·64
 77 65·PatchArrayVector·const·&GetPatchArrays()·const·{
 78 ·66·return·_patchArrays;
82 ·67·{79 ·67·}
 80 ·68
 81 70·ID3D11Buffer*·GetPatchIndexBuffer()·const·{
 82 ·71·return·_indexBuffer;
83 ·68·return·_quadOffsetsBuffer; 
84 ·69·} 
85 ·70 
86 71·int·GetQuadOffsetsBase(Far::PatchDescriptor::Type·type) 
87 ·72·{83 ·72·}
88 ·73·if(type·==·Far::PatchDescriptor::GREGORY_BOUNDARY) 
89 ·74·return·_quadOffsetsBase[1]; 
90 ·75·return·_quadOffsetsBase[0];84 ·73
 85 75·ID3D11ShaderResourceView*·GetPatchParamSRV()·const·{
 86 ·76·return·_patchParamBufferSRV;
91 ·76·}87 ·77·}
92 ·77 
93 ·78private: 
94 ·79·id<MTLBuffer>·_vertexBuffer; 
95 ·80·id<MTLBuffer>·_vertexValenceBuffer; 
96 ·81·id<MTLBuffer>·_quadOffsetsBuffer; 
97 ·82·int·_quadOffsetsBase[2];88 ·78
 89 ·79protected:
 90 ·80·//·allocate·buffers·from·patchTable
 91 81·bool·allocate(Far::PatchTable·const·*farPatchTable,
 92 ·82·ID3D11DeviceContext·*deviceContext);
 93 ·83
 94 84·PatchArrayVector·_patchArrays;
 95 ·85
Max diff block lines reached; 4655/9082 bytes (51.26%) of diff not shown.
6.19 KB
./usr/share/doc/opensubdiv/doxy_html/a00821.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/mtlComputeEvaluator.h·File·Reference</title>8 <title>OpenSubdiv:·opensubdiv/osd/d3d11LegacyGregoryPatchTable.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 83, 46 lines modifiedOffset 83, 41 lines modified
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124;87 <a·href="#nested-classes">Classes</a>·&#124;
88 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">mtlComputeEvaluator.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">d3d11LegacyGregoryPatchTable.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
93 <code>#include·&quot;<a·class="el"·href="a01481_source.html">../osd/types.h</a>&quot;</code><br·/>93 <code>#include·&quot;<a·class="el"·href="a00734_source.html">../far/patchTable.h</a>&quot;</code><br·/>
 94 <code>#include·&quot;../osd/nonCopyable.h&quot;</code><br·/>
94 <code>#include·&quot;<a·class="el"·href="a00899_source.html">../osd/bufferDescriptor.h</a>&quot;</code><br·/> 
95 <code>#include·&quot;<a·class="el"·href="a00806_source.html">../osd/mtlCommon.h</a>&quot;</code><br·/> 
96 </div>95 </div>
97 <p><a·href="a00821_source.html">Go·to·the·source·code·of·this·file.</a></p>96 <p><a·href="a00821_source.html">Go·to·the·source·code·of·this·file.</a></p>
98 <table·class="memberdecls">97 <table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
100 Classes</h2></td></tr>99 Classes</h2></td></tr>
101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01281.html">MTLStencilTable</a></td></tr>100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01197.html">D3D11LegacyGregoryPatchTable</a></td></tr>
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01285.html">MTLComputeEvaluator</a></td></tr> 
104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
105 </table><table·class="memberdecls">102 </table><table·class="memberdecls">
106 <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>
107 Namespaces</h2></td></tr>104 Namespaces</h2></td></tr>
108 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>105 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
110 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>107 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>
111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
112 <tr·class="memitem:a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr> 
113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
114 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>109 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>
115 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
116 </table>111 </table>
117 </div><!--·contents·-->112 </div><!--·contents·-->
118 </div><!--·doc-content·-->113 </div><!--·doc-content·-->
119 <!--·start·footer·part·-->114 <!--·start·footer·part·-->
120 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->115 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
121 ··<ul>116 ··<ul>
122 ····<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>117 ····<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">d3d11LegacyGregoryPatchTable.h</a></li>
123 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>118 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
124 ··</ul>119 ··</ul>
125 </div>120 </div>
126 </body>121 </body>
127 </html>122 </html>
868 B
html2text {}
    
Offset 5, 31 lines modifiedOffset 5, 26 lines modified
  
  
  
5 [Logo]·OpenSubdiv5 [Logo]·OpenSubdiv
  
  
6 Classes·|·Namespaces6 Classes·|·Namespaces
7 mtlComputeEvaluator.h·File·Reference7 d3d11LegacyGregoryPatchTable.h·File·Reference
8 #include·"../version.h"8 #include·"../version.h"
 9 #include·"../far/patchTable.h"
9 #include·"../osd/types.h"10 #include·"../osd/nonCopyable.h"
10 #include·"../osd/bufferDescriptor.h" 
11 #include·"../osd/mtlCommon.h" 
12 Go_to_the_source_code_of_this_file.11 Go_to_the_source_code_of_this_file.
13 ·Classes12 ·Classes
 13 class· D3D11LegacyGregoryPatchTable
14 class· MTLStencilTable 
15   
16 class· MTLComputeEvaluator 
17  14  
18 ·Namespaces15 ·Namespaces
19 namespace· OpenSubdiv16 namespace· OpenSubdiv
20  17  
21 namespace· OpenSubdiv::OPENSUBDIV_VERSION18 namespace· OpenSubdiv::OPENSUBDIV_VERSION
22  19  
23 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Far 
24   
25 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd20 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd
26  21  
27 ····*·opensubdiv22 ····*·opensubdiv
28 ····*·osd23 ····*·osd
29 ····*·mtlComputeEvaluator.h24 ····*·d3d11LegacyGregoryPatchTable.h
30 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.425 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
324 B
./usr/share/doc/opensubdiv/doxy_html/a00821.js
232 B
js-beautify {}
    
Offset 1, 4 lines modifiedOffset 1, 3 lines modified
1 var·a00821·=·[1 var·a00821·=·[
 2 ····["D3D11LegacyGregoryPatchTable",·"a01197.html",·"a01197"]
2 ····["MTLStencilTable",·"a01281.html",·"a01281"], 
3 ····["MTLComputeEvaluator",·"a01285.html",·"a01285"] 
4 ];3 ];
293 KB
./usr/share/doc/opensubdiv/doxy_html/a00821_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/mtlComputeEvaluator.h·Source·File</title>8 <title>OpenSubdiv:·opensubdiv/osd/d3d11LegacyGregoryPatchTable.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 80, 19 lines modifiedOffset 80, 19 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">mtlComputeEvaluator.h</div></div>86 ··<div·class="headertitle"><div·class="title">d3d11LegacyGregoryPatchTable.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <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>89 <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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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>
94 <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>94 <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>
95 <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>95 <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>
96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>
97 <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>97 <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 107, 1084 lines modifiedOffset 107, 110 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <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>114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_D3D11_LEGACY_GREGORY_PATCH_TABLE_H</span></div>
115 <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>115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_D3D11_LEGACY_GREGORY_PATCH_TABLE_H</span></div>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../osd/types.h&quot;</span></div>119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../far/patchTable.h&quot;</span></div>
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;../osd/bufferDescriptor.h&quot;</span></div> 
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&quot;../osd/mtlCommon.h&quot;</span></div>120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;../osd/nonCopyable.h&quot;</span></div>
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">@protocol·</span>MTLDevice;</div> 
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">@protocol·</span>MTLBuffer;</div>122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">struct·</span>ID3D11Buffer;</div>
 123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">struct·</span>ID3D11ShaderResourceView;</div>
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">@protocol·</span>MTLLibrary;</div>124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">struct·</span>ID3D11Device;</div>
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">@protocol·</span>MTLComputePipelineState;</div>125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">struct·</span>ID3D11DeviceContext;</div>
127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
128 <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>127 <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>
129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>
131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">namespace·</span>Far·{</div>130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">namespace·</span>Osd·{</div>
132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····<span·class="keyword">class·</span>PatchTable;</div> 
133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">class·</span>StencilTable;</div> 
134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keyword">class·</span>LimitStencilTable;</div> 
135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>}</div>131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
 132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01197.html">···43</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01197.html">D3D11LegacyGregoryPatchTable</a></div>
 133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····:·<span·class="keyword">private</span>·NonCopyable&lt;D3D11LegacyGregoryPatchTable&gt;·{</div>
 134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">public</span>:</div>
 135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01197.html#a1b73be1e9343a3df3d0dd6027d06fe1b">···46</a></span>····<a·class="code·hl_function"·href="a01197.html#a1b73be1e9343a3df3d0dd6027d06fe1b">~D3D11LegacyGregoryPatchTable</a>();</div>
136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>
137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">namespace·</span>Osd·{</div> 
138 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> 
139 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01281.html">···50</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01281.html">MTLStencilTable</a></div> 
140 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>{</div> 
141 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">public</span>:</div> 
142 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·STENCIL_TABLE,·<span·class="keyword">typename</span>·DEVICE_CONTEXT&gt;</div>137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·DEVICE_CONTEXT&gt;</div>
 138 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01197.html#aca9d1702077da362bc5ba1d046f7853d">···49</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01197.html">D3D11LegacyGregoryPatchTable</a>·*<a·class="code·hl_function"·href="a01197.html#aca9d1702077da362bc5ba1d046f7853d">Create</a>(</div>
 139 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>········<a·class="code·hl_class"·href="a00993.html">Far::PatchTable</a>·<span·class="keyword">const</span>·*farPatchTable,·DEVICE_CONTEXT·context)·{</div>
 140 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01197.html#aca9d1702077da362bc5ba1d046f7853d">Create</a>(farPatchTable,·context-&gt;GetDeviceContext());</div>
143 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01281.html#ad96fc1ad226b46fec987d3b131a87a90">···54</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01281.html">MTLStencilTable</a>*·<a·class="code·hl_function"·href="a01281.html#ad96fc1ad226b46fec987d3b131a87a90">Create</a>(STENCIL_TABLE*·stencilTable,</div> 
144 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>···································DEVICE_CONTEXT·context)</div> 
145 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····{</div> 
146 <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="a01281.html">MTLStencilTable</a>(stencilTable,·context);</div> 
147 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····}</div>141 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····}</div>
148 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>142 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>
 143 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01197.html#a976374548278711d50993273260df174">···54</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01197.html">D3D11LegacyGregoryPatchTable</a>·*<a·class="code·hl_function"·href="a01197.html#a976374548278711d50993273260df174">Create</a>(</div>
 144 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>········<a·class="code·hl_class"·href="a00993.html">Far::PatchTable</a>·<span·class="keyword">const</span>·*farPatchTable,</div>
 145 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>········ID3D11DeviceContext·*deviceContext);</div>
 146 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
 147 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01197.html#a16aad8981b0b35184b6e44cfb242003d">···58</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01197.html#a16aad8981b0b35184b6e44cfb242003d">UpdateVertexBuffer</a>(ID3D11Buffer·*vbo,</div>
 148 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····························<span·class="keywordtype">int</span>·numVertices,·<span·class="keywordtype">int</span>·numVertexElements,</div>
 149 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····························ID3D11DeviceContext·*pd3d11DeviceContext);</div>
149 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>150 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>
 151 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01197.html#ab758c72f33a9e3aa46c1096446c3557e">···62</a></span>····ID3D11ShaderResourceView*·<a·class="code·hl_function"·href="a01197.html#ab758c72f33a9e3aa46c1096446c3557e">GetVertexSRV</a>()<span·class="keyword">·const·</span>{</div>
 152 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········<span·class="keywordflow">return</span>·_vertexSRV;</div>
150 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01281.html#a45e329ffe9fe4e32a1b21bfc89a6763f">···61</a></span>····<a·class="code·hl_function"·href="a01281.html#a45e329ffe9fe4e32a1b21bfc89a6763f">MTLStencilTable</a>(<a·class="code·hl_class"·href="a01057.html">Far::StencilTable</a>·<span·class="keyword">const</span>*·stencilTable,·<a·class="code·hl_class"·href="a01277.html">MTLContext</a>*·context);</div> 
151 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01281.html#a015dc72c3360b4841ee2b3feb06c106f">···62</a></span>····<a·class="code·hl_function"·href="a01281.html#a015dc72c3360b4841ee2b3feb06c106f">MTLStencilTable</a>(<a·class="code·hl_class"·href="a01073.html">Far::LimitStencilTable</a>·<span·class="keyword">const</span>*·stencilTable,·<a·class="code·hl_class"·href="a01277.html">MTLContext</a>*·context);</div> 
152 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01281.html#a1ace4fd3d4d8b840a5b48415175ea8bc">···63</a></span>····<a·class="code·hl_function"·href="a01281.html#a1ace4fd3d4d8b840a5b48415175ea8bc">~MTLStencilTable</a>();</div> 
153 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>153 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····}</div>
154 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01281.html#a9b2f404d67fa83cd4715d2bbbeef6b4c">···65</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01281.html#a9b2f404d67fa83cd4715d2bbbeef6b4c">GetSizesBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_sizesBuffer;·}</div> 
155 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01281.html#aa1aa052f6513bda4c60b0ac423fb34cc">···66</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01281.html#aa1aa052f6513bda4c60b0ac423fb34cc">GetOffsetsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_offsetsBuffer;·}</div> 
156 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01281.html#a860a80d6ea4ec9aec06280c39376683c">···67</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01281.html#a860a80d6ea4ec9aec06280c39376683c">GetIndicesBuffer</a>()<span·class="keyword">·const··</span>{·<span·class="keywordflow">return</span>·_indicesBuffer;·}</div> 
157 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01281.html#ab22907c9cfe58b82ddfcad8241304500">···68</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01281.html#ab22907c9cfe58b82ddfcad8241304500">GetWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_weightsBuffer;·}</div> 
158 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01281.html#a13aa05ad0482bad5182feb3cd75b4168">···69</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01281.html#a13aa05ad0482bad5182feb3cd75b4168">GetDuWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_duWeightsBuffer;·}</div> 
159 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01281.html#ae7df9ee000b676b2afb8b2979c006494">···70</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01281.html#ae7df9ee000b676b2afb8b2979c006494">GetDvWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_dvWeightsBuffer;·}</div> 
160 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01281.html#a4dec46cc7a06c6c1687109e48f04e085">···71</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01281.html#a4dec46cc7a06c6c1687109e48f04e085">GetDuuWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_duuWeightsBuffer;·}</div> 
161 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01281.html#a6175e9daf70e8c27fb5122546df3fb1f">···72</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01281.html#a6175e9daf70e8c27fb5122546df3fb1f">GetDuvWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_duvWeightsBuffer;·}</div> 
162 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01281.html#a2f1e271aba868c291f9e0a9e9d1ace47">···73</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01281.html#a2f1e271aba868c291f9e0a9e9d1ace47">GetDvvWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_dvvWeightsBuffer;·}</div> 
163 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> 
164 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01281.html#a65836d2070b943c8fecbad926d074de2">···75</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01281.html#a65836d2070b943c8fecbad926d074de2">GetNumStencils</a>()<span·class="keyword">·const··</span>{·<span·class="keywordflow">return</span>·_numStencils;·}</div> 
165 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>154 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>
 155 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01197.html#adbc155c902f4c2cb88d9fffbeb6499b4">···66</a></span>····ID3D11ShaderResourceView*·<a·class="code·hl_function"·href="a01197.html#adbc155c902f4c2cb88d9fffbeb6499b4">GetVertexValenceSRV</a>()<span·class="keyword">·const·</span>{</div>
 156 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>········<span·class="keywordflow">return</span>·_vertexValenceSRV;</div>
 157 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····}</div>
 158 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
 159 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01197.html#af03db41bfcbbf8bb266f7b067df6433a">···70</a></span>····ID3D11ShaderResourceView*·<a·class="code·hl_function"·href="a01197.html#af03db41bfcbbf8bb266f7b067df6433a">GetQuadOffsetsSRV</a>()<span·class="keyword">·const·</span>{</div>
166 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="keyword">private</span>:</div>160 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>········<span·class="keywordflow">return</span>·_quadOffsetsSRV;</div>
167 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····id&lt;MTLBuffer&gt;·_sizesBuffer;</div>161 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····}</div>
168 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····id&lt;MTLBuffer&gt;·_offsetsBuffer;</div> 
169 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····id&lt;MTLBuffer&gt;·_indicesBuffer;</div> 
170 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····id&lt;MTLBuffer&gt;·_weightsBuffer;</div> 
171 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····id&lt;MTLBuffer&gt;·_duWeightsBuffer;</div> 
172 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····id&lt;MTLBuffer&gt;·_dvWeightsBuffer;</div> 
173 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····id&lt;MTLBuffer&gt;·_duuWeightsBuffer;</div> 
174 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····id&lt;MTLBuffer&gt;·_duvWeightsBuffer;</div> 
175 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····id&lt;MTLBuffer&gt;·_dvvWeightsBuffer;</div> 
Max diff block lines reached; 205785/236914 bytes (86.86%) of diff not shown.
61.2 KB
html2text {}
    
Offset 4, 18 lines modifiedOffset 4, 18 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 mtlComputeEvaluator.h5 d3d11LegacyGregoryPatchTable.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2013·Pixar8 ·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·in11 ·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·trade15 ·9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade
Offset 30, 1388 lines modifiedOffset 30, 134 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_OSD_MTL_COMPUTE_EVALUATOR_H 
38 ·26#define·OPENSUBDIV3_OSD_MTL_COMPUTE_EVALUATOR_H37 ·25#ifndef·OPENSUBDIV3_OSD_D3D11_LEGACY_GREGORY_PATCH_TABLE_H
 38 ·26#define·OPENSUBDIV3_OSD_D3D11_LEGACY_GREGORY_PATCH_TABLE_H
39 ·2739 ·27
40 ·28#include·"../version.h"40 ·28#include·"../version.h"
41 ·2941 ·29
 42 ·30#include·"../far/patchTable.h"
42 ·30#include·"../osd/types.h"43 ·31#include·"../osd/nonCopyable.h"
 44 ·32
 45 ·33struct·ID3D11Buffer;
 46 ·34struct·ID3D11ShaderResourceView;
 47 ·35struct·ID3D11Device;
 48 ·36struct·ID3D11DeviceContext;
 49 ·37
43 ·31#include·"../osd/bufferDescriptor.h" 
44 ·32#include·"../osd/mtlCommon.h" 
45 ·33 
46 ·34@protocol·MTLDevice; 
47 ·35@protocol·MTLBuffer; 
48 ·36@protocol·MTLLibrary; 
49 ·37@protocol·MTLComputePipelineState; 
50 ·38 
51 ·39namespace·OpenSubdiv·{50 ·38namespace·OpenSubdiv·{
52 ·40namespace·OPENSUBDIV_VERSION·{51 ·39namespace·OPENSUBDIV_VERSION·{
53 ·4152 ·40
54 ·42namespace·Far·{53 ·41namespace·Osd·{
55 ·43·class·PatchTable; 
56 ·44·class·StencilTable; 
57 ·45·class·LimitStencilTable; 
58 ·46}54 ·42
 55 43class·D3D11LegacyGregoryPatchTable
 56 ·44·:·private·NonCopyable<D3D11LegacyGregoryPatchTable>·{
 57 ·45public:
 58 46·~D3D11LegacyGregoryPatchTable();
59 ·4759 ·47
 60 ·48·template<typename·DEVICE_CONTEXT>
 61 49·static·D3D11LegacyGregoryPatchTable·*Create(
 62 ·50·Far::PatchTable·const·*farPatchTable,·DEVICE_CONTEXT·context)·{
 63 ·51·return·Create(farPatchTable,·context->GetDeviceContext());
60 ·48namespace·Osd·{ 
61 ·49 
62 50class·MTLStencilTable 
63 ·51{ 
64 ·52public: 
65 ·53·template<typename·STENCIL_TABLE,·typename·DEVICE_CONTEXT> 
66 54·static·MTLStencilTable*·Create(STENCIL_TABLE*·stencilTable, 
67 ·55·DEVICE_CONTEXT·context) 
68 ·56·{ 
69 ·57·return·new·MTLStencilTable(stencilTable,·context); 
70 ·58·}64 ·52·}
71 ·59 
72 ·60 
73 61·MTLStencilTable(Far::StencilTable·const*·stencilTable,·MTLContext*·context); 
74 62·MTLStencilTable(Far::LimitStencilTable·const*·stencilTable,·MTLContext* 
75 context); 
76 63·~MTLStencilTable();65 ·53
 66 54·static·D3D11LegacyGregoryPatchTable·*Create(
 67 ·55·Far::PatchTable·const·*farPatchTable,
 68 ·56·ID3D11DeviceContext·*deviceContext);
 69 ·57
 70 58·void·UpdateVertexBuffer(ID3D11Buffer·*vbo,
 71 ·59·int·numVertices,·int·numVertexElements,
 72 ·60·ID3D11DeviceContext·*pd3d11DeviceContext);
 73 ·61
 74 62·ID3D11ShaderResourceView*·GetVertexSRV()·const·{
 75 ·63·return·_vertexSRV;
77 ·6476 ·64·}
78 65·id<MTLBuffer>·GetSizesBuffer()·const·{·return·_sizesBuffer;·} 
79 66·id<MTLBuffer>·GetOffsetsBuffer()·const·{·return·_offsetsBuffer;·} 
80 67·id<MTLBuffer>·GetIndicesBuffer()·const·{·return·_indicesBuffer;·} 
81 68·id<MTLBuffer>·GetWeightsBuffer()·const·{·return·_weightsBuffer;·} 
82 69·id<MTLBuffer>·GetDuWeightsBuffer()·const·{·return·_duWeightsBuffer;·} 
83 70·id<MTLBuffer>·GetDvWeightsBuffer()·const·{·return·_dvWeightsBuffer;·} 
84 71·id<MTLBuffer>·GetDuuWeightsBuffer()·const·{·return·_duuWeightsBuffer;·} 
85 72·id<MTLBuffer>·GetDuvWeightsBuffer()·const·{·return·_duvWeightsBuffer;·} 
86 73·id<MTLBuffer>·GetDvvWeightsBuffer()·const·{·return·_dvvWeightsBuffer;·} 
87 ·74 
88 75·int·GetNumStencils()·const·{·return·_numStencils;·} 
89 ·7677 ·65
 78 66·ID3D11ShaderResourceView*·GetVertexValenceSRV()·const·{
 79 ·67·return·_vertexValenceSRV;
 80 ·68·}
 81 ·69
 82 70·ID3D11ShaderResourceView*·GetQuadOffsetsSRV()·const·{
 83 ·71·return·_quadOffsetsSRV;
 84 ·72·}
 85 ·73
 86 74·int·GetQuadOffsetsBase(Far::PatchDescriptor::Type·type)·{
 87 ·75·if·(type·==·Far::PatchDescriptor::GREGORY_BOUNDARY)·{
 88 ·76·return·_quadOffsetsBase[1];
 89 ·77·}
 90 ·78·return·_quadOffsetsBase[0];
 91 ·79·}
 92 ·80
 93 ·81protected:
 94 82·D3D11LegacyGregoryPatchTable();
 95 ·83
90 ·77private:96 ·84private:
 97 ·85·ID3D11Buffer*·_vertexValenceBuffer;
 98 ·86·ID3D11Buffer*·_quadOffsetsBuffer;
 99 ·87·ID3D11ShaderResourceView*·_vertexSRV;
Max diff block lines reached; 57056/62614 bytes (91.12%) of diff not shown.
5.07 KB
./usr/share/doc/opensubdiv/doxy_html/a00824.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/mtlVertexBuffer.h·File·Reference</title>8 <title>OpenSubdiv:·opensubdiv/osd/cpuD3D11VertexBuffer.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 83, 25 lines modifiedOffset 83, 26 lines modified
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124;87 <a·href="#nested-classes">Classes</a>·&#124;
88 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">mtlVertexBuffer.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">cpuD3D11VertexBuffer.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
93 <code>#include·&quot;<a·class="el"·href="a00806_source.html">../osd/mtlCommon.h</a>&quot;</code><br·/>93 <code>#include·&lt;cstddef&gt;</code><br·/>
94 </div>94 </div>
95 <p><a·href="a00824_source.html">Go·to·the·source·code·of·this·file.</a></p>95 <p><a·href="a00824_source.html">Go·to·the·source·code·of·this·file.</a></p>
96 <table·class="memberdecls">96 <table·class="memberdecls">
97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
98 Classes</h2></td></tr>98 Classes</h2></td></tr>
99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01301.html">CPUMTLVertexBuffer</a></td></tr>99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01153.html">CpuD3D11VertexBuffer</a></td></tr>
 100 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Concrete·vertex·buffer·class·for·Cpu·subdivision·and·DirectX·drawing.··<a·href="a01153.html#details">More...</a><br·/></td></tr>
100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 </table><table·class="memberdecls">102 </table><table·class="memberdecls">
102 <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>
103 Namespaces</h2></td></tr>104 Namespaces</h2></td></tr>
104 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>105 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>107 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>
Offset 110, 13 lines modifiedOffset 111, 13 lines modified
110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
111 </table>112 </table>
112 </div><!--·contents·-->113 </div><!--·contents·-->
113 </div><!--·doc-content·-->114 </div><!--·doc-content·-->
114 <!--·start·footer·part·-->115 <!--·start·footer·part·-->
115 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->116 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
116 ··<ul>117 ··<ul>
117 ····<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="a00824.html">mtlVertexBuffer.h</a></li>118 ····<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="a00824.html">cpuD3D11VertexBuffer.h</a></li>
118 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>119 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
119 ··</ul>120 ··</ul>
120 </div>121 </div>
121 </body>122 </body>
122 </html>123 </html>
742 B
html2text {}
    
Offset 5, 25 lines modifiedOffset 5, 27 lines modified
  
  
  
5 [Logo]·OpenSubdiv5 [Logo]·OpenSubdiv
  
  
6 Classes·|·Namespaces6 Classes·|·Namespaces
7 mtlVertexBuffer.h·File·Reference7 cpuD3D11VertexBuffer.h·File·Reference
8 #include·"../version.h"8 #include·"../version.h"
9 #include·"../osd/mtlCommon.h"9 #include·<cstddef>
10 Go_to_the_source_code_of_this_file.10 Go_to_the_source_code_of_this_file.
11 ·Classes11 ·Classes
12 class· CPUMTLVertexBuffer12 class· CpuD3D11VertexBuffer
 13  ······Concrete·vertex·buffer·class·for·Cpu·subdivision·and·DirectX·drawing.
 14 ········More...
13  15  
14 ·Namespaces16 ·Namespaces
15 namespace· OpenSubdiv17 namespace· OpenSubdiv
16  18  
17 namespace· OpenSubdiv::OPENSUBDIV_VERSION19 namespace· OpenSubdiv::OPENSUBDIV_VERSION
18  20  
19 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd21 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd
20  22  
21 ····*·opensubdiv23 ····*·opensubdiv
22 ····*·osd24 ····*·osd
23 ····*·mtlVertexBuffer.h25 ····*·cpuD3D11VertexBuffer.h
24 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.426 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
264 B
./usr/share/doc/opensubdiv/doxy_html/a00824.js
172 B
js-beautify {}
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 var·a00824·=·[1 var·a00824·=·[
2 ····["CPUMTLVertexBuffer",·"a01301.html",·"a01301"]2 ····["CpuD3D11VertexBuffer",·"a01153.html",·"a01153"]
3 ];3 ];
37.5 KB
./usr/share/doc/opensubdiv/doxy_html/a00824_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/mtlVertexBuffer.h·Source·File</title>8 <title>OpenSubdiv:·opensubdiv/osd/cpuD3D11VertexBuffer.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 80, 15 lines modifiedOffset 80, 15 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">mtlVertexBuffer.h</div></div>86 ··<div·class="headertitle"><div·class="title">cpuD3D11VertexBuffer.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <a·href="a00824.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>89 <a·href="a00824.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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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 107, 89 lines modifiedOffset 107, 87 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_MTL_VERTEX_BUFFER_H</span></div>114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_CPU_D3D11_VERTEX_BUFFER_H</span></div>
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_MTL_VERTEX_BUFFER_H</span></div>115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_CPU_D3D11_VERTEX_BUFFER_H</span></div>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;../osd/mtlCommon.h&quot;</span></div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">@protocol·</span>MTLDevice;</div> 
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">@protocol·</span>MTLBuffer;</div>120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">struct·</span>ID3D11Buffer;</div>
 121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">struct·</span>ID3D11Device;</div>
 122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">struct·</span>ID3D11DeviceContext;</div>
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>
123 <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>124 <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>
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Osd·{</div>127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">namespace·</span>Osd·{</div>
127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01301.html">···39</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01301.html">CPUMTLVertexBuffer</a>·{</div>129 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01153.html">···48</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01153.html">CpuD3D11VertexBuffer</a>·{</div>
129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">public</span>:</div>130 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">public</span>:</div>
 131 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01153.html#a00d85863962f5871f802164e2fba7acc">···51</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01153.html">CpuD3D11VertexBuffer</a>·*·<a·class="code·hl_function"·href="a01153.html#a00d85863962f5871f802164e2fba7acc">Create</a>(<span·class="keywordtype">int</span>·numElements,·<span·class="keywordtype">int</span>·numVertices,</div>
 132 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·········································ID3D11DeviceContext·*deviceContext);</div>
130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01301.html#a2d6cb1babaae310f9c4c7fb45e0d33bc">···41</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01301.html">CPUMTLVertexBuffer</a>*·<a·class="code·hl_function"·href="a01301.html#a2d6cb1babaae310f9c4c7fb45e0d33bc">Create</a>(<span·class="keywordtype">int</span>·numElements,·<span·class="keywordtype">int</span>·numVertices,·<a·class="code·hl_class"·href="a01277.html">MTLContext</a>*·context);</div> 
131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> 
132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01301.html#a892b78f6079decdbfa11a14db932c25f">···43</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01301.html#a892b78f6079decdbfa11a14db932c25f">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,·<a·class="code·hl_class"·href="a01277.html">MTLContext</a>*·context);</div> 
133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> 
134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01301.html#a77cee40767fd4936f20a8f9d9d9ea625">···45</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01301.html#a77cee40767fd4936f20a8f9d9d9ea625">GetNumElements</a>()<span·class="keyword">·const</span></div> 
135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">····</span>{</div> 
136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>········<span·class="keywordflow">return</span>·_numElements;</div> 
137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····}</div> 
138 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> 
139 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01301.html#aaf4a32b8a414eff77000c584c2015cb7">···50</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01301.html#aaf4a32b8a414eff77000c584c2015cb7">GetNumVertices</a>()<span·class="keyword">·const</span></div> 
140 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">····</span>{</div> 
141 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>········<span·class="keywordflow">return</span>·_numVertices;</div> 
142 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····}</div>133 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>
 134 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01153.html#ae6f29f48db71c5ed845eb6abe085af91">···55</a></span>····<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a01153.html#ae6f29f48db71c5ed845eb6abe085af91">~CpuD3D11VertexBuffer</a>();</div>
143 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>135 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>
 136 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01153.html#a96601a091f8831823c4dd72b6c962f1b">···59</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01153.html#a96601a091f8831823c4dd72b6c962f1b">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>
 137 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····················<span·class="keywordtype">void</span>·*deviceContext·=·NULL);</div>
144 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01301.html#adf7a9df5d3fc4d803bf5f1f374d90274">···55</a></span>····<span·class="keywordtype">float</span>*·<a·class="code·hl_function"·href="a01301.html#adf7a9df5d3fc4d803bf5f1f374d90274">BindCpuBuffer</a>();</div> 
145 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01301.html#ab72828297150416f7e6293367f5a1ddf">···56</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01301.html#ab72828297150416f7e6293367f5a1ddf">BindMTLBuffer</a>(<a·class="code·hl_class"·href="a01277.html">MTLContext</a>*·context);</div> 
146 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> 
147 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01301.html#a0bdc1fa268a4bd0a0fce92e933532677">···58</a></span>····id&lt;MTLBuffer&gt;·<a·class="code·hl_function"·href="a01301.html#a0bdc1fa268a4bd0a0fce92e933532677">BindVBO</a>(<a·class="code·hl_class"·href="a01277.html">MTLContext</a>*·context)</div> 
148 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····{</div> 
149 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01301.html#ab72828297150416f7e6293367f5a1ddf">BindMTLBuffer</a>(context);</div> 
150 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····}</div>138 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>
 139 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01153.html#a77cee40767fd4936f20a8f9d9d9ea625">···63</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01153.html#a77cee40767fd4936f20a8f9d9d9ea625">GetNumElements</a>()·<span·class="keyword">const</span>;</div>
151 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> 
152 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="keyword">protected</span>:</div> 
153 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>140 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>
154 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01301.html#a1457f342bc3007386104aa3d29277a67">···65</a></span>····<a·class="code·hl_function"·href="a01301.html#a1457f342bc3007386104aa3d29277a67">CPUMTLVertexBuffer</a>(<span·class="keywordt[·...·truncated·by·diffoscope;·len:·78,·SHA:·67719bf8640ca4f40fdc6353a5552b4f6c1fe858761614f014851baf3e6d43ff·...·];</div>141 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01153.html#aaf4a32b8a414eff77000c584c2015cb7">···66</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01153.html#aaf4a32b8a414eff77000c584c2015cb7">GetNumV[·...·truncated·by·diffoscope;·len:·48,·SHA:·6719fdf6e0401047a2bf619d8144be48eac3963ef600a2d3f4cbcf250f3550b3·...·];</div>
155 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>142 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>
 143 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01153.html#adf7a9df5d3fc4d803bf5f1f374d90274">···69</a></span>····<span·class="keywordtype">float</span>·*·<a·class="code·hl_function"·href="a01153.html#adf7a9df5d3fc4d803bf5f1f374d90274">BindCpuBuffer</a>();</div>
156 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01301.html#ae765f2922a2e542bd85c1e0c0ae1d169">···67</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01301.html#ae765f2922a2e542bd85c1e0c0ae1d169">allocate</a>(<a·class="code·hl_class"·href="a01277.html">MTLContext</a>*·context);</div> 
157 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> 
158 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="keyword">private</span>:</div> 
159 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="keywordtype">int</span>·_numElements;</div> 
160 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="keywordtype">int</span>·_numVertices;</div> 
161 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····id&lt;MTLBuffer&gt;·_buffer;</div> 
162 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="keywordtype">bool</span>·_dirty;</div> 
163 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>};</div> 
164 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>144 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>
 145 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01153.html#ac86f03cfaa5678c28ffce2b69e3fb5bc">···72</a></span>····ID3D11Buffer·*<a·class="code·hl_function"·href="a01153.html#ac86f03cfaa5678c28ffce2b69e3fb5bc">BindD3D11Buffer</a>(ID3D11DeviceContext·*deviceContext);</div>
165 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>}·<span·class="comment">//end·namespace·Osd</span></div>146 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>
 147 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01153.html#aedcdb663cc4d3635fb5ba9149fb0d214">···75</a></span>····ID3D11Buffer·*<a·class="code·hl_function"·href="a01153.html#aedcdb663cc4d3635fb5ba9149fb0d214">BindVBO</a>(ID3D11DeviceContext·*deviceContext)·{</div>
 148 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01153.html#ac86f03cfaa5678c28ffce2b69e3fb5bc">BindD3D11Buffer</a>(deviceContext);</div>
166 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div>149 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····}</div>
167 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>}·<span·class="comment">//end·namespace·OPENSUBDIV_VERSION</span></div> 
168 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> 
169 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>150 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
170 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>}·<span·class="comment">//end·namespace·OpenSubdiv</span></div>151 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="keyword">protected</span>:</div>
 152 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01153.html#a632143bc1ec4fbbca2148b0e9e87bc08">···81</a></span>····<a·class="code·hl_function"·href="a01153.html#a632143bc1ec4fbbca2148b0e9e87bc08">CpuD3D11VertexBuffer</a>(<span·class="keywordtype">int</span>·numElements,·<span·class="keywordtype">int</span>·numVertices);</div>
171 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>153 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>
 154 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01153.html#ae61b4ed6cc7cb69826cd0804c2d972b7">···83</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01153.html#ae61b4ed6cc7cb69826cd0804c2d972b7">allocate</a>(ID3D11Device·*device);</div>
 155 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
 156 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span><span·class="keyword">private</span>:</div>
 157 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="keywordtype">int</span>·_numElements;</div>
 158 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<span·class="keywordtype">int</span>·_numVertices;</div>
 159 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····ID3D11Buffer·*_d3d11Buffer;</div>
 160 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····<span·class="keywordtype">float</span>·*_cpuBuffer;</div>
 161 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>};</div>
 162 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>
 163 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>}··<span·class="comment">//·end·namespace·Osd</span></div>
 164 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div>
 165 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>}··<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div>
 166 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div>
 167 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>
 168 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>}··<span·class="comment">//·end·namespace·OpenSubdiv</span></div>
 169 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>
172 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="preprocessor">#endif·</span><span·class="comment">//·OPENSUBDIV3_OSD_MTL_VERTEX_BUFFER_H</span></div>170 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span><span·class="preprocessor">#endif··</span><span·class="comment">//·OPENSUBDIV3_OSD_CPU_D3D11_VERTEX_BUFFER_H</span></div>
Max diff block lines reached; 8664/31478 bytes (27.52%) of diff not shown.
6.7 KB
html2text {}
    
Offset 4, 15 lines modifiedOffset 4, 15 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 mtlVertexBuffer.h5 cpuD3D11VertexBuffer.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2013·Pixar8 ·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·in11 ·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 30, 101 lines modifiedOffset 30, 105 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_OSD_MTL_VERTEX_BUFFER_H37 ·25#ifndef·OPENSUBDIV3_OSD_CPU_D3D11_VERTEX_BUFFER_H
38 ·26#define·OPENSUBDIV3_OSD_MTL_VERTEX_BUFFER_H38 ·26#define·OPENSUBDIV3_OSD_CPU_D3D11_VERTEX_BUFFER_H
39 ·2739 ·27
40 ·28#include·"../version.h"40 ·28#include·"../version.h"
41 ·29#include·"../osd/mtlCommon.h"41 ·29#include·<cstddef>
42 ·3042 ·30
43 ·31@protocol·MTLDevice; 
44 ·32@protocol·MTLBuffer; 
45 ·3343 ·31struct·ID3D11Buffer;
 44 ·32struct·ID3D11Device;
 45 ·33struct·ID3D11DeviceContext;
 46 ·34
46 ·34namespace·OpenSubdiv·{47 ·35namespace·OpenSubdiv·{
47 ·35namespace·OPENSUBDIV_VERSION·{48 ·36namespace·OPENSUBDIV_VERSION·{
48 ·3649 ·37
49 ·37namespace·Osd·{50 ·38namespace·Osd·{
50 ·38 
51 39class·CPUMTLVertexBuffer·{51 ·39
 52 48class·CpuD3D11VertexBuffer·{
52 ·40public:53 ·49public:
53 41·static·CPUMTLVertexBuffer*·Create(int·numElements,·int·numVertices,54 51·static·CpuD3D11VertexBuffer·*·Create(int·numElements,·int·numVertices,
54 MTLContext*·context); 
55 ·4255 ·52·ID3D11DeviceContext·*deviceContext);
 56 ·53
 57 55·virtual·~CpuD3D11VertexBuffer();
 58 ·56
56 43·void·UpdateData(const·float*·src,·int·startVertex,·int·numVertices,59 59·void·UpdateData(const·float·*src,·int·startVertex,·int·numVertices,
57 MTLContext*·context); 
58 ·4460 ·60·void·*deviceContext·=·NULL);
 61 ·61
59 45·int·GetNumElements()·const62 63·int·GetNumElements()·const;
60 ·46·{ 
61 ·47·return·_numElements; 
62 ·48·} 
63 ·49 
64 50·int·GetNumVertices()·const 
65 ·51·{ 
66 ·52·return·_numVertices; 
67 ·53·} 
68 ·54 
69 55·float*·BindCpuBuffer(); 
70 56·id<MTLBuffer>·BindMTLBuffer(MTLContext*·context); 
71 ·57 
72 58·id<MTLBuffer>·BindVBO(MTLContext*·context) 
73 ·59·{ 
74 ·60·return·BindMTLBuffer(context); 
75 ·61·} 
76 ·62 
77 ·63protected: 
78 ·6463 ·64
 64 66·int·GetNumVertices()·const;
 65 ·67
 66 69·float·*·BindCpuBuffer();
 67 ·70
 68 72·ID3D11Buffer·*BindD3D11Buffer(ID3D11DeviceContext·*deviceContext);
 69 ·73
 70 75·ID3D11Buffer·*BindVBO(ID3D11DeviceContext·*deviceContext)·{
 71 ·76·return·BindD3D11Buffer(deviceContext);
 72 ·77·}
 73 ·78
 74 ·79protected:
79 65·CPUMTLVertexBuffer(int·numElements,·int·numVertices);75 81·CpuD3D11VertexBuffer(int·numElements,·int·numVertices);
80 ·66 
81 67·bool·allocate(MTLContext*·context); 
82 ·68 
83 ·69private: 
84 ·70·int·_numElements; 
85 ·71·int·_numVertices; 
86 ·72·id<MTLBuffer>·_buffer; 
87 ·73·bool·_dirty; 
88 ·74}; 
89 ·75 
90 ·76}·//end·namespace·Osd 
91 ·77 
92 ·78}·//end·namespace·OPENSUBDIV_VERSION 
93 ·79·using·namespace·OPENSUBDIV_VERSION; 
94 ·80 
95 ·81}·//end·namespace·OpenSubdiv 
96 ·8276 ·82
 77 83·bool·allocate(ID3D11Device·*device);
 78 ·84
 79 ·85private:
 80 ·86·int·_numElements;
 81 ·87·int·_numVertices;
 82 ·88·ID3D11Buffer·*_d3d11Buffer;
 83 ·89·float·*_cpuBuffer;
 84 ·90};
 85 ·91
 86 ·92}·//·end·namespace·Osd
 87 ·93
 88 ·94}·//·end·namespace·OPENSUBDIV_VERSION
 89 ·95using·namespace·OPENSUBDIV_VERSION;
 90 ·96
 91 ·97}·//·end·namespace·OpenSubdiv
 92 ·98
97 ·83#endif·//·OPENSUBDIV3_OSD_MTL_VERTEX_BUFFER_H93 ·99#endif·//·OPENSUBDIV3_OSD_CPU_D3D11_VERTEX_BUFFER_H
98 OpenSubdiv94 OpenSubdiv
99 Definition:·limits.h:3295 Definition:·limits.h:32
100 OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLContext 
101 Definition:·mtlCommon.h:40 
102 OpenSubdiv::OPENSUBDIV_VERSION::Osd::CPUMTLVertexBuffer96 OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuD3D11VertexBuffer
 97 Concrete·vertex·buffer·class·for·Cpu·subdivision·and·DirectX·drawing.
103 Definition:·mtlVertexBuffer.h:39 
104 OpenSubdiv::OPENSUBDIV_VERSION::Osd::CPUMTLVertexBuffer::BindVBO 
Max diff block lines reached; 1926/6834 bytes (28.18%) of diff not shown.
6.76 KB
./usr/share/doc/opensubdiv/doxy_html/a00827.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/d3d11Mesh.h·File·Reference</title>8 <title>OpenSubdiv:·opensubdiv/osd/d3d11ComputeEvaluator.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 81, 43 lines modifiedOffset 81, 47 lines modified
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
 87 <a·href="#nested-classes">Classes</a>·&#124;
87 <a·href="#namespaces">Namespaces</a>·&#124;88 <a·href="#namespaces">Namespaces</a>··</div>
88 <a·href="#typedef-members">Typedefs</a>··</div> 
89 ··<div·class="headertitle"><div·class="title">d3d11Mesh.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">d3d11ComputeEvaluator.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
93 <code>#include·&quot;<a·class="el"·href="a00887_source.html">../osd/mesh.h</a>&quot;</code><br·/>93 <code>#include·&quot;<a·class="el"·href="a00881_source.html">../osd/bufferDescriptor.h</a>&quot;</code><br·/>
94 <code>#include·&quot;<a·class="el"·href="a00836_source.html">../osd/d3d11PatchTable.h</a>&quot;</code><br·/> 
95 </div>94 </div>
96 <p><a·href="a00827_source.html">Go·to·the·source·code·of·this·file.</a></p>95 <p><a·href="a00827_source.html">Go·to·the·source·code·of·this·file.</a></p>
97 <table·class="memberdecls">96 <table·class="memberdecls">
 97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 98 Classes</h2></td></tr>
 99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01189.html">D3D11StencilTable</a></td></tr>
 100 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">D3D11·stencil·table.··<a·href="a01189.html#details">More...</a><br·/></td></tr>
 101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01193.html">D3D11ComputeEvaluator</a></td></tr>
 103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 104 </table><table·class="memberdecls">
98 <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>
99 Namespaces</h2></td></tr>106 Namespaces</h2></td></tr>
100 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>107 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>109 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 111 <tr·class="memitem:a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr>
 112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>113 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 </table><table·class="memberdecls"> 
107 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> 
108 Typedefs</h2></td></tr> 
109 <tr·class="memitem:ae5c8e80d05d6eaee105d8eecfa9ab609"><td·class="memItemLeft"·align="right"·valign="top">typedef·MeshInterface&lt;·D3D11PatchTable·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#ae5c8e80d05d6eaee105d8eecfa9ab609">D3D11MeshInterface</a></td></tr> 
110 <tr·class="separator:ae5c8e80d05d6eaee105d8eecfa9ab609"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
111 </table>115 </table>
112 </div><!--·contents·-->116 </div><!--·contents·-->
113 </div><!--·doc-content·-->117 </div><!--·doc-content·-->
114 <!--·start·footer·part·-->118 <!--·start·footer·part·-->
115 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->119 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
116 ··<ul>120 ··<ul>
117 ····<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="a00827.html">d3d11Mesh.h</a></li>121 ····<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="a00827.html">d3d11ComputeEvaluator.h</a></li>
118 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>122 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
119 ··</ul>123 ··</ul>
120 </div>124 </div>
121 </body>125 </body>
122 </html>126 </html>
923 B
html2text {}
    
Offset 4, 27 lines modifiedOffset 4, 31 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 Namespaces·|·Typedefs 
6 d3d11Mesh.h·File·Reference5 Classes·|·Namespaces
 6 d3d11ComputeEvaluator.h·File·Reference
7 #include·"../version.h"7 #include·"../version.h"
 8 #include·"../osd/bufferDescriptor.h"
8 #include·"../osd/mesh.h" 
9 #include·"../osd/d3d11PatchTable.h" 
10 Go_to_the_source_code_of_this_file.9 Go_to_the_source_code_of_this_file.
 10 ·Classes
 11 class· D3D11StencilTable
 12  ······D3D11·stencil·table.·More...
 13  
 14 class· D3D11ComputeEvaluator
 15  
11 ·Namespaces16 ·Namespaces
12 namespace· OpenSubdiv17 namespace· OpenSubdiv
13  18  
14 namespace· OpenSubdiv::OPENSUBDIV_VERSION19 namespace· OpenSubdiv::OPENSUBDIV_VERSION
15  20  
16 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd21 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Far
17  22  
 23 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd
18 ·Typedefs 
19 typedef·MeshInterface<·D3D11PatchTable·> D3D11MeshInterface 
20  24  
21 ····*·opensubdiv25 ····*·opensubdiv
22 ····*·osd26 ····*·osd
23 ····*·d3d11Mesh.h27 ····*·d3d11ComputeEvaluator.h
24 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.428 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
348 B
./usr/share/doc/opensubdiv/doxy_html/a00827.js
256 B
js-beautify {}
    
Offset 1, 3 lines modifiedOffset 1, 4 lines modified
1 var·a00827·=·[1 var·a00827·=·[
2 ····["D3D11MeshInterface",·"a00827.html#ae5c8e80d05d6eaee105d8eecfa9ab609",·null]2 ····["D3D11StencilTable",·"a01189.html",·"a01189"],
 3 ····["D3D11ComputeEvaluator",·"a01193.html",·"a01193"]
3 ];4 ];
60.7 KB
./usr/share/doc/opensubdiv/doxy_html/a00827_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/d3d11Mesh.h·Source·File</title>8 <title>OpenSubdiv:·opensubdiv/osd/d3d11ComputeEvaluator.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 80, 19 lines modifiedOffset 80, 19 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">d3d11Mesh.h</div></div>86 ··<div·class="headertitle"><div·class="title">d3d11ComputeEvaluator.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <a·href="a00827.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>89 <a·href="a00827.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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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>
94 <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>94 <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>
95 <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>95 <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>
96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>
97 <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>97 <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 107, 45 lines modifiedOffset 107, 213 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_D3D11MESH_H</span></div>114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_D3D11_COMPUTE_EVALUATOR_H</span></div>
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_D3D11MESH_H</span></div>115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_D3D11_COMPUTE_EVALUATOR_H</span></div>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../osd/mesh.h&quot;</span></div> 
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;../osd/d3d11PatchTable.h&quot;</span></div> 
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> 
122 <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> 
123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">struct·</span>ID3D11DeviceContext;</div>
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> 
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>Osd·{</div>120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">struct·</span>ID3D11Buffer;</div>
 121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">struct·</span>ID3D11ComputeShader;</div>
 122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">struct·</span>ID3D11ClassLinkage;</div>
 123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">struct·</span>ID3D11ClassInstance;</div>
 124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">struct·</span>ID3D11ShaderResourceView;</div>
 125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">struct·</span>ID3D11UnorderedAccessView;</div>
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a00912.html#ae5c8e80d05d6eaee105d8eecfa9ab609">···38</a></span><span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01261.html">MeshInterface&lt;D3D11PatchTable&gt;</a>·<a·class="code·hl_typedef"·href="a00912.html#ae5c[·...·truncated·by·diffoscope;·len:·54,·SHA:·41a777a36e5091306fb53a2113e9572d933f81952297df10f9b8f00aeeb02e17·...·]</div>127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">#include·&quot;../osd/bufferDescriptor.h&quot;</span></div>
128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>129 <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>
130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>}·<span·class="comment">//·end·namespace·Osd</span></div>130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>}·<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> 
133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div>132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">namespace·</span>Far·{</div>
 133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">class·</span>StencilTable;</div>
134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>}</div>
135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>}··<span·class="comment">//·end·namespace·OpenSubdiv</span></div> 
136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
 136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="keyword">namespace·</span>Osd·{</div>
 137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
 138 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01189.html">···56</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01189.html">D3D11StencilTable</a>·{</div>
 139 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">public</span>:</div>
 140 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·DEVICE_CONTEXT&gt;</div>
 141 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01189.html#a2ec7ad097a488f2b17603173d6362b61">···59</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01189.html">D3D11StencilTable</a>·*<a·class="code·hl_function"·href="a01189.html#a2ec7ad097a488f2b17603173d6362b61">Create</a>(<a·class="code·hl_class"·href="a01057.html">Far::StencilTable</a>·<span·class="keyword">const</span>·*stencilTable,</div>
 142 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······································DEVICE_CONTEXT·context)·{</div>
 143 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>········<span·class="keywordflow">return</span>·<span·class="keyword">new</span>·<a·class="code·hl_function"·href="a01189.html#a7e3a2f5c281c55308400138222797dbc">D3D11StencilTable</a>(stencilTable,·context-&gt;GetDeviceContext());</div>
 144 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····}</div>
 145 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
 146 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01189.html#a8981041688d408d08dce9c8890504650">···64</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01189.html">D3D11StencilTable</a>·*<a·class="code·hl_function"·href="a01189.html#a8981041688d408d08dce9c8890504650">Create</a>(<a·class="code·hl_class"·href="a01057.html">Far::StencilTable</a>·<span·class="keyword">const</span>·*stencilTable,</div>
 147 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>······································ID3D11DeviceContext·*deviceContext)·{</div>
 148 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>········<span·class="keywordflow">return</span>·<span·class="keyword">new</span>·<a·class="code·hl_function"·href="a01189.html#a7e3a2f5c281c55308400138222797dbc">D3D11StencilTable</a>(stencilTable,·deviceContext);</div>
 149 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····}</div>
 150 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
 151 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01189.html#a7e3a2f5c281c55308400138222797dbc">···69</a></span>····<a·class="code·hl_function"·href="a01189.html#a7e3a2f5c281c55308400138222797dbc">D3D11StencilTable</a>(<a·class="code·hl_class"·href="a01057.html">Far::StencilTable</a>·<span·class="keyword">const</span>·*stencilTable,</div>
 152 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·······················ID3D11DeviceContext·*deviceContext);</div>
 153 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>
 154 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01189.html#a729ea8793ae67b1767d670a4541006e2">···72</a></span>····<a·class="code·hl_function"·href="a01189.html#a729ea8793ae67b1767d670a4541006e2">~D3D11StencilTable</a>();</div>
 155 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>
 156 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<span·class="comment">//·interfaces·needed·for·D3D11ComputeEvaluator</span></div>
 157 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01189.html#aa6b4c8f4cd5a1e0111e77d7365018c74">···75</a></span>····ID3D11ShaderResourceView·*<a·class="code·hl_function"·href="a01189.html#aa6b4c8f4cd5a1e0111e77d7365018c74">GetSizesSRV</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_sizes;·}</div>
 158 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01189.html#a4e486bdd9cf98a5582781a905d154e67">···76</a></span>····ID3D11ShaderResourceView·*<a·class="code·hl_function"·href="a01189.html#a4e486bdd9cf98a5582781a905d154e67">GetOffsetsSRV</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_offsets;·}</div>
 159 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01189.html#a6aa76c564ae400e727b2377ce785cd90">···77</a></span>····ID3D11ShaderResourceView·*<a·class="code·hl_function"·href="a01189.html#a6aa76c564ae400e727b2377ce785cd90">GetIndicesSRV</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_indices;·}</div>
 160 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01189.html#ac3de1233503ee41bac41618702b4302c">···78</a></span>····ID3D11ShaderResourceView·*<a·class="code·hl_function"·href="a01189.html#ac3de1233503ee41bac41618702b4302c">GetWeightsSRV</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_weights;·}</div>
 161 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01189.html#a65836d2070b943c8fecbad926d074de2">···79</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01189.html#a65836d2070b943c8fecbad926d074de2">GetNumStencils</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_numStencils;·}</div>
 162 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>
 163 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">private</span>:</div>
 164 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····ID3D11ShaderResourceView·*_sizes;</div>
 165 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····ID3D11ShaderResourceView·*_offsets;</div>
 166 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····ID3D11ShaderResourceView·*_indices;</div>
 167 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····ID3D11ShaderResourceView·*_weights;</div>
 168 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····ID3D11Buffer·*_sizesBuffer;</div>
 169 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····ID3D11Buffer·*_offsetsBuffer;</div>
 170 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····ID3D11Buffer·*_indicesBuffer;</div>
 171 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····ID3D11Buffer·*_weightsBuffer;</div>
 172 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
 173 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="keywordtype">int</span>·_numStencils;</div>
 174 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>};</div>
 175 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div>
 176 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="comment">//·---------------------------------------------------------------------------</span></div>
 177 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div>
 178 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno"><a·class="line"·href="a01193.html">···96</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01193.html">D3D11ComputeEvaluator</a>·{</div>
 179 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span><span·class="keyword">public</span>:</div>
 180 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a01193.html#a2c24b70c9312d8dff3fecb9ddea52c44">···98</a></span>····<span·class="keyword">typedef</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_typedef"·href="a01193.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a>;</div>
 181 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno"><a·class="line"·href="a01193.html#a078445a784ae15bbe1d26b1038cd6457">···99</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01193.html">D3D11ComputeEvaluator</a>·*·<a·class="code·hl_function"·href="a01193.html#a078445a784ae15bbe1d26b1038cd6457">Create</a>(<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;srcDesc,</div>
 182 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··········································<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDesc,</div>
 183 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··········································<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;duDesc,</div>
 184 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··········································<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dvDesc,</div>
 185 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··········································ID3D11DeviceContext·*deviceContext);</div>
 186 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>
 187 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno"><a·class="line"·href="a01193.html#a1ec4a917b165527dea62146542f533ff">··105</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01193.html">D3D11ComputeEvaluator</a>·*·<a·class="code·hl_function"·href="a01193.html#a1ec4a917b165527dea62146542f533ff">Create</a>(<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;srcDesc,</div>
 188 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>··········································<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDesc,</div>
 189 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··········································<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;duDesc,</div>
 190 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>··········································<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dvDesc,</div>
Max diff block lines reached; 11473/49730 bytes (23.07%) of diff not shown.
12.0 KB
html2text {}
    
Offset 4, 18 lines modifiedOffset 4, 18 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 d3d11Mesh.h5 d3d11ComputeEvaluator.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2013·Pixar8 ·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·in11 ·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·trade15 ·9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade
Offset 30, 42 lines modifiedOffset 30, 274 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_OSD_D3D11MESH_H37 ·25#ifndef·OPENSUBDIV3_OSD_D3D11_COMPUTE_EVALUATOR_H
38 ·26#define·OPENSUBDIV3_OSD_D3D11MESH_H38 ·26#define·OPENSUBDIV3_OSD_D3D11_COMPUTE_EVALUATOR_H
39 ·2739 ·27
40 ·28#include·"../version.h"40 ·28#include·"../version.h"
41 ·2941 ·29
42 ·30#include·"../osd/mesh.h" 
43 ·31#include·"../osd/d3d11PatchTable.h" 
44 ·32 
45 ·33namespace·OpenSubdiv·{ 
46 ·34namespace·OPENSUBDIV_VERSION·{ 
47 ·35 
48 ·36namespace·Osd·{42 ·30struct·ID3D11DeviceContext;
 43 ·31struct·ID3D11Buffer;
 44 ·32struct·ID3D11ComputeShader;
 45 ·33struct·ID3D11ClassLinkage;
 46 ·34struct·ID3D11ClassInstance;
 47 ·35struct·ID3D11ShaderResourceView;
 48 ·36struct·ID3D11UnorderedAccessView;
49 ·3749 ·37
50 38typedef·MeshInterface<D3D11PatchTable>·D3D11MeshInterface;50 ·38#include·"../osd/bufferDescriptor.h"
51 ·3951 ·39
52 ·40 
53 ·41}·//·end·namespace·Osd52 ·40namespace·OpenSubdiv·{
 53 ·41namespace·OPENSUBDIV_VERSION·{
54 ·4254 ·42
 55 ·43namespace·Far·{
 56 ·44·class·StencilTable;
 57 ·45}
 58 ·46
 59 ·47namespace·Osd·{
 60 ·48
 61 56class·D3D11StencilTable·{
 62 ·57public:
 63 ·58·template·<typename·DEVICE_CONTEXT>
 64 59·static·D3D11StencilTable·*Create(Far::StencilTable·const·*stencilTable,
 65 ·60·DEVICE_CONTEXT·context)·{
 66 ·61·return·new·D3D11StencilTable(stencilTable,·context->GetDeviceContext());
 67 ·62·}
 68 ·63
 69 64·static·D3D11StencilTable·*Create(Far::StencilTable·const·*stencilTable,
 70 ·65·ID3D11DeviceContext·*deviceContext)·{
 71 ·66·return·new·D3D11StencilTable(stencilTable,·deviceContext);
 72 ·67·}
 73 ·68
 74 69·D3D11StencilTable(Far::StencilTable·const·*stencilTable,
 75 ·70·ID3D11DeviceContext·*deviceContext);
 76 ·71
 77 72·~D3D11StencilTable();
 78 ·73
 79 ·74·//·interfaces·needed·for·D3D11ComputeEvaluator
 80 75·ID3D11ShaderResourceView·*GetSizesSRV()·const·{·return·_sizes;·}
 81 76·ID3D11ShaderResourceView·*GetOffsetsSRV()·const·{·return·_offsets;·}
 82 77·ID3D11ShaderResourceView·*GetIndicesSRV()·const·{·return·_indices;·}
 83 78·ID3D11ShaderResourceView·*GetWeightsSRV()·const·{·return·_weights;·}
 84 79·int·GetNumStencils()·const·{·return·_numStencils;·}
 85 ·80
 86 ·81private:
 87 ·82·ID3D11ShaderResourceView·*_sizes;
 88 ·83·ID3D11ShaderResourceView·*_offsets;
 89 ·84·ID3D11ShaderResourceView·*_indices;
 90 ·85·ID3D11ShaderResourceView·*_weights;
 91 ·86·ID3D11Buffer·*_sizesBuffer;
 92 ·87·ID3D11Buffer·*_offsetsBuffer;
 93 ·88·ID3D11Buffer·*_indicesBuffer;
 94 ·89·ID3D11Buffer·*_weightsBuffer;
 95 ·90
 96 ·91·int·_numStencils;
 97 ·92};
 98 ·93
 99 ·94//·-------------------------------------------------------------------------
 100 --
 101 ·95
 102 96class·D3D11ComputeEvaluator·{
 103 ·97public:
 104 98·typedef·bool·Instantiatable;
 105 99·static·D3D11ComputeEvaluator·*·Create(BufferDescriptor·const·&srcDesc,
 106 ·100·BufferDescriptor·const·&dstDesc,
 107 ·101·BufferDescriptor·const·&duDesc,
 108 ·102·BufferDescriptor·const·&dvDesc,
 109 ·103·ID3D11DeviceContext·*deviceContext);
 110 ·104
 111 105·static·D3D11ComputeEvaluator·*·Create(BufferDescriptor·const·&srcDesc,
 112 ·106·BufferDescriptor·const·&dstDesc,
 113 ·107·BufferDescriptor·const·&duDesc,
 114 ·108·BufferDescriptor·const·&dvDesc,
 115 ·109·BufferDescriptor·const·&duuDesc,
 116 ·110·BufferDescriptor·const·&duvDesc,
 117 ·111·BufferDescriptor·const·&dvvDesc,
 118 ·112·ID3D11DeviceContext·*deviceContext);
 119 ·113
 120 115·D3D11ComputeEvaluator();
 121 ·116
 122 118·~D3D11ComputeEvaluator();
 123 ·119
 124 ·147·template·<typename·SRC_BUFFER,·typename·DST_BUFFER,·typename
 125 STENCIL_TABLE>
 126 148·static·bool·EvalStencils(
 127 ·149·SRC_BUFFER·*srcBuffer,·BufferDescriptor·const·&srcDesc,
 128 ·150·DST_BUFFER·*dstBuffer,·BufferDescriptor·const·&dstDesc,
 129 ·151·STENCIL_TABLE·const·*stencilTable,
 130 ·152·D3D11ComputeEvaluator·const·*instance,
Max diff block lines reached; 5119/12260 bytes (41.75%) of diff not shown.
6.3 KB
./usr/share/doc/opensubdiv/doxy_html/a00830.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/hlslPatchShaderSource.h·File·Reference</title>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 83, 41 lines modifiedOffset 83, 47 lines modified
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124;87 <a·href="#nested-classes">Classes</a>·&#124;
88 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">hlslPatchShaderSource.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">glXFBEvaluator.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
93 <code>#include·&lt;string&gt;</code><br·/>93 <code>#include·&quot;<a·class="el"·href="a00866_source.html">../osd/opengl.h</a>&quot;</code><br·/>
 94 <code>#include·&quot;<a·class="el"·href="a01481_source.html">../osd/types.h</a>&quot;</code><br·/>
94 <code>#include·&quot;<a·class="el"·href="a00740_source.html">../far/patchDescriptor.h</a>&quot;</code><br·/>95 <code>#include·&quot;<a·class="el"·href="a00881_source.html">../osd/bufferDescriptor.h</a>&quot;</code><br·/>
95 </div>96 </div>
96 <p><a·href="a00830_source.html">Go·to·the·source·code·of·this·file.</a></p>97 <p><a·href="a00830_source.html">Go·to·the·source·code·of·this·file.</a></p>
97 <table·class="memberdecls">98 <table·class="memberdecls">
98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
99 Classes</h2></td></tr>100 Classes</h2></td></tr>
 101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01241.html">GLStencilTableTBO</a></td></tr>
 102 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">GL·TextureBuffer·stencil·table.··<a·href="a01241.html#details">More...</a><br·/></td></tr>
 103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01257.html">HLSLPatchShaderSource</a></td></tr>104 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01245.html">GLXFBEvaluator</a></td></tr>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 </table><table·class="memberdecls">106 </table><table·class="memberdecls">
103 <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>
104 Namespaces</h2></td></tr>108 Namespaces</h2></td></tr>
105 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>109 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
107 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>111 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 113 <tr·class="memitem:a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr>
 114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
109 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>115 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>116 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
111 </table>117 </table>
112 </div><!--·contents·-->118 </div><!--·contents·-->
113 </div><!--·doc-content·-->119 </div><!--·doc-content·-->
114 <!--·start·footer·part·-->120 <!--·start·footer·part·-->
115 <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!·-->
116 ··<ul>122 ··<ul>
117 ····<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="a00830.html">hlslPatchShaderSource.h</a></li>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="a00830.html">glXFBEvaluator.h</a></li>
118 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>124 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
119 ··</ul>125 ··</ul>
120 </div>126 </div>
121 </body>127 </body>
122 </html>128 </html>
870 B
html2text {}
    
Offset 5, 26 lines modifiedOffset 5, 32 lines modified
  
  
  
5 [Logo]·OpenSubdiv5 [Logo]·OpenSubdiv
  
  
6 Classes·|·Namespaces6 Classes·|·Namespaces
7 hlslPatchShaderSource.h·File·Reference7 glXFBEvaluator.h·File·Reference
8 #include·"../version.h"8 #include·"../version.h"
9 #include·<string>9 #include·"../osd/opengl.h"
 10 #include·"../osd/types.h"
10 #include·"../far/patchDescriptor.h"11 #include·"../osd/bufferDescriptor.h"
11 Go_to_the_source_code_of_this_file.12 Go_to_the_source_code_of_this_file.
12 ·Classes13 ·Classes
13 class· HLSLPatchShaderSource14 class· GLStencilTableTBO
 15  ······GL·TextureBuffer·stencil·table.·More...
 16  
 17 class· GLXFBEvaluator
14  18  
15 ·Namespaces19 ·Namespaces
16 namespace· OpenSubdiv20 namespace· OpenSubdiv
17  21  
18 namespace· OpenSubdiv::OPENSUBDIV_VERSION22 namespace· OpenSubdiv::OPENSUBDIV_VERSION
19  23  
 24 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Far
 25  
20 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd26 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd
21  27  
22 ····*·opensubdiv28 ····*·opensubdiv
23 ····*·osd29 ····*·osd
24 ····*·hlslPatchShaderSource.h30 ····*·glXFBEvaluator.h
25 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.431 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
310 B
./usr/share/doc/opensubdiv/doxy_html/a00830.js
218 B
js-beautify {}
    
Offset 1, 3 lines modifiedOffset 1, 4 lines modified
1 var·a00830·=·[1 var·a00830·=·[
2 ····["HLSLPatchShaderSource",·"a01257.html",·null]2 ····["GLStencilTableTBO",·"a01241.html",·"a01241"],
 3 ····["GLXFBEvaluator",·"a01245.html",·"a01245"]
3 ];4 ];
297 KB
./usr/share/doc/opensubdiv/doxy_html/a00830_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/hlslPatchShaderSource.h·Source·File</title>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 80, 15 lines modifiedOffset 80, 15 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">hlslPatchShaderSource.h</div></div>86 ··<div·class="headertitle"><div·class="title">glXFBEvaluator.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <a·href="a00830.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>89 <a·href="a00830.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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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 107, 59 lines modifiedOffset 107, 1137 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_HLSL_PATCH_SHADER_SOURCE_H</span></div>114 <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>
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_HLSL_PATCH_SHADER_SOURCE_H</span></div>115 <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>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
 118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../osd/opengl.h&quot;</span></div>
 120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;../osd/types.h&quot;</span></div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../far/patchDescriptor.h&quot;</span></div>121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&quot;../osd/bufferDescriptor.h&quot;</span></div>
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
121 <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>123 <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>
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> 
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>Osd·{</div> 
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01257.html">···37</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01257.html">HLSLPatchShaderSource</a>·{</div> 
127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">public</span>:</div>126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Far·{</div>
128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01257.html#ad5f427d2655d384980715874209345e7">···39</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01257.html#ad5f427d2655d384980715874209345[·...·truncated·by·diffoscope;·len:·31,·SHA:·bbd2429a20acc0ccaa0302cb5f5e13a6e082ae7d2c6c7b5d9152badcd9228dfd·...·];</div>127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">class·</span>PatchTable;</div>
 128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keyword">class·</span>StencilTable;</div>
 129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">class·</span>LimitStencilTable;</div>
129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>}</div>
130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01257.html#ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d">···41</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01257.html#ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d">GetPatchBasisShaderSource</a>();</div> 
131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01257.html#a20cb122b561de15ed3b90d7e4f5176d2">···43</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01257.html#a20cb122b561de15ed3b90d7e4f5176d2">GetVertexShaderSource</a>(<a·class="co[·...·truncated·by·diffoscope;·len:·109,·SHA:·48ce2be47d870ac663136cf3f6545f0fc0ea6f9d28900252486d3094a6c2757a·...·]</div>132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">namespace·</span>Osd·{</div>
Diff chunk too large, falling back to line-by-line diff (1038 lines added, 13 lines removed)
133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01257.html#a97a09fe0a378798cafdff72e115e373f">···45</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01257.html#a97a09fe0a378798cafdff72e115e3[·...·truncated·by·diffoscope;·len:·150,·SHA:·a14974f4315a92c7eb58cbc25e02d74a2b1c47b5b5f3ab69a33aff40a53f09fa·...·]</div>134 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01241.html">···52</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01241.html">GLStencilTableTBO</a>·{</div>
135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>135 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">public</span>:</div>
136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01257.html#a733309309efe67ba5d1acd7d0a9ff6ca">···47</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01257.html#a733309309efe67ba5d1acd7d0a9ff[·...·truncated·by·diffoscope;·len:·152,·SHA:·b5db76060d4a6cf5e7970b13cee7ba4278e159a65fd4c82c30d8507114280aaa·...·]</div>136 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01241.html#a24a8210b637a5b0fca2b258de3b8b8a6">···54</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01241.html">GLStencilTableTBO</a>·*<a·class="code·hl_fun[·...·truncated·by·diffoscope;·len:·71,·SHA:·d982d29412861cc13d353e7141922101b78849ab38f3976119eaeb3c34857617·...·]</div>
137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>};</div>137 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>········<a·class="code·hl_class"·href="a01057.html">Far::StencilTable</a>·<span·class="keyword">const</span>·*stencilTable,·<span·class="keywordtype">void</span>·*deviceContext·=·NULL)·{</div>
138 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>138 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>········(void)deviceContext;··<span·class="comment">//·unused</span></div>
139 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>}··<span·class="comment">//·end·namespace·Osd</span></div>139 <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_function"·href="a01241.html#abbba46ba67be00a0eac751e3e731db6e">GLStencilTableTBO</a>(stencilTable);</div>
140 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>140 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····}</div>
141 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>}··<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div>141 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>
142 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div>142 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01241.html#ae38a4728f9debae7733ab48cfadd8312">···60</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01241.html">GLStencilTableTBO</a>·*<a·class="code·hl_fun[·...·truncated·by·diffoscope;·len:·71,·SHA:·f5568f8d76a20e87b0975bdbc47ba49a8374551608cfb2b7a565c37581d1e78e·...·]</div>
143 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>143 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>········<a·class="code·hl_class"·href="a01073.html">Far::LimitStencilTable</a>·<span·class="keyword">const</span>·*limitStencilTable,</div>
144 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>}·<span·class="comment">//·end·namespace·OpenSubdiv</span></div>144 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>········<span·class="keywordtype">void</span>·*deviceContext·=·NULL)·{</div>
145 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>145 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········(void)deviceContext;··<span·class="comment">//·unused</span></div>
146 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="preprocessor">#endif··</span><span·class="comment">//·OPENSUBDIV3_OSD_HLSL_PATCH_SHADER_SOURCE_H</span></div>146 <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_function"·href="a01241.html#abbba46ba67be00a0eac751e3e731db6e">GLStencilTableTBO</a>(limitStencilTable[·...·truncated·by·diffoscope;·len:·2,·SHA:·9d8b2b5670d18da8a99f6152f7ee75558019cd106d8032bf7c1117bd37273e37·...·]</div>
 147 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····}</div>
 148 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
 149 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01241.html#abbba46ba67be00a0eac751e3e731db6e">···67</a></span>····<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01241.html#abbba46ba67be00a0eac751e3e731db6e">GLStencilTableTBO</a>(<a·class="code·hl_class"·href="a01057.html">Far::StencilTable</a>·<span·class="keyword">const</span>·*stencilTable);</div>
 150 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01241.html#ac74a769daf1fe45575a16b738bb761cd">···68</a></span>····<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01241.html#ac74a769daf1fe45575a16b738bb761cd">GLStencilTableTBO</a>(<a·class="code·hl_class"·href="a01073.html">Far::LimitStencilTable</a>·<span·class="keyword">const</span>·*limitStencilTable);</div>
 151 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01241.html#a80dc5a5837edb75950ad0306595cbdcc">···69</a></span>····<a·class="code·hl_function"·href="a01241.html#a80dc5a5837edb75950ad0306595cbdcc">~GLStencilTableTBO</a>();</div>
 152 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>
 153 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="comment">//·interfaces·needed·for·GLSLTransformFeedbackKernel</span></div>
 154 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01241.html#a233d7a80471d1d90eb2caf732e25115b">···72</a></span>····GLuint·<a·class="code·hl_function"·href="a01241.html#a233d7a80471d1d90eb2caf732e25115b">GetSizesTexture</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_sizes;·}</div>
 155 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01241.html#afef26723ecaa12060e3e4744c0e206a9">···73</a></span>····GLuint·<a·class="code·hl_function"·href="a01241.html#afef26723ecaa12060e3e4744c0e206a9">GetOffsetsTexture</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_offsets;·}</div>
 156 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01241.html#a809a960b308df1bca3d8f406dbf9f422">···74</a></span>····GLuint·<a·class="code·hl_function"·href="a01241.html#a809a960b308df1bca3d8f406dbf9f422">GetIndicesTexture</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_indices;·}</div>
 157 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01241.html#ad5f4a852f17762c50c5d3011b11155cb">···75</a></span>····GLuint·<a·class="code·hl_function"·href="a01241.html#ad5f4a852f17762c50c5d3011b11155cb">GetWeightsTexture</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_weights;·}</div>
 158 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01241.html#afd4ff3060d31d9650d6c2820d870fda8">···76</a></span>····GLuint·<a·class="code·hl_function"·href="a01241.html#afd4ff3060d31d9650d6c2820d870fda8">GetDuWeightsTexture</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_duWeights;·}</div>
 159 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01241.html#afb1cd9d41b168ceeadd4892bfb3d3f77">···77</a></span>····GLuint·<a·class="code·hl_function"·href="a01241.html#afb1cd9d41b168ceeadd4892bfb3d3f77">GetDvWeightsTexture</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_dvWeights;·}</div>
 160 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01241.html#a70fdd6f46c3a89dd4627b67c9a37d02e">···78</a></span>····GLuint·<a·class="code·hl_function"·href="a01241.html#a70fdd6f46c3a89dd4627b67c9a37d02e">GetDuuWeightsTexture</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_duuWeights;·}</div>
 161 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01241.html#a6987f68e0e090437e6a28dadce50f566">···79</a></span>····GLuint·<a·class="code·hl_function"·href="a01241.html#a6987f68e0e090437e6a28dadce50f566">GetDuvWeightsTexture</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_duvWeights;·}</div>
 162 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01241.html#a5d98fa1e61dcd32b8deb16bc9cf04d52">···80</a></span>····GLuint·<a·class="code·hl_function"·href="a01241.html#a5d98fa1e61dcd32b8deb16bc9cf04d52">GetDvvWeightsTexture</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_dvvWeights;·}</div>
 163 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01241.html#a65836d2070b943c8fecbad926d074de2">···81</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01241.html#a65836d2070b943c8fecbad926d074de2">GetNumStencils</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_numStencils;·}</div>
 164 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>
 165 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="keyword">private</span>:</div>
 166 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····GLuint·_sizes;</div>
 167 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····GLuint·_offsets;</div>
 168 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····GLuint·_indices;</div>
 169 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····GLuint·_weights;</div>
 170 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····GLuint·_duWeights;</div>
 171 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····GLuint·_dvWeights;</div>
 172 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····GLuint·_duuWeights;</div>
 173 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····GLuint·_duvWeights;</div>
 174 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····GLuint·_dvvWeights;</div>
 175 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····<span·class="keywordtype">int</span>·_numStencils;</div>
 176 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>};</div>
 177 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div>
 178 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span><span·class="comment">//·---------------------------------------------------------------------------</span></div>
 179 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>
 180 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a01245.html">···98</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01245.html">GLXFBEvaluator</a>·{</div>
 181 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span><span·class="keyword">public</span>:</div>
 182 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a01245.html#a2c24b70c9312d8dff3fecb9ddea52c44">··100</a></span>····<span·class="keyword">typedef</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_typedef"·href="a01245.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a>;</div>
 183 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div>
 184 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·DEVICE_CONTEXT&gt;</div>
 185 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a01245.html#a5be617906ad76ddcc4795dd6557a79f7">··104</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01245.html">GLXFBEvaluator</a>·*<a·class="code·hl_function"·href="a01245.html#a5be617906ad76ddcc4795dd6557a79f7">Create</a>(<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;srcDesc,</div>
 186 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··································<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDesc,</div>
 187 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>··································<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;duDesc,</div>
 188 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··································<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dvDesc,</div>
 189 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>··································DEVICE_CONTEXT·deviceContext)·{</div>
 190 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>········<span·class="keywordtype">bool</span>·interleavedDerivativeBuffers·=·deviceContext</div>
 191 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>············?·deviceContext-&gt;AreInterleavedDerivativeBuffers()</div>
 192 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>············:·<span·class="keyword">false</span>;</div>
 193 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01245.html#a5be617906ad76ddcc4795dd6557a79f7">Create</a>(srcDesc,·dstDesc,·duDesc,·dvDesc,</div>
 194 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>······················interleavedDerivativeBuffers);</div>
 195 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>····}</div>
 196 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>·</div>
Max diff block lines reached; 41102/241330 bytes (17.03%) of diff not shown.
61.1 KB
html2text {}
    
Offset 4, 15 lines modifiedOffset 4, 15 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 hlslPatchShaderSource.h5 glXFBEvaluator.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2015·Pixar8 ·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·in11 ·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 30, 65 lines modifiedOffset 30, 1454 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_OSD_HLSL_PATCH_SHADER_SOURCE_H 
38 ·26#define·OPENSUBDIV3_OSD_HLSL_PATCH_SHADER_SOURCE_H37 ·25#ifndef·OPENSUBDIV3_OSD_GL_XFB_EVALUATOR_H
 38 ·26#define·OPENSUBDIV3_OSD_GL_XFB_EVALUATOR_H
39 ·2739 ·27
40 ·28#include·"../version.h"40 ·28#include·"../version.h"
41 ·29#include·<string>41 ·29
 42 ·30#include·"../osd/opengl.h"
 43 ·31#include·"../osd/types.h"
42 ·30#include·"../far/patchDescriptor.h"44 ·32#include·"../osd/bufferDescriptor.h"
43 ·3145 ·33
44 ·32namespace·OpenSubdiv·{46 ·34namespace·OpenSubdiv·{
45 ·33namespace·OPENSUBDIV_VERSION·{47 ·35namespace·OPENSUBDIV_VERSION·{
46 ·34 
47 ·35namespace·Osd·{ 
48 ·3648 ·36
49 37class·HLSLPatchShaderSource·{ 
50 ·38public: 
51 39·static·std::string·GetCommonShaderSource(); 
52 ·40 
53 41·static·std::string·GetPatchBasisShaderSource();49 ·37namespace·Far·{
 50 ·38·class·PatchTable;
 51 ·39·class·StencilTable;
 52 ·40·class·LimitStencilTable;
 53 ·41}
54 ·4254 ·42
55 43·static·std::string·GetVertexShaderSource(Far::PatchDescriptor::Type·type);55 ·43namespace·Osd·{
Diff chunk too large, falling back to line-by-line diff (1047 lines added, 13 lines removed)
56 ·4456 ·44
57 45·static·std::string·GetHullShaderSource(Far::PatchDescriptor::Type·type);57 52class·GLStencilTableTBO·{
58 ·4658 ·53public:
59 47·static·std::string·GetDomainShaderSource(Far::PatchDescriptor::Type·type);59 54·static·GLStencilTableTBO·*Create(
60 ·48};60 ·55·Far::StencilTable·const·*stencilTable,·void·*deviceContext·=·NULL)·{
61 ·4961 ·56·(void)deviceContext;·//·unused
62 ·50}·//·end·namespace·Osd62 ·57·return·new·GLStencilTableTBO(stencilTable);
63 ·5163 ·58·}
64 ·52}·//·end·namespace·OPENSUBDIV_VERSION64 ·59
65 ·53using·namespace·OPENSUBDIV_VERSION;65 60·static·GLStencilTableTBO·*Create(
66 ·5466 ·61·Far::LimitStencilTable·const·*limitStencilTable,
67 ·55}·//·end·namespace·OpenSubdiv67 ·62·void·*deviceContext·=·NULL)·{
68 ·5668 ·63·(void)deviceContext;·//·unused
69 ·57#endif·//·OPENSUBDIV3_OSD_HLSL_PATCH_SHADER_SOURCE_H69 ·64·return·new·GLStencilTableTBO(limitStencilTable);
 70 ·65·}
 71 ·66
 72 67·explicit·GLStencilTableTBO(Far::StencilTable·const·*stencilTable);
 73 68·explicit·GLStencilTableTBO(Far::LimitStencilTable·const·*limitStencilTable);
 74 69·~GLStencilTableTBO();
 75 ·70
 76 ·71·//·interfaces·needed·for·GLSLTransformFeedbackKernel
 77 72·GLuint·GetSizesTexture()·const·{·return·_sizes;·}
 78 73·GLuint·GetOffsetsTexture()·const·{·return·_offsets;·}
 79 74·GLuint·GetIndicesTexture()·const·{·return·_indices;·}
 80 75·GLuint·GetWeightsTexture()·const·{·return·_weights;·}
 81 76·GLuint·GetDuWeightsTexture()·const·{·return·_duWeights;·}
 82 77·GLuint·GetDvWeightsTexture()·const·{·return·_dvWeights;·}
 83 78·GLuint·GetDuuWeightsTexture()·const·{·return·_duuWeights;·}
 84 79·GLuint·GetDuvWeightsTexture()·const·{·return·_duvWeights;·}
 85 80·GLuint·GetDvvWeightsTexture()·const·{·return·_dvvWeights;·}
 86 81·int·GetNumStencils()·const·{·return·_numStencils;·}
 87 ·82
 88 ·83private:
 89 ·84·GLuint·_sizes;
 90 ·85·GLuint·_offsets;
 91 ·86·GLuint·_indices;
 92 ·87·GLuint·_weights;
 93 ·88·GLuint·_duWeights;
 94 ·89·GLuint·_dvWeights;
 95 ·90·GLuint·_duuWeights;
 96 ·91·GLuint·_duvWeights;
 97 ·92·GLuint·_dvvWeights;
 98 ·93·int·_numStencils;
 99 ·94};
 100 ·95
 101 ·96//·-------------------------------------------------------------------------
 102 --
 103 ·97
 104 98class·GLXFBEvaluator·{
 105 ·99public:
 106 100·typedef·bool·Instantiatable;
 107 ·101
 108 ·103·template·<typename·DEVICE_CONTEXT>
 109 104·static·GLXFBEvaluator·*Create(BufferDescriptor·const·&srcDesc,
 110 ·105·BufferDescriptor·const·&dstDesc,
 111 ·106·BufferDescriptor·const·&duDesc,
 112 ·107·BufferDescriptor·const·&dvDesc,
 113 ·108·DEVICE_CONTEXT·deviceContext)·{
 114 ·109·bool·interleavedDerivativeBuffers·=·deviceContext
 115 ·110·?·deviceContext->AreInterleavedDerivativeBuffers()
 116 ·111·:·false;
 117 ·112·return·Create(srcDesc,·dstDesc,·duDesc,·dvDesc,
 118 ·113·interleavedDerivativeBuffers);
 119 ·114·}
 120 ·115
 121 117·static·GLXFBEvaluator·*Create(BufferDescriptor·const·&srcDesc,
 122 ·118·BufferDescriptor·const·&dstDesc,
 123 ·119·BufferDescriptor·const·&duDesc,
 124 ·120·BufferDescriptor·const·&dvDesc,
 125 ·121·void·*·deviceContext)·{
 126 ·122·(void)deviceContext;·//·not·used
 127 ·123·return·Create(srcDesc,·dstDesc,·duDesc,·dvDesc);
 128 ·124·}
 129 ·125
 130 126·static·GLXFBEvaluator·*·Create(BufferDescriptor·const·&srcDesc,
 131 ·127·BufferDescriptor·const·&dstDesc,
 132 ·128·BufferDescriptor·const·&duDesc,
Max diff block lines reached; 23513/62563 bytes (37.58%) of diff not shown.
6.42 KB
./usr/share/doc/opensubdiv/doxy_html/a00833.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/d3d11VertexBuffer.h·File·Reference</title>8 <title>OpenSubdiv:·opensubdiv/osd/glComputeEvaluator.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 83, 40 lines modifiedOffset 83, 47 lines modified
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124;87 <a·href="#nested-classes">Classes</a>·&#124;
88 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">d3d11VertexBuffer.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">glComputeEvaluator.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
 93 <code>#include·&quot;<a·class="el"·href="a00866_source.html">../osd/opengl.h</a>&quot;</code><br·/>
 94 <code>#include·&quot;<a·class="el"·href="a01481_source.html">../osd/types.h</a>&quot;</code><br·/>
 95 <code>#include·&quot;<a·class="el"·href="a00881_source.html">../osd/bufferDescriptor.h</a>&quot;</code><br·/>
93 </div>96 </div>
94 <p><a·href="a00833_source.html">Go·to·the·source·code·of·this·file.</a></p>97 <p><a·href="a00833_source.html">Go·to·the·source·code·of·this·file.</a></p>
95 <table·class="memberdecls">98 <table·class="memberdecls">
96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
97 Classes</h2></td></tr>100 Classes</h2></td></tr>
98 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01205.html">D3D11VertexBuffer</a></td></tr>101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01209.html">GLStencilTableSSBO</a></td></tr>
99 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Concrete·vertex·buffer·class·for·DirectX·subdivision·and·DirectX·drawing.··<a·href="a01205.html#details">More...</a><br·/></td></tr>102 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">GL·stencil·table·(Shader·Storage·buffer)··<a·href="a01209.html#details">More...</a><br·/></td></tr>
 103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 104 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01213.html">GLComputeEvaluator</a></td></tr>
100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 </table><table·class="memberdecls">106 </table><table·class="memberdecls">
102 <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>
103 Namespaces</h2></td></tr>108 Namespaces</h2></td></tr>
104 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>109 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>111 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>
107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 113 <tr·class="memitem:a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr>
 114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
108 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>115 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>
109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>116 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
110 </table>117 </table>
111 </div><!--·contents·-->118 </div><!--·contents·-->
112 </div><!--·doc-content·-->119 </div><!--·doc-content·-->
113 <!--·start·footer·part·-->120 <!--·start·footer·part·-->
114 <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!·-->
115 ··<ul>122 ··<ul>
116 ····<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>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">glComputeEvaluator.h</a></li>
117 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>124 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
118 ··</ul>125 ··</ul>
119 </div>126 </div>
120 </body>127 </body>
121 </html>128 </html>
923 B
html2text {}
    
Offset 5, 26 lines modifiedOffset 5, 32 lines modified
  
  
  
5 [Logo]·OpenSubdiv5 [Logo]·OpenSubdiv
  
  
6 Classes·|·Namespaces6 Classes·|·Namespaces
7 d3d11VertexBuffer.h·File·Reference7 glComputeEvaluator.h·File·Reference
8 #include·"../version.h"8 #include·"../version.h"
 9 #include·"../osd/opengl.h"
 10 #include·"../osd/types.h"
 11 #include·"../osd/bufferDescriptor.h"
9 Go_to_the_source_code_of_this_file.12 Go_to_the_source_code_of_this_file.
10 ·Classes13 ·Classes
11 class· D3D11VertexBuffer 
12  ······Concrete·vertex·buffer·class·for·DirectX·subdivision·and·DirectX 
13 ········drawing.·More...14 class· GLStencilTableSSBO
 15  ······GL·stencil·table·(Shader·Storage·buffer)·More...
 16  
 17 class· GLComputeEvaluator
14  18  
15 ·Namespaces19 ·Namespaces
16 namespace· OpenSubdiv20 namespace· OpenSubdiv
17  21  
18 namespace· OpenSubdiv::OPENSUBDIV_VERSION22 namespace· OpenSubdiv::OPENSUBDIV_VERSION
19  23  
 24 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Far
 25  
20 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd26 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd
21  27  
22 ····*·opensubdiv28 ····*·opensubdiv
23 ····*·osd29 ····*·osd
24 ····*·d3d11VertexBuffer.h30 ····*·glComputeEvaluator.h
25 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.431 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
315 B
./usr/share/doc/opensubdiv/doxy_html/a00833.js
223 B
js-beautify {}
    
Offset 1, 3 lines modifiedOffset 1, 4 lines modified
1 var·a00833·=·[1 var·a00833·=·[
2 ····["D3D11VertexBuffer",·"a01205.html",·"a01205"]2 ····["GLStencilTableSSBO",·"a01209.html",·"a01209"],
 3 ····["GLComputeEvaluator",·"a01213.html",·"a01213"]
3 ];4 ];
287 KB
./usr/share/doc/opensubdiv/doxy_html/a00833_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/d3d11VertexBuffer.h·Source·File</title>8 <title>OpenSubdiv:·opensubdiv/osd/glComputeEvaluator.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 80, 19 lines modifiedOffset 80, 19 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">d3d11VertexBuffer.h</div></div>86 ··<div·class="headertitle"><div·class="title">glComputeEvaluator.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <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>89 <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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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>
94 <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>94 <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>
95 <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>95 <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>
96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>
97 <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>97 <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 107, 89 lines modifiedOffset 107, 1072 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <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>114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_GL_COMPUTE_EVALUATOR_H</span></div>
115 <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>115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_GL_COMPUTE_EVALUATOR_H</span></div>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">struct·</span>ID3D11Buffer;</div>119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../osd/opengl.h&quot;</span></div>
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">struct·</span>ID3D11Device;</div>120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;../osd/types.h&quot;</span></div>
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">struct·</span>ID3D11DeviceContext;</div>121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&quot;../osd/bufferDescriptor.h&quot;</span></div>
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">struct·</span>ID3D11UnorderedAccessView;</div> 
123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
124 <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>123 <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>
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
 126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Far·{</div>
 127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">class·</span>PatchTable;</div>
 128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keyword">class·</span>StencilTable;</div>
 129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">class·</span>LimitStencilTable;</div>
 130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>}</div>
 131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">namespace·</span>Osd·{</div>132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">namespace·</span>Osd·{</div>
128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> 
129 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01205.html">···46</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01205.html">D3D11VertexBuffer</a>·{</div> 
130 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="keyword">public</span>:</div> 
131 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01205.html#a915a9d78d36f58b1750237ae40555029">···49</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01205.html">D3D11VertexBuffer</a>·*·<a·class="code·hl_function"·href="a01205.html#a915a9d78d36f58b1750237ae40555029">Create</a>(<span·class="keywordtype">int</span>·numElements,·<span·class="keywordtype">int</span>·numVertices,</div> 
132 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······································ID3D11DeviceContext·*deviceContext);</div> 
133 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> 
134 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01205.html#ad9941ba7019b0fd8aad6e9321d91c26a">···53</a></span>····<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a01205.html#ad9941ba7019b0fd8aad6e9321d91c26a">~D3D11VertexBuffer</a>();</div> 
135 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
136 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01205.html#a8f44858290b870c214ee24afead3e9c3">···57</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01205.html#a8f44858290b870c214ee24afead3e9c3">Update[·...·truncated·by·diffoscope;·len:·188,·SHA:·9f50b439806c27f8f6428b06dcd211af43e51104f6ed0cb57b548339696003c6·...·]</div>134 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01209.html">···51</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01209.html">GLStencilTableSSBO</a>·{</div>
 135 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">public</span>:</div>
 136 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01209.html#af687fa998cd70f0e79b87d59c96c6a72">···53</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01209.html">GLStencilTableSSBO</a>·*<a·class="code·hl_function"·href="a01209.html#af687fa998cd70f0e79b87d59c96c6a72">Create</a>(<a·class="code·hl_class"·href="a01057.html">Far::StencilTable</a>·<span·class="keyword">const</span>·*stencilTable,</div>
137 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····················ID3D11DeviceContext·*deviceContext);</div>137 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·······································<span·class="keywordtype">void</span>·*deviceContext·=·NULL)·{</div>
 138 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>········(void)deviceContext;··<span·class="comment">//·unused</span></div>
 139 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>········<span·class="keywordflow">return</span>·<span·class="keyword">new</span>·<a·class="code·hl_function"·href="a01209.html#aaacee6173a99bb3d7bbfb0a352ef9828">GLStencilTableSSBO</a>(stencilTable);</div>
138 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>140 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····}</div>
139 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01205.html#a77cee40767fd4936f20a8f9d9d9ea625">···61</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01205.html#a77cee40767fd4936f20a8f9d9d9ea625">GetNum[·...·truncated·by·diffoscope;·len:·50,·SHA:·9cd436d4e8039c2ae5d3b2ca84dff2adc1fb36c9e94ffa2e43b0e20ea2d3212b·...·]</div>141 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01209.html#ab739faa3277bb2ea54b5198b3b664f37">···58</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01209.html">GLStencilTableSSBO</a>·*<a·class="code·hl_fu[·...·truncated·by·diffoscope;·len:·72,·SHA:·b79e4a48d791b702270a6e227cf29303bb75c50507027aeb2a8e78859549afe8·...·]</div>
 142 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>········<a·class="code·hl_class"·href="a01073.html">Far::LimitStencilTable</a>·<span·class="keyword">const</span>·*limitStencilTable,</div>
 143 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········<span·class="keywordtype">void</span>·*deviceContext·=·NULL)·{</div>
 144 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>········(void)deviceContext;··<span·class="comment">//·unused</span></div>
 145 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>········<span·class="keywordflow">return</span>·<span·class="keyword">new</span>·<a·class="code·hl_function"·href="a01209.html#aaacee6173a99bb3d7bbfb0a352ef9828">GLStencilTableSSBO</a>(limitStencilTable);</div>
 146 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····}</div>
140 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>147 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>
141 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01205.html#aaf4a32b8a414eff77000c584c2015cb7">···64</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01205.html#aaf4a32b8a414eff77000c584c2015cb7">GetNumVertices</a>()·<span·class="keyword">const</span>;</div> 
142 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> 
143 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01205.html#ac86f03cfaa5678c28ffce2b69e3fb5bc">···67</a></span>····ID3D11Buffer·*<a·class="code·hl_function"·href="a01205.html#ac86f03cfaa5678c28ffce2b69e3fb5bc">BindD3D11Buffer</a>(ID3D11Devi[·...·truncated·by·diffoscope;·len:·24,·SHA:·974c2709914cb16c8b231f3ee6a55cc77c1f4d6ac48f7152e31121ae720e7016·...·]);</div>148 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01209.html#aaacee6173a99bb3d7bbfb0a352ef9828">···65</a></span>····<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01209.html#aaacee6173a99bb3d7bbfb0a352ef9828">GLSten[·...·truncated·by·diffoscope;·len:·131,·SHA:·6c64181c7347f7a703ed75b8f6a9219e25a93a3b222f55cf03e59c8224b3593f·...·]);</div>
 149 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01209.html#a27a911fea9736fbe935c0edc4de9b998">···66</a></span>····<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01209.html#a27a911fea9736fbe935c0edc4de9b998">GLStencilTableSSBO</a>(<a·class="code·hl_class"·href="a01073.html">Far::LimitStencilTable</a>·<span·class="keyword">const</span>·*limitStencilTable);</div>
 150 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01209.html#a4bef0031fb9295436a4049ef5801fec5">···67</a></span>····<a·class="code·hl_function"·href="a01209.html#a4bef0031fb9295436a4049ef5801fec5">~GLStencilTableSSBO</a>();</div>
144 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>151 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
145 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01205.html#aedcdb663cc4d3635fb5ba9149fb0d214">···70</a></span>····ID3D11Buffer·*<a·class="code·hl_function"·href="a01205.html#aedcdb663cc4d3635fb5ba9149fb0d214">BindVBO</a>(ID3D11DeviceContext·*deviceContext)·{</div> 
146 <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="a01205.html#ac86f03cfaa5678c28ffce2b69e3fb5bc">BindD3D11Buffer</a>(deviceContext);</div> 
147 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····}</div> 
148 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> 
149 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01205.html#adc0a258da9e9ac3bc19ff36418c54510">···75</a></span>····ID3D11UnorderedAccessView·*<a·class="code·hl_function"·href="a01205.html#adc0a258da9e9ac3bc19ff36418c54510">BindD3D11UAV</a>(ID3D11DeviceContext·*deviceContext);</div> 
150 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> 
151 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="keyword">protected</span>:</div>152 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="comment">//·interfaces·needed·for·GLSLComputeKernel</span></div>
152 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01205.html#aacfe93ef7f7ede21dcf7088b62467742">···79</a></span>····<a·class="code·hl_function"·href="a01205.html#aacfe93ef7f7ede21dcf7088b62467742">D3D11VertexBuffer</a>(<span·class="keywordty[·...·truncated·by·diffoscope;·len:·78,·SHA:·145888714566914936d2ec5c533b7d94ee91827df3754ea3db463af850a006a3·...·]</div>153 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01209.html#ab44562bc3f0ba09049f60ed0553e158a">···70</a></span>····GLuint·<a·class="code·hl_function"·href="a01209.html#ab44562bc3f0ba09049f60ed0553e158a">GetSizesBuffer</a>()<span·class="keyw[·...·truncated·by·diffoscope;·len:·70,·SHA:·eee492b70b379e8cb0494ee47f17bd586ce22b69369bae5902aadcfb770aba8a·...·]</div>
 154 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01209.html#a8ccadebd4c9c36a15a5cbec461bd07e7">···71</a></span>····GLuint·<a·class="code·hl_function"·href="a01209.html#a8ccadebd4c9c36a15a5cbec461bd07e7">GetOffsetsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_offsets;·}</div>
 155 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01209.html#a6bacf93d27488cfcbf2e66d23b4073a1">···72</a></span>····GLuint·<a·class="code·hl_function"·href="a01209.html#a6bacf93d27488cfcbf2e66d23b4073a1">GetIndicesBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_indices;·}</div>
 156 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01209.html#a18892fc15bb6ed7166dc6bfd5aaf0065">···73</a></span>····GLuint·<a·class="code·hl_function"·href="a01209.html#a18892fc15bb6ed7166dc6bfd5aaf0065">GetWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_weights;·}</div>
 157 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01209.html#a2e90e1efa299fe2698ce2d1aa87ade49">···74</a></span>····GLuint·<a·class="code·hl_function"·href="a01209.html#a2e90e1efa299fe2698ce2d1aa87ade49">GetDuWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_duWeights;·}</div>
 158 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01209.html#ae418f2ccdfaec79f90a3ccb92cd511a2">···75</a></span>····GLuint·<a·class="code·hl_function"·href="a01209.html#ae418f2ccdfaec79f90a3ccb92cd511a2">GetDvWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_dvWeights;·}</div>
 159 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01209.html#abe929adc8bb596b84057169f5ade4663">···76</a></span>····GLuint·<a·class="code·hl_function"·href="a01209.html#abe929adc8bb596b84057169f5ade4663">GetDuuWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_duuWeights;·}</div>
 160 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01209.html#a0684aca639f38b5f1b0c8efffe5f8bd8">···77</a></span>····GLuint·<a·class="code·hl_function"·href="a01209.html#a0684aca639f38b5f1b0c8efffe5f8bd8">GetDuvWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_duvWeights;·}</div>
 161 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01209.html#aadc7c7c9d50c030f7aee9e486b3b1d55">···78</a></span>····GLuint·<a·class="code·hl_function"·href="a01209.html#aadc7c7c9d50c030f7aee9e486b3b1d55">GetDvvWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_dvvWeights;·}</div>
 162 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01209.html#a65836d2070b943c8fecbad926d074de2">···79</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01209.html#a65836d2070b943c8fecbad926d074de2">GetNumStencils</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_numStencils;·}</div>
153 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>163 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>
154 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<span·class="comment">//·Allocates·D3D11·buffer</span></div> 
155 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01205.html#ae61b4ed6cc7cb69826cd0804c2d972b7">···82</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01205.html#ae61b4ed6cc7cb69826cd0804c2d972b7">allocate</a>(ID3D11Device·*device);</div> 
156 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> 
157 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="keyword">private</span>:</div>164 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">private</span>:</div>
 165 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····GLuint·_sizes;</div>
 166 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····GLuint·_offsets;</div>
 167 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····GLuint·_indices;</div>
 168 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····GLuint·_weights;</div>
 169 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····GLuint·_duWeights;</div>
 170 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····GLuint·_dvWeights;</div>
 171 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····GLuint·_duuWeights;</div>
 172 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····GLuint·_duvWeights;</div>
 173 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····GLuint·_dvvWeights;</div>
158 <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="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="keywordtype">int</span>·_numStencils;</div>
159 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="keywordtype">int</span>·_numVertices;</div> 
160 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····ID3D11Buffer·*_buffer;</div> 
161 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····ID3D11Buffer·*_uploadBuffer;</div> 
162 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····ID3D11UnorderedAccessView·*_uav;</div> 
Max diff block lines reached; 208119/233335 bytes (89.19%) of diff not shown.
59.1 KB
html2text {}
    
Offset 4, 18 lines modifiedOffset 4, 18 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 d3d11VertexBuffer.h5 glComputeEvaluator.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2013·Pixar8 ·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·in11 ·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·trade15 ·9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade
Offset 30, 106 lines modifiedOffset 30, 1365 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_OSD_D3D11_VERTEX_BUFFER_H 
38 ·26#define·OPENSUBDIV3_OSD_D3D11_VERTEX_BUFFER_H37 ·25#ifndef·OPENSUBDIV3_OSD_GL_COMPUTE_EVALUATOR_H
 38 ·26#define·OPENSUBDIV3_OSD_GL_COMPUTE_EVALUATOR_H
39 ·2739 ·27
40 ·28#include·"../version.h"40 ·28#include·"../version.h"
41 ·2941 ·29
 42 ·30#include·"../osd/opengl.h"
 43 ·31#include·"../osd/types.h"
 44 ·32#include·"../osd/bufferDescriptor.h"
 45 ·33
42 ·30struct·ID3D11Buffer; 
43 ·31struct·ID3D11Device; 
44 ·32struct·ID3D11DeviceContext; 
45 ·33struct·ID3D11UnorderedAccessView; 
46 ·34 
47 ·35namespace·OpenSubdiv·{46 ·34namespace·OpenSubdiv·{
48 ·36namespace·OPENSUBDIV_VERSION·{47 ·35namespace·OPENSUBDIV_VERSION·{
49 ·3748 ·36
 49 ·37namespace·Far·{
 50 ·38·class·PatchTable;
 51 ·39·class·StencilTable;
 52 ·40·class·LimitStencilTable;
 53 ·41}
 54 ·42
50 ·38namespace·Osd·{55 ·43namespace·Osd·{
51 ·39 
52 46class·D3D11VertexBuffer·{56 ·44
 57 51class·GLStencilTableSSBO·{
53 ·47public:58 ·52public:
54 49·static·D3D11VertexBuffer·*·Create(int·numElements,·int·numVertices, 
55 ·50·ID3D11DeviceContext·*deviceContext); 
56 ·51 
57 53·virtual·~D3D11VertexBuffer(); 
58 ·54 
59 57·void·UpdateData(const·float·*src,·int·startVertex,·int·numVertices, 
60 ·58·ID3D11DeviceContext·*deviceContext); 
61 ·59 
62 61·int·GetNumElements()·const; 
63 ·62 
64 64·int·GetNumVertices()·const; 
65 ·65 
66 67·ID3D11Buffer·*BindD3D11Buffer(ID3D11DeviceContext·*deviceContext);59 53·static·GLStencilTableSSBO·*Create(Far::StencilTable·const·*stencilTable,
 60 ·54·void·*deviceContext·=·NULL)·{
 61 ·55·(void)deviceContext;·//·unused
 62 ·56·return·new·GLStencilTableSSBO(stencilTable);
 63 ·57·}
 64 58·static·GLStencilTableSSBO·*Create(
 65 ·59·Far::LimitStencilTable·const·*limitStencilTable,
 66 ·60·void·*deviceContext·=·NULL)·{
 67 ·61·(void)deviceContext;·//·unused
 68 ·62·return·new·GLStencilTableSSBO(limitStencilTable);
 69 ·63·}
 70 ·64
 71 65·explicit·GLStencilTableSSBO(Far::StencilTable·const·*stencilTable);
 72 66·explicit·GLStencilTableSSBO(Far::LimitStencilTable·const
 73 *limitStencilTable);
 74 67·~GLStencilTableSSBO();
67 ·6875 ·68
68 70·ID3D11Buffer·*BindVBO(ID3D11DeviceContext·*deviceContext)·{ 
69 ·71·return·BindD3D11Buffer(deviceContext); 
70 ·72·} 
71 ·73 
72 75·ID3D11UnorderedAccessView·*BindD3D11UAV(ID3D11DeviceContext·*deviceContext); 
73 ·76 
74 ·77protected: 
75 79·D3D11VertexBuffer(int·numElements,·int·numVertices);76 ·69·//·interfaces·needed·for·GLSLComputeKernel
 77 70·GLuint·GetSizesBuffer()·const·{·return·_sizes;·}
 78 71·GLuint·GetOffsetsBuffer()·const·{·return·_offsets;·}
 79 72·GLuint·GetIndicesBuffer()·const·{·return·_indices;·}
 80 73·GLuint·GetWeightsBuffer()·const·{·return·_weights;·}
 81 74·GLuint·GetDuWeightsBuffer()·const·{·return·_duWeights;·}
 82 75·GLuint·GetDvWeightsBuffer()·const·{·return·_dvWeights;·}
 83 76·GLuint·GetDuuWeightsBuffer()·const·{·return·_duuWeights;·}
 84 77·GLuint·GetDuvWeightsBuffer()·const·{·return·_duvWeights;·}
 85 78·GLuint·GetDvvWeightsBuffer()·const·{·return·_dvvWeights;·}
 86 79·int·GetNumStencils()·const·{·return·_numStencils;·}
76 ·8087 ·80
77 ·81·//·Allocates·D3D11·buffer 
78 82·bool·allocate(ID3D11Device·*device); 
79 ·83 
80 ·84private:88 ·81private:
81 ·85·int·_numElements; 
82 ·86·int·_numVertices; 
83 ·87·ID3D11Buffer·*_buffer; 
84 ·88·ID3D11Buffer·*_uploadBuffer; 
85 ·89·ID3D11UnorderedAccessView·*_uav;89 ·82·GLuint·_sizes;
 90 ·83·GLuint·_offsets;
 91 ·84·GLuint·_indices;
 92 ·85·GLuint·_weights;
 93 ·86·GLuint·_duWeights;
 94 ·87·GLuint·_dvWeights;
 95 ·88·GLuint·_duuWeights;
 96 ·89·GLuint·_duvWeights;
 97 ·90·GLuint·_dvvWeights;
 98 ·91·int·_numStencils;
86 ·90};99 ·92};
87 ·91 
88 ·92}·//·end·namespace·Osd 
Diff chunk too large, falling back to line-by-line diff (941 lines added, 6 lines removed)
89 ·93100 ·93
90 ·94}·//·end·namespace·OPENSUBDIV_VERSION101 ·94//·-------------------------------------------------------------------------
Max diff block lines reached; 23168/60535 bytes (38.27%) of diff not shown.
5.68 KB
./usr/share/doc/opensubdiv/doxy_html/a00836.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/d3d11PatchTable.h·File·Reference</title>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 83, 45 lines modifiedOffset 83, 41 lines modified
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124;87 <a·href="#nested-classes">Classes</a>·&#124;
88 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">d3d11PatchTable.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">glslPatchShaderSource.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
93 <code>#include·&lt;vector&gt;</code><br·/>93 <code>#include·&lt;string&gt;</code><br·/>
94 <code>#include·&quot;<a·class="el"·href="a00740_source.html">../far/patchDescriptor.h</a>&quot;</code><br·/>94 <code>#include·&quot;<a·class="el"·href="a00740_source.html">../far/patchDescriptor.h</a>&quot;</code><br·/>
95 <code>#include·&quot;../osd/nonCopyable.h&quot;</code><br·/> 
96 <code>#include·&quot;<a·class="el"·href="a01481_source.html">../osd/types.h</a>&quot;</code><br·/> 
97 </div>95 </div>
98 <p><a·href="a00836_source.html">Go·to·the·source·code·of·this·file.</a></p>96 <p><a·href="a00836_source.html">Go·to·the·source·code·of·this·file.</a></p>
99 <table·class="memberdecls">97 <table·class="memberdecls">
100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
101 Classes</h2></td></tr>99 Classes</h2></td></tr>
102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01201.html">D3D11PatchTable</a></td></tr>100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01233.html">GLSLPatchShaderSource</a></td></tr>
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 </table><table·class="memberdecls">102 </table><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"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>105 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
109 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>107 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
111 <tr·class="memitem:a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr> 
112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
113 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>109 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>
114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
115 </table>111 </table>
116 </div><!--·contents·-->112 </div><!--·contents·-->
117 </div><!--·doc-content·-->113 </div><!--·doc-content·-->
118 <!--·start·footer·part·-->114 <!--·start·footer·part·-->
119 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->115 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
120 ··<ul>116 ··<ul>
121 ····<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>117 ····<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">glslPatchShaderSource.h</a></li>
122 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>118 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
123 ··</ul>119 ··</ul>
124 </div>120 </div>
125 </body>121 </body>
126 </html>122 </html>
782 B
html2text {}
    
Offset 5, 30 lines modifiedOffset 5, 26 lines modified
  
  
  
5 [Logo]·OpenSubdiv5 [Logo]·OpenSubdiv
  
  
6 Classes·|·Namespaces6 Classes·|·Namespaces
7 d3d11PatchTable.h·File·Reference7 glslPatchShaderSource.h·File·Reference
8 #include·"../version.h"8 #include·"../version.h"
9 #include·<vector>9 #include·<string>
10 #include·"../far/patchDescriptor.h"10 #include·"../far/patchDescriptor.h"
11 #include·"../osd/nonCopyable.h" 
12 #include·"../osd/types.h" 
13 Go_to_the_source_code_of_this_file.11 Go_to_the_source_code_of_this_file.
14 ·Classes12 ·Classes
15 class· D3D11PatchTable13 class· GLSLPatchShaderSource
16  14  
17 ·Namespaces15 ·Namespaces
18 namespace· OpenSubdiv16 namespace· OpenSubdiv
19  17  
20 namespace· OpenSubdiv::OPENSUBDIV_VERSION18 namespace· OpenSubdiv::OPENSUBDIV_VERSION
21  19  
22 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Far 
23   
24 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd20 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd
25  21  
26 ····*·opensubdiv22 ····*·opensubdiv
27 ····*·osd23 ····*·osd
28 ····*·d3d11PatchTable.h24 ····*·glslPatchShaderSource.h
29 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.425 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
258 B
./usr/share/doc/opensubdiv/doxy_html/a00836.js
166 B
js-beautify {}
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 var·a00836·=·[1 var·a00836·=·[
2 ····["D3D11PatchTable",·"a01201.html",·"a01201"]2 ····["GLSLPatchShaderSource",·"a01233.html",·null]
3 ];3 ];
37.5 KB
./usr/share/doc/opensubdiv/doxy_html/a00836_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/d3d11PatchTable.h·Source·File</title>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 80, 15 lines modifiedOffset 80, 15 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">d3d11PatchTable.h</div></div>86 ··<div·class="headertitle"><div·class="title">glslPatchShaderSource.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <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>89 <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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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 107, 108 lines modifiedOffset 107, 62 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <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>114 <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>
115 <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>115 <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>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> 
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;../far/patchDescriptor.h&quot;</span></div>119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../far/patchDescriptor.h&quot;</span></div>
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&quot;../osd/nonCopyable.h&quot;</span></div> 
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·&quot;../osd/types.h&quot;</span></div>120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
 121 <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>
 122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">struct·</span>ID3D11Buffer;</div>124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>Osd·{</div>
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">struct·</span>ID3D11ShaderResourceView;</div> 
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">struct·</span>ID3D11Device;</div> 
127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">struct·</span>ID3D11DeviceContext;</div> 
128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
129 <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>126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01233.html">···37</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01233.html">GLSLPatchShaderSource</a>·{</div>
130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">public</span>:</div>
 128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01233.html#ad5f427d2655d384980715874209345e7">···39</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01233.html#ad5f427d2655d384980715874209345e7">GetCommonShaderSource</a>();</div>
 129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>
 130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01233.html#ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d">···41</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01233.html#ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d">GetPatchBasisShaderSource</a>();</div>
131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">namespace·</span>Far{</div> 
133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">class·</span>PatchTable;</div>132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01233.html#a20cb122b561de15ed3b90d7e4f5176d2">···43</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01233.html#a20cb122b561de15ed3b90d7e4f5176[·...·truncated·by·diffoscope;·len:·30,·SHA:·6dd4a83f30012898e634d98541924832d23d74eeddc0e908e298be7365bcb47e·...·]</div>
 133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>········<a·class="code·hl_enumeration"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type);</div>
134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>};</div>134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> 
136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="keyword">namespace·</span>Osd·{</div>135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01233.html#afc38178f7de93f60d4f6c1072c33cc7e">···46</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01233.html#afc38178f7de93f60d4f6c1072c33cc[·...·truncated·by·diffoscope;·len:·35,·SHA:·caa02b6b8656bca9648f66a9ec6030394297960a0d2e56a75cb7839797f65272·...·]</div>
 136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>········<a·class="code·hl_enumeration"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type);</div>
137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
138 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01201.html">···49</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01201.html">D3D11PatchTable</a>·:·<span·class="keyword">private</span>·NonCopyable&lt;D3D11PatchTable&gt;·{</div>138 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01233.html#a57a46d6848317cc76a02bc166ee05c24">···49</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01233.html#a57a46d6848317cc76a02bc166ee05c24">GetTessEvalShaderSource</a>(</div>
 139 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>········<a·class="code·hl_enumeration"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type);</div>
139 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">public</span>:</div>140 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>};</div>
140 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01201.html#a2d85a5ed6ddcef5023c9ef2e6fdd38a5">···51</a></span>····<span·class="keyword">typedef</span>·ID3D11Buffer·*·<a·class="code·hl_typedef"·href="a01201.html#a2d85a5ed6ddcef5023c9ef2e6fdd38a5">VertexBufferBinding</a>;</div> 
141 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>141 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
 142 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>}··<span·class="comment">//·end·namespace·Osd</span></div>
142 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01201.html#ac81ed5f09e3d3a2aae5a01802b343a6d">···53</a></span>····<a·class="code·hl_function"·href="a01201.html#ac81ed5f09e3d3a2aae5a01802b343a6d">D3D11PatchTable</a>();</div> 
143 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01201.html#a39d5e5c13d54a0f5774047ffa2bb17e4">···54</a></span>····<a·class="code·hl_function"·href="a01201.html#a39d5e5c13d54a0f5774047ffa2bb17e4">~D3D11PatchTable</a>();</div> 
144 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>143 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
145 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·DEVICE_CONTEXT&gt;</div> 
146 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01201.html#a0d96d4b3eaf2b3e453cbcb031340ebca">···57</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01201.html">D3D11PatchTable</a>·*<a·class="code·hl_function"·href="a01201.html#a0d96d4b3eaf2b3e453cbcb031340ebca">Create</a>(<a·class="code·hl_class"·href="a00993.html">Far::PatchTable</a>·<span·class="keyword">const</span>·*farPatchTable,</div> 
147 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>···································DEVICE_CONTEXT·context)·{</div> 
148 <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="a01201.html#a0d96d4b3eaf2b3e453cbcb031340ebca">Create</a>(farPatchTable,·context-&gt;GetDeviceContext());</div> 
149 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····}</div> 
150 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> 
151 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01201.html#a8d071db2033c568b98a8aed737e563e9">···62</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01201.html">D3D11PatchTable</a>·*<a·class="code·hl_function"·href="a01201.html#a8d071db2033c568b98a8aed737e563e9">Create</a>(<a·class="code·hl_class"·href="a00993.html">Far::PatchTable</a>·<span·class="keyword">const</span>·*farPatchTable,</div> 
152 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>···································ID3D11DeviceContext·*deviceContext);</div> 
153 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> 
154 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01201.html#a18e3d09b0c7b7552f8e419e36788166a">···65</a></span>····<a·class="code·hl_typedef"·href="a00912.html#a98098cd229f60d2397d84a76fe654a31">PatchArrayVector</a>·<span·class="keyword">const</span>·&amp;<a·class="code·hl_function"·href="a01201.html#a18e3d09b0c7b7552f8e419e36788166a">GetPatchArrays</a>()<span·class="keyword">·const·</span>{</div> 
155 <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="a01201.html#a5dfb6b58580f2dec58e9b5bfdb4ed9f1">_patchArrays</a>;</div> 
156 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····}</div> 
157 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> 
158 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01201.html#a45505c8c99abe0baf8b56981fa0a31e1">···70</a></span>····ID3D11Buffer*·<a·class="code·hl_function"·href="a01201.html#a45505c8c99abe0baf8b56981fa0a31e1">GetPatchIndexBuffer</a>()<span·class="keyword">·const·</span>{</div> 
159 <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="a01201.html#a70f9e642d07efb73b8e7dc7a418d6311">_indexBuffer</a>;</div> 
160 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····}</div> 
161 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> 
162 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01201.html#ab57fd008d10c0c2c6ed4182bb3f187ee">···75</a></span>····ID3D11ShaderResourceView*·<a·class="code·hl_function"·href="a01201.html#ab57fd008d10c0c2c6ed4182bb3f187ee">GetPatchParamSRV</a>()<span·class="keyword">·const·</span>{</div> 
163 <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="a01201.html#a906a11e9011b14e667c4e46e0cb0089c">_patchParamBufferSRV</a>;</div> 
164 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····}</div> 
165 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> 
166 <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="l00080"·name="l00080"></a><span·class="lineno">···80</span>····<span·class="comment">//·allocate·buffers·from·patchTable</span></div> 
168 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01201.html#a281807810d02943d0819c40e111b9144">···81</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01201.html#a281807810d02943d0819c40e111b9144">allocate</a>(<a·class="code·hl_class"·href="a00993.html">Far::PatchTable</a>·<span·class="keyword">const</span>·*farPatchTable,</div> 
169 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··················ID3D11DeviceContext·*deviceContext);</div> 
170 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> 
171 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01201.html#a5dfb6b58580f2dec58e9b5bfdb4ed9f1">···84</a></span>····<a·class="code·hl_typedef"·href="a00912.html#a98098cd229f60d2397d84a76fe654a31">PatchArrayVector</a>·<a·class="code·hl_variable"·href="a01201.html#a5dfb6b58580f2dec58e9b5bfdb4ed9f1">_patchArrays</a>;</div> 
172 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> 
173 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01201.html#a70f9e642d07efb73b8e7dc7a418d6311">···86</a></span>····ID3D11Buffer·············*<a·class="code·hl_variable"·href="a01201.html#a70f9e642d07efb73b8e7dc7a418d6311">_indexBuffer</a>;</div> 
174 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01201.html#a922297765b71fb93103914cb95b76e68">···87</a></span>····ID3D11Buffer·············*<a·class="code·hl_variable"·href="a01201.html#a922297765b71fb93103914cb95b76e68">_patchParamBuffer</a>;</div> 
175 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a01201.html#a906a11e9011b14e667c4e46e0cb0089c">···88</a></span>····ID3D11ShaderResourceView·*<a·class="code·hl_variable"·href="a01201.html#a906a11e9011b14e667c4e46e0cb0089c">_patchParamBufferSRV</a>;</div> 
176 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>};</div> 
177 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> 
178 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> 
179 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>}··<span·class="comment">//·end·namespace·Osd</span></div> 
180 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> 
181 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>}··<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div>144 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>}··<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div>
182 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div>145 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div>
 146 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
 147 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>}·<span·class="comment">//·end·namespace·OpenSubdiv</span></div>
183 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>148 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>
184 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>}··<span·class="comment">//·end·namespace·OpenSubdiv</span></div> 
185 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> 
186 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span><span·class="preprocessor">#endif··</span><span·class="comment">//·OPENSUBDIV3_OSD_GL_PATCH_TABLE_H</span></div>149 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="preprocessor">#endif··</span><span·class="comment">//·OPENSUBDIV3_OSD_GLSL_PATCH_SHADER_SOURCE</span></div>
187 <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="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="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>
188 <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&lt;·PatchArray·&gt;·PatchArrayVector</div><div·class="ttdef"><b>Definition:</b>·<a·href="a01481_source.html#l00132">types.h:132</a></div></div> 
189 <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> 
Max diff block lines reached; 969/31224 bytes (3.10%) of diff not shown.
6.94 KB
html2text {}
    
Offset 4, 15 lines modifiedOffset 4, 15 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 d3d11PatchTable.h5 glslPatchShaderSource.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2015·Pixar8 ·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·in11 ·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 30, 134 lines modifiedOffset 30, 69 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_OSD_GL_PATCH_TABLE_H37 ·25#ifndef·OPENSUBDIV3_OSD_GLSL_PATCH_SHADER_SOURCE_H
38 ·26#define·OPENSUBDIV3_OSD_GL_PATCH_TABLE_H38 ·26#define·OPENSUBDIV3_OSD_GLSL_PATCH_SHADER_SOURCE_H
39 ·2739 ·27
40 ·28#include·"../version.h"40 ·28#include·"../version.h"
 41 ·29#include·<string>
41 ·29 
42 ·30#include·<vector> 
43 ·31#include·"../far/patchDescriptor.h"42 ·30#include·"../far/patchDescriptor.h"
44 ·32#include·"../osd/nonCopyable.h" 
45 ·33#include·"../osd/types.h"43 ·31
 44 ·32namespace·OpenSubdiv·{
 45 ·33namespace·OPENSUBDIV_VERSION·{
46 ·3446 ·34
47 ·35struct·ID3D11Buffer; 
48 ·36struct·ID3D11ShaderResourceView; 
49 ·37struct·ID3D11Device; 
50 ·38struct·ID3D11DeviceContext; 
51 ·39 
52 ·40namespace·OpenSubdiv·{ 
53 ·41namespace·OPENSUBDIV_VERSION·{47 ·35namespace·Osd·{
 48 ·36
 49 37class·GLSLPatchShaderSource·{
 50 ·38public:
 51 39·static·std::string·GetCommonShaderSource();
 52 ·40
 53 41·static·std::string·GetPatchBasisShaderSource();
54 ·4254 ·42
55 ·43namespace·Far{ 
56 ·44·class·PatchTable;55 43·static·std::string·GetVertexShaderSource(
 56 ·44·Far::PatchDescriptor::Type·type);
57 ·45};57 ·45
58 ·46 
59 ·47namespace·Osd·{58 46·static·std::string·GetTessControlShaderSource(
 59 ·47·Far::PatchDescriptor::Type·type);
60 ·4860 ·48
61 49class·D3D11PatchTable·:·private·NonCopyable<D3D11PatchTable>·{ 
62 ·50public: 
63 51·typedef·ID3D11Buffer·*·VertexBufferBinding;61 49·static·std::string·GetTessEvalShaderSource(
 62 ·50·Far::PatchDescriptor::Type·type);
 63 ·51};
64 ·5264 ·52
65 53·D3D11PatchTable(); 
66 54·~D3D11PatchTable(); 
67 ·55 
68 ·56·template<typename·DEVICE_CONTEXT> 
69 57·static·D3D11PatchTable·*Create(Far::PatchTable·const·*farPatchTable, 
70 ·58·DEVICE_CONTEXT·context)·{ 
71 ·59·return·Create(farPatchTable,·context->GetDeviceContext()); 
72 ·60·} 
73 ·61 
74 62·static·D3D11PatchTable·*Create(Far::PatchTable·const·*farPatchTable, 
75 ·63·ID3D11DeviceContext·*deviceContext); 
76 ·64 
77 65·PatchArrayVector·const·&GetPatchArrays()·const·{ 
78 ·66·return·_patchArrays; 
79 ·67·} 
80 ·68 
81 70·ID3D11Buffer*·GetPatchIndexBuffer()·const·{ 
82 ·71·return·_indexBuffer; 
83 ·72·} 
84 ·73 
85 75·ID3D11ShaderResourceView*·GetPatchParamSRV()·const·{ 
86 ·76·return·_patchParamBufferSRV; 
87 ·77·} 
88 ·78 
89 ·79protected: 
90 ·80·//·allocate·buffers·from·patchTable 
91 81·bool·allocate(Far::PatchTable·const·*farPatchTable, 
92 ·82·ID3D11DeviceContext·*deviceContext); 
93 ·83 
94 84·PatchArrayVector·_patchArrays; 
95 ·85 
96 86·ID3D11Buffer·*_indexBuffer; 
97 87·ID3D11Buffer·*_patchParamBuffer; 
98 88·ID3D11ShaderResourceView·*_patchParamBufferSRV; 
99 ·89}; 
100 ·90 
101 ·91 
102 ·92}·//·end·namespace·Osd65 ·53}·//·end·namespace·Osd
103 ·9366 ·54
104 ·94}·//·end·namespace·OPENSUBDIV_VERSION67 ·55}·//·end·namespace·OPENSUBDIV_VERSION
105 ·95using·namespace·OPENSUBDIV_VERSION;68 ·56using·namespace·OPENSUBDIV_VERSION;
106 ·9669 ·57
107 ·97}·//·end·namespace·OpenSubdiv70 ·58}·//·end·namespace·OpenSubdiv
108 ·9871 ·59
109 ·99#endif·//·OPENSUBDIV3_OSD_GL_PATCH_TABLE_H72 ·60#endif·//·OPENSUBDIV3_OSD_GLSL_PATCH_SHADER_SOURCE
110 OpenSubdiv73 OpenSubdiv
111 Definition:·limits.h:3274 Definition:·limits.h:32
112 OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchArrayVector 
113 std::vector<·PatchArray·>·PatchArrayVector 
114 Definition:·types.h:132 
115 OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable75 OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor::Type
116 Container·for·arrays·of·parametric·patches. 
117 Definition:·patchTable.h:5576 Type
 77 Definition:·patchDescriptor.h:48
118 OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11PatchTable78 OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLSLPatchShaderSource
119 Definition:·d3d11PatchTable.h:4979 Definition:·glslPatchShaderSource.h:37
120 OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11PatchTable::Create80 OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLSLPatchShaderSource::
 81 GetVertexShaderSource
 82 static·std::string·GetVertexShaderSource(Far::PatchDescriptor::Type·type)
121 static·D3D11PatchTable·*·Create(Far::PatchTable·const·*farPatchTable, 
122 DEVICE_CONTEXT·context) 
123 Definition:·d3d11PatchTable.h:57 
124 OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11PatchTable::GetPatchArrays 
Max diff block lines reached; 146/7082 bytes (2.06%) of diff not shown.
5.99 KB
./usr/share/doc/opensubdiv/doxy_html/a00839.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/d3d11LegacyGregoryPatchTable.h·File·Reference</title>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 81, 43 lines modifiedOffset 81, 43 lines modified
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124; 
88 <a·href="#namespaces">Namespaces</a>··</div>87 <a·href="#namespaces">Namespaces</a>·&#124;
 88 <a·href="#typedef-members">Typedefs</a>··</div>
89 ··<div·class="headertitle"><div·class="title">d3d11LegacyGregoryPatchTable.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">glMesh.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
 93 <code>#include·&quot;<a·class="el"·href="a00869_source.html">../osd/mesh.h</a>&quot;</code><br·/>
93 <code>#include·&quot;<a·class="el"·href="a00731_source.html">../far/patchTable.h</a>&quot;</code><br·/>94 <code>#include·&quot;<a·class="el"·href="a00842_source.html">../osd/glPatchTable.h</a>&quot;</code><br·/>
94 <code>#include·&quot;../osd/nonCopyable.h&quot;</code><br·/> 
95 </div>95 </div>
96 <p><a·href="a00839_source.html">Go·to·the·source·code·of·this·file.</a></p>96 <p><a·href="a00839_source.html">Go·to·the·source·code·of·this·file.</a></p>
97 <table·class="memberdecls">97 <table·class="memberdecls">
98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
99 Classes</h2></td></tr> 
100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01197.html">D3D11LegacyGregoryPatchTable</a></td></tr> 
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
102 </table><table·class="memberdecls"> 
103 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
104 Namespaces</h2></td></tr>99 Namespaces</h2></td></tr>
105 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>100 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
107 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>102 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
109 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>104 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 106 </table><table·class="memberdecls">
 107 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>
 108 Typedefs</h2></td></tr>
 109 <tr·class="memitem:a7f9cf2b729178bdbb847fc4afd91af9e"><td·class="memItemLeft"·align="right"·valign="top">typedef·MeshInterface&lt;·GLPatchTable·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#a7f9cf2b729178bdbb847fc4afd91af9e">GLMeshInterface</a></td></tr>
 110 <tr·class="separator:a7f9cf2b729178bdbb847fc4afd91af9e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
111 </table>111 </table>
112 </div><!--·contents·-->112 </div><!--·contents·-->
113 </div><!--·doc-content·-->113 </div><!--·doc-content·-->
114 <!--·start·footer·part·-->114 <!--·start·footer·part·-->
115 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->115 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
116 ··<ul>116 ··<ul>
117 ····<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="a00839.html">d3d11LegacyGregoryPatchTable.h</a></li>117 ····<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="a00839.html">glMesh.h</a></li>
118 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>118 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
119 ··</ul>119 ··</ul>
120 </div>120 </div>
121 </body>121 </body>
122 </html>122 </html>
794 B
html2text {}
    
Offset 4, 27 lines modifiedOffset 4, 27 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 Classes·|·Namespaces 
6 d3d11LegacyGregoryPatchTable.h·File·Reference5 Namespaces·|·Typedefs
 6 glMesh.h·File·Reference
7 #include·"../version.h"7 #include·"../version.h"
 8 #include·"../osd/mesh.h"
8 #include·"../far/patchTable.h"9 #include·"../osd/glPatchTable.h"
9 #include·"../osd/nonCopyable.h" 
10 Go_to_the_source_code_of_this_file.10 Go_to_the_source_code_of_this_file.
11 ·Classes 
12 class· D3D11LegacyGregoryPatchTable 
13   
14 ·Namespaces11 ·Namespaces
15 namespace· OpenSubdiv12 namespace· OpenSubdiv
16  13  
17 namespace· OpenSubdiv::OPENSUBDIV_VERSION14 namespace· OpenSubdiv::OPENSUBDIV_VERSION
18  15  
19 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd16 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd
20  17  
 18 ·Typedefs
 19 typedef·MeshInterface<·GLPatchTable·> GLMeshInterface
 20  
21 ····*·opensubdiv21 ····*·opensubdiv
22 ····*·osd22 ····*·osd
23 ····*·d3d11LegacyGregoryPatchTable.h23 ····*·glMesh.h
24 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.424 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
299 B
./usr/share/doc/opensubdiv/doxy_html/a00839.js
207 B
js-beautify {}
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 var·a00839·=·[1 var·a00839·=·[
2 ····["D3D11LegacyGregoryPatchTable",·"a01197.html",·"a01197"]2 ····["GLMeshInterface",·"a00839.html#a7f9cf2b729178bdbb847fc4afd91af9e",·null]
3 ];3 ];
32.1 KB
./usr/share/doc/opensubdiv/doxy_html/a00839_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/d3d11LegacyGregoryPatchTable.h·Source·File</title>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 80, 19 lines modifiedOffset 80, 19 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">d3d11LegacyGregoryPatchTable.h</div></div>86 ··<div·class="headertitle"><div·class="title">glMesh.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <a·href="a00839.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>89 <a·href="a00839.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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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>
94 <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>94 <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>
95 <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>95 <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>
96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>
97 <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>97 <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 107, 110 lines modifiedOffset 107, 45 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_D3D11_LEGACY_GREGORY_PATCH_TABLE_H</span></div>114 <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>
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_D3D11_LEGACY_GREGORY_PATCH_TABLE_H</span></div>115 <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>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../far/patchTable.h&quot;</span></div>119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../osd/mesh.h&quot;</span></div>
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;../osd/nonCopyable.h&quot;</span></div>120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;../osd/glPatchTable.h&quot;</span></div>
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
 122 <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>
 123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
 124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">struct·</span>ID3D11Buffer;</div>125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>Osd·{</div>
123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">struct·</span>ID3D11ShaderResourceView;</div> 
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">struct·</span>ID3D11Device;</div> 
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">struct·</span>ID3D11DeviceContext;</div> 
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
127 <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>127 <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="a01261.html">MeshInterface&lt;GLPatchTable&gt;</a>·<a·class="code·hl_typedef"·href="a00912.html#a7f9cf2[·...·truncated·by·diffoscope;·len:·48,·SHA:·065d84475928faa9ba58f827ce07833559bdddf777816f9fcaf2a01d1036d836·...·]</div>
128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>
130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">namespace·</span>Osd·{</div>130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>}·<span·class="comment">//·end·namespace·Osd</span></div>
131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
 132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>}·<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div>
132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01197.html">···43</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01197.html">D3D11LegacyGregoryPatchTable</a></div> 
133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····:·<span·class="keyword">private</span>·NonCopyable&lt;D3D11LegacyGregoryPatchTable&gt;·{</div> 
134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">public</span>:</div>133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div>
135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01197.html#a1b73be1e9343a3df3d0dd6027d06fe1b">···46</a></span>····<a·class="code·hl_function"·href="a01197.html#a1b73be1e9343a3df3d0dd6027d06fe1b">~D3D11LegacyGregoryPatchTable</a>();</div>134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
 135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>}··<span·class="comment">//·end·namespace·OpenSubdiv</span></div>
136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>
137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·DEVICE_CONTEXT&gt;</div> 
138 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01197.html#aca9d1702077da362bc5ba1d046f7853d">···49</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01197.html">D3D11LegacyGregoryPatchTable</a>·*<a·class="code·hl_function"·href="a01197.html#aca9d1702077da362bc5ba1d046f7853d">Create</a>(</div> 
139 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>········<a·class="code·hl_class"·href="a00993.html">Far::PatchTable</a>·<span·class="keyword">const</span>·*farPatchTable,·DEVICE_CONTEXT·context)·{</div> 
140 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01197.html#aca9d1702077da362bc5ba1d046f7853d">Create</a>(farPatchTable,·context-&gt;GetDeviceContext());</div> 
141 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····}</div> 
142 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> 
143 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01197.html#a976374548278711d50993273260df174">···54</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01197.html">D3D11LegacyGregoryPatchTable</a>·*<a·class="code·hl_function"·href="a01197.html#a976374548278711d50993273260df174">Create</a>(</div> 
144 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>········<a·class="code·hl_class"·href="a00993.html">Far::PatchTable</a>·<span·class="keyword">const</span>·*farPatchTable,</div> 
145 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>········ID3D11DeviceContext·*deviceContext);</div> 
146 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> 
147 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01197.html#a16aad8981b0b35184b6e44cfb242003d">···58</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01197.html#a16aad8981b0b35184b6e44cfb242003d">UpdateVertexBuffer</a>(ID3D11Buffer·*vbo,</div> 
148 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····························<span·class="keywordtype">int</span>·numVertices,·<span·class="keywordtype">int</span>·numVertexElements,</div> 
149 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····························ID3D11DeviceContext·*pd3d11DeviceContext);</div> 
150 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> 
151 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01197.html#ab758c72f33a9e3aa46c1096446c3557e">···62</a></span>····ID3D11ShaderResourceView*·<a·class="code·hl_function"·href="a01197.html#ab758c72f33a9e3aa46c1096446c3557e">GetVertexSRV</a>()<span·class="keyword">·const·</span>{</div> 
152 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········<span·class="keywordflow">return</span>·_vertexSRV;</div> 
153 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····}</div> 
154 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> 
155 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01197.html#adbc155c902f4c2cb88d9fffbeb6499b4">···66</a></span>····ID3D11ShaderResourceView*·<a·class="code·hl_function"·href="a01197.html#adbc155c902f4c2cb88d9fffbeb6499b4">GetVertexValenceSRV</a>()<span·class="keyword">·const·</span>{</div> 
156 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>········<span·class="keywordflow">return</span>·_vertexValenceSRV;</div> 
157 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····}</div> 
158 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> 
159 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01197.html#af03db41bfcbbf8bb266f7b067df6433a">···70</a></span>····ID3D11ShaderResourceView*·<a·class="code·hl_function"·href="a01197.html#af03db41bfcbbf8bb266f7b067df6433a">GetQuadOffsetsSRV</a>()<span·class="keyword">·const·</span>{</div> 
160 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>········<span·class="keywordflow">return</span>·_quadOffsetsSRV;</div> 
161 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····}</div> 
162 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> 
163 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01197.html#a176fb87b7ba47d5c2c2a6d332e2687ce">···74</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01197.html#a176fb87b7ba47d5c2c2a6d332e2687ce">GetQuadOffsetsBase</a>(<a·class="code·hl_enumeration"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type)·{</div> 
164 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········<span·class="keywordflow">if</span>·(type·==·<a·class="code·hl_enumvalue"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7ac4ae10df9c13e44880ca7be341e44f2a">Far::PatchDescriptor::GREGORY_BOUNDARY</a>)·{</div> 
165 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>············<span·class="keywordflow">return</span>·_quadOffsetsBase[1];</div> 
166 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>········}</div> 
167 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>········<span·class="keywordflow">return</span>·_quadOffsetsBase[0];</div> 
168 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····}</div> 
169 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> 
170 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">protected</span>:</div> 
171 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01197.html#af138b4535e4db5f013225c5924e0b243">···82</a></span>····<a·class="code·hl_function"·href="a01197.html#af138b4535e4db5f013225c5924e0b243">D3D11LegacyGregoryPatchTable</a>();</div> 
172 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> 
173 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="keyword">private</span>:</div> 
174 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····ID3D11Buffer*·_vertexValenceBuffer;</div> 
175 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····ID3D11Buffer*·_quadOffsetsBuffer;</div> 
176 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····ID3D11ShaderResourceView*·_vertexSRV;</div> 
177 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····ID3D11ShaderResourceView*·_vertexValenceSRV;</div> 
178 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····ID3D11ShaderResourceView*·_quadOffsetsSRV;</div> 
179 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····<span·class="keywordtype">int</span>·_quadOffsetsBase[2];·······<span·class="comment">//·gregory,·boundaryGregory</span></div> 
180 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>};</div> 
181 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div> 
182 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> 
183 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> 
184 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>}··<span·class="comment">//·end·namespace·Osd</span></div> 
185 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> 
186 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>}··<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> 
187 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> 
188 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> 
189 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>}··<span·class="comment">//·end·namespace·OpenSubdiv</span></div> 
190 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> 
191 <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>137 <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>
192 <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>138 <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>
Max diff block lines reached; 967/26550 bytes (3.64%) of diff not shown.
6.09 KB
html2text {}
    
Offset 4, 18 lines modifiedOffset 4, 18 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 d3d11LegacyGregoryPatchTable.h5 glMesh.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2015·Pixar8 ·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·in11 ·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·trade15 ·9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade
Offset 30, 134 lines modifiedOffset 30, 42 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_OSD_D3D11_LEGACY_GREGORY_PATCH_TABLE_H 
38 ·26#define·OPENSUBDIV3_OSD_D3D11_LEGACY_GREGORY_PATCH_TABLE_H37 ·25#ifndef·OPENSUBDIV3_OSD_GL_MESH_H
 38 ·26#define·OPENSUBDIV3_OSD_GL_MESH_H
39 ·2739 ·27
40 ·28#include·"../version.h"40 ·28#include·"../version.h"
41 ·2941 ·29
 42 ·30#include·"../osd/mesh.h"
42 ·30#include·"../far/patchTable.h"43 ·31#include·"../osd/glPatchTable.h"
43 ·31#include·"../osd/nonCopyable.h" 
44 ·3244 ·32
45 ·33struct·ID3D11Buffer; 
46 ·34struct·ID3D11ShaderResourceView; 
47 ·35struct·ID3D11Device; 
48 ·36struct·ID3D11DeviceContext;45 ·33namespace·OpenSubdiv·{
 46 ·34namespace·OPENSUBDIV_VERSION·{
 47 ·35
 48 ·36namespace·Osd·{
49 ·3749 ·37
50 ·38namespace·OpenSubdiv·{ 
51 ·39namespace·OPENSUBDIV_VERSION·{50 38typedef·MeshInterface<GLPatchTable>·GLMeshInterface;
 51 ·39
52 ·4052 ·40
53 ·41namespace·Osd·{53 ·41}·//·end·namespace·Osd
54 ·4254 ·42
55 43class·D3D11LegacyGregoryPatchTable 
56 ·44·:·private·NonCopyable<D3D11LegacyGregoryPatchTable>·{ 
57 ·45public: 
58 46·~D3D11LegacyGregoryPatchTable();55 ·43}·//·end·namespace·OPENSUBDIV_VERSION
 56 ·44using·namespace·OPENSUBDIV_VERSION;
 57 ·45
 58 ·46}·//·end·namespace·OpenSubdiv
59 ·4759 ·47
 60 ·48#endif·//·OPENSUBDIV3_OSD_GL_MESH_H
60 ·48·template<typename·DEVICE_CONTEXT> 
61 49·static·D3D11LegacyGregoryPatchTable·*Create( 
62 ·50·Far::PatchTable·const·*farPatchTable,·DEVICE_CONTEXT·context)·{ 
63 ·51·return·Create(farPatchTable,·context->GetDeviceContext()); 
64 ·52·} 
65 ·53 
66 54·static·D3D11LegacyGregoryPatchTable·*Create( 
67 ·55·Far::PatchTable·const·*farPatchTable, 
68 ·56·ID3D11DeviceContext·*deviceContext); 
69 ·57 
70 58·void·UpdateVertexBuffer(ID3D11Buffer·*vbo, 
71 ·59·int·numVertices,·int·numVertexElements, 
72 ·60·ID3D11DeviceContext·*pd3d11DeviceContext); 
73 ·61 
74 62·ID3D11ShaderResourceView*·GetVertexSRV()·const·{ 
75 ·63·return·_vertexSRV; 
76 ·64·} 
77 ·65 
78 66·ID3D11ShaderResourceView*·GetVertexValenceSRV()·const·{ 
79 ·67·return·_vertexValenceSRV; 
80 ·68·} 
81 ·69 
82 70·ID3D11ShaderResourceView*·GetQuadOffsetsSRV()·const·{ 
83 ·71·return·_quadOffsetsSRV; 
84 ·72·} 
85 ·73 
86 74·int·GetQuadOffsetsBase(Far::PatchDescriptor::Type·type)·{ 
87 ·75·if·(type·==·Far::PatchDescriptor::GREGORY_BOUNDARY)·{ 
88 ·76·return·_quadOffsetsBase[1]; 
89 ·77·} 
90 ·78·return·_quadOffsetsBase[0]; 
91 ·79·} 
92 ·80 
93 ·81protected: 
94 82·D3D11LegacyGregoryPatchTable(); 
95 ·83 
96 ·84private: 
97 ·85·ID3D11Buffer*·_vertexValenceBuffer; 
98 ·86·ID3D11Buffer*·_quadOffsetsBuffer; 
99 ·87·ID3D11ShaderResourceView*·_vertexSRV; 
100 ·88·ID3D11ShaderResourceView*·_vertexValenceSRV; 
101 ·89·ID3D11ShaderResourceView*·_quadOffsetsSRV; 
102 ·90·int·_quadOffsetsBase[2];·//·gregory,·boundaryGregory 
103 ·91}; 
104 ·92 
105 ·93 
106 ·94 
107 ·95}·//·end·namespace·Osd 
108 ·96 
109 ·97}·//·end·namespace·OPENSUBDIV_VERSION 
110 ·98using·namespace·OPENSUBDIV_VERSION; 
111 ·99 
112 ·100}·//·end·namespace·OpenSubdiv 
113 ·101 
114 ·102#endif·//·OPENSUBDIV3_OSD_D3D11_LEGACY_GREGORY_PATCH_TABLE_H 
115 OpenSubdiv61 OpenSubdiv
116 Definition:·limits.h:3262 Definition:·limits.h:32
 63 OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLMeshInterface
 64 MeshInterface<·GLPatchTable·>·GLMeshInterface
 65 Definition:·glMesh.h:38
117 OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor::Type 
118 Type 
119 Definition:·patchDescriptor.h:48 
120 OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor::GREGORY_BOUNDARY 
121 @·GREGORY_BOUNDARY 
122 Definition:·patchDescriptor.h:61 
123 OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable66 OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshInterface
 67 Definition:·mesh.h:68
Max diff block lines reached; 144/6208 bytes (2.32%) of diff not shown.
5.65 KB
./usr/share/doc/opensubdiv/doxy_html/a00842.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/d3d11ComputeEvaluator.h·File·Reference</title>8 <title>OpenSubdiv:·opensubdiv/osd/glPatchTable.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 83, 28 lines modifiedOffset 83, 28 lines modified
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124;87 <a·href="#nested-classes">Classes</a>·&#124;
88 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">d3d11ComputeEvaluator.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">glPatchTable.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
 93 <code>#include·&quot;../osd/nonCopyable.h&quot;</code><br·/>
 94 <code>#include·&quot;<a·class="el"·href="a00866_source.html">../osd/opengl.h</a>&quot;</code><br·/>
93 <code>#include·&quot;<a·class="el"·href="a00899_source.html">../osd/bufferDescriptor.h</a>&quot;</code><br·/>95 <code>#include·&quot;<a·class="el"·href="a01481_source.html">../osd/types.h</a>&quot;</code><br·/>
 96 <code>#include·&lt;vector&gt;</code><br·/>
94 </div>97 </div>
95 <p><a·href="a00842_source.html">Go·to·the·source·code·of·this·file.</a></p>98 <p><a·href="a00842_source.html">Go·to·the·source·code·of·this·file.</a></p>
96 <table·class="memberdecls">99 <table·class="memberdecls">
97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
98 Classes</h2></td></tr>101 Classes</h2></td></tr>
99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01189.html">D3D11StencilTable</a></td></tr>102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01229.html">GLPatchTable</a></td></tr>
100 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">D3D11·stencil·table.··<a·href="a01189.html#details">More...</a><br·/></td></tr> 
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01193.html">D3D11ComputeEvaluator</a></td></tr> 
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 </table><table·class="memberdecls">104 </table><table·class="memberdecls">
105 <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>
106 Namespaces</h2></td></tr>106 Namespaces</h2></td></tr>
107 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>107 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
109 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>109 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>
Offset 115, 13 lines modifiedOffset 115, 13 lines modified
115 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>115 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
116 </table>116 </table>
117 </div><!--·contents·-->117 </div><!--·contents·-->
118 </div><!--·doc-content·-->118 </div><!--·doc-content·-->
119 <!--·start·footer·part·-->119 <!--·start·footer·part·-->
120 <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!·-->
121 ··<ul>121 ··<ul>
122 ····<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="a00842.html">d3d11ComputeEvaluator.h</a></li>122 ····<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="a00842.html">glPatchTable.h</a></li>
123 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>123 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
124 ··</ul>124 ··</ul>
125 </div>125 </div>
126 </body>126 </body>
127 </html>127 </html>
849 B
html2text {}
    
Offset 5, 30 lines modifiedOffset 5, 30 lines modified
  
  
  
5 [Logo]·OpenSubdiv5 [Logo]·OpenSubdiv
  
  
6 Classes·|·Namespaces6 Classes·|·Namespaces
7 d3d11ComputeEvaluator.h·File·Reference7 glPatchTable.h·File·Reference
8 #include·"../version.h"8 #include·"../version.h"
9 #include·"../osd/bufferDescriptor.h"9 #include·"../osd/nonCopyable.h"
 10 #include·"../osd/opengl.h"
 11 #include·"../osd/types.h"
 12 #include·<vector>
10 Go_to_the_source_code_of_this_file.13 Go_to_the_source_code_of_this_file.
11 ·Classes14 ·Classes
 15 class· GLPatchTable
12 class· D3D11StencilTable 
13  ······D3D11·stencil·table.·More... 
14   
15 class· D3D11ComputeEvaluator 
16  16  
17 ·Namespaces17 ·Namespaces
18 namespace· OpenSubdiv18 namespace· OpenSubdiv
19  19  
20 namespace· OpenSubdiv::OPENSUBDIV_VERSION20 namespace· OpenSubdiv::OPENSUBDIV_VERSION
21  21  
22 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Far22 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Far
23  23  
24 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd24 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd
25  25  
26 ····*·opensubdiv26 ····*·opensubdiv
27 ····*·osd27 ····*·osd
28 ····*·d3d11ComputeEvaluator.h28 ····*·glPatchTable.h
29 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.429 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
312 B
./usr/share/doc/opensubdiv/doxy_html/a00842.js
220 B
js-beautify {}
    
Offset 1, 4 lines modifiedOffset 1, 3 lines modified
1 var·a00842·=·[1 var·a00842·=·[
2 ····["D3D11StencilTable",·"a01189.html",·"a01189"],2 ····["GLPatchTable",·"a01229.html",·"a01229"]
3 ····["D3D11ComputeEvaluator",·"a01193.html",·"a01193"] 
4 ];3 ];
99.5 KB
./usr/share/doc/opensubdiv/doxy_html/a00842_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/d3d11ComputeEvaluator.h·Source·File</title>8 <title>OpenSubdiv:·opensubdiv/osd/glPatchTable.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 80, 15 lines modifiedOffset 80, 15 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">d3d11ComputeEvaluator.h</div></div>86 ··<div·class="headertitle"><div·class="title">glPatchTable.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <a·href="a00842.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>89 <a·href="a00842.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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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 107, 213 lines modifiedOffset 107, 172 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_D3D11_COMPUTE_EVALUATOR_H</span></div>114 <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>
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_D3D11_COMPUTE_EVALUATOR_H</span></div>115 <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>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">struct·</span>ID3D11DeviceContext;</div>119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../osd/nonCopyable.h&quot;</span></div>
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">struct·</span>ID3D11Buffer;</div>120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;../osd/opengl.h&quot;</span></div>
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">struct·</span>ID3D11ComputeShader;</div>121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&quot;../osd/types.h&quot;</span></div>
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">struct·</span>ID3D11ClassLinkage;</div> 
123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">struct·</span>ID3D11ClassInstance;</div> 
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">struct·</span>ID3D11ShaderResourceView;</div> 
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">struct·</span>ID3D11UnorderedAccessView;</div> 
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">#include·&quot;../osd/bufferDescriptor.h&quot;</span></div>123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
129 <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>125 <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>
130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
 127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
 128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">namespace·</span>Far{</div>
 129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">class·</span>PatchTable;</div>
 130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>};</div>
131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">namespace·</span>Far·{</div>132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">namespace·</span>Osd·{</div>
133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">class·</span>StencilTable;</div> 
134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>}</div> 
135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
 134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01229.html">···45</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01229.html">GLPatchTable</a>·:·<span·class="keyword">private</span>·NonCopyable&lt;GLPatchTable&gt;·{</div>
136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="keyword">namespace·</span>Osd·{</div>135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">public</span>:</div>
 136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01229.html#a02af2ea2e9328a776b5b0bb3edf88864">···47</a></span>····<span·class="keyword">typedef</span>·GLuint·<a·class="code·hl_typedef"·href="a01229.html#a02af2ea2e9328a776b5b0bb3edf88864">VertexBufferBinding</a>;</div>
137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
138 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01189.html">···56</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01189.html">D3D11StencilTable</a>·{</div>138 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01229.html#a27e3bbc29608fb5ded788e1a6d068da7">···49</a></span>····<a·class="code·hl_function"·href="a01229.html#a27e3bbc29608fb5ded788e1a6d068da7">~GLPatchTable</a>();</div>
 139 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>
 140 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01229.html#a406bb6da6d3805b2b3d8e462ba4d1a47">···51</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01229.html">GLPatchTable</a>·*<a·class="code·hl_function"·href="a01229.html#a406bb6da6d3805b2b3d8e462ba4d1a47">Create</a>(<a·class="code·hl_class"·href="a00993.html">Far::PatchTable</a>·<span·class="keyword">const</span>·*farPatchTable,</div>
 141 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>································<span·class="keywordtype">void</span>·*deviceContext·=·NULL);</div>
 142 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>
 143 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01229.html#a18e3d09b0c7b7552f8e419e36788166a">···55</a></span>····<a·class="code·hl_typedef"·href="a00912.html#a98098cd229f60d2397d84a76fe654a31">PatchArrayVector</a>·<span·class="keyword">const</span>·&amp;<a·class="code·hl_function"·href="a01229.html#a18e3d09b0c7b7552f8e419e36788166a">GetPatchArrays</a>()<span·class="keyword">·const·</span>{</div>
 144 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01229.html#a5dfb6b58580f2dec58e9b5bfdb4ed9f1">_patchArrays</a>;</div>
139 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">public</span>:</div>145 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····}</div>
 146 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
 147 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01229.html#aa22b6cb3f4bbb8edaaa553389e080e40">···60</a></span>····GLuint·<a·class="code·hl_function"·href="a01229.html#aa22b6cb3f4bbb8edaaa553389e080e40">GetPatchIndexBuffer</a>()<span·class="keyword">·const·</span>{</div>
 148 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01229.html#a60ed91ae6ab2018bcc0d4f3db4f0d2e9">_patchIndexBuffer</a>;</div>
140 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·DEVICE_CONTEXT&gt;</div> 
141 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01189.html#a2ec7ad097a488f2b17603173d6362b61">···59</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01189.html">D3D11StencilTable</a>·*<a·class="code·hl_function"·href="a01189.html#a2ec7ad097a488f2b17603173d6362b61">Create</a>(<a·class="code·hl_class"·href="a01057.html">Far::StencilTable</a>·<span·class="keyword">const</span>·*stencilTable,</div> 
142 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······································DEVICE_CONTEXT·context)·{</div> 
143 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>········<span·class="keywordflow">return</span>·<span·class="keyword">new</span>·<a·class="code·hl_function"·href="a01189.html#a7e3a2f5c281c55308400138222797dbc">D3D11StencilTable</a>(stencilTable,·context-&gt;GetDeviceContext());</div> 
144 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····}</div>149 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····}</div>
145 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>150 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
 151 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01229.html#a645a6698ee27f028eb10e8a43044bf7f">···65</a></span>····GLuint·<a·class="code·hl_function"·href="a01229.html#a645a6698ee27f028eb10e8a43044bf7f">GetPatchParamBuffer</a>()<span·class="keyword">·const·</span>{</div>
 152 <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="a01229.html#afcbe2b12b775d32f606ee7e347dba51a">_patchParamBuffer</a>;</div>
146 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01189.html#a8981041688d408d08dce9c8890504650">···64</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01189.html">D3D11StencilTable</a>·*<a·class="code·hl_function"·href="a01189.html#a8981041688d408d08dce9c8890504650">Create</a>(<a·class="code·hl_class"·href="a01057.html">Far::StencilTable</a>·<span·class="keyword">const</span>·*stencilTable,</div> 
147 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>······································ID3D11DeviceContext·*deviceContext)·{</div> 
148 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>········<span·class="keywordflow">return</span>·<span·class="keyword">new</span>·<a·class="code·hl_function"·href="a01189.html#a7e3a2f5c281c55308400138222797dbc">D3D11StencilTable</a>(stencilTable,·deviceContext);</div> 
149 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····}</div>153 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····}</div>
150 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>154 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
151 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01189.html#a7e3a2f5c281c55308400138222797dbc">···69</a></span>····<a·class="code·hl_function"·href="a01189.html#a7e3a2f5c281c55308400138222797dbc">D3D11StencilTable</a>(<a·class="code·hl_class"·href="a01057.html">Far::StencilTable</a>·<span·class="keyword">const</span>·*stencilTable,</div> 
152 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·······················ID3D11DeviceContext·*deviceContext);</div>155 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01229.html#ac1366e74b619cfb89c4c2df52b7aa697">···70</a></span>····GLuint·<a·class="code·hl_function"·href="a01229.html#ac1366e74b619cfb89c4c2df52b7aa697">GetPatchIndexTextureBuffer</a>()<span·class="keyword">·const·</span>{</div>
 156 <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="a01229.html#abbedd905fe4d0e32460f82d1aa9bf360">_patchIndexTexture</a>;</div>
153 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>157 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····}</div>
154 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01189.html#a729ea8793ae67b1767d670a4541006e2">···72</a></span>····<a·class="code·hl_function"·href="a01189.html#a729ea8793ae67b1767d670a4541006e2">~D3D11StencilTable</a>();</div> 
155 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>158 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>
 159 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01229.html#a2b6605b35fc9437ab5750d6929fc66d8">···75</a></span>····GLuint·<a·class="code·hl_function"·href="a01229.html#a2b6605b35fc9437ab5750d6929fc66d8">GetPatchParamTextureBuffer</a>()<span·class="keyword">·const·</span>{</div>
 160 <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="a01229.html#a698f8b3d96e62c8512eb3881c8112978">_patchParamTexture</a>;</div>
 161 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····}</div>
156 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<span·class="comment">//·interfaces·needed·for·D3D11ComputeEvaluator</span></div> 
157 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01189.html#aa6b4c8f4cd5a1e0111e77d7365018c74">···75</a></span>····ID3D11ShaderResourceView·*<a·class="code·hl_function"·href="a01189.html#aa6b4c8f4cd5a1e0111e77d7365018c74">GetSizesSRV</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_sizes;·}</div> 
158 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01189.html#a4e486bdd9cf98a5582781a905d154e67">···76</a></span>····ID3D11ShaderResourceView·*<a·class="code·hl_function"·href="a01189.html#a4e486bdd9cf98a5582781a905d154e67">GetOffsetsSRV</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_offsets;·}</div> 
159 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01189.html#a6aa76c564ae400e727b2377ce785cd90">···77</a></span>····ID3D11ShaderResourceView·*<a·class="code·hl_function"·href="a01189.html#a6aa76c564ae400e727b2377ce785cd90">GetIndicesSRV</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_indices;·}</div> 
160 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01189.html#ac3de1233503ee41bac41618702b4302c">···78</a></span>····ID3D11ShaderResourceView·*<a·class="code·hl_function"·href="a01189.html#ac3de1233503ee41bac41618702b4302c">GetWeightsSRV</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_weights;·}</div> 
161 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01189.html#a65836d2070b943c8fecbad926d074de2">···79</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01189.html#a65836d2070b943c8fecbad926d074de2">GetNumStencils</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_numStencils;·}</div> 
162 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>162 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
163 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">private</span>:</div>163 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01229.html#aec45672f51f456fea341d644bcf16434">···80</a></span>····<a·class="code·hl_typedef"·href="a00912.html#a98098cd229f60d2397d84a76fe654a31">PatchArrayVector</a>·<span·class="keyword">co[·...·truncated·by·diffoscope;·len:·161,·SHA:·81c50463888d34a6041ebd2f2ff1b418d3ceaa29c047d316bb7544eff208ebee·...·]</div>
 164 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01229.html#acd99a0391b3b04586b11051fd0f7ed10">_varyingPatchArrays</a>;</div>
164 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····ID3D11ShaderResourceView·*_sizes;</div>165 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····}</div>
165 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····ID3D11ShaderResourceView·*_offsets;</div> 
166 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····ID3D11ShaderResourceView·*_indices;</div> 
167 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····ID3D11ShaderResourceView·*_weights;</div> 
168 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····ID3D11Buffer·*_sizesBuffer;</div> 
169 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····ID3D11Buffer·*_offsetsBuffer;</div> 
170 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····ID3D11Buffer·*_indicesBuffer;</div> 
171 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····ID3D11Buffer·*_weightsBuffer;</div> 
172 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>166 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>
173 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="keywordtype">int</span>·_numStencils;</div>167 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01229.html#ae0df6dbe9e1a7425c18c063dd55335f0">···85</a></span>····GLuint·<a·class="code·hl_function"·href="a01229.html#ae0df6dbe9e1a7425c18c063dd55335f0">GetVaryingPatchIndexBuffer</a>()<spa[·...·truncated·by·diffoscope;·len:·33,·SHA:·7927d15db1b37adb6f4fc4c527d2a88fa6f2586db667a7ca6bf487cff9e85c94·...·]</div>
 168 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01229.html#a30ba44ce4fe4d55733bb32e59a0f564f">_varyingIndexBuffer</a>;</div>
 169 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····}</div>
 170 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div>
 171 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno"><a·class="line"·href="a01229.html#ac444539beb3cfb4b80ea5119a705b662">···90</a></span>····GLuint·<a·class="code·hl_function"·href="a01229.html#ac444539beb3cfb4b80ea5119a705b662">GetVaryingPatchIndexTextureBuffer</a>()<span·class="keyword">·const·</span>{</div>
 172 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01229.html#a45c78bbbee12b05b67a5709c0c9e3edf">_varyingIndexTexture</a>;</div>
174 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>};</div>173 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····}</div>
Max diff block lines reached; 57465/81627 bytes (70.40%) of diff not shown.
19.7 KB
html2text {}
    
Offset 4, 15 lines modifiedOffset 4, 15 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 d3d11ComputeEvaluator.h5 glPatchTable.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2015·Pixar8 ·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·in11 ·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 30, 274 lines modifiedOffset 30, 249 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_OSD_D3D11_COMPUTE_EVALUATOR_H 
38 ·26#define·OPENSUBDIV3_OSD_D3D11_COMPUTE_EVALUATOR_H37 ·25#ifndef·OPENSUBDIV3_OSD_GL_PATCH_TABLE_H
 38 ·26#define·OPENSUBDIV3_OSD_GL_PATCH_TABLE_H
39 ·2739 ·27
40 ·28#include·"../version.h"40 ·28#include·"../version.h"
41 ·2941 ·29
 42 ·30#include·"../osd/nonCopyable.h"
 43 ·31#include·"../osd/opengl.h"
 44 ·32#include·"../osd/types.h"
 45 ·33
 46 ·34#include·<vector>
 47 ·35
42 ·30struct·ID3D11DeviceContext; 
43 ·31struct·ID3D11Buffer; 
44 ·32struct·ID3D11ComputeShader; 
45 ·33struct·ID3D11ClassLinkage; 
46 ·34struct·ID3D11ClassInstance; 
47 ·35struct·ID3D11ShaderResourceView; 
48 ·36struct·ID3D11UnorderedAccessView; 
49 ·37 
50 ·38#include·"../osd/bufferDescriptor.h" 
51 ·39 
52 ·40namespace·OpenSubdiv·{48 ·36namespace·OpenSubdiv·{
53 ·41namespace·OPENSUBDIV_VERSION·{49 ·37namespace·OPENSUBDIV_VERSION·{
 50 ·38
 51 ·39namespace·Far{
 52 ·40·class·PatchTable;
 53 ·41};
54 ·4254 ·42
55 ·43namespace·Far·{ 
56 ·44·class·StencilTable; 
57 ·45} 
58 ·46 
59 ·47namespace·Osd·{55 ·43namespace·Osd·{
 56 ·44
 57 45class·GLPatchTable·:·private·NonCopyable<GLPatchTable>·{
 58 ·46public:
 59 47·typedef·GLuint·VertexBufferBinding;
60 ·4860 ·48
61 56class·D3D11StencilTable·{ 
62 ·57public: 
63 ·58·template·<typename·DEVICE_CONTEXT> 
64 59·static·D3D11StencilTable·*Create(Far::StencilTable·const·*stencilTable, 
65 ·60·DEVICE_CONTEXT·context)·{ 
66 ·61·return·new·D3D11StencilTable(stencilTable,·context->GetDeviceContext());61 49·~GLPatchTable();
 62 ·50
 63 51·static·GLPatchTable·*Create(Far::PatchTable·const·*farPatchTable,
 64 ·52·void·*deviceContext·=·NULL);
 65 ·53
 66 55·PatchArrayVector·const·&GetPatchArrays()·const·{
 67 ·56·return·_patchArrays;
 68 ·57·}
 69 ·58
 70 60·GLuint·GetPatchIndexBuffer()·const·{
 71 ·61·return·_patchIndexBuffer;
67 ·62·}72 ·62·}
68 ·6373 ·63
 74 65·GLuint·GetPatchParamBuffer()·const·{
 75 ·66·return·_patchParamBuffer;
69 64·static·D3D11StencilTable·*Create(Far::StencilTable·const·*stencilTable, 
70 ·65·ID3D11DeviceContext·*deviceContext)·{ 
71 ·66·return·new·D3D11StencilTable(stencilTable,·deviceContext); 
72 ·67·}76 ·67·}
73 ·6877 ·68
 78 70·GLuint·GetPatchIndexTextureBuffer()·const·{
 79 ·71·return·_patchIndexTexture;
 80 ·72·}
74 69·D3D11StencilTable(Far::StencilTable·const·*stencilTable, 
75 ·70·ID3D11DeviceContext·*deviceContext); 
76 ·71 
77 72·~D3D11StencilTable(); 
78 ·7381 ·73
 82 75·GLuint·GetPatchParamTextureBuffer()·const·{
 83 ·76·return·_patchParamTexture;
 84 ·77·}
 85 ·78
 86 80·PatchArrayVector·const·&GetVaryingPatchArrays()·const·{
 87 ·81·return·_varyingPatchArrays;
 88 ·82·}
 89 ·83
 90 85·GLuint·GetVaryingPatchIndexBuffer()·const·{
 91 ·86·return·_varyingIndexBuffer;
 92 ·87·}
 93 ·88
 94 90·GLuint·GetVaryingPatchIndexTextureBuffer()·const·{
 95 ·91·return·_varyingIndexTexture;
79 ·74·//·interfaces·needed·for·D3D11ComputeEvaluator 
80 75·ID3D11ShaderResourceView·*GetSizesSRV()·const·{·return·_sizes;·} 
81 76·ID3D11ShaderResourceView·*GetOffsetsSRV()·const·{·return·_offsets;·} 
82 77·ID3D11ShaderResourceView·*GetIndicesSRV()·const·{·return·_indices;·} 
83 78·ID3D11ShaderResourceView·*GetWeightsSRV()·const·{·return·_weights;·} 
84 79·int·GetNumStencils()·const·{·return·_numStencils;·} 
85 ·80 
86 ·81private: 
87 ·82·ID3D11ShaderResourceView·*_sizes; 
88 ·83·ID3D11ShaderResourceView·*_offsets; 
89 ·84·ID3D11ShaderResourceView·*_indices; 
90 ·85·ID3D11ShaderResourceView·*_weights; 
91 ·86·ID3D11Buffer·*_sizesBuffer; 
92 ·87·ID3D11Buffer·*_offsetsBuffer; 
93 ·88·ID3D11Buffer·*_indicesBuffer; 
94 ·89·ID3D11Buffer·*_weightsBuffer; 
95 ·90 
96 ·91·int·_numStencils; 
Max diff block lines reached; 16052/20127 bytes (79.75%) of diff not shown.
5.33 KB
./usr/share/doc/opensubdiv/doxy_html/a00845.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/cpuD3D11VertexBuffer.h·File·Reference</title>8 <title>OpenSubdiv:·opensubdiv/osd/glVertexBuffer.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 83, 26 lines modifiedOffset 83, 27 lines modified
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124;87 <a·href="#nested-classes">Classes</a>·&#124;
88 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">cpuD3D11VertexBuffer.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">glVertexBuffer.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
 93 <code>#include·&quot;<a·class="el"·href="a00866_source.html">../osd/opengl.h</a>&quot;</code><br·/>
93 <code>#include·&lt;cstddef&gt;</code><br·/>94 <code>#include·&lt;cstddef&gt;</code><br·/>
94 </div>95 </div>
95 <p><a·href="a00845_source.html">Go·to·the·source·code·of·this·file.</a></p>96 <p><a·href="a00845_source.html">Go·to·the·source·code·of·this·file.</a></p>
96 <table·class="memberdecls">97 <table·class="memberdecls">
97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
98 Classes</h2></td></tr>99 Classes</h2></td></tr>
99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01153.html">CpuD3D11VertexBuffer</a></td></tr>100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01237.html">GLVertexBuffer</a></td></tr>
100 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Concrete·vertex·buffer·class·for·Cpu·subdivision·and·DirectX·drawing.··<a·href="a01153.html#details">More...</a><br·/></td></tr>101 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Concrete·vertex·buffer·class·for·GLSL·subdivision·and·OpenGL·drawing.··<a·href="a01237.html#details">More...</a><br·/></td></tr>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 </table><table·class="memberdecls">103 </table><table·class="memberdecls">
103 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>104 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
104 Namespaces</h2></td></tr>105 Namespaces</h2></td></tr>
105 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>106 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
107 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>108 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>
Offset 111, 13 lines modifiedOffset 112, 13 lines modified
111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
112 </table>113 </table>
113 </div><!--·contents·-->114 </div><!--·contents·-->
114 </div><!--·doc-content·-->115 </div><!--·doc-content·-->
115 <!--·start·footer·part·-->116 <!--·start·footer·part·-->
116 <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!·-->
117 ··<ul>118 ··<ul>
118 ····<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="a00845.html">cpuD3D11VertexBuffer.h</a></li>119 ····<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="a00845.html">glVertexBuffer.h</a></li>
119 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>120 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
120 ··</ul>121 ··</ul>
121 </div>122 </div>
122 </body>123 </body>
123 </html>124 </html>
811 B
html2text {}
    
Offset 5, 27 lines modifiedOffset 5, 28 lines modified
  
  
  
5 [Logo]·OpenSubdiv5 [Logo]·OpenSubdiv
  
  
6 Classes·|·Namespaces6 Classes·|·Namespaces
7 cpuD3D11VertexBuffer.h·File·Reference7 glVertexBuffer.h·File·Reference
8 #include·"../version.h"8 #include·"../version.h"
 9 #include·"../osd/opengl.h"
9 #include·<cstddef>10 #include·<cstddef>
10 Go_to_the_source_code_of_this_file.11 Go_to_the_source_code_of_this_file.
11 ·Classes12 ·Classes
12 class· CpuD3D11VertexBuffer13 class· GLVertexBuffer
13  ······Concrete·vertex·buffer·class·for·Cpu·subdivision·and·DirectX·drawing.14  ······Concrete·vertex·buffer·class·for·GLSL·subdivision·and·OpenGL·drawing.
14 ········More...15 ········More...
15  16  
16 ·Namespaces17 ·Namespaces
17 namespace· OpenSubdiv18 namespace· OpenSubdiv
18  19  
19 namespace· OpenSubdiv::OPENSUBDIV_VERSION20 namespace· OpenSubdiv::OPENSUBDIV_VERSION
20  21  
21 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd22 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd
22  23  
23 ····*·opensubdiv24 ····*·opensubdiv
24 ····*·osd25 ····*·osd
25 ····*·cpuD3D11VertexBuffer.h26 ····*·glVertexBuffer.h
26 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.427 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
260 B
./usr/share/doc/opensubdiv/doxy_html/a00845.js
168 B
js-beautify {}
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 var·a00845·=·[1 var·a00845·=·[
2 ····["CpuD3D11VertexBuffer",·"a01153.html",·"a01153"]2 ····["GLVertexBuffer",·"a01237.html",·"a01237"]
3 ];3 ];
34.7 KB
./usr/share/doc/opensubdiv/doxy_html/a00845_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/cpuD3D11VertexBuffer.h·Source·File</title>8 <title>OpenSubdiv:·opensubdiv/osd/glVertexBuffer.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 80, 15 lines modifiedOffset 80, 15 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">cpuD3D11VertexBuffer.h</div></div>86 ··<div·class="headertitle"><div·class="title">glVertexBuffer.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <a·href="a00845.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>89 <a·href="a00845.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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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 107, 87 lines modifiedOffset 107, 76 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_CPU_D3D11_VERTEX_BUFFER_H</span></div>114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_GL_VERTEX_BUFFER_H</span></div>
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_CPU_D3D11_VERTEX_BUFFER_H</span></div>115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_GL_VERTEX_BUFFER_H</span></div>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
 118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
 119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../osd/opengl.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">struct·</span>ID3D11Buffer;</div> 
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">struct·</span>ID3D11Device;</div> 
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">struct·</span>ID3D11DeviceContext;</div> 
123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> 
124 <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>122 <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>
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
 124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
 125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>Osd·{</div>
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">namespace·</span>Osd·{</div> 
128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> 
129 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01153.html">···48</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01153.html">CpuD3D11VertexBuffer</a>·{</div>127 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01237.html">···44</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01237.html">GLVertexBuffer</a>·{</div>
130 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">public</span>:</div>128 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">public</span>:</div>
131 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01153.html#a00d85863962f5871f802164e2fba7acc">···51</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01153.html">CpuD3D11VertexBuffer</a>·*·<a·class="code·hl[·...·truncated·by·diffoscope;·len:·62,·SHA:·29a2cde1737c8a5c59c2999d51bf815ed81d71037363d43ccdee7cd30907416b·...·]">Create</a>(<span·class="keywordtype">int</span>·numElements,·<span·class="keywordtype">int</span>·numVertices,</div>129 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01237.html#abfb3fc6fd2278633f65442db6528c926">···47</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01237.html">GLVertexBuffer</a>·*·<a·class="code·hl_funct[·...·truncated·by·diffoscope;·len:·56,·SHA:·ad52070c4d353ac44c82ada00d83d491781ff604ccf8c272250d5479a3be1b80·...·]">Create</a>(<span·class="keywordtype">int</span>·numElements,·<span·class="keywordtype">int</span>·numVertices,</div>
132 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·········································ID3D11DeviceContext·*deviceContext);</div>130 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>···································<span·class="keywordtype">void</span>·*deviceContext·=·NULL);</div>
 131 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
 132 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01237.html#a2629b06f77082d1c67c50b03be4e465a">···51</a></span>····<a·class="code·hl_function"·href="a01237.html#a2629b06f77082d1c67c50b03be4e465a">~GLVertexBuffer</a>();</div>
133 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>133 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
134 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01153.html#ae6f29f48db71c5ed845eb6abe085af91">···55</a></span>····<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a01153.html#ae6f29f48db71c5ed845eb6abe085af91">~CpuD3D11VertexBuffer</a>();</div> 
135 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> 
136 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01153.html#a96601a091f8831823c4dd72b6c962f1b">···59</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01153.html#a96601a091f8831823c4dd72b6c962f1b">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>134 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01237.html#a96601a091f8831823c4dd72b6c962f1b">···55</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01237.html#a96601a091f8831823c4dd72b6c962f1b">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>
137 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····················<span·class="keywordtype">void</span>·*deviceContext·=·NULL);</div>135 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····················<span·class="keywordtype">void</span>·*deviceContext·=·NULL);</div>
138 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> 
139 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01153.html#a77cee40767fd4936f20a8f9d9d9ea625">···63</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01153.html#a77cee40767fd4936f20a8f9d9d9ea625">GetNumElements</a>()·<span·class="keyword">const</span>;</div> 
140 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> 
141 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01153.html#aaf4a32b8a414eff77000c584c2015cb7">···66</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01153.html#aaf4a32b8a414eff77000c584c2015cb7">GetNumVertices</a>()·<span·class="keyword">const</span>;</div> 
142 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>136 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
143 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01153.html#adf7a9df5d3fc4d803bf5f1f374d90274">···69</a></span>····<span·class="keywordtype">float</span>·*·<a·class="code·hl_function"·href="a01153.html#adf7a9df5d3fc4d803bf5f1f374d90274">Bi[·...·truncated·by·diffoscope;·len:·17,·SHA:·d5b8235798a52db6fd3a52b54994c4ce4ea6b8918eb7f4182f0786a6eecc23ce·...·];</div>137 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01237.html#a77cee40767fd4936f20a8f9d9d9ea625">···59</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01237.html#a77cee40767fd4936f20a8f9d9d9ea625">GetNum[·...·truncated·by·diffoscope;·len:·49,·SHA:·78b164c89b9a6bdeb9a87f9817225f36eec3b91b4c79001a41c9f2ab63cad65f·...·];</div>
 138 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
 139 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01237.html#aaf4a32b8a414eff77000c584c2015cb7">···62</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01237.html#aaf4a32b8a414eff77000c584c2015cb7">GetNumVertices</a>()·<span·class="keyword">const</span>;</div>
 140 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
 141 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01237.html#a6a642b61f5cf7ced73523798467735a5">···65</a></span>····GLuint·<a·class="code·hl_function"·href="a01237.html#a6a642b61f5cf7ced73523798467735a5">BindVBO</a>(<span·class="keywordtype">void</span>·*deviceContext·=·NULL);</div>
 142 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
 143 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="keyword">protected</span>:</div>
 144 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01237.html#aa6f38a53fba4a64d600b9c4695477049">···69</a></span>····<a·class="code·hl_function"·href="a01237.html#aa6f38a53fba4a64d600b9c4695477049">GLVertexBuffer</a>(<span·class="keywordtype">int</span>·numElements,·<span·class="keywordtype">int</span>·numVertices);</div>
144 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>145 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>
145 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01153.html#ac86f03cfaa5678c28ffce2b69e3fb5bc">···72</a></span>····ID3D11Buffer·*<a·class="code·hl_function"·href="a01153.html#ac86f03cfaa5678c28ffce2b69e3fb5bc">BindD3D11Buffer</a>(ID3D11Devi[·...·truncated·by·diffoscope;·len:·24,·SHA:·974c2709914cb16c8b231f3ee6a55cc77c1f4d6ac48f7152e31121ae720e7016·...·]);</div>146 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01237.html#add23d9f5bbc918076d240287a9b3664f">···73</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01237.html#add23d9f5bbc918076d240287a9b3664f">alloca[·...·truncated·by·diffoscope;·len:·7,·SHA:·d3f694ced5b118437cb50fc89c70e8e5da52a96202945516910031523414b02c·...·]);</div>
146 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>147 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>
147 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01153.html#aedcdb663cc4d3635fb5ba9149fb0d214">···75</a></span>····ID3D11Buffer·*<a·class="code·hl_function"·href="a01153.html#aedcdb663cc4d3635fb5ba9149fb0d214">BindVBO</a>(ID3D11DeviceContext·*deviceContext)·{</div> 
148 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01153.html#ac86f03cfaa5678c28ffce2b69e3fb5bc">BindD3D11Buffer</a>(deviceContext);</div>148 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="keyword">private</span>:</div>
 149 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····<span·class="keywordtype">int</span>·_numElements;</div>
 150 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<span·class="keywordtype">int</span>·_numVertices;</div>
 151 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····GLuint·_vbo;</div>
149 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····}</div>152 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>};</div>
150 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>153 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>
151 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="keyword">protected</span>:</div>154 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>}··<span·class="comment">//·end·namespace·Osd</span></div>
152 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01153.html#a632143bc1ec4fbbca2148b0e9e87bc08">···81</a></span>····<a·class="code·hl_function"·href="a01153.html#a632143bc1ec4fbbca2148b0e9e87bc08">CpuD3D11VertexBuffer</a>(<span·class="keywordtype">int</span>·numElements,·<span·class="keywordtype">int</span>·numVertices);</div> 
153 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>155 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>
154 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01153.html#ae61b4ed6cc7cb69826cd0804c2d972b7">···83</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01153.html#ae61b4ed6cc7cb69826cd0804c2d972b7">allocate</a>(ID3D11Device·*device);</div>156 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>}··<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div>
 157 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div>
155 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>158 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>
156 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span><span·class="keyword">private</span>:</div> 
157 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="keywordtype">int</span>·_numElements;</div> 
158 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<span·class="keywordtype">int</span>·_numVertices;</div> 
159 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····ID3D11Buffer·*_d3d11Buffer;</div> 
160 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····<span·class="keywordtype">float</span>·*_cpuBuffer;</div> 
161 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>};</div> 
162 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> 
163 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>}··<span·class="comment">//·end·namespace·Osd</span></div> 
164 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> 
165 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>}··<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> 
166 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> 
167 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> 
168 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>}··<span·class="comment">//·end·namespace·OpenSubdiv</span></div>159 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>}··<span·class="comment">//·end·namespace·OpenSubdiv</span></div>
169 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>160 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>
170 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span><span·class="preprocessor">#endif··</span><span·class="comment">//·OPENSUBDIV3_OSD_CPU_D3D11_VERTEX_BUFFER_H</span></div>161 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span><span·class="preprocessor">#endif··</span><span·class="comment">//·OPENSUBDIV3_OSD_GL_VERTEX_BUFFER_H</span></div>
171 <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>162 <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>
172 <div·class="ttc"·id="aa01153_html"><div·class="ttname"><a·href="a01153.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuD3D11VertexBuffer</a></div><div·class="ttdoc">Concrete·vertex·buffer·class·for·Cpu·subdivision·and·DirectX·drawing.</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00845_source.html#l00048">cpuD3D11VertexBuffer.h:48</a></div></div> 
173 <div·class="ttc"·id="aa01153_html_a00d85863962f5871f802164e2fba7acc"><div·class="ttname"><a·href="a01153.html#a00d85863962f5871f802164e2fba7acc">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuD3D11VertexBuffer::Create</a></div><div·class="ttdeci">static·CpuD3D11VertexBuffer·*·Create(int·numElements,·int·numVertices,·ID3D11DeviceContext·*deviceContext)</div><div·class="ttdoc">Creator.·Returns·NULL·if·error.</div></div> 
174 <div·class="ttc"·id="aa01153_html_a632143bc1ec4fbbca2148b0e9e87bc08"><div·class="ttname"><a·href="a01153.html#a632143bc1ec4fbbca2148b0e9e87bc08">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuD3D11VertexBuffer::CpuD3D11VertexBuffer</a></div><div·class="ttdeci">CpuD3D11VertexBuffer(int·nu[·...·truncated·by·diffoscope;·len:·64,·SHA:·e85e11e38fa20186bbf1aa203b37f32e52718b0e714757566c065f535b90e026·...·]</div></div>163 <div·class="ttc"·id="aa01237_html"><div·class="ttname"><a·href="a01237.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLVertexBuffer</a></div><div·class="ttdoc">Concrete·vertex·buffer·class·for·GLSL·subdivision·and·OpenGL·drawing.</div><div·class="ttdef"><b>Definition:</b>·<a·href="a0[·...·truncated·by·diffoscope;·len:·48,·SHA:·ab509bd8318f9a32aa993f67220febdb39b8bedf6e4abf74d1660d000310b842·...·]</div></div>
 164 <div·class="ttc"·id="aa01237_html_a2629b06f77082d1c67c50b03be4e465a"><div·class="ttname"><a·href="a01237.html#a2629b06f77082d1c67c50b03be4e465a">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLVertexBuffer::~GLVertexBuffer</a></div><div·class="ttdeci">~GLVertexBuffer()</div><div·class="ttdoc">Destructor.</div></div>
 165 <div·class="ttc"·id="aa01237_html_a6a642b61f5cf7ced73523798467735a5"><div·class="ttname"><a·href="a01237.html#a6a642b61f5cf7ced73523798467735a5">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLVertexBuffer::BindVBO</a></div><div·class="ttdeci">GLuint·BindVBO(void·*deviceContext=NULL)</div><div·class="ttdoc">Returns·the·GL·buffer·object.</div></div>
175 <div·class="ttc"·id="aa01153_html_a77cee40767fd4936f20a8f9d9d9ea625"><div·class="ttname"><a·href="a01153.html#a77cee40767fd4936f20a8f9d9d9ea625">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuD3D11VertexBuffer::GetNumElements</a></div><div·class="ttdeci">int·GetNumElements()·const</div><div·class="ttdoc">Returns·how·many·elements·defined·in·this·vertex·buffer.</div></div>166 <div·class="ttc"·id="aa01237_html_a77cee40767fd4936f20a8f9d9d9ea625"><div·class="ttname"><a·href="a01237.html#a77cee40767fd4936f20a8f9d9d9ea625">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLVertexBuffer::GetNumElements</a></div><div·class="ttdeci">int·GetNumElements()·const</div><div·class="ttdoc">Returns·how·many·elements·defined·in·this·vertex·buffer.</div></div>
176 <div·class="ttc"·id="aa01153_html_a96601a091f8831823c4dd72b6c962f1b"><div·class="ttname"><a·href="a01153.html#a96601a091f8831823c4dd72b6c962f1b">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuD3D11VertexBuffer::UpdateData</a></div><div·class="ttdeci">void·UpdateData(const·float·*src,·int·startVertex,·int·numVertices,·void·*deviceContext=NULL)</div></div>167 <div·class="ttc"·id="aa01237_html_a96601a091f8831823c4dd72b6c962f1b"><div·class="ttname"><a·href="a01237.html#a96601a091f8831823c4dd72b6c962f1b">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLVertexBuffer::UpdateData</a></div><div·class="ttdeci">void·UpdateData(const·float·*src,·int·startVertex,·int·numVertices,·void·*deviceContext=NULL)</div></div>
 168 <div·class="ttc"·id="aa01237_html_aa6f38a53fba4a64d600b9c4695477049"><div·class="ttname"><a·href="a01237.html#aa6f38a53fba4a64d600b9c4695477049">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLVertexBuffer::GLVertexBuffer</a></div><div·class="ttdeci">GLVertexBuffer(int·numElements,·int·numVertices)</div><div·class="ttdoc">Constructor.</div></div>
177 <div·class="ttc"·id="aa01153_html_aaf4a32b8a414eff77000c584c2015cb7"><div·class="ttname"><a·href="a01153.html#aaf4a32b8a414eff77000c584c2015cb7">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuD3D11VertexBuffer::GetNumVertices</a></div><div·class="ttdeci">int·GetNumVertices()·const</div><div·class="ttdoc">Returns·how·many·vertices·allocated·in·this·vertex·buffer.</div></div>169 <div·class="ttc"·id="aa01237_html_aaf4a32b8a414eff77000c584c2015cb7"><div·class="ttname"><a·href="a01237.html#aaf4a32b8a414eff77000c584c2015cb7">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLVertexBuffer::GetNumVertices</a></div><div·class="ttdeci">int·GetNumVertices()·const</div><div·class="ttdoc">Returns·how·many·vertices·allocated·in·this·vertex·buffer.</div></div>
 170 <div·class="ttc"·id="aa01237_html_abfb3fc6fd2278633f65442db6528c926"><div·class="ttname"><a·href="a01237.html#abfb3fc6fd2278633f65442db6528c926">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLVertexBuffer::Create</a></div><div·class="ttdeci">static·GLVertexBuffer·*·Create(int·numElements,·int·numVertices,·void·*deviceContext=NULL)</div><div·class="ttdoc">Creator.·Returns·NULL·if·error.</div></div>
 171 <div·class="ttc"·id="aa01237_html_add23d9f5bbc918076d240287a9b3664f"><div·class="ttname"><a·href="a01237.html#add23d9f5bbc918076d240287a9b3664f">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLVertexBuffer::allocate</a></div><div·class="ttdeci">bool·allocate()</div></div>
178 <div·class="ttc"·id="aa01153_html_ac86f03cfaa5678c28ffce2b69e3fb5bc"><div·class="ttname"><a·href="a01153.html#ac86f03cfaa5678c28ffce2b69e3fb5bc">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuD3D11VertexBuffer::BindD3D11Buffer</a></div><div·class="ttdeci">ID3D11Buffer·*·BindD3D11Buffer(ID3D11DeviceContext·*deviceContext)</div><div·class="ttdoc">Returns·the·D3D11·buffer·object.</div></div> 
179 <div·class="ttc"·id="aa01153_html_adf7a9df5d3fc4d803bf5f1f374d90274"><div·class="ttname"><a·href="a01153.html#adf7a9df5d3fc4d803bf5f1f374d90274">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuD3D11VertexBuffer::BindCpuBuffer</a></div><div·class="ttdeci">float·*·BindCpuBuffer()</div><div·class="ttdoc">Returns·the·address·of·CPU·buffer.</div></div> 
Max diff block lines reached; 967/29128 bytes (3.32%) of diff not shown.
6.17 KB
html2text {}
    
Offset 4, 15 lines modifiedOffset 4, 15 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 cpuD3D11VertexBuffer.h5 glVertexBuffer.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2013·Pixar8 ·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·in11 ·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 30, 105 lines modifiedOffset 30, 88 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_OSD_CPU_D3D11_VERTEX_BUFFER_H37 ·25#ifndef·OPENSUBDIV3_OSD_GL_VERTEX_BUFFER_H
38 ·26#define·OPENSUBDIV3_OSD_CPU_D3D11_VERTEX_BUFFER_H38 ·26#define·OPENSUBDIV3_OSD_GL_VERTEX_BUFFER_H
39 ·2739 ·27
40 ·28#include·"../version.h"40 ·28#include·"../version.h"
 41 ·29
 42 ·30#include·"../osd/opengl.h"
41 ·29#include·<cstddef>43 ·31#include·<cstddef>
 44 ·32
42 ·30 
43 ·31struct·ID3D11Buffer; 
44 ·32struct·ID3D11Device; 
45 ·33struct·ID3D11DeviceContext; 
46 ·34 
47 ·35namespace·OpenSubdiv·{45 ·33namespace·OpenSubdiv·{
48 ·36namespace·OPENSUBDIV_VERSION·{46 ·34namespace·OPENSUBDIV_VERSION·{
 47 ·35
 48 ·36namespace·Osd·{
49 ·3749 ·37
50 ·38namespace·Osd·{ 
51 ·39 
52 48class·CpuD3D11VertexBuffer·{50 44class·GLVertexBuffer·{
53 ·49public:51 ·45public:
54 51·static·CpuD3D11VertexBuffer·*·Create(int·numElements,·int·numVertices,52 47·static·GLVertexBuffer·*·Create(int·numElements,·int·numVertices,
55 ·52·ID3D11DeviceContext·*deviceContext); 
56 ·53 
57 55·virtual·~CpuD3D11VertexBuffer(); 
58 ·5653 ·48·void·*deviceContext·=·NULL);
 54 ·49
 55 51·~GLVertexBuffer();
 56 ·52
59 59·void·UpdateData(const·float·*src,·int·startVertex,·int·numVertices,57 55·void·UpdateData(const·float·*src,·int·startVertex,·int·numVertices,
60 ·60·void·*deviceContext·=·NULL);58 ·56·void·*deviceContext·=·NULL);
61 ·6159 ·57
62 63·int·GetNumElements()·const;60 59·int·GetNumElements()·const;
63 ·6461 ·60
64 66·int·GetNumVertices()·const;62 62·int·GetNumVertices()·const;
65 ·67 
66 69·float·*·BindCpuBuffer();63 ·63
 64 65·GLuint·BindVBO(void·*deviceContext·=·NULL);
 65 ·66
 66 ·67protected:
 67 69·GLVertexBuffer(int·numElements,·int·numVertices);
67 ·7068 ·70
68 72·ID3D11Buffer·*BindD3D11Buffer(ID3D11DeviceContext·*deviceContext); 
69 ·73 
70 75·ID3D11Buffer·*BindVBO(ID3D11DeviceContext·*deviceContext)·{ 
71 ·76·return·BindD3D11Buffer(deviceContext); 
72 ·77·} 
73 ·78 
74 ·79protected: 
75 81·CpuD3D11VertexBuffer(int·numElements,·int·numVertices);69 73·bool·allocate();
 70 ·74
 71 ·75private:
 72 ·76·int·_numElements;
 73 ·77·int·_numVertices;
 74 ·78·GLuint·_vbo;
 75 ·79};
 76 ·80
 77 ·81}·//·end·namespace·Osd
76 ·8278 ·82
77 83·bool·allocate(ID3D11Device·*device); 
78 ·84 
79 ·85private: 
80 ·86·int·_numElements; 
81 ·87·int·_numVertices; 
82 ·88·ID3D11Buffer·*_d3d11Buffer; 
83 ·89·float·*_cpuBuffer; 
84 ·90}; 
85 ·91 
86 ·92}·//·end·namespace·Osd 
87 ·93 
88 ·94}·//·end·namespace·OPENSUBDIV_VERSION79 ·83}·//·end·namespace·OPENSUBDIV_VERSION
89 ·95using·namespace·OPENSUBDIV_VERSION;80 ·84using·namespace·OPENSUBDIV_VERSION;
90 ·9681 ·85
91 ·97}·//·end·namespace·OpenSubdiv82 ·86}·//·end·namespace·OpenSubdiv
92 ·9883 ·87
93 ·99#endif·//·OPENSUBDIV3_OSD_CPU_D3D11_VERTEX_BUFFER_H84 ·88#endif·//·OPENSUBDIV3_OSD_GL_VERTEX_BUFFER_H
94 OpenSubdiv85 OpenSubdiv
95 Definition:·limits.h:3286 Definition:·limits.h:32
96 OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuD3D11VertexBuffer87 OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLVertexBuffer
97 Concrete·vertex·buffer·class·for·Cpu·subdivision·and·DirectX·drawing.88 Concrete·vertex·buffer·class·for·GLSL·subdivision·and·OpenGL·drawing.
98 Definition:·cpuD3D11VertexBuffer.h:4889 Definition:·glVertexBuffer.h:44
99 OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuD3D11VertexBuffer::Create 
100 static·CpuD3D11VertexBuffer·*·Create(int·numElements,·int·numVertices, 
101 ID3D11DeviceContext·*deviceContext) 
102 Creator.·Returns·NULL·if·error. 
103 OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuD3D11VertexBuffer::CpuD3D11VertexBuffer90 OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLVertexBuffer::~GLVertexBuffer
104 CpuD3D11VertexBuffer(int·numElements,·int·numVertices)91 ~GLVertexBuffer()
105 Constructor.92 Destructor.
 93 OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLVertexBuffer::BindVBO
 94 GLuint·BindVBO(void·*deviceContext=NULL)
 95 Returns·the·GL·buffer·object.
106 OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuD3D11VertexBuffer::GetNumElements96 OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLVertexBuffer::GetNumElements
107 int·GetNumElements()·const97 int·GetNumElements()·const
108 Returns·how·many·elements·defined·in·this·vertex·buffer.98 Returns·how·many·elements·defined·in·this·vertex·buffer.
109 OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuD3D11VertexBuffer::UpdateData99 OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLVertexBuffer::UpdateData
110 void·UpdateData(const·float·*src,·int·startVertex,·int·numVertices,·void100 void·UpdateData(const·float·*src,·int·startVertex,·int·numVertices,·void
111 *deviceContext=NULL)101 *deviceContext=NULL)
 102 OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLVertexBuffer::GLVertexBuffer
 103 GLVertexBuffer(int·numElements,·int·numVertices)
 104 Constructor.
112 OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuD3D11VertexBuffer::GetNumVertices105 OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLVertexBuffer::GetNumVertices
113 int·GetNumVertices()·const106 int·GetNumVertices()·const
114 Returns·how·many·vertices·allocated·in·this·vertex·buffer.107 Returns·how·many·vertices·allocated·in·this·vertex·buffer.
Max diff block lines reached; 144/6295 bytes (2.29%) of diff not shown.
6.49 KB
./usr/share/doc/opensubdiv/doxy_html/a00848.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/glComputeEvaluator.h·File·Reference</title>8 <title>OpenSubdiv:·opensubdiv/osd/glLegacyGregoryPatchTable.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 83, 47 lines modifiedOffset 83, 42 lines modified
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124;87 <a·href="#nested-classes">Classes</a>·&#124;
88 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">glComputeEvaluator.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">glLegacyGregoryPatchTable.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
 93 <code>#include·&quot;<a·class="el"·href="a00734_source.html">../far/patchTable.h</a>&quot;</code><br·/>
 94 <code>#include·&quot;../osd/nonCopyable.h&quot;</code><br·/>
93 <code>#include·&quot;<a·class="el"·href="a00884_source.html">../osd/opengl.h</a>&quot;</code><br·/>95 <code>#include·&quot;<a·class="el"·href="a00866_source.html">../osd/opengl.h</a>&quot;</code><br·/>
94 <code>#include·&quot;<a·class="el"·href="a01481_source.html">../osd/types.h</a>&quot;</code><br·/> 
95 <code>#include·&quot;<a·class="el"·href="a00899_source.html">../osd/bufferDescriptor.h</a>&quot;</code><br·/> 
96 </div>96 </div>
97 <p><a·href="a00848_source.html">Go·to·the·source·code·of·this·file.</a></p>97 <p><a·href="a00848_source.html">Go·to·the·source·code·of·this·file.</a></p>
98 <table·class="memberdecls">98 <table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
100 Classes</h2></td></tr>100 Classes</h2></td></tr>
101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01209.html">GLStencilTableSSBO</a></td></tr>101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01225.html">GLLegacyGregoryPatchTable</a></td></tr>
102 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">GL·stencil·table·(Shader·Storage·buffer)··<a·href="a01209.html#details">More...</a><br·/></td></tr> 
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
104 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01213.html">GLComputeEvaluator</a></td></tr> 
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 </table><table·class="memberdecls">103 </table><table·class="memberdecls">
107 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>104 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
108 Namespaces</h2></td></tr>105 Namespaces</h2></td></tr>
109 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>106 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>
110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
111 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>108 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>
112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
113 <tr·class="memitem:a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr> 
114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
115 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>110 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
117 </table>112 </table>
118 </div><!--·contents·-->113 </div><!--·contents·-->
119 </div><!--·doc-content·-->114 </div><!--·doc-content·-->
120 <!--·start·footer·part·-->115 <!--·start·footer·part·-->
121 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->116 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
122 ··<ul>117 ··<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="a00848.html">glComputeEvaluator.h</a></li>118 ····<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="a00848.html">glLegacyGregoryPatchTable.h</a></li>
124 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>119 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
125 ··</ul>120 ··</ul>
126 </div>121 </div>
127 </body>122 </body>
128 </html>123 </html>
913 B
html2text {}
    
Offset 5, 32 lines modifiedOffset 5, 27 lines modified
  
  
  
5 [Logo]·OpenSubdiv5 [Logo]·OpenSubdiv
  
  
6 Classes·|·Namespaces6 Classes·|·Namespaces
7 glComputeEvaluator.h·File·Reference7 glLegacyGregoryPatchTable.h·File·Reference
8 #include·"../version.h"8 #include·"../version.h"
 9 #include·"../far/patchTable.h"
 10 #include·"../osd/nonCopyable.h"
9 #include·"../osd/opengl.h"11 #include·"../osd/opengl.h"
10 #include·"../osd/types.h" 
11 #include·"../osd/bufferDescriptor.h" 
12 Go_to_the_source_code_of_this_file.12 Go_to_the_source_code_of_this_file.
13 ·Classes13 ·Classes
 14 class· GLLegacyGregoryPatchTable
14 class· GLStencilTableSSBO 
15  ······GL·stencil·table·(Shader·Storage·buffer)·More... 
16   
17 class· GLComputeEvaluator 
18  15  
19 ·Namespaces16 ·Namespaces
20 namespace· OpenSubdiv17 namespace· OpenSubdiv
21  18  
22 namespace· OpenSubdiv::OPENSUBDIV_VERSION19 namespace· OpenSubdiv::OPENSUBDIV_VERSION
23  20  
24 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Far 
25   
26 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd21 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd
27  22  
28 ····*·opensubdiv23 ····*·opensubdiv
29 ····*·osd24 ····*·osd
30 ····*·glComputeEvaluator.h25 ····*·glLegacyGregoryPatchTable.h
31 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.426 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
323 B
./usr/share/doc/opensubdiv/doxy_html/a00848.js
231 B
js-beautify {}
    
Offset 1, 4 lines modifiedOffset 1, 3 lines modified
1 var·a00848·=·[1 var·a00848·=·[
 2 ····["GLLegacyGregoryPatchTable",·"a01225.html",·"a01225"]
2 ····["GLStencilTableSSBO",·"a01209.html",·"a01209"], 
3 ····["GLComputeEvaluator",·"a01213.html",·"a01213"] 
4 ];3 ];
286 KB
./usr/share/doc/opensubdiv/doxy_html/a00848_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/glComputeEvaluator.h·Source·File</title>8 <title>OpenSubdiv:·opensubdiv/osd/glLegacyGregoryPatchTable.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 80, 15 lines modifiedOffset 80, 15 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">glComputeEvaluator.h</div></div>86 ··<div·class="headertitle"><div·class="title">glLegacyGregoryPatchTable.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <a·href="a00848.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>89 <a·href="a00848.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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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 107, 1072 lines modifiedOffset 107, 93 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_GL_COMPUTE_EVALUATOR_H</span></div>114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_GL_LEGACY_GREGORY_PATCH_TABLE_H</span></div>
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_GL_COMPUTE_EVALUATOR_H</span></div>115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_GL_LEGACY_GREGORY_PATCH_TABLE_H</span></div>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
 119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../far/patchTable.h&quot;</span></div>
 120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;../osd/nonCopyable.h&quot;</span></div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../osd/opengl.h&quot;</span></div>121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&quot;../osd/opengl.h&quot;</span></div>
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;../osd/types.h&quot;</span></div> 
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&quot;../osd/bufferDescriptor.h&quot;</span></div> 
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
123 <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>123 <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>
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Far·{</div>126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Osd·{</div>
127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">class·</span>PatchTable;</div> 
128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keyword">class·</span>StencilTable;</div> 
129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">class·</span>LimitStencilTable;</div> 
130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>}</div>127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
 128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01225.html">···39</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01225.html">GLLegacyGregoryPatchTable</a></div>
 129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····:·<span·class="keyword">private</span>·NonCopyable&lt;GLLegacyGregoryPatchTable&gt;·{</div>
 130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">public</span>:</div>
 131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a01225.html#a51fd18f3671b7b6c473a039d75808067">···42</a></span>····<a·class="code·hl_function"·href="a01225.html#a51fd18f3671b7b6c473a039d75808067">~GLLegacyGregoryPatchTable</a>();</div>
131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">namespace·</span>Osd·{</div>133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01225.html#afa527b26d9eade00d0fa657646b1a151">···44</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01225.html">GLLegacyGregoryPatchTable</a>·*<a·class="code[·...·truncated·by·diffoscope;·len:·190,·SHA:·2a943734077391a1721cfe994c53bc717349879b8bcfc1e6eeea759b2881aaa1·...·]</div>
133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
134 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01209.html">···51</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01209.html">GLStencilTableSSBO</a>·{</div>135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01225.html#a733eda5d63a4d77324d7d50d704eaf3a">···46</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01225.html#a733eda5d63a4d77324d7d50d704eaf3a">Updat[·...·truncated·by·diffoscope;·len:·30,·SHA:·c5bd201c4ace107d55760d96033adefc31cf2afaaa6a02508be74f684f3b4ffc·...·]</div>
 136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>
 137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01225.html#af81d48caf41d4a7e0c5ceb166d4de990">···48</a></span>····GLuint·<a·class="code·hl_function"·href="a01225.html#af81d48caf41d4a7e0c5ceb166d4de990">GetVertexTextureBuffer</a>()<span·class="keyword">·const·</span>{</div>
135 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">public</span>:</div>138 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>········<span·class="keywordflow">return</span>·_vertexTextureBuffer;</div>
136 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01209.html#af687fa998cd70f0e79b87d59c96c6a72">···53</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01209.html">GLStencilTableSSBO</a>·*<a·class="code·hl_function"·href="a01209.html#af687fa998cd70f0e79b87d59c96c6a72">Create</a>(<a·class="code·hl_class"·href="a01057.html">Far::StencilTable</a>·<span·class="keyword">const</span>·*stencilTable,</div> 
137 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·······································<span·class="keywordtype">void</span>·*deviceContext·=·NULL)·{</div> 
138 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>········(void)deviceContext;··<span·class="comment">//·unused</span></div> 
139 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>········<span·class="keywordflow">return</span>·<span·class="keyword">new</span>·<a·class="code·hl_function"·href="a01209.html#aaacee6173a99bb3d7bbfb0a352ef9828">GLStencilTableSSBO</a>(stencilTable);</div> 
140 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····}</div>139 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····}</div>
141 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01209.html#ab739faa3277bb2ea54b5198b3b664f37">···58</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01209.html">GLStencilTableSSBO</a>·*<a·class="code·hl_function"·href="a01209.html#ab739faa3277bb2ea54b5198b3b664f37">Create</a>(</div> 
142 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>········<a·class="code·hl_class"·href="a01073.html">Far::LimitStencilTable</a>·<span·class="keyword">const</span>·*limitStencilTable,</div>140 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
 141 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01225.html#a36f9d327f21d3dee80bb225000403cce">···52</a></span>····GLuint·<a·class="code·hl_function"·href="a01225.html#a36f9d327f21d3dee80bb225000403cce">GetVertexValenceTextureBuffer</a>()<span·class="keyword">·const·</span>{</div>
 142 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>········<span·class="keywordflow">return</span>·_vertexValenceTextureBuffer;</div>
 143 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····}</div>
 144 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
 145 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01225.html#a4968ced94d61cc4d5e8f0e9883fd2116">···56</a></span>····GLuint·<a·class="code·hl_function"·href="a01225.html#a4968ced94d61cc4d5e8f0e9883fd2116">GetQuadOffsetsTextureBuffer</a>()<span·class="keyword">·const·</span>{</div>
 146 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········<span·class="keywordflow">return</span>·_quadOffsetsTextureBuffer;</div>
 147 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····}</div>
 148 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>
 149 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01225.html#a7d706a485061caef58778fdc8a7348d1">···60</a></span>····GLuint·<a·class="code·hl_function"·href="a01225.html#a7d706a485061caef58778fdc8a7348d1">GetQuadOffsetsBase</a>(<a·class="code·hl_enumeration"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type)·{</div>
 150 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>········<span·class="keywordflow">if</span>·(type·==·<a·class="code·hl_enumvalue"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7ac4ae10df9c13e44880ca7be341e44f2a">Far::PatchDescriptor::GREGORY_BOUNDARY</a>)·{</div>
143 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········<span·class="keywordtype">void</span>·*deviceContext·=·NULL)·{</div>151 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>············<span·class="keywordflow">return</span>·_quadOffsetsBase[1];</div>
144 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>········(void)deviceContext;··<span·class="comment">//·unused</span></div> 
145 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>········<span·class="keywordflow">return</span>·<span·class="keyword">new</span>·<a·class="code·hl_function"·href="a01209.html#aaacee6173a99bb3d7bbfb0a352ef9828">GLStencilTableSSBO</a>(limitStencilTable);</div> 
146 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····}</div>152 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········}</div>
 153 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>········<span·class="keywordflow">return</span>·_quadOffsetsBase[0];</div>
 154 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····}</div>
147 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>155 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
 156 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="keyword">protected</span>:</div>
 157 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01225.html#a5b78188b846b316c5c0cdb42f4ee9563">···68</a></span>····<a·class="code·hl_function"·href="a01225.html#a5b78188b846b316c5c0cdb42f4ee9563">GLLegacyGregoryPatchTable</a>();</div>
148 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01209.html#aaacee6173a99bb3d7bbfb0a352ef9828">···65</a></span>····<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01209.html#aaacee6173a99bb3d7bbfb0a352ef9828">GLStencilTableSSBO</a>(<a·class="code·hl_class"·href="a01057.html">Far::StencilTable</a>·<span·class="keyword">const</span>·*stencilTable);</div> 
149 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01209.html#a27a911fea9736fbe935c0edc4de9b998">···66</a></span>····<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01209.html#a27a911fea9736fbe935c0edc4de9b998">GLStencilTableSSBO</a>(<a·class="code·hl_class"·href="a01073.html">Far::LimitStencilTable</a>·<span·class="keyword">const</span>·*limitStencilTable);</div> 
150 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01209.html#a4bef0031fb9295436a4049ef5801fec5">···67</a></span>····<a·class="code·hl_function"·href="a01209.html#a4bef0031fb9295436a4049ef5801fec5">~GLStencilTableSSBO</a>();</div> 
151 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>158 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
 159 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="keyword">private</span>:</div>
 160 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····GLuint·_vertexTextureBuffer;</div>
 161 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····GLuint·_vertexValenceTextureBuffer;</div>
 162 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····GLuint·_quadOffsetsTextureBuffer;</div>
 163 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····GLuint·_quadOffsetsBase[2];·······<span·class="comment">//·gregory,·boundaryGregory</span></div>
 164 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>};</div>
 165 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>
 166 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div>
 167 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
152 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="comment">//·interfaces·needed·for·GLSLComputeKernel</span></div>168 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>}··<span·class="comment">//·end·namespace·Osd</span></div>
153 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01209.html#ab44562bc3f0ba09049f60ed0553e158a">···70</a></span>····GLuint·<a·class="code·hl_function"·href="a01209.html#ab44562bc3f0ba09049f60ed0553e158a">GetSizesBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_sizes;·}</div> 
154 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01209.html#a8ccadebd4c9c36a15a5cbec461bd07e7">···71</a></span>····GLuint·<a·class="code·hl_function"·href="a01209.html#a8ccadebd4c9c36a15a5cbec461bd07e7">GetOffsetsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_offsets;·}</div> 
155 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01209.html#a6bacf93d27488cfcbf2e66d23b4073a1">···72</a></span>····GLuint·<a·class="code·hl_function"·href="a01209.html#a6bacf93d27488cfcbf2e66d23b4073a1">GetIndicesBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_indices;·}</div> 
156 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01209.html#a18892fc15bb6ed7166dc6bfd5aaf0065">···73</a></span>····GLuint·<a·class="code·hl_function"·href="a01209.html#a18892fc15bb6ed7166dc6bfd5aaf0065">GetWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_weights;·}</div> 
157 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01209.html#a2e90e1efa299fe2698ce2d1aa87ade49">···74</a></span>····GLuint·<a·class="code·hl_function"·href="a01209.html#a2e90e1efa299fe2698ce2d1aa87ade49">GetDuWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_duWeights;·}</div> 
158 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01209.html#ae418f2ccdfaec79f90a3ccb92cd511a2">···75</a></span>····GLuint·<a·class="code·hl_function"·href="a01209.html#ae418f2ccdfaec79f90a3ccb92cd511a2">GetDvWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_dvWeights;·}</div> 
159 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01209.html#abe929adc8bb596b84057169f5ade4663">···76</a></span>····GLuint·<a·class="code·hl_function"·href="a01209.html#abe929adc8bb596b84057169f5ade4663">GetDuuWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_duuWeights;·}</div> 
160 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01209.html#a0684aca639f38b5f1b0c8efffe5f8bd8">···77</a></span>····GLuint·<a·class="code·hl_function"·href="a01209.html#a0684aca639f38b5f1b0c8efffe5f8bd8">GetDuvWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_duvWeights;·}</div> 
161 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01209.html#aadc7c7c9d50c030f7aee9e486b3b1d55">···78</a></span>····GLuint·<a·class="code·hl_function"·href="a01209.html#aadc7c7c9d50c030f7aee9e486b3b1d55">GetDvvWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_dvvWeights;·}</div> 
162 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01209.html#a65836d2070b943c8fecbad926d074de2">···79</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01209.html#a65836d2070b943c8fecbad926d074de2">GetNumStencils</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_numStencils;·}</div> 
Diff chunk too large, falling back to line-by-line diff (6 lines added, 947 lines removed)
163 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>169 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>
164 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">private</span>:</div>170 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>}··<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div>
165 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····GLuint·_sizes;</div>171 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div>
166 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····GLuint·_offsets;</div>172 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>
167 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····GLuint·_indices;</div>173 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>}··<span·class="comment">//·end·namespace·OpenSubdiv</span></div>
168 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····GLuint·_weights;</div>174 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>
169 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····GLuint·_duWeights;</div>175 <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>
Max diff block lines reached; 40842/232453 bytes (17.57%) of diff not shown.
58.9 KB
html2text {}
    
Offset 4, 15 lines modifiedOffset 4, 15 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 glComputeEvaluator.h5 glLegacyGregoryPatchTable.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2015·Pixar8 ·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·in11 ·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 30, 1365 lines modifiedOffset 30, 113 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_OSD_GL_COMPUTE_EVALUATOR_H 
38 ·26#define·OPENSUBDIV3_OSD_GL_COMPUTE_EVALUATOR_H37 ·25#ifndef·OPENSUBDIV3_OSD_GL_LEGACY_GREGORY_PATCH_TABLE_H
 38 ·26#define·OPENSUBDIV3_OSD_GL_LEGACY_GREGORY_PATCH_TABLE_H
39 ·2739 ·27
40 ·28#include·"../version.h"40 ·28#include·"../version.h"
41 ·2941 ·29
 42 ·30#include·"../far/patchTable.h"
 43 ·31#include·"../osd/nonCopyable.h"
42 ·30#include·"../osd/opengl.h"44 ·32#include·"../osd/opengl.h"
43 ·31#include·"../osd/types.h" 
44 ·32#include·"../osd/bufferDescriptor.h" 
45 ·3345 ·33
46 ·34namespace·OpenSubdiv·{46 ·34namespace·OpenSubdiv·{
47 ·35namespace·OPENSUBDIV_VERSION·{47 ·35namespace·OPENSUBDIV_VERSION·{
48 ·3648 ·36
49 ·37namespace·Far·{ 
50 ·38·class·PatchTable; 
51 ·39·class·StencilTable; 
52 ·40·class·LimitStencilTable; 
53 ·41} 
54 ·42 
55 ·43namespace·Osd·{49 ·37namespace·Osd·{
56 ·44 
57 51class·GLStencilTableSSBO·{50 ·38
 51 39class·GLLegacyGregoryPatchTable
 52 ·40·:·private·NonCopyable<GLLegacyGregoryPatchTable>·{
58 ·52public:53 ·41public:
59 53·static·GLStencilTableSSBO·*Create(Far::StencilTable·const·*stencilTable, 
60 ·54·void·*deviceContext·=·NULL)·{ 
61 ·55·(void)deviceContext;·//·unused 
62 ·56·return·new·GLStencilTableSSBO(stencilTable);54 42·~GLLegacyGregoryPatchTable();
 55 ·43
 56 44·static·GLLegacyGregoryPatchTable·*Create(Far::PatchTable·const·*patchTable);
 57 ·45
 58 46·void·UpdateVertexBuffer(GLuint·vbo);
 59 ·47
 60 48·GLuint·GetVertexTextureBuffer()·const·{
 61 ·49·return·_vertexTextureBuffer;
63 ·57·}62 ·50·}
64 58·static·GLStencilTableSSBO·*Create( 
65 ·59·Far::LimitStencilTable·const·*limitStencilTable, 
66 ·60·void·*deviceContext·=·NULL)·{ 
67 ·61·(void)deviceContext;·//·unused 
68 ·62·return·new·GLStencilTableSSBO(limitStencilTable);63 ·51
 64 52·GLuint·GetVertexValenceTextureBuffer()·const·{
 65 ·53·return·_vertexValenceTextureBuffer;
 66 ·54·}
 67 ·55
 68 56·GLuint·GetQuadOffsetsTextureBuffer()·const·{
 69 ·57·return·_quadOffsetsTextureBuffer;
 70 ·58·}
 71 ·59
 72 60·GLuint·GetQuadOffsetsBase(Far::PatchDescriptor::Type·type)·{
 73 ·61·if·(type·==·Far::PatchDescriptor::GREGORY_BOUNDARY)·{
 74 ·62·return·_quadOffsetsBase[1];
69 ·63·}75 ·63·}
 76 ·64·return·_quadOffsetsBase[0];
 77 ·65·}
 78 ·66
 79 ·67protected:
 80 68·GLLegacyGregoryPatchTable();
 81 ·69
 82 ·70private:
 83 ·71·GLuint·_vertexTextureBuffer;
 84 ·72·GLuint·_vertexValenceTextureBuffer;
 85 ·73·GLuint·_quadOffsetsTextureBuffer;
 86 ·74·GLuint·_quadOffsetsBase[2];·//·gregory,·boundaryGregory
 87 ·75};
 88 ·76
 89 ·77
 90 ·78
 91 ·79}·//·end·namespace·Osd
70 ·64 
71 65·explicit·GLStencilTableSSBO(Far::StencilTable·const·*stencilTable); 
72 66·explicit·GLStencilTableSSBO(Far::LimitStencilTable·const 
73 *limitStencilTable); 
74 67·~GLStencilTableSSBO(); 
75 ·68 
76 ·69·//·interfaces·needed·for·GLSLComputeKernel 
77 70·GLuint·GetSizesBuffer()·const·{·return·_sizes;·} 
78 71·GLuint·GetOffsetsBuffer()·const·{·return·_offsets;·} 
79 72·GLuint·GetIndicesBuffer()·const·{·return·_indices;·} 
80 73·GLuint·GetWeightsBuffer()·const·{·return·_weights;·} 
81 74·GLuint·GetDuWeightsBuffer()·const·{·return·_duWeights;·} 
82 75·GLuint·GetDvWeightsBuffer()·const·{·return·_dvWeights;·} 
83 76·GLuint·GetDuuWeightsBuffer()·const·{·return·_duuWeights;·} 
84 77·GLuint·GetDuvWeightsBuffer()·const·{·return·_duvWeights;·} 
85 78·GLuint·GetDvvWeightsBuffer()·const·{·return·_dvvWeights;·} 
86 79·int·GetNumStencils()·const·{·return·_numStencils;·} 
Diff chunk too large, falling back to line-by-line diff (6 lines added, 954 lines removed)
87 ·8092 ·80
88 ·81private:93 ·81}·//·end·namespace·OPENSUBDIV_VERSION
89 ·82·GLuint·_sizes;94 ·82using·namespace·OPENSUBDIV_VERSION;
90 ·83·GLuint·_offsets;95 ·83
91 ·84·GLuint·_indices;96 ·84}·//·end·namespace·OpenSubdiv
92 ·85·GLuint·_weights;97 ·85
93 ·86·GLuint·_duWeights;98 ·86#endif·//·OPENSUBDIV3_OSD_GL_LEGACY_GREGORY_PATCH_TABLE_H
94 ·87·GLuint·_dvWeights; 
95 ·88·GLuint·_duuWeights; 
96 ·89·GLuint·_duvWeights; 
97 ·90·GLuint·_dvvWeights; 
98 ·91·int·_numStencils; 
99 ·92}; 
100 ·93 
Max diff block lines reached; 23106/60296 bytes (38.32%) of diff not shown.
6.52 KB
./usr/share/doc/opensubdiv/doxy_html/a00851.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/glXFBEvaluator.h·File·Reference</title>8 <title>OpenSubdiv:·opensubdiv/osd/cpuGLVertexBuffer.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 83, 47 lines modifiedOffset 83, 42 lines modified
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124;87 <a·href="#nested-classes">Classes</a>·&#124;
88 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">glXFBEvaluator.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">cpuGLVertexBuffer.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
 93 <code>#include·&lt;cstddef&gt;</code><br·/>
93 <code>#include·&quot;<a·class="el"·href="a00884_source.html">../osd/opengl.h</a>&quot;</code><br·/>94 <code>#include·&quot;<a·class="el"·href="a00866_source.html">../osd/opengl.h</a>&quot;</code><br·/>
94 <code>#include·&quot;<a·class="el"·href="a01481_source.html">../osd/types.h</a>&quot;</code><br·/> 
95 <code>#include·&quot;<a·class="el"·href="a00899_source.html">../osd/bufferDescriptor.h</a>&quot;</code><br·/> 
96 </div>95 </div>
97 <p><a·href="a00851_source.html">Go·to·the·source·code·of·this·file.</a></p>96 <p><a·href="a00851_source.html">Go·to·the·source·code·of·this·file.</a></p>
98 <table·class="memberdecls">97 <table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
100 Classes</h2></td></tr>99 Classes</h2></td></tr>
101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01241.html">GLStencilTableTBO</a></td></tr> 
102 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">GL·TextureBuffer·stencil·table.··<a·href="a01241.html#details">More...</a><br·/></td></tr> 
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
104 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01245.html">GLXFBEvaluator</a></td></tr>100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01161.html">CpuGLVertexBuffer</a></td></tr>
 101 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Concrete·vertex·buffer·class·for·cpu·subdivision·and·OpenGL·drawing.··<a·href="a01161.html#details">More...</a><br·/></td></tr>
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 </table><table·class="memberdecls">103 </table><table·class="memberdecls">
107 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>104 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
108 Namespaces</h2></td></tr>105 Namespaces</h2></td></tr>
109 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>106 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>
110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
111 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>108 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>
112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
113 <tr·class="memitem:a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr> 
114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
115 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>110 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
117 </table>112 </table>
118 </div><!--·contents·-->113 </div><!--·contents·-->
119 </div><!--·doc-content·-->114 </div><!--·doc-content·-->
120 <!--·start·footer·part·-->115 <!--·start·footer·part·-->
121 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->116 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
122 ··<ul>117 ··<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="a00851.html">glXFBEvaluator.h</a></li>118 ····<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">cpuGLVertexBuffer.h</a></li>
124 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>119 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
125 ··</ul>120 ··</ul>
126 </div>121 </div>
127 </body>122 </body>
128 </html>123 </html>
916 B
html2text {}
    
Offset 5, 32 lines modifiedOffset 5, 28 lines modified
  
  
  
5 [Logo]·OpenSubdiv5 [Logo]·OpenSubdiv
  
  
6 Classes·|·Namespaces6 Classes·|·Namespaces
7 glXFBEvaluator.h·File·Reference7 cpuGLVertexBuffer.h·File·Reference
8 #include·"../version.h"8 #include·"../version.h"
 9 #include·<cstddef>
9 #include·"../osd/opengl.h"10 #include·"../osd/opengl.h"
10 #include·"../osd/types.h" 
11 #include·"../osd/bufferDescriptor.h" 
12 Go_to_the_source_code_of_this_file.11 Go_to_the_source_code_of_this_file.
13 ·Classes12 ·Classes
 13 class· CpuGLVertexBuffer
 14  ······Concrete·vertex·buffer·class·for·cpu·subdivision·and·OpenGL·drawing.
 15 ········More...
14 class· GLStencilTableTBO 
15  ······GL·TextureBuffer·stencil·table.·More... 
16   
17 class· GLXFBEvaluator 
18  16  
19 ·Namespaces17 ·Namespaces
20 namespace· OpenSubdiv18 namespace· OpenSubdiv
21  19  
22 namespace· OpenSubdiv::OPENSUBDIV_VERSION20 namespace· OpenSubdiv::OPENSUBDIV_VERSION
23  21  
24 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Far 
25   
26 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd22 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd
27  23  
28 ····*·opensubdiv24 ····*·opensubdiv
29 ····*·osd25 ····*·osd
30 ····*·glXFBEvaluator.h26 ····*·cpuGLVertexBuffer.h
31 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.427 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
310 B
./usr/share/doc/opensubdiv/doxy_html/a00851.js
218 B
js-beautify {}
    
Offset 1, 4 lines modifiedOffset 1, 3 lines modified
1 var·a00851·=·[1 var·a00851·=·[
 2 ····["CpuGLVertexBuffer",·"a01161.html",·"a01161"]
2 ····["GLStencilTableTBO",·"a01241.html",·"a01241"], 
3 ····["GLXFBEvaluator",·"a01245.html",·"a01245"] 
4 ];3 ];
303 KB
./usr/share/doc/opensubdiv/doxy_html/a00851_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/glXFBEvaluator.h·Source·File</title>8 <title>OpenSubdiv:·opensubdiv/osd/cpuGLVertexBuffer.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 80, 19 lines modifiedOffset 80, 19 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">glXFBEvaluator.h</div></div>86 ··<div·class="headertitle"><div·class="title">cpuGLVertexBuffer.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <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>89 <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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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>
94 <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>94 <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>
95 <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>95 <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>
96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>
97 <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>97 <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 107, 1137 lines modifiedOffset 107, 81 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <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>114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_CPU_GL_VERTEX_BUFFER_H</span></div>
115 <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>115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_CPU_GL_VERTEX_BUFFER_H</span></div>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
 119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../osd/opengl.h&quot;</span></div>120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;../osd/opengl.h&quot;</span></div>
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;../osd/types.h&quot;</span></div> 
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&quot;../osd/bufferDescriptor.h&quot;</span></div> 
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
123 <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>122 <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>
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Far·{</div> 
127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">class·</span>PatchTable;</div> 
128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keyword">class·</span>StencilTable;</div> 
129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">class·</span>LimitStencilTable;</div> 
130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>}</div> 
131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> 
132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">namespace·</span>Osd·{</div>125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>Osd·{</div>
133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
134 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01241.html">···52</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01241.html">GLStencilTableTBO</a>·{</div>127 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01161.html">···47</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01161.html">CpuGLVertexBuffer</a>·{</div>
135 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">public</span>:</div>128 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">public</span>:</div>
 129 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01161.html#acb848178657989d2c59730e90e8ac952">···50</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01161.html">CpuGLVertexBuffer</a>·*·<a·class="code·hl_function"·href="a01161.html#acb848178657989d2c59730e90e8ac952">Create</a>(<span·class="keywordtype">int</span>·numElements,·<span·class="keywordtype">int</span>·numVertices,</div>
 130 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······································<span·class="keywordtype">void</span>·*deviceContext·=·NULL);</div>
136 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01241.html#a24a8210b637a5b0fca2b258de3b8b8a6">···54</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01241.html">GLStencilTableTBO</a>·*<a·class="code·hl_function"·href="a01241.html#a24a8210b637a5b0fca2b258de3b8b8a6">Create</a>(</div> 
137 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>········<a·class="code·hl_class"·href="a01057.html">Far::StencilTable</a>·<span·class="keyword">const</span>·*stencilTable,·<span·class="keywordtype">void</span>·*deviceContext·=·NULL)·{</div> 
138 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>········(void)deviceContext;··<span·class="comment">//·unused</span></div> 
139 <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_function"·href="a01241.html#abbba46ba67be00a0eac751e3e731db6e">GLStencilTableTBO</a>(stencilTable);</div> 
140 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····}</div> 
141 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>131 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
 132 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01161.html#aec560f36966b5da9528b8dbc065f7cc7">···54</a></span>····<a·class="code·hl_function"·href="a01161.html#aec560f36966b5da9528b8dbc065f7cc7">~CpuGLVertexBuffer</a>();</div>
142 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01241.html#ae38a4728f9debae7733ab48cfadd8312">···60</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01241.html">GLStencilTableTBO</a>·*<a·class="code·hl_function"·href="a01241.html#ae38a4728f9debae7733ab48cfadd8312">Create</a>(</div> 
143 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>········<a·class="code·hl_class"·href="a01073.html">Far::LimitStencilTable</a>·<span·class="keyword">const</span>·*limitStencilTable,</div> 
144 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>········<span·class="keywordtype">void</span>·*deviceContext·=·NULL)·{</div> 
145 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········(void)deviceContext;··<span·class="comment">//·unused</span></div> 
146 <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_function"·href="a01241.html#abbba46ba67be00a0eac751e3e731db6e">GLStencilTableTBO</a>(limitStencilTable);</div> 
147 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····}</div>133 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
 134 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01161.html#a96601a091f8831823c4dd72b6c962f1b">···58</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01161.html#a96601a091f8831823c4dd72b6c962f1b">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>
 135 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····················<span·class="keywordtype">void</span>·*deviceContext·=·NULL);</div>
 136 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
 137 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01161.html#a77cee40767fd4936f20a8f9d9d9ea625">···62</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01161.html#a77cee40767fd4936f20a8f9d9d9ea625">GetNumElements</a>()·<span·class="keyword">const</span>;</div>
 138 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
 139 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01161.html#aaf4a32b8a414eff77000c584c2015cb7">···65</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01161.html#aaf4a32b8a414eff77000c584c2015cb7">GetNumVertices</a>()·<span·class="keyword">const</span>;</div>
148 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>140 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
 141 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01161.html#adf7a9df5d3fc4d803bf5f1f374d90274">···69</a></span>····<span·class="keywordtype">float</span>·*·<a·class="code·hl_function"·href="a01161.html#adf7a9df5d3fc4d803bf5f1f374d90274">BindCpuBuffer</a>();</div>
149 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01241.html#abbba46ba67be00a0eac751e3e731db6e">···67</a></span>····<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01241.html#abbba46ba67be00a0eac751e3e731db6e">GLStencilTableTBO</a>(<a·class="code·hl_class"·href="a01057.html">Far::StencilTable</a>·<span·class="keyword">const</span>·*stencilTable);</div> 
150 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01241.html#ac74a769daf1fe45575a16b738bb761cd">···68</a></span>····<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01241.html#ac74a769daf1fe45575a16b738bb761cd">GLStencilTableTBO</a>(<a·class="code·hl_class"·href="a01073.html">Far::LimitStencilTable</a>·<span·class="keyword">const</span>·*limitStencilTable);</div> 
151 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01241.html#a80dc5a5837edb75950ad0306595cbdcc">···69</a></span>····<a·class="code·hl_function"·href="a01241.html#a80dc5a5837edb75950ad0306595cbdcc">~GLStencilTableTBO</a>();</div> 
Diff chunk too large, falling back to line-by-line diff (23 lines added, 1019 lines removed)
152 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>142 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>
153 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="comment">//·interfaces·needed·for·GLSLTransformFeedbackKernel</span></div>143 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01161.html#a6a642b61f5cf7ced73523798467735a5">···73</a></span>····GLuint·<a·class="code·hl_function"·href="a01161.html#a6a642b61f5cf7ced73523798467735a5">BindVBO</a>(<span·class="keywordtype"[·...·truncated·by·diffoscope;·len:·36,·SHA:·88d8ad1f5cf766d7cb842d53433a7b7181f4108914f3f9a29935b3cc0a782770·...·]</div>
154 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01241.html#a233d7a80471d1d90eb2caf732e25115b">···72</a></span>····GLuint·<a·class="code·hl_function"·href="a01241.html#a233d7a80471d1d90eb2caf732e25115b">GetSizesTexture</a>()<span·class="key[·...·truncated·by·diffoscope;·len:·71,·SHA:·32823c7aeff539ce4d8058ac6f7a170bcde9714622532d3b23ebe693790c5c94·...·]</div>144 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>
155 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01241.html#afef26723ecaa12060e3e4744c0e206a9">···73</a></span>····GLuint·<a·class="code·hl_function"·href="a01241.html#afef26723ecaa12060e3e4744c0e206a9">GetOffsetsTexture</a>()<span·class="k[·...·truncated·by·diffoscope;·len:·75,·SHA:·457c66618690ee951a8ec39d99e8affbbbdf8953f70c44a9beb194261c7d9a46·...·]</div>145 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="keyword">protected</span>:</div>
156 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01241.html#a809a960b308df1bca3d8f406dbf9f422">···74</a></span>····GLuint·<a·class="code·hl_function"·href="a01241.html#a809a960b308df1bca3d8f406dbf9f422">GetIndicesTexture</a>()<span·class="k[·...·truncated·by·diffoscope;·len:·75,·SHA:·da49d2e6fa3419a33c064a814add4948b9c7ff7fc9e0d7b4f65cd3f9bf274f2c·...·]</div>146 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01161.html#a32dd2317d622c1b079e3219f97c86955">···77</a></span>····<a·class="code·hl_function"·href="a01161.html#a32dd2317d622c1b079e3219f97c86955">CpuGLVertexBuffer</a>(<span·class="keywordty[·...·truncated·by·diffoscope;·len:·78,·SHA:·145888714566914936d2ec5c533b7d94ee91827df3754ea3db463af850a006a3·...·]</div>
157 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01241.html#ad5f4a852f17762c50c5d3011b11155cb">···75</a></span>····GLuint·<a·class="code·hl_function"·href="a01241.html#ad5f4a852f17762c50c5d3011b11155cb">GetWeightsTexture</a>()<span·class="k[·...·truncated·by·diffoscope;·len:·75,·SHA:·be74e2153ad14b7282a40ae999a7c2185e23b6ee3046bfe8b1930c1e7dd36e10·...·]</div>147 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
158 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01241.html#afd4ff3060d31d9650d6c2820d870fda8">···76</a></span>····GLuint·<a·class="code·hl_function"·href="a01241.html#afd4ff3060d31d9650d6c2820d870fda8">GetDuWeightsTexture</a>()<span·class[·...·truncated·by·diffoscope;·len:·80,·SHA:·2aed53f6a64dadb5f4004c8da7cd2979e76f639e87d4b91b0ce44c60c4fd650c·...·]</div>148 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01161.html#add23d9f5bbc918076d240287a9b3664f">···80</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01161.html#add23d9f5bbc918076d240287a9b3664f">alloc[·...·truncated·by·diffoscope;·len:·10,·SHA:·b0f09c57bd7b6a0529b903193ea7c3ee3dc104ee2b1244bb78366f0ddbf4228c·...·]</div>
159 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01241.html#afb1cd9d41b168ceeadd4892bfb3d3f77">···77</a></span>····GLuint·<a·class="code·hl_function"·href="a01241.html#afb1cd9d41b168ceeadd4892bfb3d3f77">GetDvWeightsTexture</a>()<span·class[·...·truncated·by·diffoscope;·len:·80,·SHA:·c2e652a00f5daf54b9e5f9c1fdc353faa0cf9dfb3f2b81d5a3372493cd6637a0·...·]</div>149 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>
160 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01241.html#a70fdd6f46c3a89dd4627b67c9a37d02e">···78</a></span>····GLuint·<a·class="code·hl_function"·href="a01241.html#a70fdd6f46c3a89dd4627b67c9a37d02e">GetDuuWeightsTexture</a>()<span·clas[·...·truncated·by·diffoscope;·len:·82,·SHA:·2787f03ea2f0b83d9f7eeae5a54d0cc1a0d62e32a6d89e59ab30f6b10bd53687·...·]</div>150 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keyword">private</span>:</div>
161 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01241.html#a6987f68e0e090437e6a28dadce50f566">···79</a></span>····GLuint·<a·class="code·hl_function"·href="a01241.html#a6987f68e0e090437e6a28dadce50f566">GetDuvWeightsTexture</a>()<span·clas[·...·truncated·by·diffoscope;·len:·82,·SHA:·36a93115eae6b18a842c131aeb9c177ba9501e81dddb70b5e2ea98fafa62d2c7·...·]</div>151 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····<span·class="keywordtype">int</span>·_numElements;</div>
162 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01241.html#a5d98fa1e61dcd32b8deb16bc9cf04d52">···80</a></span>····GLuint·<a·class="code·hl_function"·href="a01241.html#a5d98fa1e61dcd32b8deb16bc9cf04d52">GetDvvWeightsTexture</a>()<span·class[·...·truncated·by·diffoscope;·len:·81,·SHA:·5e836a1fd6ea9a3dda2af1e4ba73faa1b732ab9295a5f05bad2f72fcf29468b2·...·]</div>152 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="keywordtype">int</span>·_numVertices;</div>
163 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01241.html#a65836d2070b943c8fecbad926d074de2">···81</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01241.html#a65836d2070b943c8fecbad926d074de2">GetNumS[·...·truncated·by·diffoscope;·len:·106,·SHA:·265c6f31b9e6889aaab6891cc28ef0a6b45541ab0eba67fb52c782c1d09c6e29·...·]</div>153 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····GLuint·_vbo;</div>
164 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>154 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="keywordtype">float</span>·*_cpuBuffer;</div>
165 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="keyword">private</span>:</div>155 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<span·class="keywordtype">bool</span>·_dataDirty;</div>
166 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····GLuint·_sizes;</div>156 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>};</div>
167 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····GLuint·_offsets;</div>157 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>
168 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····GLuint·_indices;</div>158 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>}··<span·class="comment">//·end·namespace·Osd</span></div>
169 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····GLuint·_weights;</div>159 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>
170 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····GLuint·_duWeights;</div>160 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>}··<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div>
171 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····GLuint·_dvWeights;</div>161 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div>
172 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····GLuint·_duuWeights;</div>162 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>
173 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····GLuint·_duvWeights;</div>163 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>}··<span·class="comment">//·end·namespace·OpenSubdiv</span></div>
174 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····GLuint·_dvvWeights;</div>164 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>
175 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····<span·class="keywordtype">int</span>·_numStencils;</div>165 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span><span·class="preprocessor">#endif··</span><span·class="comment">//·OPENSUBDIV3_OSD_CPU_GL_VERTEX_BUFFER_H</span></div>
176 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>};</div> 
177 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div> 
178 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span><span·class="comment">//·---------------------------------------------------------------------------</span></div> 
179 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> 
180 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a01245.html">···98</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01245.html">GLXFBEvaluator</a>·{</div> 
181 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span><span·class="keyword">public</span>:</div> 
182 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a01245.html#a2c24b70c9312d8dff3fecb9ddea52c44">··100</a></span>····<span·class="keyword">typedef</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_typedef"·href="a01245.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a>;</div> 
183 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> 
184 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·DEVICE_CONTEXT&gt;</div> 
185 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a01245.html#a5be617906ad76ddcc4795dd6557a79f7">··104</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01245.html">GLXFBEvaluator</a>·*<a·class="code·hl_function"·href="a01245.html#a5be617906ad76ddcc4795dd6557a79f7">Create</a>(<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;srcDesc,</div> 
Max diff block lines reached; 42243/246389 bytes (17.14%) of diff not shown.
62.0 KB
html2text {}
    
Offset 4, 18 lines modifiedOffset 4, 18 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 glXFBEvaluator.h5 cpuGLVertexBuffer.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2015·Pixar8 ·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·in11 ·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·trade15 ·9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade
Offset 30, 1454 lines modifiedOffset 30, 94 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_OSD_GL_XFB_EVALUATOR_H37 ·25#ifndef·OPENSUBDIV3_OSD_CPU_GL_VERTEX_BUFFER_H
38 ·26#define·OPENSUBDIV3_OSD_GL_XFB_EVALUATOR_H38 ·26#define·OPENSUBDIV3_OSD_CPU_GL_VERTEX_BUFFER_H
39 ·2739 ·27
40 ·28#include·"../version.h"40 ·28#include·"../version.h"
41 ·2941 ·29
 42 ·30#include·<cstddef>
42 ·30#include·"../osd/opengl.h"43 ·31#include·"../osd/opengl.h"
 44 ·32
43 ·31#include·"../osd/types.h" 
44 ·32#include·"../osd/bufferDescriptor.h" 
45 ·33 
46 ·34namespace·OpenSubdiv·{45 ·33namespace·OpenSubdiv·{
47 ·35namespace·OPENSUBDIV_VERSION·{46 ·34namespace·OPENSUBDIV_VERSION·{
 47 ·35
48 ·36 
49 ·37namespace·Far·{ 
50 ·38·class·PatchTable; 
51 ·39·class·StencilTable; 
52 ·40·class·LimitStencilTable; 
53 ·41} 
54 ·42 
55 ·43namespace·Osd·{48 ·36namespace·Osd·{
56 ·44 
57 52class·GLStencilTableTBO·{49 ·37
 50 47class·CpuGLVertexBuffer·{
58 ·53public:51 ·48public:
 52 50·static·CpuGLVertexBuffer·*·Create(int·numElements,·int·numVertices,
59 54·static·GLStencilTableTBO·*Create( 
60 ·55·Far::StencilTable·const·*stencilTable,·void·*deviceContext·=·NULL)·{ 
61 ·56·(void)deviceContext;·//·unused 
62 ·57·return·new·GLStencilTableTBO(stencilTable); 
63 ·58·} 
64 ·59 
65 60·static·GLStencilTableTBO·*Create( 
66 ·61·Far::LimitStencilTable·const·*limitStencilTable, 
67 ·62·void·*deviceContext·=·NULL)·{53 ·51·void·*deviceContext·=·NULL);
68 ·63·(void)deviceContext;·//·unused 
69 ·64·return·new·GLStencilTableTBO(limitStencilTable); 
70 ·65·}54 ·52
 55 54·~CpuGLVertexBuffer();
 56 ·55
 57 58·void·UpdateData(const·float·*src,·int·startVertex,·int·numVertices,
 58 ·59·void·*deviceContext·=·NULL);
 59 ·60
 60 62·int·GetNumElements()·const;
 61 ·63
 62 65·int·GetNumVertices()·const;
71 ·6663 ·66
 64 69·float·*·BindCpuBuffer();
72 67·explicit·GLStencilTableTBO(Far::StencilTable·const·*stencilTable); 
73 68·explicit·GLStencilTableTBO(Far::LimitStencilTable·const·*limitStencilTable); 
74 69·~GLStencilTableTBO(); 
Diff chunk too large, falling back to line-by-line diff (23 lines added, 1028 lines removed)
75 ·7065 ·70
76 ·71·//·interfaces·needed·for·GLSLTransformFeedbackKernel66 73·GLuint·BindVBO(void·*deviceContext·=·NULL);
77 72·GLuint·GetSizesTexture()·const·{·return·_sizes;·}67 ·74
78 73·GLuint·GetOffsetsTexture()·const·{·return·_offsets;·}68 ·75protected:
79 74·GLuint·GetIndicesTexture()·const·{·return·_indices;·}69 77·CpuGLVertexBuffer(int·numElements,·int·numVertices);
80 75·GLuint·GetWeightsTexture()·const·{·return·_weights;·}70 ·78
81 76·GLuint·GetDuWeightsTexture()·const·{·return·_duWeights;·}71 80·bool·allocate();
82 77·GLuint·GetDvWeightsTexture()·const·{·return·_dvWeights;·}72 ·81
83 78·GLuint·GetDuuWeightsTexture()·const·{·return·_duuWeights;·}73 ·82private:
84 79·GLuint·GetDuvWeightsTexture()·const·{·return·_duvWeights;·}74 ·83·int·_numElements;
85 80·GLuint·GetDvvWeightsTexture()·const·{·return·_dvvWeights;·}75 ·84·int·_numVertices;
86 81·int·GetNumStencils()·const·{·return·_numStencils;·}76 ·85·GLuint·_vbo;
87 ·8277 ·86·float·*_cpuBuffer;
88 ·83private:78 ·87·bool·_dataDirty;
89 ·84·GLuint·_sizes;79 ·88};
90 ·85·GLuint·_offsets;80 ·89
91 ·86·GLuint·_indices;81 ·90}·//·end·namespace·Osd
92 ·87·GLuint·_weights;82 ·91
93 ·88·GLuint·_duWeights;83 ·92}·//·end·namespace·OPENSUBDIV_VERSION
94 ·89·GLuint·_dvWeights;84 ·93using·namespace·OPENSUBDIV_VERSION;
95 ·90·GLuint·_duuWeights;85 ·94
96 ·91·GLuint·_duvWeights;86 ·95}·//·end·namespace·OpenSubdiv
97 ·92·GLuint·_dvvWeights;87 ·96
98 ·93·int·_numStencils;88 ·97#endif·//·OPENSUBDIV3_OSD_CPU_GL_VERTEX_BUFFER_H
99 ·94}; 
100 ·95 
101 ·96//·------------------------------------------------------------------------- 
102 -- 
103 ·97 
104 98class·GLXFBEvaluator·{ 
105 ·99public: 
106 100·typedef·bool·Instantiatable; 
107 ·101 
108 ·103·template·<typename·DEVICE_CONTEXT> 
109 104·static·GLXFBEvaluator·*Create(BufferDescriptor·const·&srcDesc, 
110 ·105·BufferDescriptor·const·&dstDesc, 
111 ·106·BufferDescriptor·const·&duDesc, 
112 ·107·BufferDescriptor·const·&dvDesc, 
113 ·108·DEVICE_CONTEXT·deviceContext)·{ 
114 ·109·bool·interleavedDerivativeBuffers·=·deviceContext 
115 ·110·?·deviceContext->AreInterleavedDerivativeBuffers() 
116 ·111·:·false; 
117 ·112·return·Create(srcDesc,·dstDesc,·duDesc,·dvDesc, 
118 ·113·interleavedDerivativeBuffers); 
119 ·114·} 
120 ·115 
121 117·static·GLXFBEvaluator·*Create(BufferDescriptor·const·&srcDesc, 
122 ·118·BufferDescriptor·const·&dstDesc, 
Max diff block lines reached; 23944/63425 bytes (37.75%) of diff not shown.
11.4 KB
./usr/share/doc/opensubdiv/doxy_html/a00854.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/glslPatchShaderSource.h·File·Reference</title>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 81, 43 lines modifiedOffset 81, 51 lines modified
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124; 
88 <a·href="#namespaces">Namespaces</a>··</div>87 <a·href="#namespaces">Namespaces</a>·&#124;
 88 <a·href="#func-members">Functions</a>··</div>
89 ··<div·class="headertitle"><div·class="title">glslPatchShaderSource.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">tbbKernel.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
93 <code>#include·&lt;string&gt;</code><br·/> 
94 <code>#include·&quot;<a·class="el"·href="a00740_source.html">../far/patchDescriptor.h</a>&quot;</code><br·/>93 <code>#include·&quot;<a·class="el"·href="a00740_source.html">../far/patchDescriptor.h</a>&quot;</code><br·/>
 94 <code>#include·&quot;<a·class="el"·href="a00737_source.html">../far/patchParam.h</a>&quot;</code><br·/>
95 </div>95 </div>
96 <p><a·href="a00854_source.html">Go·to·the·source·code·of·this·file.</a></p>96 <p><a·href="a00854_source.html">Go·to·the·source·code·of·this·file.</a></p>
97 <table·class="memberdecls">97 <table·class="memberdecls">
98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
99 Classes</h2></td></tr> 
100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01233.html">GLSLPatchShaderSource</a></td></tr> 
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
102 </table><table·class="memberdecls"> 
103 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
104 Namespaces</h2></td></tr>99 Namespaces</h2></td></tr>
105 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>100 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
107 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>102 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
109 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>104 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 106 </table><table·class="memberdecls">
 107 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 108 Functions</h2></td></tr>
 109 <tr·class="memitem:a4a6a0fcc01638f2a0316b32ad158b485"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#a4a6a0fcc01638f2a0316b32ad158b485">TbbEvalStencils</a>·(float·const·*src,·BufferDescriptor·const·&amp;srcDesc,·float·*dst,·BufferDescriptor·const·&amp;dstDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·int·start,·int·end)</td></tr>
 110 <tr·class="separator:a4a6a0fcc01638f2a0316b32ad158b485"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 111 <tr·class="memitem:af23c35537952bfdd493441e5c42ff2ed"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#af23c35537952bfdd493441e5c42ff2ed">TbbEvalStencils</a>·(float·const·*src,·BufferDescriptor·const·&amp;srcDesc,·float·*dst,·BufferDescriptor·const·&amp;dstDesc,·float·*dstDu,·BufferDescriptor·const·&amp;dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&amp;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>
 112 <tr·class="separator:af23c35537952bfdd493441e5c42ff2ed"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 113 <tr·class="memitem:aa65ed860a2fa5935d99129a898a8f0b6"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#aa65ed860a2fa5935d99129a898a8f0b6">TbbEvalStencils</a>·(float·const·*src,·BufferDescriptor·const·&amp;srcDesc,·float·*dst,·BufferDescriptor·const·&amp;dstDesc,·float·*dstDu,·BufferDescriptor·const·&amp;dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&amp;dstDvDesc,·float·*dstDuu,·BufferDescriptor·const·&amp;dstDuuDesc,·float·*dstDuv,·BufferDescriptor·const·&amp;dstDuvDesc,·float·*dstDvv,·BufferDescriptor·const·&amp;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>
 114 <tr·class="separator:aa65ed860a2fa5935d99129a898a8f0b6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 115 <tr·class="memitem:a20e08be34d6183b6943ed7a1586eca4a"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#a20e08be34d6183b6943ed7a1586eca4a">TbbEvalPatches</a>·(float·const·*src,·BufferDescriptor·const·&amp;srcDesc,·float·*dst,·BufferDescriptor·const·&amp;dstDesc,·float·*dstDu,·BufferDescriptor·const·&amp;dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&amp;dstDvDesc,·int·numPatchCoords,·const·PatchCoord·*patchCoords,·const·PatchArray·*patchArrayBuffer,·const·int·*patchIndexBuffer,·const·PatchParam·*patchParamBuffer)</td></tr>
 116 <tr·class="separator:a20e08be34d6183b6943ed7a1586eca4a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 117 <tr·class="memitem:aa0c3c264a43eeddc5cb3a58b006d3d32"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#aa0c3c264a43eeddc5cb3a58b006d3d32">TbbEvalPatches</a>·(float·const·*src,·BufferDescriptor·const·&amp;srcDesc,·float·*dst,·BufferDescriptor·const·&amp;dstDesc,·float·*dstDu,·BufferDescriptor·const·&amp;dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&amp;dstDvDesc,·float·*dstDuu,·BufferDescriptor·const·&amp;dstDuuDesc,·float·*dstDuv,·BufferDescriptor·const·&amp;dstDuvDesc,·float·*dstDvv,·BufferDescriptor·const·&amp;dstDvvDesc,·int·numPatchCoords,·const·PatchCoord·*patchCoords,·const·PatchArray·*patchArrayBuffer,·const·int·*patchIndexBuffer,·const·PatchParam·*patchParamBuffer)</td></tr>
 118 <tr·class="separator:aa0c3c264a43eeddc5cb3a58b006d3d32"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
111 </table>119 </table>
112 </div><!--·contents·-->120 </div><!--·contents·-->
113 </div><!--·doc-content·-->121 </div><!--·doc-content·-->
114 <!--·start·footer·part·-->122 <!--·start·footer·part·-->
115 <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!·-->
116 ··<ul>124 ··<ul>
117 ····<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">glslPatchShaderSource.h</a></li>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="a00854.html">tbbKernel.h</a></li>
118 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>126 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
119 ··</ul>127 ··</ul>
120 </div>128 </div>
121 </body>129 </body>
122 </html>130 </html>
2.89 KB
html2text {}
    
Offset 4, 27 lines modifiedOffset 4, 62 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 Classes·|·Namespaces 
6 glslPatchShaderSource.h·File·Reference5 Namespaces·|·Functions
 6 tbbKernel.h·File·Reference
7 #include·"../version.h"7 #include·"../version.h"
8 #include·<string> 
9 #include·"../far/patchDescriptor.h"8 #include·"../far/patchDescriptor.h"
 9 #include·"../far/patchParam.h"
10 Go_to_the_source_code_of_this_file.10 Go_to_the_source_code_of_this_file.
11 ·Classes 
12 class· GLSLPatchShaderSource 
13   
14 ·Namespaces11 ·Namespaces
15 namespace· OpenSubdiv12 namespace· OpenSubdiv
16  13  
17 namespace· OpenSubdiv::OPENSUBDIV_VERSION14 namespace· OpenSubdiv::OPENSUBDIV_VERSION
18  15  
19 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd16 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd
20  17  
 18 ·Functions
 19 void TbbEvalStencils·(float·const·*src,·BufferDescriptor·const·&srcDesc,·float
 20 ······*dst,·BufferDescriptor·const·&dstDesc,·int·const·*sizes,·int·const
 21 ······*offsets,·int·const·*indices,·float·const·*weights,·int·start,·int·end)
 22  
 23 void TbbEvalStencils·(float·const·*src,·BufferDescriptor·const·&srcDesc,·float
 24 ······*dst,·BufferDescriptor·const·&dstDesc,·float·*dstDu,·BufferDescriptor
 25 ······const·&dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&dstDvDesc,·int
 26 ······const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const
 27 ······*weights,·float·const·*duWeights,·float·const·*dvWeights,·int·start,·int
 28 ······end)
 29  
 30 void TbbEvalStencils·(float·const·*src,·BufferDescriptor·const·&srcDesc,·float
 31 ······*dst,·BufferDescriptor·const·&dstDesc,·float·*dstDu,·BufferDescriptor
 32 ······const·&dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&dstDvDesc,·float
 33 ······*dstDuu,·BufferDescriptor·const·&dstDuuDesc,·float·*dstDuv,
 34 ······BufferDescriptor·const·&dstDuvDesc,·float·*dstDvv,·BufferDescriptor·const
 35 ······&dstDvvDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,
 36 ······float·const·*weights,·float·const·*duWeights,·float·const·*dvWeights,
 37 ······float·const·*duuWeights,·float·const·*duvWeights,·float·const
 38 ······*dvvWeights,·int·start,·int·end)
 39  
 40 void TbbEvalPatches·(float·const·*src,·BufferDescriptor·const·&srcDesc,·float
 41 ······*dst,·BufferDescriptor·const·&dstDesc,·float·*dstDu,·BufferDescriptor
 42 ······const·&dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&dstDvDesc,·int
 43 ······numPatchCoords,·const·PatchCoord·*patchCoords,·const·PatchArray
 44 ······*patchArrayBuffer,·const·int·*patchIndexBuffer,·const·PatchParam
 45 ······*patchParamBuffer)
 46  
 47 void TbbEvalPatches·(float·const·*src,·BufferDescriptor·const·&srcDesc,·float
 48 ······*dst,·BufferDescriptor·const·&dstDesc,·float·*dstDu,·BufferDescriptor
 49 ······const·&dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&dstDvDesc,·float
 50 ······*dstDuu,·BufferDescriptor·const·&dstDuuDesc,·float·*dstDuv,
 51 ······BufferDescriptor·const·&dstDuvDesc,·float·*dstDvv,·BufferDescriptor·const
 52 ······&dstDvvDesc,·int·numPatchCoords,·const·PatchCoord·*patchCoords,·const
 53 ······PatchArray·*patchArrayBuffer,·const·int·*patchIndexBuffer,·const
 54 ······PatchParam·*patchParamBuffer)
 55  
21 ····*·opensubdiv56 ····*·opensubdiv
22 ····*·osd57 ····*·osd
23 ····*·glslPatchShaderSource.h58 ····*·tbbKernel.h
24 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.459 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
610 B
./usr/share/doc/opensubdiv/doxy_html/a00854.js
518 B
js-beautify {}
    
Offset 1, 3 lines modifiedOffset 1, 7 lines modified
1 var·a00854·=·[1 var·a00854·=·[
2 ····["GLSLPatchShaderSource",·"a01233.html",·null]2 ····["TbbEvalPatches",·"a00854.html#aa0c3c264a43eeddc5cb3a58b006d3d32",·null],
 3 ····["TbbEvalPatches",·"a00854.html#a20e08be34d6183b6943ed7a1586eca4a",·null],
 4 ····["TbbEvalStencils",·"a00854.html#aa65ed860a2fa5935d99129a898a8f0b6",·null],
 5 ····["TbbEvalStencils",·"a00854.html#af23c35537952bfdd493441e5c42ff2ed",·null],
 6 ····["TbbEvalStencils",·"a00854.html#a4a6a0fcc01638f2a0316b32ad158b485",·null]
3 ];7 ];
39.7 KB
./usr/share/doc/opensubdiv/doxy_html/a00854_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/glslPatchShaderSource.h·Source·File</title>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 80, 19 lines modifiedOffset 80, 19 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">glslPatchShaderSource.h</div></div>86 ··<div·class="headertitle"><div·class="title">tbbKernel.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <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>89 <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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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>
94 <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>94 <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>
95 <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>95 <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>
96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>
97 <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>97 <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 107, 62 lines modifiedOffset 107, 116 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <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>114 <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>
115 <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>115 <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>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&lt;string&gt;</span></div> 
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../far/patchDescriptor.h&quot;</span></div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;../far/patchDescriptor.h&quot;</span></div>
 119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../far/patchParam.h&quot;</span></div>
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
121 <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>121 <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>
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>Osd·{</div>124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>Osd·{</div>
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01233.html">···37</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01233.html">GLSLPatchShaderSource</a>·{</div>126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">struct·</span>PatchArray;</div>
127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">public</span>:</div>127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">struct·</span>PatchCoord;</div>
128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01233.html#ad5f427d2655d384980715874209345e7">···39</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01233.html#ad5f427d2655d384980715874209345e7">GetCommonShaderSource</a>();</div>128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">struct·</span>PatchParam;</div>
 129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">struct·</span>BufferDescriptor;</div>
129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>
130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01233.html#ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d">···41</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01233.html#ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d">GetPatchBasisShaderSource</a>();</div> 
131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keywordtype">void</span></div>
132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01233.html#a20cb122b561de15ed3b90d7e4f5176d2">···43</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01233.html#a20cb122b561de15ed3b90d7e4f5176d2">GetVertexShaderSource</a>(</div> 
133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>········<a·class="code·hl_enumeration"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type);</div>132 <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">fl[·...·truncated·by·diffoscope;·len:·167,·SHA:·e71823294fdc735e5bff28ca1e8f1ca60b668e8208f105e49bf7c2fd5166bca8·...·]</div>
 133 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDesc,</div>
 134 <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>
 135 <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>
 136 <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>
 137 <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>
 138 <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>
134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>139 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>
135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01233.html#afc38178f7de93f60d4f6c1072c33cc7e">···46</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01233.html#afc38178f7de93f60d4f6c1072c33cc7e">GetTessControlShaderSource</a>(</div> 
136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>········<a·class="code·hl_enumeration"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type);</div>140 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keywordtype">void</span></div>
 141 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;srcDesc,</div>
 142 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDesc,</div>
 143 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDuDesc,</div>
 144 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDvDesc,</div>
 145 <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>
 146 <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>
 147 <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>
 148 <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>
 149 <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>
 150 <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>
 151 <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>
 152 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
 153 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="keywordtype">void</span></div>
 154 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;srcDesc,</div>
 155 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDesc,</div>
 156 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDuDesc,</div>
 157 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDvDesc,</div>
 158 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDuuDesc,</div>
 159 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDuvDesc,</div>
 160 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDvvDesc,</div>
 161 <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>
 162 <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>
 163 <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>
 164 <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>
 165 <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>
 166 <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>
 167 <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>
 168 <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>
 169 <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>
 170 <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>
137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>171 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>
138 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01233.html#a57a46d6848317cc76a02bc166ee05c24">···49</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01233.html#a57a46d6848317cc76a02bc166ee05c24">GetTessEvalShaderSource</a>(</div> 
139 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>········<a·class="code·hl_enumeration"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type);</div> 
140 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>};</div> 
141 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> 
142 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>}··<span·class="comment">//·end·namespace·Osd</span></div>172 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="keywordtype">void</span></div>
143 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> 
144 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>}··<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> 
145 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> 
146 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> 
147 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>}·<span·class="comment">//·end·namespace·OpenSubdiv</span></div>173 <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">fl[·...·truncated·by·diffoscope;·len:·166,·SHA:·59b04e513be27dcba310002ea02ae565945f0bf2a0dbd3e5ca650eeff842697e·...·]</div>
 174 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDesc,</div>
 175 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDuDesc,</div>
 176 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDvDesc,</div>
 177 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>···············<span·class="keywordtype">int</span>·numPatchCoords,</div>
 178 <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="a01313.html">PatchCoord</a>·*patchCoords,</div>
 179 <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="a01317.html">PatchArray</a>·*patchArrayBuffer,</div>
 180 <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>
 181 <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="a01321.html">PatchParam</a>·*patchParamBuffer);</div>
148 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>182 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div>
 183 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="keywordtype">void</span></div>
 184 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;srcDesc,</div>
 185 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDesc,</div>
Max diff block lines reached; 5527/33357 bytes (16.57%) of diff not shown.
6.98 KB
html2text {}
    
Offset 4, 18 lines modifiedOffset 4, 18 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 glslPatchShaderSource.h5 tbbKernel.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2015·Pixar8 ·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·in11 ·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·trade15 ·9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade
Offset 30, 69 lines modifiedOffset 30, 126 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_OSD_GLSL_PATCH_SHADER_SOURCE_H 
38 ·26#define·OPENSUBDIV3_OSD_GLSL_PATCH_SHADER_SOURCE_H37 ·25#ifndef·OPENSUBDIV3_OSD_TBB_KERNEL_H
 38 ·26#define·OPENSUBDIV3_OSD_TBB_KERNEL_H
39 ·2739 ·27
40 ·28#include·"../version.h"40 ·28#include·"../version.h"
41 ·29#include·<string> 
42 ·30#include·"../far/patchDescriptor.h"41 ·29#include·"../far/patchDescriptor.h"
 42 ·30#include·"../far/patchParam.h"
43 ·3143 ·31
44 ·32namespace·OpenSubdiv·{44 ·32namespace·OpenSubdiv·{
45 ·33namespace·OPENSUBDIV_VERSION·{45 ·33namespace·OPENSUBDIV_VERSION·{
46 ·3446 ·34
47 ·35namespace·Osd·{47 ·35namespace·Osd·{
48 ·3648 ·36
49 37class·GLSLPatchShaderSource·{ 
50 ·38public: 
51 39·static·std::string·GetCommonShaderSource(); 
52 ·40 
53 41·static·std::string·GetPatchBasisShaderSource(); 
54 ·42 
55 43·static·std::string·GetVertexShaderSource( 
56 ·44·Far::PatchDescriptor::Type·type); 
57 ·45 
58 46·static·std::string·GetTessControlShaderSource( 
59 ·47·Far::PatchDescriptor::Type·type); 
60 ·48 
61 49·static·std::string·GetTessEvalShaderSource( 
62 ·50·Far::PatchDescriptor::Type·type); 
63 ·51}; 
64 ·5249 ·37struct·PatchArray;
 50 ·38struct·PatchCoord;
 51 ·39struct·PatchParam;
 52 ·40struct·BufferDescriptor;
 53 ·41
 54 ·42void
 55 43TbbEvalStencils(float·const·*·src,·BufferDescriptor·const·&srcDesc,
 56 ·44·float·*·dst,·BufferDescriptor·const·&dstDesc,
 57 ·45·int·const·*·sizes,
 58 ·46·int·const·*·offsets,
 59 ·47·int·const·*·indices,
 60 ·48·float·const·*·weights,
 61 ·49·int·start,·int·end);
 62 ·50
 63 ·51void
 64 52TbbEvalStencils(float·const·*·src,·BufferDescriptor·const·&srcDesc,
 65 ·53·float·*·dst,·BufferDescriptor·const·&dstDesc,
 66 ·54·float·*·dstDu,·BufferDescriptor·const·&dstDuDesc,
 67 ·55·float·*·dstDv,·BufferDescriptor·const·&dstDvDesc,
 68 ·56·int·const·*·sizes,
 69 ·57·int·const·*·offsets,
 70 ·58·int·const·*·indices,
 71 ·59·float·const·*·weights,
 72 ·60·float·const·*·duWeights,
 73 ·61·float·const·*·dvWeights,
 74 ·62·int·start,·int·end);
 75 ·63
 76 ·64void
 77 65TbbEvalStencils(float·const·*·src,·BufferDescriptor·const·&srcDesc,
 78 ·66·float·*·dst,·BufferDescriptor·const·&dstDesc,
 79 ·67·float·*·dstDu,·BufferDescriptor·const·&dstDuDesc,
 80 ·68·float·*·dstDv,·BufferDescriptor·const·&dstDvDesc,
 81 ·69·float·*·dstDuu,·BufferDescriptor·const·&dstDuuDesc,
 82 ·70·float·*·dstDuv,·BufferDescriptor·const·&dstDuvDesc,
 83 ·71·float·*·dstDvv,·BufferDescriptor·const·&dstDvvDesc,
 84 ·72·int·const·*·sizes,
 85 ·73·int·const·*·offsets,
 86 ·74·int·const·*·indices,
 87 ·75·float·const·*·weights,
 88 ·76·float·const·*·duWeights,
 89 ·77·float·const·*·dvWeights,
 90 ·78·float·const·*·duuWeights,
 91 ·79·float·const·*·duvWeights,
 92 ·80·float·const·*·dvvWeights,
 93 ·81·int·start,·int·end);
 94 ·82
 95 ·83void
 96 84TbbEvalPatches(float·const·*src,·BufferDescriptor·const·&srcDesc,
 97 ·85·float·*dst,·BufferDescriptor·const·&dstDesc,
 98 ·86·float·*dstDu,·BufferDescriptor·const·&dstDuDesc,
 99 ·87·float·*dstDv,·BufferDescriptor·const·&dstDvDesc,
 100 ·88·int·numPatchCoords,
 101 ·89·const·PatchCoord·*patchCoords,
 102 ·90·const·PatchArray·*patchArrayBuffer,
 103 ·91·const·int·*patchIndexBuffer,
 104 ·92·const·PatchParam·*patchParamBuffer);
 105 ·93
 106 ·94void
 107 95TbbEvalPatches(float·const·*src,·BufferDescriptor·const·&srcDesc,
 108 ·96·float·*dst,·BufferDescriptor·const·&dstDesc,
 109 ·97·float·*dstDu,·BufferDescriptor·const·&dstDuDesc,
 110 ·98·float·*dstDv,·BufferDescriptor·const·&dstDvDesc,
 111 ·99·float·*dstDuu,·BufferDescriptor·const·&dstDuuDesc,
 112 ·100·float·*dstDuv,·BufferDescriptor·const·&dstDuvDesc,
 113 ·101·float·*dstDvv,·BufferDescriptor·const·&dstDvvDesc,
 114 ·102·int·numPatchCoords,
 115 ·103·const·PatchCoord·*patchCoords,
 116 ·104·const·PatchArray·*patchArrayBuffer,
 117 ·105·const·int·*patchIndexBuffer,
 118 ·106·const·PatchParam·*patchParamBuffer);
 119 ·107
65 ·53}·//·end·namespace·Osd120 ·108}·//·end·namespace·Osd
Max diff block lines reached; 2282/7120 bytes (32.05%) of diff not shown.
5.98 KB
./usr/share/doc/opensubdiv/doxy_html/a00857.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/glMesh.h·File·Reference</title>8 <title>OpenSubdiv:·opensubdiv/osd/tbbEvaluator.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 81, 43 lines modifiedOffset 81, 44 lines modified
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
 87 <a·href="#nested-classes">Classes</a>·&#124;
87 <a·href="#namespaces">Namespaces</a>·&#124;88 <a·href="#namespaces">Namespaces</a>··</div>
88 <a·href="#typedef-members">Typedefs</a>··</div> 
89 ··<div·class="headertitle"><div·class="title">glMesh.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">tbbEvaluator.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
 93 <code>#include·&quot;<a·class="el"·href="a00881_source.html">../osd/bufferDescriptor.h</a>&quot;</code><br·/>
93 <code>#include·&quot;<a·class="el"·href="a00887_source.html">../osd/mesh.h</a>&quot;</code><br·/>94 <code>#include·&quot;<a·class="el"·href="a01481_source.html">../osd/types.h</a>&quot;</code><br·/>
94 <code>#include·&quot;<a·class="el"·href="a00866_source.html">../osd/glPatchTable.h</a>&quot;</code><br·/>95 <code>#include·&lt;cstddef&gt;</code><br·/>
95 </div>96 </div>
96 <p><a·href="a00857_source.html">Go·to·the·source·code·of·this·file.</a></p>97 <p><a·href="a00857_source.html">Go·to·the·source·code·of·this·file.</a></p>
97 <table·class="memberdecls">98 <table·class="memberdecls">
 99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 100 Classes</h2></td></tr>
 101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01309.html">TbbEvaluator</a></td></tr>
 102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 103 </table><table·class="memberdecls">
98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>104 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
99 Namespaces</h2></td></tr>105 Namespaces</h2></td></tr>
100 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>106 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>108 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>110 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 </table><table·class="memberdecls"> 
107 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> 
108 Typedefs</h2></td></tr> 
109 <tr·class="memitem:a7f9cf2b729178bdbb847fc4afd91af9e"><td·class="memItemLeft"·align="right"·valign="top">typedef·MeshInterface&lt;·GLPatchTable·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#a7f9cf2b729178bdbb847fc4afd91af9e">GLMeshInterface</a></td></tr> 
110 <tr·class="separator:a7f9cf2b729178bdbb847fc4afd91af9e"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
111 </table>112 </table>
112 </div><!--·contents·-->113 </div><!--·contents·-->
113 </div><!--·doc-content·-->114 </div><!--·doc-content·-->
114 <!--·start·footer·part·-->115 <!--·start·footer·part·-->
115 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->116 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
116 ··<ul>117 ··<ul>
117 ····<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">glMesh.h</a></li>118 ····<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">tbbEvaluator.h</a></li>
118 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>119 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
119 ··</ul>120 ··</ul>
120 </div>121 </div>
121 </body>122 </body>
122 </html>123 </html>
766 B
html2text {}
    
Offset 4, 27 lines modifiedOffset 4, 28 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 Namespaces·|·Typedefs 
6 glMesh.h·File·Reference5 Classes·|·Namespaces
 6 tbbEvaluator.h·File·Reference
7 #include·"../version.h"7 #include·"../version.h"
 8 #include·"../osd/bufferDescriptor.h"
8 #include·"../osd/mesh.h"9 #include·"../osd/types.h"
9 #include·"../osd/glPatchTable.h"10 #include·<cstddef>
10 Go_to_the_source_code_of_this_file.11 Go_to_the_source_code_of_this_file.
 12 ·Classes
 13 class· TbbEvaluator
 14  
11 ·Namespaces15 ·Namespaces
12 namespace· OpenSubdiv16 namespace· OpenSubdiv
13  17  
14 namespace· OpenSubdiv::OPENSUBDIV_VERSION18 namespace· OpenSubdiv::OPENSUBDIV_VERSION
15  19  
16 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd20 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd
17  21  
18 ·Typedefs 
19 typedef·MeshInterface<·GLPatchTable·> GLMeshInterface 
20   
21 ····*·opensubdiv22 ····*·opensubdiv
22 ····*·osd23 ····*·osd
23 ····*·glMesh.h24 ····*·tbbEvaluator.h
24 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.425 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
279 B
./usr/share/doc/opensubdiv/doxy_html/a00857.js
187 B
js-beautify {}
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 var·a00857·=·[1 var·a00857·=·[
2 ····["GLMeshInterface",·"a00857.html#a7f9cf2b729178bdbb847fc4afd91af9e",·null]2 ····["TbbEvaluator",·"a01309.html",·null]
3 ];3 ];
139 KB
./usr/share/doc/opensubdiv/doxy_html/a00857_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/glMesh.h·Source·File</title>8 <title>OpenSubdiv:·opensubdiv/osd/tbbEvaluator.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 80, 19 lines modifiedOffset 80, 19 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">glMesh.h</div></div>86 ··<div·class="headertitle"><div·class="title">tbbEvaluator.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <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>89 <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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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>
94 <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>94 <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>
95 <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>95 <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>
96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>
97 <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>97 <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 107, 45 lines modifiedOffset 107, 502 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <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>114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_TBB_EVALUATOR_H</span></div>
115 <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>115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_TBB_EVALUATOR_H</span></div>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;../osd/bufferDescriptor.h&quot;</span></div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../osd/mesh.h&quot;</span></div>119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../osd/types.h&quot;</span></div>
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;../osd/glPatchTable.h&quot;</span></div> 
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
 121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
 122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
122 <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>123 <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>
123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>Osd·{</div>126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Osd·{</div>
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
127 <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="a01261.html">MeshInterface&lt;GLPatchTable&gt;</a>·<a·class="[·...·truncated·by·diffoscope;·len:·90,·SHA:·9ade0a0add79edb8771cce9f9804752666b22b4373bf64cbf1fff9c2edc03d77·...·]</div>128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01309.html">···39</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01309.html">TbbEvaluator</a>·{</div>
128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">public</span>:</div>
129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>130 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>}·<span·class="comment">//·end·namespace·Osd</span></div> 
131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> 
132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>}·<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> 
133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> 
134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> 
135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>}··<span·class="comment">//·end·namespace·OpenSubdiv</span></div>131 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·SRC_BUFFER,·<span·class="keyword">typename</span>·DST_BUFFER,·<span·class="keyword">typename</span>·STENCIL_TABLE&gt;</div>
 132 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01309.html#a1083776ed758e8a1ebd8915eb68c5010">···72</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01309.html#a1083776ed758e8a1ebd8915eb68c5010">EvalStencils</a>(</div>
 133 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>········SRC_BUFFER·*srcBuffer,·<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;srcDesc,</div>
 134 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>········DST_BUFFER·*dstBuffer,·<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDesc,</div>
 135 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········STENCIL_TABLE·<span·class="keyword">const</span>·*stencilTable,</div>
 136 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········<a·class="code·hl_class"·href="a01309.html">TbbEvaluator</a>·<span·class="keyword">const</span>·*instance·=·NULL,</div>
 137 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>········<span·class="keywordtype">void</span>·*deviceContext·=·NULL)·{</div>
136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>138 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
 139 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>········(void)instance;·······<span·class="comment">//·unused</span></div>
 140 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>········(void)deviceContext;··<span·class="comment">//·unused</span></div>
 141 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>
 142 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>········<span·class="keywordflow">if</span>·(stencilTable-&gt;GetNumStencils()·==·0)</div>
 143 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>············<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;</div>
 144 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
 145 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01309.html#a1083776ed758e8a1ebd8915eb68c5010">EvalStencils</a>(srcBuffer-&gt;BindCpuBuffer(),·srcDesc,</div>
 146 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····························dstBuffer-&gt;BindCpuBuffer(),·dstDesc,</div>
 147 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····························&amp;stencilTable-&gt;GetSizes()[0],</div>
 148 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····························&amp;stencilTable-&gt;GetOffsets()[0],</div>
 149 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····························&amp;stencilTable-&gt;GetControlIndices()[0],</div>
 150 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····························&amp;stencilTable-&gt;GetWeights()[0],</div>
 151 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····························<span·class="comment">/*start·=·*/</span>·0,</div>
 152 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····························<span·class="comment">/*end···=·*/</span>·stencilTable-&gt;GetNumStencils());</div>
 153 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····}</div>
 154 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>
 155 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno"><a·class="line"·href="a01309.html#a4345e3659b7fb82f23dd51c688179ce3">··121</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01309.html#a4345e3659b7fb82f23dd51c688179ce3">EvalStencils</a>(</div>
 156 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>········<span·class="keyword">const</span>·<span·class="keywordtype">float</span>·*src,·<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;srcDesc,</div>
 157 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>········<span·class="keywordtype">float</span>·*dst,·······<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDesc,</div>
 158 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>········<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·*·sizes,</div>
 159 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>········<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·*·offsets,</div>
 160 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>········<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·*·indices,</div>
 161 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>········<span·class="keyword">const</span>·<span·class="keywordtype">float</span>·*·weights,</div>
 162 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>········<span·class="keywordtype">int</span>·start,·<span·class="keywordtype">int</span>·end);</div>
 163 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>·</div>
 164 <div·class="line"><a·id="l00167"·name="l00167"></a><span·class="lineno">··167</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·SRC_BUFFER,·<span·class="keyword">typename</span>·DST_BUFFER,·<span·class="keyword">typename</span>·STENCIL_TABLE&gt;</div>
 165 <div·class="line"><a·id="l00168"·name="l00168"></a><span·class="lineno"><a·class="line"·href="a01309.html#af04c6d999c9f014e93711ceb9097e2a0">··168</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01309.html#af04c6d999c9f014e93711ceb9097e2a0">EvalStencils</a>(</div>
 166 <div·class="line"><a·id="l00169"·name="l00169"></a><span·class="lineno">··169</span>········SRC_BUFFER·*srcBuffer,·<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;srcDesc,</div>
 167 <div·class="line"><a·id="l00170"·name="l00170"></a><span·class="lineno">··170</span>········DST_BUFFER·*dstBuffer,·<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDesc,</div>
 168 <div·class="line"><a·id="l00171"·name="l00171"></a><span·class="lineno">··171</span>········DST_BUFFER·*duBuffer,··<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;duDesc,</div>
 169 <div·class="line"><a·id="l00172"·name="l00172"></a><span·class="lineno">··172</span>········DST_BUFFER·*dvBuffer,··<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dvDesc,</div>
 170 <div·class="line"><a·id="l00173"·name="l00173"></a><span·class="lineno">··173</span>········STENCIL_TABLE·<span·class="keyword">const</span>·*stencilTable,</div>
 171 <div·class="line"><a·id="l00174"·name="l00174"></a><span·class="lineno">··174</span>········<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01309.html">TbbEvaluator</a>·*instance·=·NULL,</div>
 172 <div·class="line"><a·id="l00175"·name="l00175"></a><span·class="lineno">··175</span>········<span·class="keywordtype">void</span>·*·deviceContext·=·NULL)·{</div>
 173 <div·class="line"><a·id="l00176"·name="l00176"></a><span·class="lineno">··176</span>·</div>
 174 <div·class="line"><a·id="l00177"·name="l00177"></a><span·class="lineno">··177</span>········(void)instance;·······<span·class="comment">//·unused</span></div>
 175 <div·class="line"><a·id="l00178"·name="l00178"></a><span·class="lineno">··178</span>········(void)deviceContext;··<span·class="comment">//·unused</span></div>
 176 <div·class="line"><a·id="l00179"·name="l00179"></a><span·class="lineno">··179</span>·</div>
 177 <div·class="line"><a·id="l00180"·name="l00180"></a><span·class="lineno">··180</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01309.html#a1083776ed758e8a1ebd8915eb68c5010">EvalStencils</a>(srcBuffer-&gt;BindCpuBuffer(),·srcDesc,</div>
 178 <div·class="line"><a·id="l00181"·name="l00181"></a><span·class="lineno">··181</span>····························dstBuffer-&gt;BindCpuBuffer(),·dstDesc,</div>
 179 <div·class="line"><a·id="l00182"·name="l00182"></a><span·class="lineno">··182</span>····························duBuffer-&gt;BindCpuBuffer(),··duDesc,</div>
 180 <div·class="line"><a·id="l00183"·name="l00183"></a><span·class="lineno">··183</span>····························dvBuffer-&gt;BindCpuBuffer(),··dvDesc,</div>
 181 <div·class="line"><a·id="l00184"·name="l00184"></a><span·class="lineno">··184</span>····························&amp;stencilTable-&gt;GetSizes()[0],</div>
 182 <div·class="line"><a·id="l00185"·name="l00185"></a><span·class="lineno">··185</span>····························&amp;stencilTable-&gt;GetOffsets()[0],</div>
 183 <div·class="line"><a·id="l00186"·name="l00186"></a><span·class="lineno">··186</span>····························&amp;stencilTable-&gt;GetControlIndices()[0],</div>
 184 <div·class="line"><a·id="l00187"·name="l00187"></a><span·class="lineno">··187</span>····························&amp;stencilTable-&gt;GetWeights()[0],</div>
 185 <div·class="line"><a·id="l00188"·name="l00188"></a><span·class="lineno">··188</span>····························&amp;stencilTable-&gt;GetDuWeights()[0],</div>
 186 <div·class="line"><a·id="l00189"·name="l00189"></a><span·class="lineno">··189</span>····························&amp;stencilTable-&gt;GetDvWeights()[0],</div>
 187 <div·class="line"><a·id="l00190"·name="l00190"></a><span·class="lineno">··190</span>····························<span·class="comment">/*start·=·*/</span>·0,</div>
 188 <div·class="line"><a·id="l00191"·name="l00191"></a><span·class="lineno">··191</span>····························<span·class="comment">/*end···=·*/</span>·stencilTable-&gt;GetNumStencils());</div>
 189 <div·class="line"><a·id="l00192"·name="l00192"></a><span·class="lineno">··192</span>····}</div>
 190 <div·class="line"><a·id="l00193"·name="l00193"></a><span·class="lineno">··193</span>·</div>
 191 <div·class="line"><a·id="l00234"·name="l00234"></a><span·class="lineno"><a·class="line"·href="a01309.html#a6daed6135a40cda2daf6c6ea2047b330">··234</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01309.html#a6daed6135a40cda2daf6c6ea2047b330">EvalStencils</a>(</div>
Max diff block lines reached; 19234/111081 bytes (17.32%) of diff not shown.
30.2 KB
html2text {}
    
Offset 4, 18 lines modifiedOffset 4, 18 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 glMesh.h5 tbbEvaluator.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2013·Pixar8 ·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·in11 ·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·trade15 ·9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade
Offset 30, 42 lines modifiedOffset 30, 660 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_OSD_GL_MESH_H37 ·25#ifndef·OPENSUBDIV3_OSD_TBB_EVALUATOR_H
38 ·26#define·OPENSUBDIV3_OSD_GL_MESH_H38 ·26#define·OPENSUBDIV3_OSD_TBB_EVALUATOR_H
39 ·2739 ·27
40 ·28#include·"../version.h"40 ·28#include·"../version.h"
41 ·2941 ·29#include·"../osd/bufferDescriptor.h"
42 ·30#include·"../osd/mesh.h"42 ·30#include·"../osd/types.h"
43 ·31#include·"../osd/glPatchTable.h" 
44 ·3243 ·31
 44 ·32#include·<cstddef>
 45 ·33
45 ·33namespace·OpenSubdiv·{46 ·34namespace·OpenSubdiv·{
46 ·34namespace·OPENSUBDIV_VERSION·{47 ·35namespace·OPENSUBDIV_VERSION·{
47 ·3548 ·36
48 ·36namespace·Osd·{49 ·37namespace·Osd·{
 50 ·38
 51 39class·TbbEvaluator·{
 52 ·40public:
 53 ·46
 54 ·71·template·<typename·SRC_BUFFER,·typename·DST_BUFFER,·typename·STENCIL_TABLE>
 55 72·static·bool·EvalStencils(
 56 ·73·SRC_BUFFER·*srcBuffer,·BufferDescriptor·const·&srcDesc,
 57 ·74·DST_BUFFER·*dstBuffer,·BufferDescriptor·const·&dstDesc,
 58 ·75·STENCIL_TABLE·const·*stencilTable,
 59 ·76·TbbEvaluator·const·*instance·=·NULL,
 60 ·77·void·*deviceContext·=·NULL)·{
 61 ·78
 62 ·79·(void)instance;·//·unused
 63 ·80·(void)deviceContext;·//·unused
 64 ·81
 65 ·82·if·(stencilTable->GetNumStencils()·==·0)
 66 ·83·return·false;
 67 ·84
 68 ·85·return·EvalStencils(srcBuffer->BindCpuBuffer(),·srcDesc,
 69 ·86·dstBuffer->BindCpuBuffer(),·dstDesc,
 70 ·87·&stencilTable->GetSizes()[0],
 71 ·88·&stencilTable->GetOffsets()[0],
 72 ·89·&stencilTable->GetControlIndices()[0],
 73 ·90·&stencilTable->GetWeights()[0],
 74 ·91·/*start·=·*/·0,
 75 ·92·/*end·=·*/·stencilTable->GetNumStencils());
 76 ·93·}
 77 ·94
 78 121·static·bool·EvalStencils(
 79 ·122·const·float·*src,·BufferDescriptor·const·&srcDesc,
 80 ·123·float·*dst,·BufferDescriptor·const·&dstDesc,
 81 ·124·const·int·*·sizes,
 82 ·125·const·int·*·offsets,
 83 ·126·const·int·*·indices,
 84 ·127·const·float·*·weights,
 85 ·128·int·start,·int·end);
 86 ·129
 87 ·167·template·<typename·SRC_BUFFER,·typename·DST_BUFFER,·typename
 88 STENCIL_TABLE>
 89 168·static·bool·EvalStencils(
 90 ·169·SRC_BUFFER·*srcBuffer,·BufferDescriptor·const·&srcDesc,
 91 ·170·DST_BUFFER·*dstBuffer,·BufferDescriptor·const·&dstDesc,
 92 ·171·DST_BUFFER·*duBuffer,·BufferDescriptor·const·&duDesc,
 93 ·172·DST_BUFFER·*dvBuffer,·BufferDescriptor·const·&dvDesc,
 94 ·173·STENCIL_TABLE·const·*stencilTable,
 95 ·174·const·TbbEvaluator·*instance·=·NULL,
 96 ·175·void·*·deviceContext·=·NULL)·{
 97 ·176
 98 ·177·(void)instance;·//·unused
 99 ·178·(void)deviceContext;·//·unused
 100 ·179
 101 ·180·return·EvalStencils(srcBuffer->BindCpuBuffer(),·srcDesc,
 102 ·181·dstBuffer->BindCpuBuffer(),·dstDesc,
 103 ·182·duBuffer->BindCpuBuffer(),·duDesc,
 104 ·183·dvBuffer->BindCpuBuffer(),·dvDesc,
 105 ·184·&stencilTable->GetSizes()[0],
 106 ·185·&stencilTable->GetOffsets()[0],
 107 ·186·&stencilTable->GetControlIndices()[0],
 108 ·187·&stencilTable->GetWeights()[0],
 109 ·188·&stencilTable->GetDuWeights()[0],
 110 ·189·&stencilTable->GetDvWeights()[0],
 111 ·190·/*start·=·*/·0,
 112 ·191·/*end·=·*/·stencilTable->GetNumStencils());
 113 ·192·}
 114 ·193
 115 234·static·bool·EvalStencils(
 116 ·235·const·float·*src,·BufferDescriptor·const·&srcDesc,
 117 ·236·float·*dst,·BufferDescriptor·const·&dstDesc,
 118 ·237·float·*du,·BufferDescriptor·const·&duDesc,
 119 ·238·float·*dv,·BufferDescriptor·const·&dvDesc,
 120 ·239·const·int·*·sizes,
 121 ·240·const·int·*·offsets,
 122 ·241·const·int·*·indices,
 123 ·242·const·float·*·weights,
 124 ·243·const·float·*·duWeights,
 125 ·244·const·float·*·dvWeights,
 126 ·245·int·start,·int·end);
 127 ·246
 128 ·302·template·<typename·SRC_BUFFER,·typename·DST_BUFFER,·typename
 129 STENCIL_TABLE>
 130 303·static·bool·EvalStencils(
 131 ·304·SRC_BUFFER·*srcBuffer,·BufferDescriptor·const·&srcDesc,
 132 ·305·DST_BUFFER·*dstBuffer,·BufferDescriptor·const·&dstDesc,
 133 ·306·DST_BUFFER·*duBuffer,·BufferDescriptor·const·&duDesc,
 134 ·307·DST_BUFFER·*dvBuffer,·BufferDescriptor·const·&dvDesc,
 135 ·308·DST_BUFFER·*duuBuffer,·BufferDescriptor·const·&duuDesc,
 136 ·309·DST_BUFFER·*duvBuffer,·BufferDescriptor·const·&duvDesc,
Max diff block lines reached; 11913/30917 bytes (38.53%) of diff not shown.
8.92 KB
./usr/share/doc/opensubdiv/doxy_html/a00860.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/glVertexBuffer.h·File·Reference</title>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 81, 44 lines modifiedOffset 81, 45 lines modified
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124; 
88 <a·href="#namespaces">Namespaces</a>··</div>87 <a·href="#namespaces">Namespaces</a>·&#124;
 88 <a·href="#func-members">Functions</a>··</div>
89 ··<div·class="headertitle"><div·class="title">glVertexBuffer.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">ompKernel.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
93 <code>#include·&quot;<a·class="el"·href="a00884_source.html">../osd/opengl.h</a>&quot;</code><br·/> 
94 <code>#include·&lt;cstddef&gt;</code><br·/> 
95 </div>93 </div>
96 <p><a·href="a00860_source.html">Go·to·the·source·code·of·this·file.</a></p>94 <p><a·href="a00860_source.html">Go·to·the·source·code·of·this·file.</a></p>
97 <table·class="memberdecls">95 <table·class="memberdecls">
98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
99 Classes</h2></td></tr> 
100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01237.html">GLVertexBuffer</a></td></tr> 
101 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Concrete·vertex·buffer·class·for·GLSL·subdivision·and·OpenGL·drawing.··<a·href="a01237.html#details">More...</a><br·/></td></tr> 
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
103 </table><table·class="memberdecls"> 
104 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
105 Namespaces</h2></td></tr>97 Namespaces</h2></td></tr>
106 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>98 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>
107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
108 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>100 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>
109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
110 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>102 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>
111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 104 </table><table·class="memberdecls">
 105 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 106 Functions</h2></td></tr>
 107 <tr·class="memitem:a870745ff3e883b32547d4db42b3be2bd"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#a870745ff3e883b32547d4db42b3be2bd">OmpEvalStencils</a>·(float·const·*src,·BufferDescriptor·const·&amp;srcDesc,·float·*dst,·BufferDescriptor·const·&amp;dstDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·int·start,·int·end)</td></tr>
 108 <tr·class="separator:a870745ff3e883b32547d4db42b3be2bd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 109 <tr·class="memitem:a907dc53421460557871ddc35f77751f5"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#a907dc53421460557871ddc35f77751f5">OmpEvalStencils</a>·(float·const·*src,·BufferDescriptor·const·&amp;srcDesc,·float·*dst,·BufferDescriptor·const·&amp;dstDesc,·float·*dstDu,·BufferDescriptor·const·&amp;dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&amp;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>
 110 <tr·class="separator:a907dc53421460557871ddc35f77751f5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 111 <tr·class="memitem:a44a05502feb5015035bc81b93cffb99c"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#a44a05502feb5015035bc81b93cffb99c">OmpEvalStencils</a>·(float·const·*src,·BufferDescriptor·const·&amp;srcDesc,·float·*dst,·BufferDescriptor·const·&amp;dstDesc,·float·*dstDu,·BufferDescriptor·const·&amp;dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&amp;dstDvDesc,·float·*dstDuu,·BufferDescriptor·const·&amp;dstDuuDesc,·float·*dstDuv,·BufferDescriptor·const·&amp;dstDuvDesc,·float·*dstDvv,·BufferDescriptor·const·&amp;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>
 112 <tr·class="separator:a44a05502feb5015035bc81b93cffb99c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
112 </table>113 </table>
113 </div><!--·contents·-->114 </div><!--·contents·-->
114 </div><!--·doc-content·-->115 </div><!--·doc-content·-->
115 <!--·start·footer·part·-->116 <!--·start·footer·part·-->
116 <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!·-->
117 ··<ul>118 ··<ul>
118 ····<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="a00860.html">glVertexBuffer.h</a></li>119 ····<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="a00860.html">ompKernel.h</a></li>
119 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>120 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
120 ··</ul>121 ··</ul>
121 </div>122 </div>
122 </body>123 </body>
123 </html>124 </html>
1.96 KB
html2text {}
    
Offset 4, 29 lines modifiedOffset 4, 44 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 Classes·|·Namespaces 
6 glVertexBuffer.h·File·Reference5 Namespaces·|·Functions
 6 ompKernel.h·File·Reference
7 #include·"../version.h"7 #include·"../version.h"
8 #include·"../osd/opengl.h" 
9 #include·<cstddef> 
10 Go_to_the_source_code_of_this_file.8 Go_to_the_source_code_of_this_file.
11 ·Classes 
12 class· GLVertexBuffer 
13  ······Concrete·vertex·buffer·class·for·GLSL·subdivision·and·OpenGL·drawing. 
14 ········More... 
15   
16 ·Namespaces9 ·Namespaces
17 namespace· OpenSubdiv10 namespace· OpenSubdiv
18  11  
19 namespace· OpenSubdiv::OPENSUBDIV_VERSION12 namespace· OpenSubdiv::OPENSUBDIV_VERSION
20  13  
21 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd14 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd
22  15  
 16 ·Functions
 17 void OmpEvalStencils·(float·const·*src,·BufferDescriptor·const·&srcDesc,·float
 18 ······*dst,·BufferDescriptor·const·&dstDesc,·int·const·*sizes,·int·const
 19 ······*offsets,·int·const·*indices,·float·const·*weights,·int·start,·int·end)
 20  
 21 void OmpEvalStencils·(float·const·*src,·BufferDescriptor·const·&srcDesc,·float
 22 ······*dst,·BufferDescriptor·const·&dstDesc,·float·*dstDu,·BufferDescriptor
 23 ······const·&dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&dstDvDesc,·int
 24 ······const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const
 25 ······*weights,·float·const·*duWeights,·float·const·*dvWeights,·int·start,·int
 26 ······end)
 27  
 28 void OmpEvalStencils·(float·const·*src,·BufferDescriptor·const·&srcDesc,·float
 29 ······*dst,·BufferDescriptor·const·&dstDesc,·float·*dstDu,·BufferDescriptor
 30 ······const·&dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&dstDvDesc,·float
 31 ······*dstDuu,·BufferDescriptor·const·&dstDuuDesc,·float·*dstDuv,
 32 ······BufferDescriptor·const·&dstDuvDesc,·float·*dstDvv,·BufferDescriptor·const
 33 ······&dstDvvDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,
 34 ······float·const·*weights,·float·const·*duWeights,·float·const·*dvWeights,
 35 ······float·const·*duuWeights,·float·const·*duvWeights,·float·const
 36 ······*dvvWeights,·int·start,·int·end)
 37  
23 ····*·opensubdiv38 ····*·opensubdiv
24 ····*·osd39 ····*·osd
25 ····*·glVertexBuffer.h40 ····*·ompKernel.h
26 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.441 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
447 B
./usr/share/doc/opensubdiv/doxy_html/a00860.js
355 B
js-beautify {}
    
Offset 1, 3 lines modifiedOffset 1, 5 lines modified
1 var·a00860·=·[1 var·a00860·=·[
2 ····["GLVertexBuffer",·"a01237.html",·"a01237"]2 ····["OmpEvalStencils",·"a00860.html#a44a05502feb5015035bc81b93cffb99c",·null],
 3 ····["OmpEvalStencils",·"a00860.html#a907dc53421460557871ddc35f77751f5",·null],
 4 ····["OmpEvalStencils",·"a00860.html#a870745ff3e883b32547d4db42b3be2bd",·null]
3 ];5 ];
32.8 KB
./usr/share/doc/opensubdiv/doxy_html/a00860_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/glVertexBuffer.h·Source·File</title>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 80, 15 lines modifiedOffset 80, 15 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">glVertexBuffer.h</div></div>86 ··<div·class="headertitle"><div·class="title">ompKernel.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <a·href="a00860.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>89 <a·href="a00860.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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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 107, 76 lines modifiedOffset 107, 82 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_GL_VERTEX_BUFFER_H</span></div>114 <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>
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_GL_VERTEX_BUFFER_H</span></div>115 <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>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../osd/opengl.h&quot;</span></div>119 <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>
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
122 <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> 
123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> 
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> 
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>Osd·{</div>122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span>Osd·{</div>
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>
127 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01237.html">···44</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01237.html">GLVertexBuffer</a>·{</div> 
128 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">public</span>:</div>124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">struct·</span>BufferDescriptor;</div>
129 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01237.html#abfb3fc6fd2278633f65442db6528c926">···47</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01237.html">GLVertexBuffer</a>·*·<a·class="code·hl_function"·href="a01237.html#abfb3fc6fd2278633f65442db6528c926">Create</a>(<span·class="keywordtype">int</span>·numElements,·<span·class="keywordtype">int</span>·numVertices,</div> 
130 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>···································<span·class="keywordtype">void</span>·*deviceContext·=·NULL);</div> 
131 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> 
132 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01237.html#a2629b06f77082d1c67c50b03be4e465a">···51</a></span>····<a·class="code·hl_function"·href="a01237.html#a2629b06f77082d1c67c50b03be4e465a">~GLVertexBuffer</a>();</div> 
133 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> 
134 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01237.html#a96601a091f8831823c4dd72b6c962f1b">···55</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01237.html#a96601a091f8831823c4dd72b6c962f1b">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> 
135 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····················<span·class="keywordtype">void</span>·*deviceContext·=·NULL);</div> 
136 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> 
137 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01237.html#a77cee40767fd4936f20a8f9d9d9ea625">···59</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01237.html#a77cee40767fd4936f20a8f9d9d9ea625">GetNumElements</a>()·<span·class="keyword">const</span>;</div> 
138 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
139 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01237.html#aaf4a32b8a414eff77000c584c2015cb7">···62</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01237.html#aaf4a32b8a414eff77000c584c2015cb7">GetNumVertices</a>()·<span·class="keyword">const</span>;</div> 
140 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> 
141 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01237.html#a6a642b61f5cf7ced73523798467735a5">···65</a></span>····GLuint·<a·class="code·hl_function"·href="a01237.html#a6a642b61f5cf7ced73523798467735a5">BindVBO</a>(<span·class="keywordtype">void</span>·*deviceContext·=·NULL);</div> 
142 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> 
143 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="keyword">protected</span>:</div>126 <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="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01237.html#aa6f38a53fba4a64d600b9c4695477049">···69</a></span>····<a·class="code·hl_function"·href="a01237.html#aa6f38a53fba4a64d600b9c4695477049">GLVertexBuffer</a>(<span·class="keywordtype">int</span>·numElements,·<span·class="keywordtype">int</span>·numVertices);</div> 
145 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> 
146 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01237.html#add23d9f5bbc918076d240287a9b3664f">···73</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01237.html#add23d9f5bbc918076d240287a9b3664f">alloc[·...·truncated·by·diffoscope;·len:·10,·SHA:·b0f09c57bd7b6a0529b903193ea7c3ee3dc104ee2b1244bb78366f0ddbf4228c·...·]</div>127 <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">f[·...·truncated·by·diffoscope;·len:·168,·SHA:·e17ce64e406f5d457beb3b389d24079a7f7edeaee8438ff28f552804f60ff28f·...·]</div>
 128 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDesc,</div>
 129 <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>
 130 <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>
 131 <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>
 132 <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>
 133 <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>
147 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
 135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keywordtype">void</span></div>
 136 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;srcDesc,</div>
 137 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDesc,</div>
 138 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDuDesc,</div>
 139 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDvDesc,</div>
 140 <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>
 141 <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>
 142 <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>
 143 <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>
 144 <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>
 145 <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>
 146 <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>
 147 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
148 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="keyword">private</span>:</div>148 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keywordtype">void</span></div>
149 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····<span·class="keywordtype">int</span>·_numElements;</div>149 <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">f[·...·truncated·by·diffoscope;·len:·168,·SHA:·e17ce64e406f5d457beb3b389d24079a7f7edeaee8438ff28f552804f60ff28f·...·]</div>
 150 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDesc,</div>
 151 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDuDesc,</div>
 152 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDvDesc,</div>
 153 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDuuDesc,</div>
 154 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDuvDesc,</div>
 155 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDvvDesc,</div>
150 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<span·class="keywordtype">int</span>·_numVertices;</div>156 <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>
 157 <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>
 158 <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>
 159 <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>
 160 <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>
 161 <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>
 162 <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>
 163 <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>
 164 <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>
 165 <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>
151 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····GLuint·_vbo;</div>166 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div>
 167 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>}·<span·class="comment">//·end·namespace·Osd</span></div>
152 <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>
153 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> 
154 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>}··<span·class="comment">//·end·namespace·Osd</span></div>169 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>}··<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div>
 170 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div>
155 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>171 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>
156 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>}··<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> 
157 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> 
158 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> 
159 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>}··<span·class="comment">//·end·namespace·OpenSubdiv</span></div>172 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>}··<span·class="comment">//·end·namespace·OpenSubdiv</span></div>
160 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>173 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
161 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span><span·class="preprocessor">#endif··</span><span·class="comment">//·OPENSUBDIV3_OSD_GL_VERTEX_BUFFER_H</span></div>174 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span><span·class="preprocessor">#endif··</span><span·class="comment">//·OPENSUBDIV3_OSD_OMP_KERNEL_H</span></div>
162 <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>175 <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>
 176 <div·class="ttc"·id="aa00912_html_a870745ff3e883b32547d4db42b3be2bd"><div·class="ttname"><a·href="a00912.html#a870745ff3e883b32547d4db42b3be2bd">OpenSubdiv::OPENSUBDIV_VERSION::Osd::OmpEvalStencils</a></div><div·class="ttdeci">void·OmpEvalStencils(float·const·*src,·BufferDescriptor·const·&amp;srcDesc,·float·*dst,·BufferDescriptor·const·&amp;dstDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·int·start,·int·end)</div></div>
 177 <div·class="ttc"·id="aa01133_html"><div·class="ttname"><a·href="a01133.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::BufferDescriptor</a></div><div·class="ttdoc">BufferDescriptor·is·a·struct·which·describes·buffer·elements·in·interleaved·data·buffers....</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00881_source.html#l00061">bufferDescriptor.h:61</a></div></div>
163 <div·class="ttc"·id="aa01237_html"><div·class="ttname"><a·href="a01237.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLVertexBuffer</a></div><div·class="ttdoc">Concrete·vertex·buffer·class·for·GLSL·subdivision·and·OpenGL·drawing.</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00860_source.html#l00044">glVertexBuffer.h:44</a></div></div> 
Max diff block lines reached; 956/27813 bytes (3.44%) of diff not shown.
5.51 KB
html2text {}
    
Offset 4, 15 lines modifiedOffset 4, 15 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 glVertexBuffer.h5 ompKernel.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2013·Pixar8 ·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·in11 ·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 30, 88 lines modifiedOffset 30, 82 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_OSD_GL_VERTEX_BUFFER_H 
38 ·26#define·OPENSUBDIV3_OSD_GL_VERTEX_BUFFER_H37 ·25#ifndef·OPENSUBDIV3_OSD_OMP_KERNEL_H
 38 ·26#define·OPENSUBDIV3_OSD_OMP_KERNEL_H
39 ·2739 ·27
40 ·28#include·"../version.h"40 ·28#include·"../version.h"
41 ·2941 ·29
42 ·30#include·"../osd/opengl.h" 
43 ·31#include·<cstddef>42 ·30namespace·OpenSubdiv·{
 43 ·31namespace·OPENSUBDIV_VERSION·{
44 ·3244 ·32
45 ·33namespace·OpenSubdiv·{ 
46 ·34namespace·OPENSUBDIV_VERSION·{ 
47 ·35 
48 ·36namespace·Osd·{45 ·33namespace·Osd·{
49 ·37 
50 44class·GLVertexBuffer·{ 
51 ·45public: 
52 47·static·GLVertexBuffer·*·Create(int·numElements,·int·numVertices, 
53 ·48·void·*deviceContext·=·NULL); 
54 ·49 
55 51·~GLVertexBuffer(); 
56 ·52 
57 55·void·UpdateData(const·float·*src,·int·startVertex,·int·numVertices, 
58 ·56·void·*deviceContext·=·NULL); 
59 ·57 
60 59·int·GetNumElements()·const; 
61 ·60 
62 62·int·GetNumVertices()·const; 
63 ·63 
64 65·GLuint·BindVBO(void·*deviceContext·=·NULL); 
65 ·66 
66 ·67protected: 
67 69·GLVertexBuffer(int·numElements,·int·numVertices); 
68 ·70 
69 73·bool·allocate(); 
70 ·74 
71 ·75private: 
72 ·76·int·_numElements; 
73 ·77·int·_numVertices; 
74 ·78·GLuint·_vbo; 
75 ·79}; 
76 ·8046 ·34
 47 ·35struct·BufferDescriptor;
 48 ·36
 49 ·37void
 50 38OmpEvalStencils(float·const·*·src,·BufferDescriptor·const·&srcDesc,
 51 ·39·float·*·dst,·BufferDescriptor·const·&dstDesc,
 52 ·40·int·const·*·sizes,
 53 ·41·int·const·*·offsets,
 54 ·42·int·const·*·indices,
 55 ·43·float·const·*·weights,
 56 ·44·int·start,·int·end);
 57 ·45
 58 ·46void
 59 47OmpEvalStencils(float·const·*·src,·BufferDescriptor·const·&srcDesc,
 60 ·48·float·*·dst,·BufferDescriptor·const·&dstDesc,
 61 ·49·float·*·dstDu,·BufferDescriptor·const·&dstDuDesc,
 62 ·50·float·*·dstDv,·BufferDescriptor·const·&dstDvDesc,
 63 ·51·int·const·*·sizes,
 64 ·52·int·const·*·offsets,
 65 ·53·int·const·*·indices,
 66 ·54·float·const·*·weights,
 67 ·55·float·const·*·duWeights,
 68 ·56·float·const·*·dvWeights,
 69 ·57·int·start,·int·end);
 70 ·58
 71 ·59void
 72 60OmpEvalStencils(float·const·*·src,·BufferDescriptor·const·&srcDesc,
 73 ·61·float·*·dst,·BufferDescriptor·const·&dstDesc,
 74 ·62·float·*·dstDu,·BufferDescriptor·const·&dstDuDesc,
 75 ·63·float·*·dstDv,·BufferDescriptor·const·&dstDvDesc,
 76 ·64·float·*·dstDuu,·BufferDescriptor·const·&dstDuuDesc,
 77 ·65·float·*·dstDuv,·BufferDescriptor·const·&dstDuvDesc,
 78 ·66·float·*·dstDvv,·BufferDescriptor·const·&dstDvvDesc,
 79 ·67·int·const·*·sizes,
 80 ·68·int·const·*·offsets,
 81 ·69·int·const·*·indices,
 82 ·70·float·const·*·weights,
 83 ·71·float·const·*·duWeights,
 84 ·72·float·const·*·dvWeights,
 85 ·73·float·const·*·duuWeights,
 86 ·74·float·const·*·duvWeights,
 87 ·75·float·const·*·dvvWeights,
 88 ·76·int·start,·int·end);
 89 ·77
77 ·81}·//·end·namespace·Osd90 ·78}·//·end·namespace·Osd
 91 ·79
 92 ·80}·//·end·namespace·OPENSUBDIV_VERSION
 93 ·81using·namespace·OPENSUBDIV_VERSION;
78 ·8294 ·82
79 ·83}·//·end·namespace·OPENSUBDIV_VERSION 
80 ·84using·namespace·OPENSUBDIV_VERSION; 
81 ·85 
82 ·86}·//·end·namespace·OpenSubdiv95 ·83}·//·end·namespace·OpenSubdiv
83 ·87 
84 ·88#endif·//·OPENSUBDIV3_OSD_GL_VERTEX_BUFFER_H96 ·84
 97 ·85#endif·//·OPENSUBDIV3_OSD_OMP_KERNEL_H
85 OpenSubdiv98 OpenSubdiv
86 Definition:·limits.h:3299 Definition:·limits.h:32
 100 OpenSubdiv::OPENSUBDIV_VERSION::Osd::OmpEvalStencils
 101 void·OmpEvalStencils(float·const·*src,·BufferDescriptor·const·&srcDesc,·float
 102 *dst,·BufferDescriptor·const·&dstDesc,·int·const·*sizes,·int·const·*offsets,
 103 int·const·*indices,·float·const·*weights,·int·start,·int·end)
87 OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLVertexBuffer104 OpenSubdiv::OPENSUBDIV_VERSION::Osd::BufferDescriptor
Max diff block lines reached; 133/5616 bytes (2.37%) of diff not shown.
5.27 KB
./usr/share/doc/opensubdiv/doxy_html/a00863.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/glLegacyGregoryPatchTable.h·File·Reference</title>8 <title>OpenSubdiv:·opensubdiv/osd/ompEvaluator.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 83, 27 lines modifiedOffset 83, 27 lines modified
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124;87 <a·href="#nested-classes">Classes</a>·&#124;
88 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">glLegacyGregoryPatchTable.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">ompEvaluator.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
93 <code>#include·&quot;<a·class="el"·href="a00731_source.html">../far/patchTable.h</a>&quot;</code><br·/>93 <code>#include·&quot;<a·class="el"·href="a00881_source.html">../osd/bufferDescriptor.h</a>&quot;</code><br·/>
94 <code>#include·&quot;../osd/nonCopyable.h&quot;</code><br·/> 
95 <code>#include·&quot;<a·class="el"·href="a00884_source.html">../osd/opengl.h</a>&quot;</code><br·/>94 <code>#include·&quot;<a·class="el"·href="a01481_source.html">../osd/types.h</a>&quot;</code><br·/>
 95 <code>#include·&lt;cstddef&gt;</code><br·/>
96 </div>96 </div>
97 <p><a·href="a00863_source.html">Go·to·the·source·code·of·this·file.</a></p>97 <p><a·href="a00863_source.html">Go·to·the·source·code·of·this·file.</a></p>
98 <table·class="memberdecls">98 <table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
100 Classes</h2></td></tr>100 Classes</h2></td></tr>
101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01225.html">GLLegacyGregoryPatchTable</a></td></tr>101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01305.html">OmpEvaluator</a></td></tr>
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
103 </table><table·class="memberdecls">103 </table><table·class="memberdecls">
104 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>104 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
105 Namespaces</h2></td></tr>105 Namespaces</h2></td></tr>
106 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>106 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>
107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
108 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>108 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>
Offset 112, 13 lines modifiedOffset 112, 13 lines modified
112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
113 </table>113 </table>
114 </div><!--·contents·-->114 </div><!--·contents·-->
115 </div><!--·doc-content·-->115 </div><!--·doc-content·-->
116 <!--·start·footer·part·-->116 <!--·start·footer·part·-->
117 <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!·-->
118 ··<ul>118 ··<ul>
119 ····<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="a00863.html">glLegacyGregoryPatchTable.h</a></li>119 ····<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="a00863.html">ompEvaluator.h</a></li>
120 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>120 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
121 ··</ul>121 ··</ul>
122 </div>122 </div>
123 </body>123 </body>
124 </html>124 </html>
777 B
html2text {}
    
Offset 5, 27 lines modifiedOffset 5, 27 lines modified
  
  
  
5 [Logo]·OpenSubdiv5 [Logo]·OpenSubdiv
  
  
6 Classes·|·Namespaces6 Classes·|·Namespaces
7 glLegacyGregoryPatchTable.h·File·Reference7 ompEvaluator.h·File·Reference
8 #include·"../version.h"8 #include·"../version.h"
 9 #include·"../osd/bufferDescriptor.h"
9 #include·"../far/patchTable.h" 
10 #include·"../osd/nonCopyable.h" 
11 #include·"../osd/opengl.h"10 #include·"../osd/types.h"
 11 #include·<cstddef>
12 Go_to_the_source_code_of_this_file.12 Go_to_the_source_code_of_this_file.
13 ·Classes13 ·Classes
14 class· GLLegacyGregoryPatchTable14 class· OmpEvaluator
15  15  
16 ·Namespaces16 ·Namespaces
17 namespace· OpenSubdiv17 namespace· OpenSubdiv
18  18  
19 namespace· OpenSubdiv::OPENSUBDIV_VERSION19 namespace· OpenSubdiv::OPENSUBDIV_VERSION
20  20  
21 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd21 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd
22  22  
23 ····*·opensubdiv23 ····*·opensubdiv
24 ····*·osd24 ····*·osd
25 ····*·glLegacyGregoryPatchTable.h25 ····*·ompEvaluator.h
26 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.426 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
259 B
./usr/share/doc/opensubdiv/doxy_html/a00863.js
167 B
js-beautify {}
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 var·a00863·=·[1 var·a00863·=·[
2 ····["GLLegacyGregoryPatchTable",·"a01225.html",·"a01225"]2 ····["OmpEvaluator",·"a01305.html",·null]
3 ];3 ];
149 KB
./usr/share/doc/opensubdiv/doxy_html/a00863_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/glLegacyGregoryPatchTable.h·Source·File</title>8 <title>OpenSubdiv:·opensubdiv/osd/ompEvaluator.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 80, 15 lines modifiedOffset 80, 15 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">glLegacyGregoryPatchTable.h</div></div>86 ··<div·class="headertitle"><div·class="title">ompEvaluator.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <a·href="a00863.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>89 <a·href="a00863.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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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 107, 93 lines modifiedOffset 107, 502 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_GL_LEGACY_GREGORY_PATCH_TABLE_H</span></div>114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_OMP_EVALUATOR_H</span></div>
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_GL_LEGACY_GREGORY_PATCH_TABLE_H</span></div>115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_OMP_EVALUATOR_H</span></div>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> 
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../far/patchTable.h&quot;</span></div> 
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;../osd/nonCopyable.h&quot;</span></div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;../osd/bufferDescriptor.h&quot;</span></div>
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&quot;../osd/opengl.h&quot;</span></div>119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../osd/types.h&quot;</span></div>
 120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
 121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
123 <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>123 <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>
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Osd·{</div>126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Osd·{</div>
127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01225.html">···39</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01225.html">GLLegacyGregoryPatchTable</a></div>128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01305.html">···39</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01305.html">OmpEvaluator</a>·{</div>
129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····:·<span·class="keyword">private</span>·NonCopyable&lt;GLLegacyGregoryPatchTable&gt;·{</div> 
130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">public</span>:</div>129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">public</span>:</div>
131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a01225.html#a51fd18f3671b7b6c473a039d75808067">···42</a></span>····<a·class="code·hl_function"·href="a01225.html#a51fd18f3671b7b6c473a039d75808067">~GLLegacyGregoryPatchTable</a>();</div> 
132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>130 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
 131 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·SRC_BUFFER,·<span·class="keyword">typename</span>·DST_BUFFER,·<span·class="keyword">typename</span>·STENCIL_TABLE&gt;</div>
 132 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01305.html#a76ac331e29d26f25d0d807b74c1a838b">···72</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01305.html#a76ac331e29d26f25d0d807b74c1a838b">EvalStencils</a>(</div>
 133 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>········SRC_BUFFER·*srcBuffer,·<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;srcDesc,</div>
 134 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>········DST_BUFFER·*dstBuffer,·<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDesc,</div>
133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01225.html#afa527b26d9eade00d0fa657646b1a151">···44</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01225.html">GLLegacyGregoryPatchTable</a>·*<a·class="code·hl_function"·href="a01225.html#afa527b26d9eade00d0fa657646b1a151">Create</a>(<a·class="code·hl_class"·href="a00993.html">Far::PatchTable</a>·<span·class="keyword">const</span>·*patchTable);</div> 
134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> 
135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01225.html#a733eda5d63a4d77324d7d50d704eaf3a">···46</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01225.html#a733eda5d63a4d77324d7d50d704eaf3a">UpdateVertexBuffer</a>(GLuint·vbo);</div> 
136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> 
137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01225.html#af81d48caf41d4a7e0c5ceb166d4de990">···48</a></span>····GLuint·<a·class="code·hl_function"·href="a01225.html#af81d48caf41d4a7e0c5ceb166d4de990">GetVertexTextureBuffer</a>()<span·class="keyword">·const·</span>{</div> 
138 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>········<span·class="keywordflow">return</span>·_vertexTextureBuffer;</div> 
139 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····}</div> 
140 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> 
141 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01225.html#a36f9d327f21d3dee80bb225000403cce">···52</a></span>····GLuint·<a·class="code·hl_function"·href="a01225.html#a36f9d327f21d3dee80bb225000403cce">GetVertexValenceTextureBuffer</a>()<span·class="keyword">·const·</span>{</div> 
142 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>········<span·class="keywordflow">return</span>·_vertexValenceTextureBuffer;</div> 
143 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····}</div> 
144 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> 
145 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01225.html#a4968ced94d61cc4d5e8f0e9883fd2116">···56</a></span>····GLuint·<a·class="code·hl_function"·href="a01225.html#a4968ced94d61cc4d5e8f0e9883fd2116">GetQuadOffsetsTextureBuffer</a>()<span·class="keyword">·const·</span>{</div> 
146 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········<span·class="keywordflow">return</span>·_quadOffsetsTextureBuffer;</div> 
147 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····}</div> 
148 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> 
149 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01225.html#a7d706a485061caef58778fdc8a7348d1">···60</a></span>····GLuint·<a·class="code·hl_function"·href="a01225.html#a7d706a485061caef58778fdc8a7348d1">GetQuadOffsetsBase</a>(<a·class="code·hl_enumeration"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type)·{</div> 
150 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>········<span·class="keywordflow">if</span>·(type·==·<a·class="code·hl_enumvalue"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7ac4ae10df9c13e44880ca7be341e44f2a">Far::PatchDescriptor::GREGORY_BOUNDARY</a>)·{</div> 
151 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>············<span·class="keywordflow">return</span>·_quadOffsetsBase[1];</div> 
152 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········}</div> 
153 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>········<span·class="keywordflow">return</span>·_quadOffsetsBase[0];</div> 
154 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····}</div> 
155 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> 
156 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="keyword">protected</span>:</div>135 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········STENCIL_TABLE·<span·class="keyword">const</span>·*stencilTable,</div>
 136 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01305.html">OmpEvaluator</a>·*instance·=·NULL,</div>
157 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01225.html#a5b78188b846b316c5c0cdb42f4ee9563">···68</a></span>····<a·class="code·hl_function"·href="a01225.html#a5b78188b846b316c5c0cdb42f4ee9563">GLLegacyGregoryPatchTable</a>();</div> 
158 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> 
159 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="keyword">private</span>:</div>137 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>········<span·class="keywordtype">void</span>·*·deviceContext·=·NULL)·{</div>
160 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····GLuint·_vertexTextureBuffer;</div> 
161 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····GLuint·_vertexValenceTextureBuffer;</div> 
162 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····GLuint·_quadOffsetsTextureBuffer;</div> 
163 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····GLuint·_quadOffsetsBase[2];·······<span·class="comment">//·gregory,·boundaryGregory</span></div> 
164 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>};</div> 
165 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> 
166 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> 
167 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>138 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
168 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>}··<span·class="comment">//·end·namespace·Osd</span></div>139 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>········(void)instance;·······<span·class="comment">//·unused</span></div>
 140 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>········(void)deviceContext;··<span·class="comment">//·unused</span></div>
169 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>141 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>
170 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>}··<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> 
171 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div>142 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>········<span·class="keywordflow">if</span>·(stencilTable-&gt;GetNumStencils()·==·0)</div>
 143 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>············<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;</div>
172 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>144 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
 145 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01305.html#a76ac331e29d26f25d0d807b74c1a838b">EvalStencils</a>(srcBuffer-&gt;BindCpuBuffer(),·srcDesc,</div>
 146 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····························dstBuffer-&gt;BindCpuBuffer(),·dstDesc,</div>
 147 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····························&amp;stencilTable-&gt;GetSizes()[0],</div>
 148 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····························&amp;stencilTable-&gt;GetOffsets()[0],</div>
 149 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····························&amp;stencilTable-&gt;GetControlIndices()[0],</div>
 150 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····························&amp;stencilTable-&gt;GetWeights()[0],</div>
173 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>}··<span·class="comment">//·end·namespace·OpenSubdiv</span></div>151 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····························<span·class="comment">/*start·=·*/</span>·0,</div>
 152 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····························<span·class="comment">/*end···=·*/</span>·stencilTable-&gt;GetNumStencils());</div>
 153 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····}</div>
174 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>154 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>
 155 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno"><a·class="line"·href="a01305.html#a4345e3659b7fb82f23dd51c688179ce3">··121</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01305.html#a4345e3659b7fb82f23dd51c688179ce3">EvalStencils</a>(</div>
 156 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>········<span·class="keyword">const</span>·<span·class="keywordtype">float</span>·*src,·<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;srcDesc,</div>
 157 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>········<span·class="keywordtype">float</span>·*dst,·······<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDesc,</div>
 158 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>········<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·*·sizes,</div>
 159 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>········<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·*·offsets,</div>
 160 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>········<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·*·indices,</div>
 161 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>········<span·class="keyword">const</span>·<span·class="keywordtype">float</span>·*·weights,</div>
 162 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>········<span·class="keywordtype">int</span>·start,·<span·class="keywordtype">int</span>·end);</div>
 163 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>·</div>
 164 <div·class="line"><a·id="l00167"·name="l00167"></a><span·class="lineno">··167</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·SRC_BUFFER,·<span·class="keyword">typename</span>·DST_BUFFER,·<span·class="keyword">typename</span>·STENCIL_TABLE&gt;</div>
Max diff block lines reached; 22813/119529 bytes (19.09%) of diff not shown.
32.4 KB
html2text {}
    
Offset 4, 15 lines modifiedOffset 4, 15 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 glLegacyGregoryPatchTable.h5 ompEvaluator.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2015·Pixar8 ·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·in11 ·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 30, 113 lines modifiedOffset 30, 657 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_OSD_GL_LEGACY_GREGORY_PATCH_TABLE_H 
38 ·26#define·OPENSUBDIV3_OSD_GL_LEGACY_GREGORY_PATCH_TABLE_H37 ·25#ifndef·OPENSUBDIV3_OSD_OMP_EVALUATOR_H
 38 ·26#define·OPENSUBDIV3_OSD_OMP_EVALUATOR_H
39 ·2739 ·27
40 ·28#include·"../version.h"40 ·28#include·"../version.h"
 41 ·29#include·"../osd/bufferDescriptor.h"
41 ·29 
42 ·30#include·"../far/patchTable.h" 
43 ·31#include·"../osd/nonCopyable.h" 
44 ·32#include·"../osd/opengl.h"42 ·30#include·"../osd/types.h"
 43 ·31
 44 ·32#include·<cstddef>
45 ·3345 ·33
46 ·34namespace·OpenSubdiv·{46 ·34namespace·OpenSubdiv·{
47 ·35namespace·OPENSUBDIV_VERSION·{47 ·35namespace·OPENSUBDIV_VERSION·{
48 ·3648 ·36
49 ·37namespace·Osd·{49 ·37namespace·Osd·{
50 ·3850 ·38
 51 39class·OmpEvaluator·{
51 39class·GLLegacyGregoryPatchTable 
52 ·40·:·private·NonCopyable<GLLegacyGregoryPatchTable>·{ 
53 ·41public:52 ·40public:
 53 ·46
 54 ·71·template·<typename·SRC_BUFFER,·typename·DST_BUFFER,·typename·STENCIL_TABLE>
 55 72·static·bool·EvalStencils(
 56 ·73·SRC_BUFFER·*srcBuffer,·BufferDescriptor·const·&srcDesc,
 57 ·74·DST_BUFFER·*dstBuffer,·BufferDescriptor·const·&dstDesc,
 58 ·75·STENCIL_TABLE·const·*stencilTable,
 59 ·76·const·OmpEvaluator·*instance·=·NULL,
 60 ·77·void·*·deviceContext·=·NULL)·{
54 42·~GLLegacyGregoryPatchTable(); 
55 ·43 
56 44·static·GLLegacyGregoryPatchTable·*Create(Far::PatchTable·const·*patchTable); 
57 ·45 
58 46·void·UpdateVertexBuffer(GLuint·vbo); 
59 ·47 
60 48·GLuint·GetVertexTextureBuffer()·const·{ 
61 ·49·return·_vertexTextureBuffer; 
62 ·50·} 
63 ·51 
64 52·GLuint·GetVertexValenceTextureBuffer()·const·{ 
65 ·53·return·_vertexValenceTextureBuffer; 
66 ·54·} 
67 ·55 
68 56·GLuint·GetQuadOffsetsTextureBuffer()·const·{ 
69 ·57·return·_quadOffsetsTextureBuffer; 
70 ·58·} 
71 ·59 
72 60·GLuint·GetQuadOffsetsBase(Far::PatchDescriptor::Type·type)·{ 
73 ·61·if·(type·==·Far::PatchDescriptor::GREGORY_BOUNDARY)·{ 
74 ·62·return·_quadOffsetsBase[1]; 
75 ·63·} 
76 ·64·return·_quadOffsetsBase[0]; 
77 ·65·} 
78 ·66 
79 ·67protected: 
80 68·GLLegacyGregoryPatchTable(); 
81 ·69 
82 ·70private: 
83 ·71·GLuint·_vertexTextureBuffer; 
84 ·72·GLuint·_vertexValenceTextureBuffer; 
85 ·73·GLuint·_quadOffsetsTextureBuffer; 
86 ·74·GLuint·_quadOffsetsBase[2];·//·gregory,·boundaryGregory 
87 ·75}; 
88 ·76 
89 ·77 
90 ·7861 ·78
 62 ·79·(void)instance;·//·unused
 63 ·80·(void)deviceContext;·//·unused
 64 ·81
 65 ·82·if·(stencilTable->GetNumStencils()·==·0)
 66 ·83·return·false;
 67 ·84
 68 ·85·return·EvalStencils(srcBuffer->BindCpuBuffer(),·srcDesc,
 69 ·86·dstBuffer->BindCpuBuffer(),·dstDesc,
 70 ·87·&stencilTable->GetSizes()[0],
 71 ·88·&stencilTable->GetOffsets()[0],
 72 ·89·&stencilTable->GetControlIndices()[0],
 73 ·90·&stencilTable->GetWeights()[0],
 74 ·91·/*start·=·*/·0,
 75 ·92·/*end·=·*/·stencilTable->GetNumStencils());
 76 ·93·}
 77 ·94
 78 121·static·bool·EvalStencils(
 79 ·122·const·float·*src,·BufferDescriptor·const·&srcDesc,
 80 ·123·float·*dst,·BufferDescriptor·const·&dstDesc,
 81 ·124·const·int·*·sizes,
 82 ·125·const·int·*·offsets,
 83 ·126·const·int·*·indices,
 84 ·127·const·float·*·weights,
 85 ·128·int·start,·int·end);
 86 ·129
 87 ·167·template·<typename·SRC_BUFFER,·typename·DST_BUFFER,·typename
 88 STENCIL_TABLE>
 89 168·static·bool·EvalStencils(
 90 ·169·SRC_BUFFER·*srcBuffer,·BufferDescriptor·const·&srcDesc,
 91 ·170·DST_BUFFER·*dstBuffer,·BufferDescriptor·const·&dstDesc,
 92 ·171·DST_BUFFER·*duBuffer,·BufferDescriptor·const·&duDesc,
 93 ·172·DST_BUFFER·*dvBuffer,·BufferDescriptor·const·&dvDesc,
 94 ·173·STENCIL_TABLE·const·*stencilTable,
 95 ·174·const·OmpEvaluator·*instance·=·NULL,
 96 ·175·void·*·deviceContext·=·NULL)·{
 97 ·176
 98 ·177·(void)instance;·//·unused
Max diff block lines reached; 13289/33119 bytes (40.13%) of diff not shown.
5.5 KB
./usr/share/doc/opensubdiv/doxy_html/a00866.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/glPatchTable.h·File·Reference</title>8 <title>OpenSubdiv:·opensubdiv/osd/opengl.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 80, 48 lines modifiedOffset 80, 24 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary"> 
87 <a·href="#nested-classes">Classes</a>·&#124; 
88 <a·href="#namespaces">Namespaces</a>··</div> 
89 ··<div·class="headertitle"><div·class="title">glPatchTable.h·File·Reference</div></div>86 ··<div·class="headertitle"><div·class="title">opengl.h·File·Reference</div></div>
90 </div><!--header-->87 </div><!--header-->
91 <div·class="contents">88 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>89 <div·class="textblock"><code>#include·&lt;GL/gl.h&gt;</code><br·/>
93 <code>#include·&quot;../osd/nonCopyable.h&quot;</code><br·/> 
94 <code>#include·&quot;<a·class="el"·href="a00884_source.html">../osd/opengl.h</a>&quot;</code><br·/> 
95 <code>#include·&quot;<a·class="el"·href="a01481_source.html">../osd/types.h</a>&quot;</code><br·/> 
96 <code>#include·&lt;vector&gt;</code><br·/> 
97 </div>90 </div>
98 <p><a·href="a00866_source.html">Go·to·the·source·code·of·this·file.</a></p>91 <p><a·href="a00866_source.html">Go·to·the·source·code·of·this·file.</a></p>
99 <table·class="memberdecls"> 
100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
101 Classes</h2></td></tr> 
102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01229.html">GLPatchTable</a></td></tr> 
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
104 </table><table·class="memberdecls"> 
105 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> 
106 Namespaces</h2></td></tr> 
107 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr> 
109 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr> 
111 <tr·class="memitem:a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr> 
112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
113 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> 
114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
115 </table> 
116 </div><!--·contents·-->92 </div><!--·contents·-->
117 </div><!--·doc-content·-->93 </div><!--·doc-content·-->
118 <!--·start·footer·part·-->94 <!--·start·footer·part·-->
119 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->95 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
120 ··<ul>96 ··<ul>
121 ····<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="a00866.html">glPatchTable.h</a></li>97 ····<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="a00866.html">opengl.h</a></li>
122 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>98 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
123 ··</ul>99 ··</ul>
124 </div>100 </div>
125 </body>101 </body>
126 </html>102 </html>
707 B
html2text {}
    
Offset 4, 31 lines modifiedOffset 4, 14 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
 5 opengl.h·File·Reference
 6 #include·<GL/gl.h>
5 Classes·|·Namespaces 
6 glPatchTable.h·File·Reference 
7 #include·"../version.h" 
8 #include·"../osd/nonCopyable.h" 
9 #include·"../osd/opengl.h" 
10 #include·"../osd/types.h" 
11 #include·<vector> 
12 Go_to_the_source_code_of_this_file.7 Go_to_the_source_code_of_this_file.
13 ·Classes 
14 class· GLPatchTable 
15   
16 ·Namespaces 
17 namespace· OpenSubdiv 
18   
19 namespace· OpenSubdiv::OPENSUBDIV_VERSION 
20   
21 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Far 
22   
23 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd 
24   
25 ····*·opensubdiv8 ····*·opensubdiv
26 ····*·osd9 ····*·osd
27 ····*·glPatchTable.h10 ····*·opengl.h
28 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.411 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
56.5 KB
./usr/share/doc/opensubdiv/doxy_html/a00866_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/glPatchTable.h·Source·File</title>8 <title>OpenSubdiv:·opensubdiv/osd/opengl.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 80, 19 lines modifiedOffset 80, 19 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">glPatchTable.h</div></div>86 ··<div·class="headertitle"><div·class="title">opengl.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <a·href="a00866.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>89 <a·href="a00866.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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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>
94 <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>94 <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>
95 <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>95 <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>
96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>
97 <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>97 <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 107, 172 lines modifiedOffset 107, 47 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <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>114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_OPENGL_H</span></div>
115 <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>115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_OPENGL_H</span></div>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
 117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#if·defined(__APPLE__)</span></div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">····#include·&quot;TargetConditionals.h&quot;</span></div>
 119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">····#if·TARGET_OS_IPHONE·||·TARGET_IPHONE_SIMULATOR</span></div>
 120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">········#include·&lt;OpenGLES/ES2/gl.h&gt;</span></div>
 121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">····#else</span></div>
 122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">········#if·defined(OSD_USES_GLEW)</span></div>
 123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">············#include·&lt;GL/glew.h&gt;</span></div>
 124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">········#else</span></div>
 125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">············#include·&lt;OpenGL/gl3.h&gt;</span></div>
 126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">········#endif</span></div>
 127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">····#endif</span></div>
 128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="preprocessor">#elif·defined(ANDROID)</span></div>
 129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="preprocessor">····#include·&lt;GLES2/gl2.h&gt;</span></div>
 130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="preprocessor">#else</span></div>
 131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="preprocessor">····#if·defined(_WIN32)</span></div>
 132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="preprocessor">········#define·WIN32_LEAN_AND_MEAN</span></div>
 133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="preprocessor">········#include·&lt;windows.h&gt;</span></div>
 134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="preprocessor">····#endif</span></div>
 135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="preprocessor">····#if·defined(OSD_USES_GLEW)</span></div>
 136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="preprocessor">········#include·&lt;GL/glew.h&gt;</span></div>
 137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="preprocessor">····#else</span></div>
 138 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="preprocessor">········#include·&lt;GL/gl.h&gt;</span></div>
 139 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="preprocessor">····#endif</span></div>
 140 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="preprocessor">#endif</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>141 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../osd/nonCopyable.h&quot;</span></div> 
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;../osd/opengl.h&quot;</span></div> 
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&quot;../osd/types.h&quot;</span></div> 
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> 
123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div> 
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> 
125 <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> 
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> 
127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> 
128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">namespace·</span>Far{</div> 
129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">class·</span>PatchTable;</div> 
130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>};</div> 
131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> 
132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">namespace·</span>Osd·{</div> 
133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> 
134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01229.html">···45</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01229.html">GLPatchTable</a>·:·<span·class="keyword">private</span>·NonCopyable&lt;GLPatchTable&gt;·{</div> 
135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">public</span>:</div> 
136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01229.html#a02af2ea2e9328a776b5b0bb3edf88864">···47</a></span>····<span·class="keyword">typedef</span>·GLuint·<a·class="code·hl_typedef"·href="a01229.html#a02af2ea2e9328a776b5b0bb3edf88864">VertexBufferBinding</a>;</div> 
137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> 
138 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01229.html#a27e3bbc29608fb5ded788e1a6d068da7">···49</a></span>····<a·class="code·hl_function"·href="a01229.html#a27e3bbc29608fb5ded788e1a6d068da7">~GLPatchTable</a>();</div> 
139 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> 
140 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01229.html#a406bb6da6d3805b2b3d8e462ba4d1a47">···51</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01229.html">GLPatchTable</a>·*<a·class="code·hl_function"·href="a01229.html#a406bb6da6d3805b2b3d8e462ba4d1a47">Create</a>(<a·class="code·hl_class"·href="a00993.html">Far::PatchTable</a>·<span·class="keyword">const</span>·*farPatchTable,</div> 
141 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>································<span·class="keywordtype">void</span>·*deviceContext·=·NULL);</div> 
142 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> 
143 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01229.html#a18e3d09b0c7b7552f8e419e36788166a">···55</a></span>····<a·class="code·hl_typedef"·href="a00912.html#a98098cd229f60d2397d84a76fe654a31">PatchArrayVector</a>·<span·class="keyword">const</span>·&amp;<a·class="code·hl_function"·href="a01229.html#a18e3d09b0c7b7552f8e419e36788166a">GetPatchArrays</a>()<span·class="keyword">·const·</span>{</div> 
144 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01229.html#a5dfb6b58580f2dec58e9b5bfdb4ed9f1">_patchArrays</a>;</div> 
145 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····}</div> 
146 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> 
147 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01229.html#aa22b6cb3f4bbb8edaaa553389e080e40">···60</a></span>····GLuint·<a·class="code·hl_function"·href="a01229.html#aa22b6cb3f4bbb8edaaa553389e080e40">GetPatchIndexBuffer</a>()<span·class="keyword">·const·</span>{</div> 
148 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01229.html#a60ed91ae6ab2018bcc0d4f3db4f0d2e9">_patchIndexBuffer</a>;</div> 
149 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····}</div> 
150 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> 
151 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01229.html#a645a6698ee27f028eb10e8a43044bf7f">···65</a></span>····GLuint·<a·class="code·hl_function"·href="a01229.html#a645a6698ee27f028eb10e8a43044bf7f">GetPatchParamBuffer</a>()<span·class="keyword">·const·</span>{</div> 
152 <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="a01229.html#afcbe2b12b775d32f606ee7e347dba51a">_patchParamBuffer</a>;</div> 
153 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····}</div> 
154 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> 
155 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01229.html#ac1366e74b619cfb89c4c2df52b7aa697">···70</a></span>····GLuint·<a·class="code·hl_function"·href="a01229.html#ac1366e74b619cfb89c4c2df52b7aa697">GetPatchIndexTextureBuffer</a>()<span·class="keyword">·const·</span>{</div> 
156 <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="a01229.html#abbedd905fe4d0e32460f82d1aa9bf360">_patchIndexTexture</a>;</div> 
157 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····}</div> 
158 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> 
159 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01229.html#a2b6605b35fc9437ab5750d6929fc66d8">···75</a></span>····GLuint·<a·class="code·hl_function"·href="a01229.html#a2b6605b35fc9437ab5750d6929fc66d8">GetPatchParamTextureBuffer</a>()<span·class="keyword">·const·</span>{</div> 
160 <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="a01229.html#a698f8b3d96e62c8512eb3881c8112978">_patchParamTexture</a>;</div> 
161 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····}</div> 
162 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> 
163 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01229.html#aec45672f51f456fea341d644bcf16434">···80</a></span>····<a·class="code·hl_typedef"·href="a00912.html#a98098cd229f60d2397d84a76fe654a31">PatchArrayVector</a>·<span·class="keyword">const</span>·&amp;<a·class="code·hl_function"·href="a01229.html#aec45672f51f456fea341d644bcf16434">GetVaryingPatchArrays</a>()<span·class="keyword">·const·</span>{</div> 
164 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01229.html#acd99a0391b3b04586b11051fd0f7ed10">_varyingPatchArrays</a>;</div> 
165 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····}</div> 
166 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> 
167 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01229.html#ae0df6dbe9e1a7425c18c063dd55335f0">···85</a></span>····GLuint·<a·class="code·hl_function"·href="a01229.html#ae0df6dbe9e1a7425c18c063dd55335f0">GetVaryingPatchIndexBuffer</a>()<span·class="keyword">·const·</span>{</div> 
168 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01229.html#a30ba44ce4fe4d55733bb32e59a0f564f">_varyingIndexBuffer</a>;</div> 
169 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····}</div> 
170 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> 
171 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno"><a·class="line"·href="a01229.html#ac444539beb3cfb4b80ea5119a705b662">···90</a></span>····GLuint·<a·class="code·hl_function"·href="a01229.html#ac444539beb3cfb4b80ea5119a705b662">GetVaryingPatchIndexTextureBuffer</a>()<span·class="keyword">·const·</span>{</div> 
172 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01229.html#a45c78bbbee12b05b67a5709c0c9e3edf">_varyingIndexTexture</a>;</div> 
173 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····}</div> 
174 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> 
Max diff block lines reached; 951/47095 bytes (2.02%) of diff not shown.
10.4 KB
html2text {}
    
Offset 4, 18 lines modifiedOffset 4, 18 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 glPatchTable.h5 opengl.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2015·Pixar8 ·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·in11 ·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·trade15 ·9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade
Offset 30, 249 lines modifiedOffset 30, 40 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_OSD_GL_PATCH_TABLE_H37 ·25#ifndef·OPENSUBDIV3_OSD_OPENGL_H
38 ·26#define·OPENSUBDIV3_OSD_GL_PATCH_TABLE_H38 ·26#define·OPENSUBDIV3_OSD_OPENGL_H
39 ·2739 ·27
 40 ·28#if·defined(__APPLE__)
 41 ·29·#include·"TargetConditionals.h"
 42 ·30·#if·TARGET_OS_IPHONE·||·TARGET_IPHONE_SIMULATOR
 43 ·31·#include·<OpenGLES/ES2/gl.h>
 44 ·32·#else
 45 ·33·#if·defined(OSD_USES_GLEW)
 46 ·34·#include·<GL/glew.h>
 47 ·35·#else
 48 ·36·#include·<OpenGL/gl3.h>
 49 ·37·#endif
 50 ·38·#endif
 51 ·39#elif·defined(ANDROID)
 52 ·40·#include·<GLES2/gl2.h>
 53 ·41#else
 54 ·42·#if·defined(_WIN32)
 55 ·43·#define·WIN32_LEAN_AND_MEAN
 56 ·44·#include·<windows.h>
 57 ·45·#endif
 58 ·46·#if·defined(OSD_USES_GLEW)
 59 ·47·#include·<GL/glew.h>
 60 ·48·#else
 61 ·49·#include·<GL/gl.h>
 62 ·50·#endif
 63 ·51#endif
 64 ·52
40 ·28#include·"../version.h" 
41 ·29 
42 ·30#include·"../osd/nonCopyable.h" 
43 ·31#include·"../osd/opengl.h" 
44 ·32#include·"../osd/types.h" 
45 ·33 
46 ·34#include·<vector> 
47 ·35 
48 ·36namespace·OpenSubdiv·{ 
49 ·37namespace·OPENSUBDIV_VERSION·{ 
50 ·38 
51 ·39namespace·Far{ 
52 ·40·class·PatchTable; 
53 ·41}; 
54 ·42 
55 ·43namespace·Osd·{ 
56 ·44 
57 45class·GLPatchTable·:·private·NonCopyable<GLPatchTable>·{ 
58 ·46public: 
59 47·typedef·GLuint·VertexBufferBinding; 
60 ·48 
61 49·~GLPatchTable(); 
62 ·50 
63 51·static·GLPatchTable·*Create(Far::PatchTable·const·*farPatchTable, 
64 ·52·void·*deviceContext·=·NULL); 
65 ·53 
66 55·PatchArrayVector·const·&GetPatchArrays()·const·{ 
67 ·56·return·_patchArrays; 
68 ·57·} 
69 ·58 
70 60·GLuint·GetPatchIndexBuffer()·const·{ 
71 ·61·return·_patchIndexBuffer; 
72 ·62·} 
73 ·63 
74 65·GLuint·GetPatchParamBuffer()·const·{ 
75 ·66·return·_patchParamBuffer; 
76 ·67·} 
77 ·68 
78 70·GLuint·GetPatchIndexTextureBuffer()·const·{ 
79 ·71·return·_patchIndexTexture; 
80 ·72·} 
81 ·73 
82 75·GLuint·GetPatchParamTextureBuffer()·const·{ 
83 ·76·return·_patchParamTexture; 
84 ·77·} 
85 ·78 
86 80·PatchArrayVector·const·&GetVaryingPatchArrays()·const·{ 
87 ·81·return·_varyingPatchArrays; 
88 ·82·} 
89 ·83 
90 85·GLuint·GetVaryingPatchIndexBuffer()·const·{ 
91 ·86·return·_varyingIndexBuffer; 
92 ·87·} 
93 ·88 
94 90·GLuint·GetVaryingPatchIndexTextureBuffer()·const·{ 
95 ·91·return·_varyingIndexTexture; 
96 ·92·} 
97 ·93 
98 95·int·GetNumFVarChannels()·const·{·return·(int)_fvarPatchArrays.size();·} 
99 ·96 
100 98·PatchArrayVector·const·&GetFVarPatchArrays(int·fvarChannel·=·0)·const·{ 
101 ·99·return·_fvarPatchArrays[fvarChannel]; 
102 ·100·} 
103 ·101 
104 103·GLuint·GetFVarPatchIndexBuffer(int·fvarChannel·=·0)·const·{ 
105 ·104·return·_fvarIndexBuffers[fvarChannel]; 
106 ·105·} 
107 ·106 
108 108·GLuint·GetFVarPatchIndexTextureBuffer(int·fvarChannel·=·0)·const·{ 
109 ·109·return·_fvarIndexTextures[fvarChannel]; 
110 ·110·} 
111 ·111 
112 113·GLuint·GetFVarPatchParamBuffer(int·fvarChannel·=·0)·const·{ 
Max diff block lines reached; 128/10670 bytes (1.20%) of diff not shown.
14.9 KB
./usr/share/doc/opensubdiv/doxy_html/a00869.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/cpuGLVertexBuffer.h·File·Reference</title>8 <title>OpenSubdiv:·opensubdiv/osd/mesh.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 82, 43 lines modifiedOffset 82, 108 lines modified
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124;87 <a·href="#nested-classes">Classes</a>·&#124;
88 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>·&#124;
 89 <a·href="#typedef-members">Typedefs</a>·&#124;
 90 <a·href="#enum-members">Enumerations</a>·&#124;
 91 <a·href="#func-members">Functions</a>··</div>
89 ··<div·class="headertitle"><div·class="title">cpuGLVertexBuffer.h·File·Reference</div></div>92 ··<div·class="headertitle"><div·class="title">mesh.h·File·Reference</div></div>
90 </div><!--header-->93 </div><!--header-->
91 <div·class="contents">94 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>95 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
 96 <code>#include·&lt;bitset&gt;</code><br·/>
93 <code>#include·&lt;cstddef&gt;</code><br·/>97 <code>#include·&lt;cassert&gt;</code><br·/>
 98 <code>#include·&lt;cstring&gt;</code><br·/>
 99 <code>#include·&lt;vector&gt;</code><br·/>
 100 <code>#include·&quot;<a·class="el"·href="a00707_source.html">../far/topologyRefiner.h</a>&quot;</code><br·/>
 101 <code>#include·&quot;<a·class="el"·href="a00728_source.html">../far/patchTableFactory.h</a>&quot;</code><br·/>
 102 <code>#include·&quot;<a·class="el"·href="a00719_source.html">../far/stencilTable.h</a>&quot;</code><br·/>
 103 <code>#include·&quot;<a·class="el"·href="a00716_source.html">../far/stencilTableFactory.h</a>&quot;</code><br·/>
94 <code>#include·&quot;<a·class="el"·href="a00884_source.html">../osd/opengl.h</a>&quot;</code><br·/>104 <code>#include·&quot;<a·class="el"·href="a00881_source.html">../osd/bufferDescriptor.h</a>&quot;</code><br·/>
95 </div>105 </div>
96 <p><a·href="a00869_source.html">Go·to·the·source·code·of·this·file.</a></p>106 <p><a·href="a00869_source.html">Go·to·the·source·code·of·this·file.</a></p>
97 <table·class="memberdecls">107 <table·class="memberdecls">
98 <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>
99 Classes</h2></td></tr>109 Classes</h2></td></tr>
100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01161.html">CpuGLVertexBuffer</a></td></tr>110 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01261.html">MeshInterface&lt;·PATCH_TABLE·&gt;</a></td></tr>
101 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Concrete·vertex·buffer·class·for·cpu·subdivision·and·OpenGL·drawing.··<a·href="a01161.html#details">More...</a><br·/></td></tr>111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 112 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01265.html">EvaluatorCacheT&lt;·EVALUATOR·&gt;</a></td></tr>
 113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 114 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01269.html">EvaluatorCacheT&lt;·EVALUATOR·&gt;::Entry</a></td></tr>
 115 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 116 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01273.html">Mesh&lt;·VERTEX_BUFFER,·STENCIL_TABLE,·EVALUATOR,·PATCH_TABLE,·DEVICE_CONTEXT·&gt;</a></td></tr>
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>117 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
103 </table><table·class="memberdecls">118 </table><table·class="memberdecls">
104 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>119 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
105 Namespaces</h2></td></tr>120 Namespaces</h2></td></tr>
106 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>121 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>
107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>122 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
108 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>123 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>
109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>124 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
110 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>125 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>
111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>126 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 127 </table><table·class="memberdecls">
 128 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>
 129 Typedefs</h2></td></tr>
 130 <tr·class="memitem:a85ba9df501aea9af1ec9da1558c255bc"><td·class="memItemLeft"·align="right"·valign="top">typedef·std::bitset&lt;·NUM_MESH_BITS·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#a85ba9df501aea9af1ec9da1558c255bc">MeshBitset</a></td></tr>
 131 <tr·class="separator:a85ba9df501aea9af1ec9da1558c255bc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 132 </table><table·class="memberdecls">
 133 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="enum-members"·name="enum-members"></a>
 134 Enumerations</h2></td></tr>
 135 <tr·class="memitem:a1af6b50e9f8ae13d3d2f9d5b03b35492"><td·class="memItemLeft"·align="right"·valign="top">enum·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492">MeshBits</a>·{·<br·/>
 136 &#160;&#160;<a·class="el"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492adef344bcbdd50a1a93136eb53183c718">MeshAdaptive</a>·=·0
 137 ,·<br·/>
 138 &#160;&#160;<a·class="el"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a9313c644b9b2a998bcb55cfcc4582b1a">MeshInterleaveVarying</a>·=·1
 139 ,·<br·/>
 140 &#160;&#160;<a·class="el"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492ac10e41fef659f3b3a1b730319bdedb45">MeshFVarData</a>·=·2
 141 ,·<br·/>
 142 &#160;&#160;<a·class="el"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a9b8a23ab039e120012bc7c622308d603">MeshFVarAdaptive</a>·=·3
 143 ,·<br·/>
 144 &#160;&#160;<a·class="el"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492ab32b8ef595539e14041e2fb0e619e3f9">MeshUseSmoothCornerPatch</a>·=·4
 145 ,·<br·/>
 146 &#160;&#160;<a·class="el"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a9058d69e1089fc77f1974a76c34e2071">MeshUseSingleCreasePatch</a>·=·5
 147 ,·<br·/>
 148 &#160;&#160;<a·class="el"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a8fab1b3018f94b5b2432c7435e795925">MeshUseInfSharpPatch</a>·=·6
 149 ,·<br·/>
 150 &#160;&#160;<a·class="el"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a4124233e4f787f999c7975afceab34f3">MeshEndCapBilinearBasis</a>·=·7
 151 ,·<br·/>
 152 &#160;&#160;<a·class="el"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492aa2f41b6ba0393698bb3af283283737f7">MeshEndCapBSplineBasis</a>·=·8
 153 ,·<br·/>
 154 &#160;&#160;<a·class="el"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492aa2878e1a215530f5f6fb89f1e06f91ee">MeshEndCapGregoryBasis</a>·=·9
 155 ,·<br·/>
 156 &#160;&#160;<a·class="el"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492aad7b3fb2be609abdbfafaf5b1c834158">MeshEndCapLegacyGregory</a>·=·10
 157 ,·<br·/>
 158 &#160;&#160;<a·class="el"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a5676712c77d29cfdd330e2802db1c464">NUM_MESH_BITS</a>·=·11
 159 <br·/>
 160 ·}</td></tr>
 161 <tr·class="separator:a1af6b50e9f8ae13d3d2f9d5b03b35492"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 162 </table><table·class="memberdecls">
 163 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 164 Functions</h2></td></tr>
 165 <tr·class="memitem:a06ceddf21c024b341a5b946049cd701a"><td·class="memTemplParams"·colspan="2">template&lt;typename·STENCIL_TABLE·,·typename·SRC_STENCIL_TABLE·,·typename·DEVICE_CONTEXT·&gt;·</td></tr>
 166 <tr·class="memitem:a06ceddf21c024b341a5b946049cd701a"><td·class="memTemplItemLeft"·align="right"·valign="top">STENCIL_TABLE·const·*&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00912.html#a06ceddf21c024b341a5b946049cd701a">convertToCompatibleStencilTable</a>·(SRC_STENCIL_TABLE·const·*table,·DEVICE_CONTEXT·*context)</td></tr>
 167 <tr·class="separator:a06ceddf21c024b341a5b946049cd701a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 168 <tr·class="memitem:a33f9830228f847fae1c30c9dffe02b5a"><td·class="memItemLeft"·align="right"·valign="top">template&lt;&gt;·</td></tr>
 169 <tr·class="memitem:a33f9830228f847fae1c30c9dffe02b5a"><td·class="memTemplItemLeft"·align="right"·valign="top">Far::StencilTable·const·*&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00912.html#a33f9830228f847fae1c30c9dffe02b5a">convertToCompatibleStencilTable&lt;·Far::StencilTable,·Far::StencilTable,·void·&gt;</a>·(Far::StencilTable·const·*table,·void·*)</td></tr>
 170 <tr·class="separator:a33f9830228f847fae1c30c9dffe02b5a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 171 <tr·class="memitem:a4c2520cc1a8a5a03e3f53584629d7318"><td·class="memItemLeft"·align="right"·valign="top">template&lt;&gt;·</td></tr>
 172 <tr·class="memitem:a4c2520cc1a8a5a03e3f53584629d7318"><td·class="memTemplItemLeft"·align="right"·valign="top">Far::LimitStencilTable·const·*&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00912.html#a4c2520cc1a8a5a03e3f53584629d7318">convertToCompatibleStencilTable&lt;·Far::LimitStencilTable,·Far::LimitStencilTable,·void·&gt;</a>·(Far::LimitStencilTable·const·*table,·void·*)</td></tr>
 173 <tr·class="separator:a4c2520cc1a8a5a03e3f53584629d7318"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 174 <tr·class="memitem:ab5753a2b0a0995c8e2259d2c4765f7df"><td·class="memItemLeft"·align="right"·valign="top">template&lt;&gt;·</td></tr>
 175 <tr·class="memitem:ab5753a2b0a0995c8e2259d2c4765f7df"><td·class="memTemplItemLeft"·align="right"·valign="top">Far::StencilTable·const·*&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00912.html#ab5753a2b0a0995c8e2259d2c4765f7df">convertToCompatibleStencilTable&lt;·Far::StencilTable,·Far::StencilTable,·ID3D11DeviceContext·&gt;</a>·(Far::StencilTable·const·*table,·ID3D11DeviceContext·*)</td></tr>
 176 <tr·class="separator:ab5753a2b0a0995c8e2259d2c4765f7df"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
112 </table>177 </table>
113 </div><!--·contents·-->178 </div><!--·contents·-->
114 </div><!--·doc-content·-->179 </div><!--·doc-content·-->
115 <!--·start·footer·part·-->180 <!--·start·footer·part·-->
116 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->181 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
117 ··<ul>182 ··<ul>
118 ····<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="a00869.html">cpuGLVertexBuffer.h</a></li>183 ····<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="a00869.html">mesh.h</a></li>
119 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>184 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
120 ··</ul>185 ··</ul>
121 </div>186 </div>
122 </body>187 </body>
123 </html>188 </html>
2.85 KB
html2text {}
    
Offset 4, 29 lines modifiedOffset 4, 83 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 Classes·|·Namespaces 
6 cpuGLVertexBuffer.h·File·Reference5 Classes·|·Namespaces·|·Typedefs·|·Enumerations·|·Functions
 6 mesh.h·File·Reference
7 #include·"../version.h"7 #include·"../version.h"
 8 #include·<bitset>
8 #include·<cstddef>9 #include·<cassert>
9 #include·"../osd/opengl.h"10 #include·<cstring>
 11 #include·<vector>
 12 #include·"../far/topologyRefiner.h"
 13 #include·"../far/patchTableFactory.h"
 14 #include·"../far/stencilTable.h"
 15 #include·"../far/stencilTableFactory.h"
 16 #include·"../osd/bufferDescriptor.h"
10 Go_to_the_source_code_of_this_file.17 Go_to_the_source_code_of_this_file.
11 ·Classes18 ·Classes
12 class· CpuGLVertexBuffer 
13  ······Concrete·vertex·buffer·class·for·cpu·subdivision·and·OpenGL·drawing. 
14 ········More...19 ·class· MeshInterface<_PATCH_TABLE_>
 20  
 21 ·class· EvaluatorCacheT<_EVALUATOR_>
 22  
 23 struct· EvaluatorCacheT<_EVALUATOR_>::Entry
 24  
 25 ·class· Mesh<_VERTEX_BUFFER,_STENCIL_TABLE,_EVALUATOR,_PATCH_TABLE,
 26 ·········DEVICE_CONTEXT_>
15  27  
16 ·Namespaces28 ·Namespaces
17 namespace· OpenSubdiv29 namespace· OpenSubdiv
18  30  
19 namespace· OpenSubdiv::OPENSUBDIV_VERSION31 namespace· OpenSubdiv::OPENSUBDIV_VERSION
20  32  
21 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd33 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd
22  34  
 35 ·Typedefs
 36 typedef·std::bitset<·NUM_MESH_BITS·> MeshBitset
 37  
 38 ·Enumerations
 39 enum· MeshBits·{
 40 ·······  MeshAdaptive·=·0·,
 41 ·······  MeshInterleaveVarying·=·1·,
 42 ·······  MeshFVarData·=·2·,
 43 ·······  MeshFVarAdaptive·=·3·,
 44 ·······  MeshUseSmoothCornerPatch·=·4·,
 45 ·······  MeshUseSingleCreasePatch·=·5·,
 46 ·······  MeshUseInfSharpPatch·=·6·,
 47 ·······  MeshEndCapBilinearBasis·=·7·,
 48 ·······  MeshEndCapBSplineBasis·=·8·,
 49 ·······  MeshEndCapGregoryBasis·=·9·,
 50 ·······  MeshEndCapLegacyGregory·=·10·,
 51 ·······  NUM_MESH_BITS·=·11
 52 ·······}
 53  
 54 ·Functions
 55 template<typename·STENCIL_TABLE·,·typename·SRC_STENCIL_TABLE·,·typename
 56 DEVICE_CONTEXT·>
 57 ·········STENCIL_TABLE·const·* convertToCompatibleStencilTable
 58 ································(SRC_STENCIL_TABLE·const·*table,·DEVICE_CONTEXT
 59 ································*context)
 60  
 61 ·····················template<>
 62 ·····Far::StencilTable·const·* convertToCompatibleStencilTable<_Far::
 63 ································StencilTable,_Far::StencilTable,_void_>·(Far::
 64 ································StencilTable·const·*table,·void·*)
 65  
 66 ·····················template<>
 67 Far::LimitStencilTable·const·* convertToCompatibleStencilTable<_Far::
 68 ································LimitStencilTable,_Far::LimitStencilTable,_void
 69 ································>·(Far::LimitStencilTable·const·*table,·void·*)
 70  
 71 ·····················template<>
 72 ·····Far::StencilTable·const·* convertToCompatibleStencilTable<_Far::
 73 ································StencilTable,_Far::StencilTable,
 74 ································ID3D11DeviceContext_>·(Far::StencilTable·const
 75 ································*table,·ID3D11DeviceContext·*)
 76  
23 ····*·opensubdiv77 ····*·opensubdiv
24 ····*·osd78 ····*·osd
25 ····*·cpuGLVertexBuffer.h79 ····*·mesh.h
26 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.480 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
2.63 KB
./usr/share/doc/opensubdiv/doxy_html/a00869.js
2.54 KB
js-beautify {}
    
Offset 1, 3 lines modifiedOffset 1, 25 lines modified
1 var·a00869·=·[1 var·a00869·=·[
2 ····["CpuGLVertexBuffer",·"a01161.html",·"a01161"]2 ····["MeshInterface<·PATCH_TABLE·>",·"a01261.html",·"a01261"],
 3 ····["EvaluatorCacheT<·EVALUATOR·>",·"a01265.html",·"a01265"],
 4 ····["EvaluatorCacheT<·EVALUATOR·>::Entry",·"a01269.html",·"a01269"],
 5 ····["Mesh<·VERTEX_BUFFER,·STENCIL_TABLE,·EVALUATOR,·PATCH_TABLE,·DEVICE_CONTEXT·>",·"a01273.html",·"a01273"],
 6 ····["MeshBitset",·"a00869.html#a85ba9df501aea9af1ec9da1558c255bc",·null],
 7 ····["MeshBits",·"a00869.html#a1af6b50e9f8ae13d3d2f9d5b03b35492",·[
 8 ········["MeshAdaptive",·"a00869.html#a1af6b50e9f8ae13d3d2f9d5b03b35492adef344bcbdd50a1a93136eb53183c718",·null],
 9 ········["MeshInterleaveVarying",·"a00869.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a9313c644b9b2a998bcb55cfcc4582b1a",·null],
 10 ········["MeshFVarData",·"a00869.html#a1af6b50e9f8ae13d3d2f9d5b03b35492ac10e41fef659f3b3a1b730319bdedb45",·null],
 11 ········["MeshFVarAdaptive",·"a00869.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a9b8a23ab039e120012bc7c622308d603",·null],
 12 ········["MeshUseSmoothCornerPatch",·"a00869.html#a1af6b50e9f8ae13d3d2f9d5b03b35492ab32b8ef595539e14041e2fb0e619e3f9",·null],
 13 ········["MeshUseSingleCreasePatch",·"a00869.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a9058d69e1089fc77f1974a76c34e2071",·null],
 14 ········["MeshUseInfSharpPatch",·"a00869.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a8fab1b3018f94b5b2432c7435e795925",·null],
 15 ········["MeshEndCapBilinearBasis",·"a00869.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a4124233e4f787f999c7975afceab34f3",·null],
 16 ········["MeshEndCapBSplineBasis",·"a00869.html#a1af6b50e9f8ae13d3d2f9d5b03b35492aa2f41b6ba0393698bb3af283283737f7",·null],
 17 ········["MeshEndCapGregoryBasis",·"a00869.html#a1af6b50e9f8ae13d3d2f9d5b03b35492aa2878e1a215530f5f6fb89f1e06f91ee",·null],
 18 ········["MeshEndCapLegacyGregory",·"a00869.html#a1af6b50e9f8ae13d3d2f9d5b03b35492aad7b3fb2be609abdbfafaf5b1c834158",·null],
 19 ········["NUM_MESH_BITS",·"a00869.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a5676712c77d29cfdd330e2802db1c464",·null]
 20 ····]],
 21 ····["convertToCompatibleStencilTable",·"a00869.html#a06ceddf21c024b341a5b946049cd701a",·null],
 22 ····["convertToCompatibleStencilTable<·Far::LimitStencilTable,·Far::LimitStencilTable,·void·>",·"a00869.html#a4c2520cc1a8a5a03e3f53584629d7318",·null],
 23 ····["convertToCompatibleStencilTable<·Far::StencilTable,·Far::StencilTable,·ID3D11DeviceContext·>",·"a00869.html#ab5753a2b0a0995c8e2259d2c4765f7df",·null],
 24 ····["convertToCompatibleStencilTable<·Far::StencilTable,·Far::StencilTable,·void·>",·"a00869.html#a33f9830228f847fae1c30c9dffe02b5a",·null]
3 ];25 ];
224 KB
./usr/share/doc/opensubdiv/doxy_html/a00869_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/cpuGLVertexBuffer.h·Source·File</title>8 <title>OpenSubdiv:·opensubdiv/osd/mesh.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 80, 15 lines modifiedOffset 80, 15 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">cpuGLVertexBuffer.h</div></div>86 ··<div·class="headertitle"><div·class="title">mesh.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <a·href="a00869.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>89 <a·href="a00869.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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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 107, 81 lines modifiedOffset 107, 822 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_CPU_GL_VERTEX_BUFFER_H</span></div>114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_MESH_H</span></div>
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_CPU_GL_VERTEX_BUFFER_H</span></div>115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_MESH_H</span></div>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&lt;bitset&gt;</span></div>
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;../osd/opengl.h&quot;</span></div>120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
 121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&lt;cstring&gt;</span></div>
 122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>
 124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#include·&quot;../far/topologyRefiner.h&quot;</span></div>
 125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#include·&quot;../far/patchTableFactory.h&quot;</span></div>
 126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#include·&quot;../far/stencilTable.h&quot;</span></div>
 127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">#include·&quot;../far/stencilTableFactory.h&quot;</span></div>
 128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
 129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="preprocessor">#include·&quot;../osd/bufferDescriptor.h&quot;</span></div>
 130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>
 131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">struct·</span>ID3D11DeviceContext;</div>
 132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
122 <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>133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div>
123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> 
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>Osd·{</div> 
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> 
127 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01161.html">···47</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01161.html">CpuGLVertexBuffer</a>·{</div> 
128 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">public</span>:</div> 
129 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01161.html#acb848178657989d2c59730e90e8ac952">···50</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01161.html">CpuGLVertexBuffer</a>·*·<a·class="code·hl_function"·href="a01161.html#acb848178657989d2c59730e90e8ac952">Create</a>(<span·class="keywordtype">int</span>·numElements,·<span·class="keywordtype">int</span>·numVertices,</div> 
130 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······································<span·class="keywordtype">void</span>·*deviceContext·=·NULL);</div> 
131 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> 
132 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01161.html#aec560f36966b5da9528b8dbc065f7cc7">···54</a></span>····<a·class="code·hl_function"·href="a01161.html#aec560f36966b5da9528b8dbc065f7cc7">~CpuGLVertexBuffer</a>();</div> 
133 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> 
134 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01161.html#a96601a091f8831823c4dd72b6c962f1b">···58</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01161.html#a96601a091f8831823c4dd72b6c962f1b">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> 
135 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····················<span·class="keywordtype">void</span>·*deviceContext·=·NULL);</div> 
136 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
137 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01161.html#a77cee40767fd4936f20a8f9d9d9ea625">···62</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01161.html#a77cee40767fd4936f20a8f9d9d9ea625">GetNum[·...·truncated·by·diffoscope;·len:·50,·SHA:·9cd436d4e8039c2ae5d3b2ca84dff2adc1fb36c9e94ffa2e43b0e20ea2d3212b·...·]</div>136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="keyword">namespace·</span>Osd·{</div>
 137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
 138 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492">···49</a></span><span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492">MeshBits</a>·{</div>
 139 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492adef344bcbdd50a1a93136eb53183c718">···50</a></span>····<a·class="code·hl_enumvalue"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492adef344bcbdd50a1a93136eb53183c718">MeshAdaptive</a>·············=·0,</div>
 140 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a9313c644b9b2a998bcb55cfcc4582b1a">···51</a></span>····<a·class="code·hl_enumvalue"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a9313c644b9b2a998bcb55cfcc4582b1a">MeshInterleaveVarying</a>····=·1,</div>
 141 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492ac10e41fef659f3b3a1b730319bdedb45">···52</a></span>····<a·class="code·hl_enumvalue"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492ac10e41fef659f3b3a1b730319bdedb45">MeshFVarData</a>·············=·2,</div>
 142 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a9b8a23ab039e120012bc7c622308d603">···53</a></span>····<a·class="code·hl_enumvalue"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a9b8a23ab039e120012bc7c622308d603">MeshFVarAdaptive</a>·········=·3,</div>
 143 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492ab32b8ef595539e14041e2fb0e619e3f9">···54</a></span>····<a·class="code·hl_enumvalue"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492ab32b8ef595539e14041e2fb0e619e3f9">MeshUseSmoothCornerPatch</a>·=·4,</div>
 144 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a9058d69e1089fc77f1974a76c34e2071">···55</a></span>····<a·class="code·hl_enumvalue"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a9058d69e1089fc77f1974a76c34e2071">MeshUseSingleCreasePatch</a>·=·5,</div>
 145 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a8fab1b3018f94b5b2432c7435e795925">···56</a></span>····<a·class="code·hl_enumvalue"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a8fab1b3018f94b5b2432c7435e795925">MeshUseInfSharpPatch</a>·····=·6,</div>
 146 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a4124233e4f787f999c7975afceab34f3">···57</a></span>····<a·class="code·hl_enumvalue"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a4124233e4f787f999c7975afceab34f3">MeshEndCapBilinearBasis</a>··=·7,··<span·class="comment">//·exclusive</span></div>
 147 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492aa2f41b6ba0393698bb3af283283737f7">···58</a></span>····<a·class="code·hl_enumvalue"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492aa2f41b6ba0393698bb3af283283737f7">MeshEndCapBSplineBasis</a>···=·8,··<span·class="comment">//·exclusive</span></div>
 148 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492aa2878e1a215530f5f6fb89f1e06f91ee">···59</a></span>····<a·class="code·hl_enumvalue"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492aa2878e1a215530f5f6fb89f1e06f91ee">MeshEndCapGregoryBasis</a>···=·9,··<span·class="comment">//·exclusive</span></div>
 149 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492aad7b3fb2be609abdbfafaf5b1c834158">···60</a></span>····<a·class="code·hl_enumvalue"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492aad7b3fb2be609abdbfafaf5b1c834158">MeshEndCapLegacyGregory</a>··=·10,·<span·class="comment">//·exclusive</span></div>
 150 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a5676712c77d29cfdd330e2802db1c464">···61</a></span>····<a·class="code·hl_enumvalue"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a5676712c77d29cfdd330e2802db1c464">NUM_MESH_BITS</a>············=·11,</div>
 151 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>};</div>
 152 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a00912.html#a85ba9df501aea9af1ec9da1558c255bc">···63</a></span><span·class="keyword">typedef</span>·std::bitset&lt;NUM_MESH_BITS&gt;·<a·class="code·hl_typedef"·href="a00912.html#a85ba9df501aea9af1ec9da1558c255bc">MeshBitset</a>;</div>
138 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>153 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>
139 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01161.html#aaf4a32b8a414eff77000c584c2015cb7">···65</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01161.html#aaf4a32b8a414eff77000c584c2015cb7">GetNumVertices</a>()·<span·class="keyword">const<[·...·truncated·by·diffoscope;·len:·7,·SHA:·c837dc4a2ec3da1651eaccb1c2917988c950a11358b62daee35f5dd9c9a869ea·...·]</div>154 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="comment">//·---------------------------------------------------------------------------</span></div>
140 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>155 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
141 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01161.html#adf7a9df5d3fc4d803bf5f1f374d90274">···69</a></span>····<span·class="keywordtype">float</span>·*·<a·class="code·hl_function"·href="a01161.html#adf7a9df5d3fc4d803bf5f1f374d90274">Bin[·...·truncated·by·diffoscope;·len:·16,·SHA:·f4cb6efe6b8080f6a83bbbcb29572c5b83c2ad3ea410fd277662ab95d4aa1960·...·];</div>156 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>·PATCH_TABLE&gt;</div>
 157 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01261.html">···68</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01261.html">MeshInterface</a>·{</div>
 158 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="keyword">public</span>:</div>
 159 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01261.html#adf9352136d44e5999629c6b4530bf4e0">···70</a></span>····<span·class="keyword">typedef</span>·PATCH_TABLE·<a·class="code·hl_typedef"·href="a01261.html#adf9352136d44e5999629c6b4530bf4e0">PatchTable</a>;</div>
 160 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01261.html#a9cf40ecf1b9b5c29507fe92a03f37a3c">···71</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·PatchTable::VertexBufferBinding·<a·class="code·hl_typedef"·href="a01261.html#a9cf40ecf1b9b5c29507fe92a03f37a3c">VertexBufferBinding</a>;</div>
142 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>161 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>
143 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01161.html#a6a642b61f5cf7ced73523798467735a5">···73</a></span>····GLuint·<a·class="code·hl_function"·href="a01161.html#a6a642b61f5cf7ced73523798467735a5">BindVBO</a>(<span·class="keywordtype">void</span>·*deviceContext·=·NULL);</div>162 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="keyword">public</span>:</div>
 163 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01261.html#a97aeac9a21a88e08fc89852a92011bea">···74</a></span>····<a·class="code·hl_function"·href="a01261.html#a97aeac9a21a88e08fc89852a92011bea">MeshInterface</a>()·{·}</div>
144 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>164 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
 165 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01261.html#a7ae07c3be3d1d28183ee669ab9739bf2">···76</a></span>····<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a01261.html#a7ae07c3be3d1d28183ee669ab9739bf2">~MeshInterface</a>()·{·}</div>
145 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="keyword">protected</span>:</div> 
146 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01161.html#a32dd2317d622c1b079e3219f97c86955">···77</a></span>····<a·class="code·hl_function"·href="a01161.html#a32dd2317d622c1b079e3219f97c86955">CpuGLVertexBuffer</a>(<span·class="keywordtype">int</span>·numElements,·<span·class="keywordtype">int</span>·numVertices);</div> 
147 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>166 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div>
148 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01161.html#add23d9f5bbc918076d240287a9b3664f">···80</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01161.html#add23d9f5bbc918076d240287a9b3664f">alloc[·...·truncated·by·diffoscope;·len:·9,·SHA:·37291ca8b6ab1aed4c151617ba6c5e6da91047fd7e20f6adcb33849e758178de·...·];</div>167 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01261.html#a431ba3d2dd158085dd98ac0a74b6852e">···78</a></span>····<span·class="keyword">virtual</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01261.html#a431[·...·truncated·by·diffoscope;·len:·90,·SHA:·f40678b98a45fa89c8bff65e2d08b28696e20baf367b6cae982d6184cba183a8·...·];</div>
 168 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>
 169 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01261.html#a17f6f0b76abe06cfe6f518f6b84baf43">···80</a></span>····<span·class="keyword">virtual</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01261.html#a17f6f0b76abe06cfe6f518f6b84baf43">GetMaxValence</a>()·<span·class="keyword">const</span>·=·0;</div>
149 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>170 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>
 171 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01261.html#a5c79ce02489e8591ee2d2bfbfab155ec">···82</a></span>····<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01261.html#a5c79ce02489e8591ee2d2bfbfab155ec">UpdateVertexBuffer</a>(<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*vertexData,</div>
 172 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····································<span·class="keywordtype">int</span>·startVertex,·<span·class="keywordtype">int</span>·numVerts)·=·0;</div>
150 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keyword">private</span>:</div> 
151 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····<span·class="keywordtype">int</span>·_numElements;</div> 
152 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="keywordtype">int</span>·_numVertices;</div> 
153 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····GLuint·_vbo;</div> 
154 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="keywordtype">float</span>·*_cpuBuffer;</div> 
155 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<span·class="keywordtype">bool</span>·_dataDirty;</div> 
156 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>};</div>173 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
 174 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01261.html#a46c5effb867afe6684124103763ea931">···85</a></span>····<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01261.html#a46c5effb867afe6684124103763ea931">UpdateVaryingBuffer</a>(<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*varyingData,</div>
 175 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·····································<span·class="keywordtype">int</span>·startVertex,·<span·class="keywordtype">int</span>·numVerts)·=·0;</div>
 176 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>
 177 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a01261.html#a9a90398ba2073fe3da454f6b00deb33c">···88</a></span>····<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01261.html#a9a90398ba2073fe3da454f6b00deb33c">Refine</a>()·=·0;</div>
157 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>178 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>
158 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>}··<span·class="comment">//·end·namespace·Osd</span></div>179 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno"><a·class="line"·href="a01261.html#ae13c194d355f54c75f87897e3c5beb6b">···90</a></span>····<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01261.html#ae13c194d355f54c75f87897e3c5beb6b">Synchronize[·...·truncated·by·diffoscope;·len:·11,·SHA:·7f5ae0d416843a7277a378dba9f532e87fb0966d9877567fd2b16e91b82c6b0b·...·]</div>
159 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>180 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>
 181 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01261.html#a6a57ae718d1dcdeb05728bca6f18ba4e">···92</a></span>····<span·class="keyword">virtual</span>·<a·class="code·hl_typedef"·href="a01261.html#adf9352136d44e5999629c6b4530bf4e0">PatchTable</a>·*·<a·class="code·hl_function"·href="a01261.html#a6a57ae718d1dcdeb05728bca6f18ba4e">GetPatchTable</a>()·<span·class="keyword">const</span>·=·0;</div>
Max diff block lines reached; 47100/186414 bytes (25.27%) of diff not shown.
41.5 KB
html2text {}
    
Offset 4, 15 lines modifiedOffset 4, 15 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 cpuGLVertexBuffer.h5 mesh.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2013·Pixar8 ·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·in11 ·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 30, 94 lines modifiedOffset 30, 1077 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_OSD_CPU_GL_VERTEX_BUFFER_H 
38 ·26#define·OPENSUBDIV3_OSD_CPU_GL_VERTEX_BUFFER_H37 ·25#ifndef·OPENSUBDIV3_OSD_MESH_H
 38 ·26#define·OPENSUBDIV3_OSD_MESH_H
39 ·2739 ·27
40 ·28#include·"../version.h"40 ·28#include·"../version.h"
41 ·2941 ·29
42 ·30#include·<cstddef>42 ·30#include·<bitset>
43 ·31#include·"../osd/opengl.h" 
44 ·3243 ·31#include·<cassert>
 44 ·32#include·<cstring>
 45 ·33#include·<vector>
 46 ·34
 47 ·35#include·"../far/topologyRefiner.h"
 48 ·36#include·"../far/patchTableFactory.h"
 49 ·37#include·"../far/stencilTable.h"
 50 ·38#include·"../far/stencilTableFactory.h"
 51 ·39
 52 ·40#include·"../osd/bufferDescriptor.h"
 53 ·41
 54 ·42struct·ID3D11DeviceContext;
 55 ·43
45 ·33namespace·OpenSubdiv·{56 ·44namespace·OpenSubdiv·{
46 ·34namespace·OPENSUBDIV_VERSION·{57 ·45namespace·OPENSUBDIV_VERSION·{
47 ·3558 ·46
48 ·36namespace·Osd·{59 ·47namespace·Osd·{
49 ·37 
50 47class·CpuGLVertexBuffer·{ 
51 ·48public: 
52 50·static·CpuGLVertexBuffer·*·Create(int·numElements,·int·numVertices, 
53 ·51·void·*deviceContext·=·NULL); 
54 ·52 
55 54·~CpuGLVertexBuffer(); 
56 ·55 
57 58·void·UpdateData(const·float·*src,·int·startVertex,·int·numVertices, 
58 ·59·void·*deviceContext·=·NULL); 
59 ·60 
60 62·int·GetNumElements()·const; 
61 ·63 
62 65·int·GetNumVertices()·const;60 ·48
 61 49enum·MeshBits·{
 62 50·MeshAdaptive·=·0,
 63 51·MeshInterleaveVarying·=·1,
 64 52·MeshFVarData·=·2,
 65 53·MeshFVarAdaptive·=·3,
 66 54·MeshUseSmoothCornerPatch·=·4,
 67 55·MeshUseSingleCreasePatch·=·5,
 68 56·MeshUseInfSharpPatch·=·6,
 69 57·MeshEndCapBilinearBasis·=·7,·//·exclusive
 70 58·MeshEndCapBSplineBasis·=·8,·//·exclusive
 71 59·MeshEndCapGregoryBasis·=·9,·//·exclusive
 72 60·MeshEndCapLegacyGregory·=·10,·//·exclusive
 73 61·NUM_MESH_BITS·=·11,
 74 ·62};
 75 63typedef·std::bitset<NUM_MESH_BITS>·MeshBitset;
 76 ·64
 77 ·65//·-------------------------------------------------------------------------
 78 --
63 ·6679 ·66
64 69·float·*·BindCpuBuffer(); 
65 ·70 
66 73·GLuint·BindVBO(void·*deviceContext·=·NULL); 
67 ·74 
68 ·75protected: 
69 77·CpuGLVertexBuffer(int·numElements,·int·numVertices); 
70 ·78 
71 80·bool·allocate();80 ·67template·<class·PATCH_TABLE>
 81 68class·MeshInterface·{
 82 ·69public:
 83 70·typedef·PATCH_TABLE·PatchTable;
 84 71·typedef·typename·PatchTable::VertexBufferBinding·VertexBufferBinding;
 85 ·72
 86 ·73public:
 87 74·MeshInterface()·{·}
 88 ·75
 89 76·virtual·~MeshInterface()·{·}
 90 ·77
 91 78·virtual·int·GetNumVertices()·const·=·0;
 92 ·79
 93 80·virtual·int·GetMaxValence()·const·=·0;
72 ·8194 ·81
73 ·82private: 
74 ·83·int·_numElements; 
75 ·84·int·_numVertices; 
76 ·85·GLuint·_vbo; 
77 ·86·float·*_cpuBuffer; 
78 ·87·bool·_dataDirty; 
79 ·88};95 82·virtual·void·UpdateVertexBuffer(float·const·*vertexData,
 96 ·83·int·startVertex,·int·numVerts)·=·0;
 97 ·84
 98 85·virtual·void·UpdateVaryingBuffer(float·const·*varyingData,
 99 ·86·int·startVertex,·int·numVerts)·=·0;
 100 ·87
 101 88·virtual·void·Refine()·=·0;
80 ·89102 ·89
81 ·90}·//·end·namespace·Osd103 90·virtual·void·Synchronize()·=·0;
82 ·91104 ·91
 105 92·virtual·PatchTable·*·GetPatchTable()·const·=·0;
 106 ·93
 107 94·virtual·Far::PatchTable·const·*GetFarPatchTable()·const·=·0;
 108 ·95
 109 96·virtual·VertexBufferBinding·BindVertexBuffer()·=·0;
 110 ·97
 111 98·virtual·VertexBufferBinding·BindVaryingBuffer()·=·0;
 112 ·99
Max diff block lines reached; 17379/42462 bytes (40.93%) of diff not shown.
12.1 KB
./usr/share/doc/opensubdiv/doxy_html/a00872.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/tbbKernel.h·File·Reference</title>8 <title>OpenSubdiv:·opensubdiv/osd/cpuPatchTable.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 81, 51 lines modifiedOffset 81, 48 lines modified
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
 87 <a·href="#nested-classes">Classes</a>·&#124;
87 <a·href="#namespaces">Namespaces</a>·&#124;88 <a·href="#namespaces">Namespaces</a>··</div>
88 <a·href="#func-members">Functions</a>··</div> 
89 ··<div·class="headertitle"><div·class="title">tbbKernel.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">cpuPatchTable.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
 93 <code>#include·&lt;vector&gt;</code><br·/>
93 <code>#include·&quot;<a·class="el"·href="a00740_source.html">../far/patchDescriptor.h</a>&quot;</code><br·/>94 <code>#include·&quot;<a·class="el"·href="a00740_source.html">../far/patchDescriptor.h</a>&quot;</code><br·/>
 95 <code>#include·&quot;../osd/nonCopyable.h&quot;</code><br·/>
94 <code>#include·&quot;<a·class="el"·href="a00737_source.html">../far/patchParam.h</a>&quot;</code><br·/>96 <code>#include·&quot;<a·class="el"·href="a01481_source.html">../osd/types.h</a>&quot;</code><br·/>
95 </div>97 </div>
96 <p><a·href="a00872_source.html">Go·to·the·source·code·of·this·file.</a></p>98 <p><a·href="a00872_source.html">Go·to·the·source·code·of·this·file.</a></p>
97 <table·class="memberdecls">99 <table·class="memberdecls">
 100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 101 Classes</h2></td></tr>
 102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01165.html">CpuPatchTable</a></td></tr>
 103 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Cpu·patch·table.··<a·href="a01165.html#details">More...</a><br·/></td></tr>
 104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 105 </table><table·class="memberdecls">
98 <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>
99 Namespaces</h2></td></tr>107 Namespaces</h2></td></tr>
100 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>108 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>110 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 112 <tr·class="memitem:a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr>
 113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>114 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>115 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 </table><table·class="memberdecls"> 
107 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> 
108 Functions</h2></td></tr> 
109 <tr·class="memitem:a4a6a0fcc01638f2a0316b32ad158b485"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#a4a6a0fcc01638f2a0316b32ad158b485">TbbEvalStencils</a>·(float·const·*src,·BufferDescriptor·const·&amp;srcDesc,·float·*dst,·BufferDescriptor·const·&amp;dstDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·int·start,·int·end)</td></tr> 
110 <tr·class="separator:a4a6a0fcc01638f2a0316b32ad158b485"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
111 <tr·class="memitem:af23c35537952bfdd493441e5c42ff2ed"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#af23c35537952bfdd493441e5c42ff2ed">TbbEvalStencils</a>·(float·const·*src,·BufferDescriptor·const·&amp;srcDesc,·float·*dst,·BufferDescriptor·const·&amp;dstDesc,·float·*dstDu,·BufferDescriptor·const·&amp;dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&amp;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> 
112 <tr·class="separator:af23c35537952bfdd493441e5c42ff2ed"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
113 <tr·class="memitem:aa65ed860a2fa5935d99129a898a8f0b6"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#aa65ed860a2fa5935d99129a898a8f0b6">TbbEvalStencils</a>·(float·const·*src,·BufferDescriptor·const·&amp;srcDesc,·float·*dst,·BufferDescriptor·const·&amp;dstDesc,·float·*dstDu,·BufferDescriptor·const·&amp;dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&amp;dstDvDesc,·float·*dstDuu,·BufferDescriptor·const·&amp;dstDuuDesc,·float·*dstDuv,·BufferDescriptor·const·&amp;dstDuvDesc,·float·*dstDvv,·BufferDescriptor·const·&amp;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> 
114 <tr·class="separator:aa65ed860a2fa5935d99129a898a8f0b6"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
115 <tr·class="memitem:a20e08be34d6183b6943ed7a1586eca4a"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#a20e08be34d6183b6943ed7a1586eca4a">TbbEvalPatches</a>·(float·const·*src,·BufferDescriptor·const·&amp;srcDesc,·float·*dst,·BufferDescriptor·const·&amp;dstDesc,·float·*dstDu,·BufferDescriptor·const·&amp;dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&amp;dstDvDesc,·int·numPatchCoords,·const·PatchCoord·*patchCoords,·const·PatchArray·*patchArrayBuffer,·const·int·*patchIndexBuffer,·const·PatchParam·*patchParamBuffer)</td></tr> 
116 <tr·class="separator:a20e08be34d6183b6943ed7a1586eca4a"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
117 <tr·class="memitem:aa0c3c264a43eeddc5cb3a58b006d3d32"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#aa0c3c264a43eeddc5cb3a58b006d3d32">TbbEvalPatches</a>·(float·const·*src,·BufferDescriptor·const·&amp;srcDesc,·float·*dst,·BufferDescriptor·const·&amp;dstDesc,·float·*dstDu,·BufferDescriptor·const·&amp;dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&amp;dstDvDesc,·float·*dstDuu,·BufferDescriptor·const·&amp;dstDuuDesc,·float·*dstDuv,·BufferDescriptor·const·&amp;dstDuvDesc,·float·*dstDvv,·BufferDescriptor·const·&amp;dstDvvDesc,·int·numPatchCoords,·const·PatchCoord·*patchCoords,·const·PatchArray·*patchArrayBuffer,·const·int·*patchIndexBuffer,·const·PatchParam·*patchParamBuffer)</td></tr> 
118 <tr·class="separator:aa0c3c264a43eeddc5cb3a58b006d3d32"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
119 </table>116 </table>
120 </div><!--·contents·-->117 </div><!--·contents·-->
121 </div><!--·doc-content·-->118 </div><!--·doc-content·-->
122 <!--·start·footer·part·-->119 <!--·start·footer·part·-->
123 <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!·-->
124 ··<ul>121 ··<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="a00872.html">tbbKernel.h</a></li>122 ····<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">cpuPatchTable.h</a></li>
126 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>123 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
127 ··</ul>124 ··</ul>
128 </div>125 </div>
129 </body>126 </body>
130 </html>127 </html>
3.05 KB
html2text {}
    
Offset 4, 62 lines modifiedOffset 4, 32 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 Namespaces·|·Functions 
6 tbbKernel.h·File·Reference5 Classes·|·Namespaces
 6 cpuPatchTable.h·File·Reference
7 #include·"../version.h"7 #include·"../version.h"
 8 #include·<vector>
8 #include·"../far/patchDescriptor.h"9 #include·"../far/patchDescriptor.h"
9 #include·"../far/patchParam.h"10 #include·"../osd/nonCopyable.h"
 11 #include·"../osd/types.h"
10 Go_to_the_source_code_of_this_file.12 Go_to_the_source_code_of_this_file.
 13 ·Classes
 14 class· CpuPatchTable
 15  ······Cpu·patch·table.·More...
 16  
11 ·Namespaces17 ·Namespaces
12 namespace· OpenSubdiv18 namespace· OpenSubdiv
13  19  
14 namespace· OpenSubdiv::OPENSUBDIV_VERSION20 namespace· OpenSubdiv::OPENSUBDIV_VERSION
15  21  
16 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd22 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Far
17   
18 ·Functions 
19 void TbbEvalStencils·(float·const·*src,·BufferDescriptor·const·&srcDesc,·float 
20 ······*dst,·BufferDescriptor·const·&dstDesc,·int·const·*sizes,·int·const 
21 ······*offsets,·int·const·*indices,·float·const·*weights,·int·start,·int·end) 
22   
23 void TbbEvalStencils·(float·const·*src,·BufferDescriptor·const·&srcDesc,·float 
24 ······*dst,·BufferDescriptor·const·&dstDesc,·float·*dstDu,·BufferDescriptor 
25 ······const·&dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&dstDvDesc,·int 
26 ······const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const 
27 ······*weights,·float·const·*duWeights,·float·const·*dvWeights,·int·start,·int 
28 ······end) 
29  23  
 24 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd
30 void TbbEvalStencils·(float·const·*src,·BufferDescriptor·const·&srcDesc,·float 
31 ······*dst,·BufferDescriptor·const·&dstDesc,·float·*dstDu,·BufferDescriptor 
32 ······const·&dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&dstDvDesc,·float 
33 ······*dstDuu,·BufferDescriptor·const·&dstDuuDesc,·float·*dstDuv, 
34 ······BufferDescriptor·const·&dstDuvDesc,·float·*dstDvv,·BufferDescriptor·const 
35 ······&dstDvvDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices, 
36 ······float·const·*weights,·float·const·*duWeights,·float·const·*dvWeights, 
37 ······float·const·*duuWeights,·float·const·*duvWeights,·float·const 
38 ······*dvvWeights,·int·start,·int·end) 
39   
40 void TbbEvalPatches·(float·const·*src,·BufferDescriptor·const·&srcDesc,·float 
41 ······*dst,·BufferDescriptor·const·&dstDesc,·float·*dstDu,·BufferDescriptor 
42 ······const·&dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&dstDvDesc,·int 
43 ······numPatchCoords,·const·PatchCoord·*patchCoords,·const·PatchArray 
44 ······*patchArrayBuffer,·const·int·*patchIndexBuffer,·const·PatchParam 
45 ······*patchParamBuffer) 
46   
47 void TbbEvalPatches·(float·const·*src,·BufferDescriptor·const·&srcDesc,·float 
48 ······*dst,·BufferDescriptor·const·&dstDesc,·float·*dstDu,·BufferDescriptor 
49 ······const·&dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&dstDvDesc,·float 
50 ······*dstDuu,·BufferDescriptor·const·&dstDuuDesc,·float·*dstDuv, 
51 ······BufferDescriptor·const·&dstDuvDesc,·float·*dstDvv,·BufferDescriptor·const 
52 ······&dstDvvDesc,·int·numPatchCoords,·const·PatchCoord·*patchCoords,·const 
53 ······PatchArray·*patchArrayBuffer,·const·int·*patchIndexBuffer,·const 
54 ······PatchParam·*patchParamBuffer) 
55  25  
56 ····*·opensubdiv26 ····*·opensubdiv
57 ····*·osd27 ····*·osd
58 ····*·tbbKernel.h28 ····*·cpuPatchTable.h
59 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.429 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
606 B
./usr/share/doc/opensubdiv/doxy_html/a00872.js
514 B
js-beautify {}
    
Offset 1, 7 lines modifiedOffset 1, 3 lines modified
1 var·a00872·=·[1 var·a00872·=·[
 2 ····["CpuPatchTable",·"a01165.html",·"a01165"]
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] 
7 ];3 ];
70.7 KB
./usr/share/doc/opensubdiv/doxy_html/a00872_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/tbbKernel.h·Source·File</title>8 <title>OpenSubdiv:·opensubdiv/osd/cpuPatchTable.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 80, 19 lines modifiedOffset 80, 19 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">tbbKernel.h</div></div>86 ··<div·class="headertitle"><div·class="title">cpuPatchTable.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <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>89 <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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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>
94 <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>94 <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>
95 <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>95 <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>
96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>
97 <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>97 <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 107, 116 lines modifiedOffset 107, 159 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <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>114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_CPU_PATCH_TABLE_H</span></div>
115 <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>115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_CPU_PATCH_TABLE_H</span></div>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
 118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
 119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;../far/patchDescriptor.h&quot;</span></div>120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;../far/patchDescriptor.h&quot;</span></div>
 121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&quot;../osd/nonCopyable.h&quot;</span></div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../far/patchParam.h&quot;</span></div>122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·&quot;../osd/types.h&quot;</span></div>
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> 
121 <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> 
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> 
123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>Osd·{</div>124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">struct·</span>PatchArray;</div>126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div>
127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">struct·</span>PatchCoord;</div>127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">struct·</span>PatchParam;</div> 
129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">struct·</span>BufferDescriptor;</div> 
130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> 
131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keywordtype">void</span></div> 
132 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;srcDesc,</div> 
133 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDesc,</div> 
134 <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> 
135 <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> 
136 <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> 
137 <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> 
138 <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> 
139 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> 
140 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keywordtype">void</span></div> 
141 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;srcDesc,</div> 
142 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDesc,</div> 
143 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDuDesc,</div> 
144 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDvDesc,</div> 
145 <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> 
146 <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> 
147 <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> 
148 <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> 
149 <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> 
150 <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> 
151 <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> 
152 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
 129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">namespace·</span>Far{</div>
 130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">class·</span>PatchTable;</div>
 131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>};</div>
 132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
 133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">namespace·</span>Osd·{</div>
 134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
 135 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01165.html">···59</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01165.html">CpuPatchTable</a>·{</div>
153 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="keywordtype">void</span></div>136 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="keyword">public</span>:</div>
 137 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01165.html#a27ccdd38f0f38adf16a4f5ceac6fed20">···61</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01165.html">CpuPatchTable</a>·*<a·class="code·hl_function"·href="a01165.html#a27ccdd38f0f38adf16a4f5ceac6fed20">Create</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a00993.html">Far::PatchTable</a>·*patchTable,</div>
154 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;srcDesc,</div> 
155 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDesc,</div> 
156 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDuDesc,</div> 
157 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDvDesc,</div> 
158 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDuuDesc,</div> 
159 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDuvDesc,</div> 
160 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDvvDesc,</div> 
161 <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>138 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·································<span·class="keywordtype">void</span>·*deviceContext·=·NULL)·{</div>
162 <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> 
163 <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> 
164 <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> 
165 <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> 
166 <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> 
167 <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> 
168 <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> 
169 <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> 
170 <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>139 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········(void)deviceContext;··<span·class="comment">//·unused</span></div>
 140 <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_function"·href="a01165.html#a3c19d1748852f36ba69a6557e5069e08">CpuPatchTable</a>(patchTable);</div>
 141 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····}</div>
 142 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
 143 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01165.html#a3c19d1748852f36ba69a6557e5069e08">···67</a></span>····<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01165.html#a3c19d1748852f36ba69a6557e5069e08">CpuPatchTable</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a00993.html">Far::PatchTable</a>·*patchTable);</div>
 144 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01165.html#a16142cac8dd0880ad2451586633a7999">···68</a></span>····<a·class="code·hl_function"·href="a01165.html#a16142cac8dd0880ad2451586633a7999">~CpuPatchTable</a>()·{}</div>
 145 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
 146 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01165.html#ab6582a6586adaea0803247fb415f8c17">···70</a></span>····<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a01317.html">PatchArray</a>·*<a·class="code·hl_function"·href="a01165.html#ab6582a6586adaea0803247fb415f8c17">GetPatchArrayBuffer</a>()<span·class="keyword">·const·</span>{</div>
 147 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>········<span·class="keywordflow">return</span>·&amp;<a·class="code·hl_variable"·href="a01165.html#a5dfb6b58580f2dec58e9b5bfdb4ed9f1">_patchArrays</a>[0];</div>
 148 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····}</div>
 149 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01165.html#a1934f183cb763099b7452f3569b70fdc">···73</a></span>····<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·*<a·class="code·hl_function"·href="a01165.html#a1934f183cb763099b7452f3569b70fdc">GetPatchIndexBuffer</a>()<span·class="keyword">·const·</span>{</div>
 150 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>········<span·class="keywordflow">return</span>·&amp;<a·class="code·hl_variable"·href="a01165.html#a6e32349421c301eddf366c04c3a28015">_indexBuffer</a>[0];</div>
 151 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····}</div>
 152 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01165.html#a6a81c037eca6f27ea4ef41f39d0a1d50">···76</a></span>····<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a01321.html">PatchParam</a>·*<a·class="code·hl_function"·href="a01165.html#a6a81c037eca6f27ea4ef41f39d0a1d50">GetPatchParamBuffer</a>()<span·class="keyword">·const·</span>{</div>
 153 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>········<span·class="keywordflow">return</span>·&amp;<a·class="code·hl_variable"·href="a01165.html#a18d45929d48a1738134292a7f0b27377">_patchParamBuffer</a>[0];</div>
 154 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····}</div>
 155 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>
Max diff block lines reached; 15100/59565 bytes (25.35%) of diff not shown.
12.5 KB
html2text {}
    
Offset 4, 18 lines modifiedOffset 4, 18 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 tbbKernel.h5 cpuPatchTable.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2013·Pixar8 ·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·in11 ·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·trade15 ·9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade
Offset 30, 126 lines modifiedOffset 30, 215 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_OSD_TBB_KERNEL_H37 ·25#ifndef·OPENSUBDIV3_OSD_CPU_PATCH_TABLE_H
38 ·26#define·OPENSUBDIV3_OSD_TBB_KERNEL_H38 ·26#define·OPENSUBDIV3_OSD_CPU_PATCH_TABLE_H
39 ·2739 ·27
40 ·28#include·"../version.h"40 ·28#include·"../version.h"
 41 ·29
 42 ·30#include·<vector>
41 ·29#include·"../far/patchDescriptor.h"43 ·31#include·"../far/patchDescriptor.h"
 44 ·32#include·"../osd/nonCopyable.h"
 45 ·33#include·"../osd/types.h"
42 ·30#include·"../far/patchParam.h" 
43 ·31 
44 ·32namespace·OpenSubdiv·{ 
45 ·33namespace·OPENSUBDIV_VERSION·{ 
46 ·3446 ·34
47 ·35namespace·Osd·{47 ·35#include·<vector>
48 ·3648 ·36
 49 ·37namespace·OpenSubdiv·{
 50 ·38namespace·OPENSUBDIV_VERSION·{
 51 ·39
 52 ·40namespace·Far{
 53 ·41·class·PatchTable;
 54 ·42};
 55 ·43
 56 ·44namespace·Osd·{
 57 ·45
 58 59class·CpuPatchTable·{
 59 ·60public:
 60 61·static·CpuPatchTable·*Create(const·Far::PatchTable·*patchTable,
 61 ·62·void·*deviceContext·=·NULL)·{
 62 ·63·(void)deviceContext;·//·unused
 63 ·64·return·new·CpuPatchTable(patchTable);
 64 ·65·}
 65 ·66
 66 67·explicit·CpuPatchTable(const·Far::PatchTable·*patchTable);
 67 68·~CpuPatchTable()·{}
 68 ·69
49 ·37struct·PatchArray; 
50 ·38struct·PatchCoord; 
51 ·39struct·PatchParam; 
52 ·40struct·BufferDescriptor; 
53 ·41 
54 ·42void 
55 43TbbEvalStencils(float·const·*·src,·BufferDescriptor·const·&srcDesc, 
56 ·44·float·*·dst,·BufferDescriptor·const·&dstDesc, 
57 ·45·int·const·*·sizes, 
58 ·46·int·const·*·offsets, 
59 ·47·int·const·*·indices, 
60 ·48·float·const·*·weights, 
61 ·49·int·start,·int·end); 
62 ·50 
63 ·51void 
64 52TbbEvalStencils(float·const·*·src,·BufferDescriptor·const·&srcDesc, 
65 ·53·float·*·dst,·BufferDescriptor·const·&dstDesc, 
66 ·54·float·*·dstDu,·BufferDescriptor·const·&dstDuDesc, 
67 ·55·float·*·dstDv,·BufferDescriptor·const·&dstDvDesc, 
68 ·56·int·const·*·sizes, 
69 ·57·int·const·*·offsets, 
70 ·58·int·const·*·indices, 
71 ·59·float·const·*·weights, 
72 ·60·float·const·*·duWeights, 
73 ·61·float·const·*·dvWeights, 
74 ·62·int·start,·int·end); 
75 ·63 
76 ·64void 
77 65TbbEvalStencils(float·const·*·src,·BufferDescriptor·const·&srcDesc, 
78 ·66·float·*·dst,·BufferDescriptor·const·&dstDesc, 
79 ·67·float·*·dstDu,·BufferDescriptor·const·&dstDuDesc, 
80 ·68·float·*·dstDv,·BufferDescriptor·const·&dstDvDesc, 
81 ·69·float·*·dstDuu,·BufferDescriptor·const·&dstDuuDesc, 
82 ·70·float·*·dstDuv,·BufferDescriptor·const·&dstDuvDesc, 
83 ·71·float·*·dstDvv,·BufferDescriptor·const·&dstDvvDesc, 
84 ·72·int·const·*·sizes, 
85 ·73·int·const·*·offsets, 
86 ·74·int·const·*·indices, 
87 ·75·float·const·*·weights, 
88 ·76·float·const·*·duWeights, 
89 ·77·float·const·*·dvWeights, 
90 ·78·float·const·*·duuWeights, 
91 ·79·float·const·*·duvWeights, 
92 ·80·float·const·*·dvvWeights, 
93 ·81·int·start,·int·end); 
94 ·82 
95 ·83void 
96 84TbbEvalPatches(float·const·*src,·BufferDescriptor·const·&srcDesc, 
97 ·85·float·*dst,·BufferDescriptor·const·&dstDesc, 
98 ·86·float·*dstDu,·BufferDescriptor·const·&dstDuDesc, 
99 ·87·float·*dstDv,·BufferDescriptor·const·&dstDvDesc, 
100 ·88·int·numPatchCoords, 
101 ·89·const·PatchCoord·*patchCoords, 
102 ·90·const·PatchArray·*patchArrayBuffer,69 70·const·PatchArray·*GetPatchArrayBuffer()·const·{
 70 ·71·return·&_patchArrays[0];
 71 ·72·}
 72 73·const·int·*GetPatchIndexBuffer()·const·{
 73 ·74·return·&_indexBuffer[0];
 74 ·75·}
103 ·91·const·int·*patchIndexBuffer, 
104 ·92·const·PatchParam·*patchParamBuffer); 
105 ·93 
106 ·94void 
107 95TbbEvalPatches(float·const·*src,·BufferDescriptor·const·&srcDesc, 
108 ·96·float·*dst,·BufferDescriptor·const·&dstDesc, 
Max diff block lines reached; 5699/12725 bytes (44.79%) of diff not shown.
5.1 KB
./usr/share/doc/opensubdiv/doxy_html/a00875.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/tbbEvaluator.h·File·Reference</title>8 <title>OpenSubdiv:·opensubdiv/osd/cpuVertexBuffer.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 83, 27 lines modifiedOffset 83, 26 lines modified
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124;87 <a·href="#nested-classes">Classes</a>·&#124;
88 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">tbbEvaluator.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">cpuVertexBuffer.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
93 <code>#include·&quot;<a·class="el"·href="a00899_source.html">../osd/bufferDescriptor.h</a>&quot;</code><br·/> 
94 <code>#include·&quot;<a·class="el"·href="a01481_source.html">../osd/types.h</a>&quot;</code><br·/> 
95 <code>#include·&lt;cstddef&gt;</code><br·/>93 <code>#include·&lt;cstddef&gt;</code><br·/>
96 </div>94 </div>
97 <p><a·href="a00875_source.html">Go·to·the·source·code·of·this·file.</a></p>95 <p><a·href="a00875_source.html">Go·to·the·source·code·of·this·file.</a></p>
98 <table·class="memberdecls">96 <table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
100 Classes</h2></td></tr>98 Classes</h2></td></tr>
101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01309.html">TbbEvaluator</a></td></tr>99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01169.html">CpuVertexBuffer</a></td></tr>
 100 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Concrete·vertex·buffer·class·for·CPU·subdivision.··<a·href="a01169.html#details">More...</a><br·/></td></tr>
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
103 </table><table·class="memberdecls">102 </table><table·class="memberdecls">
104 <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>
105 Namespaces</h2></td></tr>104 Namespaces</h2></td></tr>
106 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>105 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>
107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
108 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>107 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>
Offset 112, 13 lines modifiedOffset 111, 13 lines modified
112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
113 </table>112 </table>
114 </div><!--·contents·-->113 </div><!--·contents·-->
115 </div><!--·doc-content·-->114 </div><!--·doc-content·-->
116 <!--·start·footer·part·-->115 <!--·start·footer·part·-->
117 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->116 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
118 ··<ul>117 ··<ul>
119 ····<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="a00875.html">tbbEvaluator.h</a></li>118 ····<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="a00875.html">cpuVertexBuffer.h</a></li>
120 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>119 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
121 ··</ul>120 ··</ul>
122 </div>121 </div>
123 </body>122 </body>
124 </html>123 </html>
720 B
html2text {}
    
Offset 5, 27 lines modifiedOffset 5, 26 lines modified
  
  
  
5 [Logo]·OpenSubdiv5 [Logo]·OpenSubdiv
  
  
6 Classes·|·Namespaces6 Classes·|·Namespaces
7 tbbEvaluator.h·File·Reference7 cpuVertexBuffer.h·File·Reference
8 #include·"../version.h"8 #include·"../version.h"
9 #include·"../osd/bufferDescriptor.h" 
10 #include·"../osd/types.h" 
11 #include·<cstddef>9 #include·<cstddef>
12 Go_to_the_source_code_of_this_file.10 Go_to_the_source_code_of_this_file.
13 ·Classes11 ·Classes
14 class· TbbEvaluator12 class· CpuVertexBuffer
 13  ······Concrete·vertex·buffer·class·for·CPU·subdivision.·More...
15  14  
16 ·Namespaces15 ·Namespaces
17 namespace· OpenSubdiv16 namespace· OpenSubdiv
18  17  
19 namespace· OpenSubdiv::OPENSUBDIV_VERSION18 namespace· OpenSubdiv::OPENSUBDIV_VERSION
20  19  
21 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd20 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd
22  21  
23 ····*·opensubdiv22 ····*·opensubdiv
24 ····*·osd23 ····*·osd
25 ····*·tbbEvaluator.h24 ····*·cpuVertexBuffer.h
26 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.425 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
249 B
./usr/share/doc/opensubdiv/doxy_html/a00875.js
157 B
js-beautify {}
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 var·a00875·=·[1 var·a00875·=·[
2 ····["TbbEvaluator",·"a01309.html",·null]2 ····["CpuVertexBuffer",·"a01169.html",·"a01169"]
3 ];3 ];
146 KB
./usr/share/doc/opensubdiv/doxy_html/a00875_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/tbbEvaluator.h·Source·File</title>8 <title>OpenSubdiv:·opensubdiv/osd/cpuVertexBuffer.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 80, 19 lines modifiedOffset 80, 19 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">tbbEvaluator.h</div></div>86 ··<div·class="headertitle"><div·class="title">cpuVertexBuffer.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <a·href="a00875.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>89 <a·href="a00875.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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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>
94 <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>94 <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>
95 <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>95 <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>
96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>
97 <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>97 <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 107, 502 lines modifiedOffset 107, 73 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_TBB_EVALUATOR_H</span></div>114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_CPU_VERTEX_BUFFER_H</span></div>
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_TBB_EVALUATOR_H</span></div>115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_CPU_VERTEX_BUFFER_H</span></div>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;../osd/bufferDescriptor.h&quot;</span></div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../osd/types.h&quot;</span></div>119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div> 
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> 
123 <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>121 <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>
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
 123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>
 124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>Osd·{</div>
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Osd·{</div> 
127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> 
128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01309.html">···39</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01309.html">TbbEvaluator</a>·{</div>126 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a01169.html">···42</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01169.html">CpuVertexBuffer</a>·{</div>
129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">public</span>:</div>127 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">public</span>:</div>
 128 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01169.html#a8b93d5003e64d51c9bd7e487cd15c101">···45</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01169.html">CpuVertexBuffer</a>·*·<a·class="code·hl_function"·href="a01169.html#a8b93d5003e64d51c9bd7e487cd15c101">Create</a>(<span·class="keywordtype">int</span>·numElements,·<span·class="keywordtype">int</span>·numVertices,</div>
 129 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····································<span·class="keywordtype">void</span>·*deviceContext·=·NULL);</div>
130 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>130 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>
 131 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01169.html#ad0932519eaf677c42a8ccfe9a78a2698">···49</a></span>····<a·class="code·hl_function"·href="a01169.html#ad0932519eaf677c42a8ccfe9a78a2698">~CpuVertexBuffer</a>();</div>
131 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·SRC_BUFFER,·<span·class="keyword">typename</span>·DST_BUFFER,·<span·class="keyword">typename</span>·STENCIL_TABLE&gt;</div> 
132 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01309.html#a1083776ed758e8a1ebd8915eb68c5010">···72</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01309.html#a1083776ed758e8a1ebd8915eb68c5010">EvalStencils</a>(</div> 
133 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>········SRC_BUFFER·*srcBuffer,·<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;srcDesc,</div> 
134 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>········DST_BUFFER·*dstBuffer,·<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDesc,</div> 
135 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········STENCIL_TABLE·<span·class="keyword">const</span>·*stencilTable,</div> 
136 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········<a·class="code·hl_class"·href="a01309.html">TbbEvaluator</a>·<span·class="keyword">const</span>·*instance·=·NULL,</div> 
137 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>········<span·class="keywordtype">void</span>·*deviceContext·=·NULL)·{</div> 
138 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> 
139 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>········(void)instance;·······<span·class="comment">//·unused</span></div> 
140 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>········(void)deviceContext;··<span·class="comment">//·unused</span></div> 
141 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> 
142 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>········<span·class="keywordflow">if</span>·(stencilTable-&gt;GetNumStencils()·==·0)</div> 
143 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>············<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;</div> 
144 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> 
145 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01309.html#a1083776ed758e8a1ebd8915eb68c5010">EvalStencils</a>(srcBuffer-&gt;BindCpuBuffer(),·srcDesc,</div> 
146 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····························dstBuffer-&gt;BindCpuBuffer(),·dstDesc,</div> 
147 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····························&amp;stencilTable-&gt;GetSizes()[0],</div> 
148 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····························&amp;stencilTable-&gt;GetOffsets()[0],</div> 
149 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····························&amp;stencilTable-&gt;GetControlIndices()[0],</div> 
150 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····························&amp;stencilTable-&gt;GetWeights()[0],</div> 
151 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····························<span·class="comment">/*start·=·*/</span>·0,</div> 
152 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····························<span·class="comment">/*end···=·*/</span>·stencilTable-&gt;GetNumStencils());</div> 
153 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····}</div> 
154 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> 
155 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno"><a·class="line"·href="a01309.html#a4345e3659b7fb82f23dd51c688179ce3">··121</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01309.html#a4345e3659b7fb82f23dd51c688179ce3">EvalStencils</a>(</div> 
156 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>········<span·class="keyword">const</span>·<span·class="keywordtype">float</span>·*src,·<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;srcDesc,</div> 
157 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>········<span·class="keywordtype">float</span>·*dst,·······<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDesc,</div> 
158 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>········<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·*·sizes,</div> 
159 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>········<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·*·offsets,</div> 
160 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>········<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·*·indices,</div> 
161 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>········<span·class="keyword">const</span>·<span·class="keywordtype">float</span>·*·weights,</div> 
162 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>········<span·class="keywordtype">int</span>·start,·<span·class="keywordtype">int</span>·end);</div> 
163 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>·</div> 
164 <div·class="line"><a·id="l00167"·name="l00167"></a><span·class="lineno">··167</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·SRC_BUFFER,·<span·class="keyword">typename</span>·DST_BUFFER,·<span·class="keyword">typename</span>·STENCIL_TABLE&gt;</div> 
165 <div·class="line"><a·id="l00168"·name="l00168"></a><span·class="lineno"><a·class="line"·href="a01309.html#af04c6d999c9f014e93711ceb9097e2a0">··168</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01309.html#af04c6d999c9f014e93711ceb9097e2a0">EvalStencils</a>(</div> 
166 <div·class="line"><a·id="l00169"·name="l00169"></a><span·class="lineno">··169</span>········SRC_BUFFER·*srcBuffer,·<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;srcDesc,</div> 
167 <div·class="line"><a·id="l00170"·name="l00170"></a><span·class="lineno">··170</span>········DST_BUFFER·*dstBuffer,·<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDesc,</div> 
168 <div·class="line"><a·id="l00171"·name="l00171"></a><span·class="lineno">··171</span>········DST_BUFFER·*duBuffer,··<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;duDesc,</div> 
169 <div·class="line"><a·id="l00172"·name="l00172"></a><span·class="lineno">··172</span>········DST_BUFFER·*dvBuffer,··<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dvDesc,</div> 
170 <div·class="line"><a·id="l00173"·name="l00173"></a><span·class="lineno">··173</span>········STENCIL_TABLE·<span·class="keyword">const</span>·*stencilTable,</div> 
171 <div·class="line"><a·id="l00174"·name="l00174"></a><span·class="lineno">··174</span>········<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01309.html">TbbEvaluator</a>·*instance·=·NULL,</div> 
172 <div·class="line"><a·id="l00175"·name="l00175"></a><span·class="lineno">··175</span>········<span·class="keywordtype">void</span>·*·deviceContext·=·NULL)·{</div> 
173 <div·class="line"><a·id="l00176"·name="l00176"></a><span·class="lineno">··176</span>·</div> 
174 <div·class="line"><a·id="l00177"·name="l00177"></a><span·class="lineno">··177</span>········(void)instance;·······<span·class="comment">//·unused</span></div> 
175 <div·class="line"><a·id="l00178"·name="l00178"></a><span·class="lineno">··178</span>········(void)deviceContext;··<span·class="comment">//·unused</span></div> 
176 <div·class="line"><a·id="l00179"·name="l00179"></a><span·class="lineno">··179</span>·</div> 
177 <div·class="line"><a·id="l00180"·name="l00180"></a><span·class="lineno">··180</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01309.html#a1083776ed758e8a1ebd8915eb68c5010">EvalStencils</a>(srcBuffer-&gt;BindCpuBuffer(),·srcDesc,</div> 
178 <div·class="line"><a·id="l00181"·name="l00181"></a><span·class="lineno">··181</span>····························dstBuffer-&gt;BindCpuBuffer(),·dstDesc,</div> 
179 <div·class="line"><a·id="l00182"·name="l00182"></a><span·class="lineno">··182</span>····························duBuffer-&gt;BindCpuBuffer(),··duDesc,</div> 
180 <div·class="line"><a·id="l00183"·name="l00183"></a><span·class="lineno">··183</span>····························dvBuffer-&gt;BindCpuBuffer(),··dvDesc,</div> 
181 <div·class="line"><a·id="l00184"·name="l00184"></a><span·class="lineno">··184</span>····························&amp;stencilTable-&gt;GetSizes()[0],</div> 
182 <div·class="line"><a·id="l00185"·name="l00185"></a><span·class="lineno">··185</span>····························&amp;stencilTable-&gt;GetOffsets()[0],</div> 
183 <div·class="line"><a·id="l00186"·name="l00186"></a><span·class="lineno">··186</span>····························&amp;stencilTable-&gt;GetControlIndices()[0],</div> 
184 <div·class="line"><a·id="l00187"·name="l00187"></a><span·class="lineno">··187</span>····························&amp;stencilTable-&gt;GetWeights()[0],</div> 
185 <div·class="line"><a·id="l00188"·name="l00188"></a><span·class="lineno">··188</span>····························&amp;stencilTable-&gt;GetDuWeights()[0],</div> 
186 <div·class="line"><a·id="l00189"·name="l00189"></a><span·class="lineno">··189</span>····························&amp;stencilTable-&gt;GetDvWeights()[0],</div> 
187 <div·class="line"><a·id="l00190"·name="l00190"></a><span·class="lineno">··190</span>····························<span·class="comment">/*start·=·*/</span>·0,</div> 
188 <div·class="line"><a·id="l00191"·name="l00191"></a><span·class="lineno">··191</span>····························<span·class="comment">/*end···=·*/</span>·stencilTable-&gt;GetNumStencils());</div> 
189 <div·class="line"><a·id="l00192"·name="l00192"></a><span·class="lineno">··192</span>····}</div> 
190 <div·class="line"><a·id="l00193"·name="l00193"></a><span·class="lineno">··193</span>·</div> 
191 <div·class="line"><a·id="l00234"·name="l00234"></a><span·class="lineno"><a·class="line"·href="a01309.html#a6daed6135a40cda2daf6c6ea2047b330">··234</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01309.html#a6daed6135a40cda2daf6c6ea2047b330">EvalStencils</a>(</div> 
192 <div·class="line"><a·id="l00235"·name="l00235"></a><span·class="lineno">··235</span>········<span·class="keyword">const</span>·<span·class="keywordtype">float</span>·*src,·<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;srcDesc,</div> 
Max diff block lines reached; 21410/117308 bytes (18.25%) of diff not shown.
31.6 KB
html2text {}
    
Offset 4, 18 lines modifiedOffset 4, 18 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 tbbEvaluator.h5 cpuVertexBuffer.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2015·Pixar8 ·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·in11 ·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·trade15 ·9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade
Offset 30, 660 lines modifiedOffset 30, 84 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_OSD_TBB_EVALUATOR_H37 ·25#ifndef·OPENSUBDIV3_OSD_CPU_VERTEX_BUFFER_H
38 ·26#define·OPENSUBDIV3_OSD_TBB_EVALUATOR_H38 ·26#define·OPENSUBDIV3_OSD_CPU_VERTEX_BUFFER_H
39 ·2739 ·27
40 ·28#include·"../version.h"40 ·28#include·"../version.h"
41 ·29#include·"../osd/bufferDescriptor.h" 
42 ·30#include·"../osd/types.h"41 ·29
 42 ·30#include·<cstddef>
43 ·3143 ·31
44 ·32#include·<cstddef> 
45 ·33 
46 ·34namespace·OpenSubdiv·{44 ·32namespace·OpenSubdiv·{
47 ·35namespace·OPENSUBDIV_VERSION·{45 ·33namespace·OPENSUBDIV_VERSION·{
 46 ·34
 47 ·35namespace·Osd·{
48 ·3648 ·36
 49 42class·CpuVertexBuffer·{
49 ·37namespace·Osd·{ 
50 ·38 
51 39class·TbbEvaluator·{ 
52 ·40public:50 ·43public:
 51 45·static·CpuVertexBuffer·*·Create(int·numElements,·int·numVertices,
53 ·46 
54 ·71·template·<typename·SRC_BUFFER,·typename·DST_BUFFER,·typename·STENCIL_TABLE> 
55 72·static·bool·EvalStencils( 
56 ·73·SRC_BUFFER·*srcBuffer,·BufferDescriptor·const·&srcDesc, 
57 ·74·DST_BUFFER·*dstBuffer,·BufferDescriptor·const·&dstDesc, 
58 ·75·STENCIL_TABLE·const·*stencilTable, 
59 ·76·TbbEvaluator·const·*instance·=·NULL, 
60 ·77·void·*deviceContext·=·NULL)·{ 
61 ·78 
62 ·79·(void)instance;·//·unused 
63 ·80·(void)deviceContext;·//·unused 
64 ·81 
65 ·82·if·(stencilTable->GetNumStencils()·==·0) 
66 ·83·return·false; 
67 ·84 
68 ·85·return·EvalStencils(srcBuffer->BindCpuBuffer(),·srcDesc, 
69 ·86·dstBuffer->BindCpuBuffer(),·dstDesc, 
70 ·87·&stencilTable->GetSizes()[0], 
71 ·88·&stencilTable->GetOffsets()[0], 
72 ·89·&stencilTable->GetControlIndices()[0], 
73 ·90·&stencilTable->GetWeights()[0], 
74 ·91·/*start·=·*/·0, 
75 ·92·/*end·=·*/·stencilTable->GetNumStencils()); 
76 ·93·} 
77 ·94 
78 121·static·bool·EvalStencils( 
79 ·122·const·float·*src,·BufferDescriptor·const·&srcDesc, 
80 ·123·float·*dst,·BufferDescriptor·const·&dstDesc, 
81 ·124·const·int·*·sizes, 
82 ·125·const·int·*·offsets, 
83 ·126·const·int·*·indices, 
84 ·127·const·float·*·weights, 
85 ·128·int·start,·int·end); 
86 ·129 
87 ·167·template·<typename·SRC_BUFFER,·typename·DST_BUFFER,·typename 
88 STENCIL_TABLE> 
89 168·static·bool·EvalStencils( 
90 ·169·SRC_BUFFER·*srcBuffer,·BufferDescriptor·const·&srcDesc, 
91 ·170·DST_BUFFER·*dstBuffer,·BufferDescriptor·const·&dstDesc, 
92 ·171·DST_BUFFER·*duBuffer,·BufferDescriptor·const·&duDesc, 
93 ·172·DST_BUFFER·*dvBuffer,·BufferDescriptor·const·&dvDesc, 
94 ·173·STENCIL_TABLE·const·*stencilTable, 
95 ·174·const·TbbEvaluator·*instance·=·NULL, 
96 ·175·void·*·deviceContext·=·NULL)·{ 
97 ·176 
98 ·177·(void)instance;·//·unused 
99 ·178·(void)deviceContext;·//·unused 
100 ·179 
101 ·180·return·EvalStencils(srcBuffer->BindCpuBuffer(),·srcDesc, 
102 ·181·dstBuffer->BindCpuBuffer(),·dstDesc, 
103 ·182·duBuffer->BindCpuBuffer(),·duDesc, 
104 ·183·dvBuffer->BindCpuBuffer(),·dvDesc, 
105 ·184·&stencilTable->GetSizes()[0], 
106 ·185·&stencilTable->GetOffsets()[0], 
107 ·186·&stencilTable->GetControlIndices()[0], 
108 ·187·&stencilTable->GetWeights()[0], 
109 ·188·&stencilTable->GetDuWeights()[0], 
110 ·189·&stencilTable->GetDvWeights()[0], 
111 ·190·/*start·=·*/·0, 
112 ·191·/*end·=·*/·stencilTable->GetNumStencils()); 
113 ·192·} 
114 ·193 
115 234·static·bool·EvalStencils( 
116 ·235·const·float·*src,·BufferDescriptor·const·&srcDesc, 
117 ·236·float·*dst,·BufferDescriptor·const·&dstDesc, 
118 ·237·float·*du,·BufferDescriptor·const·&duDesc, 
119 ·238·float·*dv,·BufferDescriptor·const·&dvDesc, 
120 ·239·const·int·*·sizes, 
121 ·240·const·int·*·offsets, 
122 ·241·const·int·*·indices, 
123 ·242·const·float·*·weights, 
124 ·243·const·float·*·duWeights, 
125 ·244·const·float·*·dvWeights, 
126 ·245·int·start,·int·end); 
127 ·246 
128 ·302·template·<typename·SRC_BUFFER,·typename·DST_BUFFER,·typename 
129 STENCIL_TABLE> 
130 303·static·bool·EvalStencils( 
131 ·304·SRC_BUFFER·*srcBuffer,·BufferDescriptor·const·&srcDesc, 
132 ·305·DST_BUFFER·*dstBuffer,·BufferDescriptor·const·&dstDesc, 
Max diff block lines reached; 12852/32347 bytes (39.73%) of diff not shown.
8.76 KB
./usr/share/doc/opensubdiv/doxy_html/a00878.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/ompKernel.h·File·Reference</title>8 <title>OpenSubdiv:·opensubdiv/osd/cpuEvaluator.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 81, 45 lines modifiedOffset 81, 44 lines modified
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
 87 <a·href="#nested-classes">Classes</a>·&#124;
87 <a·href="#namespaces">Namespaces</a>·&#124;88 <a·href="#namespaces">Namespaces</a>··</div>
88 <a·href="#func-members">Functions</a>··</div> 
89 ··<div·class="headertitle"><div·class="title">ompKernel.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">cpuEvaluator.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
 93 <code>#include·&quot;<a·class="el"·href="a00881_source.html">../osd/bufferDescriptor.h</a>&quot;</code><br·/>
 94 <code>#include·&quot;<a·class="el"·href="a01481_source.html">../osd/types.h</a>&quot;</code><br·/>
 95 <code>#include·&lt;cstddef&gt;</code><br·/>
93 </div>96 </div>
94 <p><a·href="a00878_source.html">Go·to·the·source·code·of·this·file.</a></p>97 <p><a·href="a00878_source.html">Go·to·the·source·code·of·this·file.</a></p>
95 <table·class="memberdecls">98 <table·class="memberdecls">
 99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 100 Classes</h2></td></tr>
 101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01157.html">CpuEvaluator</a></td></tr>
 102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 103 </table><table·class="memberdecls">
96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>104 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
97 Namespaces</h2></td></tr>105 Namespaces</h2></td></tr>
98 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>106 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>
99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
100 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>108 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>110 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 </table><table·class="memberdecls"> 
105 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> 
106 Functions</h2></td></tr> 
107 <tr·class="memitem:a870745ff3e883b32547d4db42b3be2bd"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#a870745ff3e883b32547d4db42b3be2bd">OmpEvalStencils</a>·(float·const·*src,·BufferDescriptor·const·&amp;srcDesc,·float·*dst,·BufferDescriptor·const·&amp;dstDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·int·start,·int·end)</td></tr> 
108 <tr·class="separator:a870745ff3e883b32547d4db42b3be2bd"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
109 <tr·class="memitem:a907dc53421460557871ddc35f77751f5"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#a907dc53421460557871ddc35f77751f5">OmpEvalStencils</a>·(float·const·*src,·BufferDescriptor·const·&amp;srcDesc,·float·*dst,·BufferDescriptor·const·&amp;dstDesc,·float·*dstDu,·BufferDescriptor·const·&amp;dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&amp;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> 
110 <tr·class="separator:a907dc53421460557871ddc35f77751f5"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
111 <tr·class="memitem:a44a05502feb5015035bc81b93cffb99c"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#a44a05502feb5015035bc81b93cffb99c">OmpEvalStencils</a>·(float·const·*src,·BufferDescriptor·const·&amp;srcDesc,·float·*dst,·BufferDescriptor·const·&amp;dstDesc,·float·*dstDu,·BufferDescriptor·const·&amp;dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&amp;dstDvDesc,·float·*dstDuu,·BufferDescriptor·const·&amp;dstDuuDesc,·float·*dstDuv,·BufferDescriptor·const·&amp;dstDuvDesc,·float·*dstDvv,·BufferDescriptor·const·&amp;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> 
112 <tr·class="separator:a44a05502feb5015035bc81b93cffb99c"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
113 </table>112 </table>
114 </div><!--·contents·-->113 </div><!--·contents·-->
115 </div><!--·doc-content·-->114 </div><!--·doc-content·-->
116 <!--·start·footer·part·-->115 <!--·start·footer·part·-->
117 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->116 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
118 ··<ul>117 ··<ul>
119 ····<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>118 ····<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">cpuEvaluator.h</a></li>
120 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>119 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
121 ··</ul>120 ··</ul>
122 </div>121 </div>
123 </body>122 </body>
124 </html>123 </html>
1.9 KB
html2text {}
    
Offset 4, 44 lines modifiedOffset 4, 28 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 Namespaces·|·Functions 
6 ompKernel.h·File·Reference5 Classes·|·Namespaces
 6 cpuEvaluator.h·File·Reference
7 #include·"../version.h"7 #include·"../version.h"
 8 #include·"../osd/bufferDescriptor.h"
 9 #include·"../osd/types.h"
 10 #include·<cstddef>
8 Go_to_the_source_code_of_this_file.11 Go_to_the_source_code_of_this_file.
 12 ·Classes
 13 class· CpuEvaluator
 14  
9 ·Namespaces15 ·Namespaces
10 namespace· OpenSubdiv16 namespace· OpenSubdiv
11  17  
12 namespace· OpenSubdiv::OPENSUBDIV_VERSION18 namespace· OpenSubdiv::OPENSUBDIV_VERSION
13  19  
14 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd20 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd
15  21  
16 ·Functions 
17 void OmpEvalStencils·(float·const·*src,·BufferDescriptor·const·&srcDesc,·float 
18 ······*dst,·BufferDescriptor·const·&dstDesc,·int·const·*sizes,·int·const 
19 ······*offsets,·int·const·*indices,·float·const·*weights,·int·start,·int·end) 
20   
21 void OmpEvalStencils·(float·const·*src,·BufferDescriptor·const·&srcDesc,·float 
22 ······*dst,·BufferDescriptor·const·&dstDesc,·float·*dstDu,·BufferDescriptor 
23 ······const·&dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&dstDvDesc,·int 
24 ······const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const 
25 ······*weights,·float·const·*duWeights,·float·const·*dvWeights,·int·start,·int 
26 ······end) 
27   
28 void OmpEvalStencils·(float·const·*src,·BufferDescriptor·const·&srcDesc,·float 
29 ······*dst,·BufferDescriptor·const·&dstDesc,·float·*dstDu,·BufferDescriptor 
30 ······const·&dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&dstDvDesc,·float 
31 ······*dstDuu,·BufferDescriptor·const·&dstDuuDesc,·float·*dstDuv, 
32 ······BufferDescriptor·const·&dstDuvDesc,·float·*dstDvv,·BufferDescriptor·const 
33 ······&dstDvvDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices, 
34 ······float·const·*weights,·float·const·*duWeights,·float·const·*dvWeights, 
35 ······float·const·*duuWeights,·float·const·*duvWeights,·float·const 
36 ······*dvvWeights,·int·start,·int·end) 
37   
38 ····*·opensubdiv22 ····*·opensubdiv
39 ····*·osd23 ····*·osd
40 ····*·ompKernel.h24 ····*·cpuEvaluator.h
41 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.425 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
441 B
./usr/share/doc/opensubdiv/doxy_html/a00878.js
349 B
js-beautify {}
    
Offset 1, 5 lines modifiedOffset 1, 3 lines modified
1 var·a00878·=·[1 var·a00878·=·[
 2 ····["CpuEvaluator",·"a01157.html",·null]
2 ····["OmpEvalStencils",·"a00878.html#a44a05502feb5015035bc81b93cffb99c",·null], 
3 ····["OmpEvalStencils",·"a00878.html#a907dc53421460557871ddc35f77751f5",·null], 
4 ····["OmpEvalStencils",·"a00878.html#a870745ff3e883b32547d4db42b3be2bd",·null] 
5 ];3 ];
148 KB
./usr/share/doc/opensubdiv/doxy_html/a00878_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/ompKernel.h·Source·File</title>8 <title>OpenSubdiv:·opensubdiv/osd/cpuEvaluator.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 80, 19 lines modifiedOffset 80, 19 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">ompKernel.h</div></div>86 ··<div·class="headertitle"><div·class="title">cpuEvaluator.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <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>89 <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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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>
94 <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>94 <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>
95 <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>95 <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>
96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>
97 <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>97 <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 107, 82 lines modifiedOffset 107, 501 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <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>114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_CPU_EVALUATOR_H</span></div>
115 <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>115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_CPU_EVALUATOR_H</span></div>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
 118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;../osd/bufferDescriptor.h&quot;</span></div>
 119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../osd/types.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
 121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
 122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
119 <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>123 <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>
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> 
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span>Osd·{</div> 
123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> 
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">struct·</span>BufferDescriptor;</div> 
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keywordtype">void</span></div>126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Osd·{</div>
127 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;srcDesc,</div> 
128 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDesc,</div> 
129 <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> 
130 <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> 
131 <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> 
132 <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> 
133 <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> 
134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> 
135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keywordtype">void</span></div> 
136 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;srcDesc,</div> 
137 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDesc,</div> 
138 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDuDesc,</div> 
139 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDvDesc,</div> 
140 <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> 
141 <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> 
142 <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> 
143 <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> 
144 <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> 
145 <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> 
146 <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> 
147 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
 128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01157.html">···39</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01157.html">CpuEvaluator</a>·{</div>
148 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keywordtype">void</span></div>129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">public</span>:</div>
149 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;srcDesc,</div> 
150 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDesc,</div> 
151 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDuDesc,</div> 
152 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDvDesc,</div>130 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
 131 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·SRC_BUFFER,·<span·class="keyword">typename</span>·DST_BUFFER,·<span·class="keyword">typename</span>·STENCIL_TABLE&gt;</div>
 132 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01157.html#ae8e914fc701af498ea6c6244da408b94">···72</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01157.html#ae8e914fc701af498ea6c6244da408b94">EvalStencils</a>(</div>
 133 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>········SRC_BUFFER·*srcBuffer,·<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;srcDesc,</div>
153 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDuuDesc,</div>134 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>········DST_BUFFER·*dstBuffer,·<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDesc,</div>
154 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDuvDesc,</div> 
155 <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="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDvvDesc,</div> 
156 <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>135 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········STENCIL_TABLE·<span·class="keyword">const</span>·*stencilTable,</div>
 136 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01157.html">CpuEvaluator</a>·*instance·=·NULL,</div>
157 <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> 
158 <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> 
159 <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> 
160 <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> 
161 <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> 
162 <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> 
163 <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> 
164 <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> 
165 <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>137 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>········<span·class="keywordtype">void</span>·*·deviceContext·=·NULL)·{</div>
166 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div>138 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
167 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>}·<span·class="comment">//·end·namespace·Osd</span></div>139 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>········(void)instance;·······<span·class="comment">//·unused</span></div>
168 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> 
169 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>}··<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div>140 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>········(void)deviceContext;··<span·class="comment">//·unused</span></div>
170 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> 
171 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>141 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>
172 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>}··<span·class="comment">//·end·namespace·OpenSubdiv</span></div>142 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>········<span·class="keywordflow">if</span>·(stencilTable-&gt;GetNumStencils()·==·0)</div>
 143 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>············<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;</div>
173 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>144 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
 145 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01157.html#ae8e914fc701af498ea6c6244da408b94">EvalStencils</a>(srcBuffer-&gt;BindCpuBuffer(),·srcDesc,</div>
 146 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····························dstBuffer-&gt;BindCpuBuffer(),·dstDesc,</div>
 147 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····························&amp;stencilTable-&gt;GetSizes()[0],</div>
 148 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····························&amp;stencilTable-&gt;GetOffsets()[0],</div>
 149 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····························&amp;stencilTable-&gt;GetControlIndices()[0],</div>
 150 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····························&amp;stencilTable-&gt;GetWeights()[0],</div>
 151 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····························<span·class="comment">/*start·=·*/</span>·0,</div>
 152 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····························<span·class="comment">/*end···=·*/</span>·stencilTable-&gt;GetNumStencils());</div>
 153 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····}</div>
 154 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>
 155 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno"><a·class="line"·href="a01157.html#a4345e3659b7fb82f23dd51c688179ce3">··121</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01157.html#a4345e3659b7fb82f23dd51c688179ce3">EvalStencils</a>(</div>
 156 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>········<span·class="keyword">const</span>·<span·class="keywordtype">float</span>·*src,·<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;srcDesc,</div>
 157 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>········<span·class="keywordtype">float</span>·*dst,·······<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDesc,</div>
 158 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>········<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·*·sizes,</div>
Max diff block lines reached; 19132/118874 bytes (16.09%) of diff not shown.
31.4 KB
html2text {}
    
Offset 4, 18 lines modifiedOffset 4, 18 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 ompKernel.h5 cpuEvaluator.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2013·Pixar8 ·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·in11 ·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·trade15 ·9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade
Offset 30, 82 lines modifiedOffset 30, 657 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_OSD_OMP_KERNEL_H37 ·25#ifndef·OPENSUBDIV3_OSD_CPU_EVALUATOR_H
38 ·26#define·OPENSUBDIV3_OSD_OMP_KERNEL_H38 ·26#define·OPENSUBDIV3_OSD_CPU_EVALUATOR_H
39 ·2739 ·27
40 ·28#include·"../version.h"40 ·28#include·"../version.h"
41 ·2941 ·29#include·"../osd/bufferDescriptor.h"
 42 ·30#include·"../osd/types.h"
 43 ·31
 44 ·32#include·<cstddef>
 45 ·33
42 ·30namespace·OpenSubdiv·{46 ·34namespace·OpenSubdiv·{
43 ·31namespace·OPENSUBDIV_VERSION·{47 ·35namespace·OPENSUBDIV_VERSION·{
44 ·32 
45 ·33namespace·Osd·{ 
46 ·34 
47 ·35struct·BufferDescriptor; 
48 ·3648 ·36
 49 ·37namespace·Osd·{
 50 ·38
 51 39class·CpuEvaluator·{
 52 ·40public:
 53 ·46
 54 ·71·template·<typename·SRC_BUFFER,·typename·DST_BUFFER,·typename·STENCIL_TABLE>
 55 72·static·bool·EvalStencils(
 56 ·73·SRC_BUFFER·*srcBuffer,·BufferDescriptor·const·&srcDesc,
49 ·37void 
50 38OmpEvalStencils(float·const·*·src,·BufferDescriptor·const·&srcDesc, 
51 ·39·float·*·dst,·BufferDescriptor·const·&dstDesc, 
52 ·40·int·const·*·sizes, 
53 ·41·int·const·*·offsets, 
54 ·42·int·const·*·indices, 
55 ·43·float·const·*·weights, 
56 ·44·int·start,·int·end); 
57 ·45 
58 ·46void 
59 47OmpEvalStencils(float·const·*·src,·BufferDescriptor·const·&srcDesc, 
60 ·48·float·*·dst,·BufferDescriptor·const·&dstDesc,57 ·74·DST_BUFFER·*dstBuffer,·BufferDescriptor·const·&dstDesc,
 58 ·75·STENCIL_TABLE·const·*stencilTable,
 59 ·76·const·CpuEvaluator·*instance·=·NULL,
 60 ·77·void·*·deviceContext·=·NULL)·{
 61 ·78
 62 ·79·(void)instance;·//·unused
 63 ·80·(void)deviceContext;·//·unused
 64 ·81
 65 ·82·if·(stencilTable->GetNumStencils()·==·0)
 66 ·83·return·false;
61 ·49·float·*·dstDu,·BufferDescriptor·const·&dstDuDesc, 
62 ·50·float·*·dstDv,·BufferDescriptor·const·&dstDvDesc, 
63 ·51·int·const·*·sizes, 
64 ·52·int·const·*·offsets, 
65 ·53·int·const·*·indices, 
66 ·54·float·const·*·weights, 
67 ·55·float·const·*·duWeights, 
68 ·56·float·const·*·dvWeights, 
69 ·57·int·start,·int·end); 
70 ·58 
71 ·59void 
72 60OmpEvalStencils(float·const·*·src,·BufferDescriptor·const·&srcDesc, 
73 ·61·float·*·dst,·BufferDescriptor·const·&dstDesc, 
74 ·62·float·*·dstDu,·BufferDescriptor·const·&dstDuDesc, 
75 ·63·float·*·dstDv,·BufferDescriptor·const·&dstDvDesc, 
76 ·64·float·*·dstDuu,·BufferDescriptor·const·&dstDuuDesc, 
77 ·65·float·*·dstDuv,·BufferDescriptor·const·&dstDuvDesc, 
78 ·66·float·*·dstDvv,·BufferDescriptor·const·&dstDvvDesc, 
79 ·67·int·const·*·sizes, 
80 ·68·int·const·*·offsets, 
81 ·69·int·const·*·indices, 
82 ·70·float·const·*·weights, 
83 ·71·float·const·*·duWeights, 
84 ·72·float·const·*·dvWeights, 
85 ·73·float·const·*·duuWeights, 
86 ·74·float·const·*·duvWeights, 
87 ·75·float·const·*·dvvWeights, 
88 ·76·int·start,·int·end); 
89 ·77 
90 ·78}·//·end·namespace·Osd 
91 ·79 
92 ·80}·//·end·namespace·OPENSUBDIV_VERSION 
93 ·81using·namespace·OPENSUBDIV_VERSION; 
94 ·82 
95 ·83}·//·end·namespace·OpenSubdiv 
96 ·8467 ·84
97 ·85#endif·//·OPENSUBDIV3_OSD_OMP_KERNEL_H68 ·85·return·EvalStencils(srcBuffer->BindCpuBuffer(),·srcDesc,
 69 ·86·dstBuffer->BindCpuBuffer(),·dstDesc,
 70 ·87·&stencilTable->GetSizes()[0],
 71 ·88·&stencilTable->GetOffsets()[0],
 72 ·89·&stencilTable->GetControlIndices()[0],
 73 ·90·&stencilTable->GetWeights()[0],
 74 ·91·/*start·=·*/·0,
 75 ·92·/*end·=·*/·stencilTable->GetNumStencils());
 76 ·93·}
 77 ·94
 78 121·static·bool·EvalStencils(
 79 ·122·const·float·*src,·BufferDescriptor·const·&srcDesc,
 80 ·123·float·*dst,·BufferDescriptor·const·&dstDesc,
 81 ·124·const·int·*·sizes,
 82 ·125·const·int·*·offsets,
 83 ·126·const·int·*·indices,
 84 ·127·const·float·*·weights,
 85 ·128·int·start,·int·end);
 86 ·129
 87 ·167·template·<typename·SRC_BUFFER,·typename·DST_BUFFER,·typename
Max diff block lines reached; 11810/32094 bytes (36.80%) of diff not shown.
5.63 KB
./usr/share/doc/opensubdiv/doxy_html/a00881.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/ompEvaluator.h·File·Reference</title>8 <title>OpenSubdiv:·opensubdiv/osd/bufferDescriptor.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 83, 27 lines modifiedOffset 83, 26 lines modified
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124;87 <a·href="#nested-classes">Classes</a>·&#124;
88 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">ompEvaluator.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">bufferDescriptor.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
93 <code>#include·&quot;<a·class="el"·href="a00899_source.html">../osd/bufferDescriptor.h</a>&quot;</code><br·/> 
94 <code>#include·&quot;<a·class="el"·href="a01481_source.html">../osd/types.h</a>&quot;</code><br·/> 
95 <code>#include·&lt;cstddef&gt;</code><br·/>93 <code>#include·&lt;string.h&gt;</code><br·/>
96 </div>94 </div>
97 <p><a·href="a00881_source.html">Go·to·the·source·code·of·this·file.</a></p>95 <p><a·href="a00881_source.html">Go·to·the·source·code·of·this·file.</a></p>
98 <table·class="memberdecls">96 <table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
100 Classes</h2></td></tr>98 Classes</h2></td></tr>
101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01305.html">OmpEvaluator</a></td></tr>99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01133.html">BufferDescriptor</a></td></tr>
 100 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a01133.html"·title="BufferDescriptor·is·a·struct·which·describes·buffer·elements·in·interleaved·data·buffers....">BufferDescriptor</a>·is·a·struct·which·describes·buffer·elements·in·interleaved·data·buffers.·Almost·all·<a·class="el"·href="a00912.html">Osd</a>·Evaluator·APIs·take·BufferDescriptors·along·with·device-specific·buffer·objects.··<a·href="a01133.html#details">More...</a><br·/></td></tr>
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
103 </table><table·class="memberdecls">102 </table><table·class="memberdecls">
104 <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>
105 Namespaces</h2></td></tr>104 Namespaces</h2></td></tr>
106 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>105 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>
107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
108 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>107 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>
Offset 112, 13 lines modifiedOffset 111, 13 lines modified
112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
113 </table>112 </table>
114 </div><!--·contents·-->113 </div><!--·contents·-->
115 </div><!--·doc-content·-->114 </div><!--·doc-content·-->
116 <!--·start·footer·part·-->115 <!--·start·footer·part·-->
117 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->116 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
118 ··<ul>117 ··<ul>
119 ····<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="a00881.html">ompEvaluator.h</a></li>118 ····<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="a00881.html">bufferDescriptor.h</a></li>
120 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>119 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
121 ··</ul>120 ··</ul>
122 </div>121 </div>
123 </body>122 </body>
124 </html>123 </html>
902 B
html2text {}
    
Offset 5, 27 lines modifiedOffset 5, 28 lines modified
  
  
  
5 [Logo]·OpenSubdiv5 [Logo]·OpenSubdiv
  
  
6 Classes·|·Namespaces6 Classes·|·Namespaces
7 ompEvaluator.h·File·Reference7 bufferDescriptor.h·File·Reference
8 #include·"../version.h"8 #include·"../version.h"
 9 #include·<string.h>
9 #include·"../osd/bufferDescriptor.h" 
10 #include·"../osd/types.h" 
11 #include·<cstddef> 
12 Go_to_the_source_code_of_this_file.10 Go_to_the_source_code_of_this_file.
13 ·Classes11 ·Classes
14 class· OmpEvaluator12 struct· BufferDescriptor
 13 ·········BufferDescriptor·is·a·struct·which·describes·buffer·elements·in
 14  ·······interleaved·data·buffers.·Almost·all·Osd·Evaluator·APIs·take
 15 ·········BufferDescriptors·along·with·device-specific·buffer·objects.·More...
15  16  
16 ·Namespaces17 ·Namespaces
17 namespace· OpenSubdiv18 namespace· OpenSubdiv
18  19  
19 namespace· OpenSubdiv::OPENSUBDIV_VERSION20 namespace· OpenSubdiv::OPENSUBDIV_VERSION
20  21  
21 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd22 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd
22  23  
23 ····*·opensubdiv24 ····*·opensubdiv
24 ····*·osd25 ····*·osd
25 ····*·ompEvaluator.h26 ····*·bufferDescriptor.h
26 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.427 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
250 B
./usr/share/doc/opensubdiv/doxy_html/a00881.js
158 B
js-beautify {}
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 var·a00881·=·[1 var·a00881·=·[
2 ····["OmpEvaluator",·"a01305.html",·null]2 ····["BufferDescriptor",·"a01133.html",·"a01133"]
3 ];3 ];
154 KB
./usr/share/doc/opensubdiv/doxy_html/a00881_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/ompEvaluator.h·Source·File</title>8 <title>OpenSubdiv:·opensubdiv/osd/bufferDescriptor.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 80, 15 lines modifiedOffset 80, 15 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">ompEvaluator.h</div></div>86 ··<div·class="headertitle"><div·class="title">bufferDescriptor.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <a·href="a00881.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>89 <a·href="a00881.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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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 107, 502 lines modifiedOffset 107, 98 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_OMP_EVALUATOR_H</span></div>114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_BUFFER_DESCRIPTOR_H</span></div>
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_OMP_EVALUATOR_H</span></div>115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_BUFFER_DESCRIPTOR_H</span></div>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;../osd/bufferDescriptor.h&quot;</span></div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&lt;string.h&gt;</span></div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../osd/types.h&quot;</span></div> 
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
 120 <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>
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
123 <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> 
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a00912.html">···34</a></span><span·class="keyword">namespace·</span>Osd·{</div>
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Osd·{</div> 
127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> 
128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01305.html">···39</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01305.html">OmpEvaluator</a>·{</div> 
129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">public</span>:</div> 
130 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>125 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
131 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·SRC_BUFFER,·<span·class="keyword">typename</span>·DST_BUFFER,·<span·class="keyword">typename</span>·STENCIL_TABLE&gt;</div> 
132 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01305.html#a76ac331e29d26f25d0d807b74c1a838b">···72</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01305.html#a76ac331e29d26f25d0d807b74c1a838b">EvalStencils</a>(</div> 
133 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>········SRC_BUFFER·*srcBuffer,·<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;srcDesc,</div> 
134 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>········DST_BUFFER·*dstBuffer,·<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDesc,</div>126 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="comment">//··example:</span></div>
 127 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="comment">//·······n</span></div>
 128 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="comment">//··-----+----------------------------------------+-------------------------</span></div>
 129 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="comment">//·······|···············vertex··0················|</span></div>
 130 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="comment">//··-----+----------------------------------------+-------------------------</span></div>
 131 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="comment">//·······|··X··Y··Z··R··G··B··A·Xu·Yu·Zu·Xv·Yv·Zv·|</span></div>
 132 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="comment">//··-----+----------------------------------------+-------------------------</span></div>
 133 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="comment">//·······&lt;-------------·stride·=·13·--------------&gt;</span></div>
135 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········STENCIL_TABLE·<span·class="keyword">const</span>·*stencilTable,</div>134 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="comment">//</span></div>
136 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01305.html">OmpEvaluator</a>·*instance·=·NULL,</div>135 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="comment">//·····-·XYZ······(offset·=·n+0,··length·=·3,·stride·=·13)</span></div>
 136 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="comment">//·····-·RGBA·····(offset·=·n+3,··length·=·4,·stride·=·13)</span></div>
 137 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">//·····-·uTangent·(offset·=·n+7,··length·=·3,·stride·=·13)</span></div>
 138 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="comment">//·····-·vTangent·(offset·=·n+10,·length·=·3,·stride·=·13)</span></div>
137 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>········<span·class="keywordtype">void</span>·*·deviceContext·=·NULL)·{</div>139 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="comment">//</span></div>
 140 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01133.html">···61</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·{</div>
 141 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
 142 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01133.html#a446218762f5de8c77d06ee61e14b6b61">···64</a></span>····<a·class="code·hl_function"·href="a01133.html#a446218762f5de8c77d06ee61e14b6b61">BufferDescriptor</a>()·:·<a·class="code·hl_variable"·href="a01133.html#aed7ea92f45bd273dde380a45ddced592">offset</a>(0),·<a·class="code·hl_variable"·href="a01133.html#a9f59b34b1f25fe00023291b678246bcc">length</a>(0),·<a·class="code·hl_variable"·href="a01133.html#a08f66a6870d87afcd5dc1b60d1019692">stride</a>(0)·{·}</div>
 143 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>
 144 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01133.html#a958068066d1d10ae2a452ac57d9c0401">···67</a></span>····<a·class="code·hl_function"·href="a01133.html#a958068066d1d10ae2a452ac57d9c0401">BufferDescriptor</a>(<span·class="keywordtype">int</span>·o,·<span·class="keywordtype">int</span>·l,·<span·class="keywordtype">int</span>·s)·:·<a·class="code·hl_variable"·href="a01133.html#aed7ea92f45bd273dde380a45ddced592">offset</a>(o),·<a·class="code·hl_variable"·href="a01133.html#a9f59b34b1f25fe00023291b678246bcc">length</a>(l),·<a·class="code·hl_variable"·href="a01133.html#a08f66a6870d87afcd5dc1b60d1019692">stride</a>(s)·{·}</div>
 145 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
 146 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01133.html#ae3d9db59ffddaff0873246935222c6a8">···70</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01133.html#ae3d9db59ffddaff0873246935222c6a8">GetLocalOffset</a>()<span·class="keyword">·const·</span>{</div>
 147 <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="a01133.html#a08f66a6870d87afcd5dc1b60d1019692">stride</a>·&gt;·0·?·<a·class="code·hl_variable"·href="a01133.html#aed7ea92f45bd273dde380a45ddced592">offset</a>·%·<a·class="code·hl_variable"·href="a01133.html#a08f66a6870d87afcd5dc1b60d1019692">stride</a>·:·0;</div>
 148 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····}</div>
 149 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>
 150 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01133.html#ac532c4b500b1a85ea22217f2c65a70ed">···75</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01133.html#ac532c4b500b1a85ea22217f2c65a70ed">IsValid</a>()<span·class="keyword">·const·</span>{</div>
 151 <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="a01133.html#a9f59b34b1f25fe00023291b678246bcc">length</a>·&gt;·0)·&amp;&amp;</div>
 152 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>················(<a·class="code·hl_variable"·href="a01133.html#a9f59b34b1f25fe00023291b678246bcc">length</a>·&lt;=·<a·class="code·hl_variable"·href="a01133.html#a08f66a6870d87afcd5dc1b60d1019692">stride</a>·-·<a·class="code·hl_function"·href="a01133.html#ae3d9db59ffddaff0873246935222c6a8">GetLocalOffset</a>()));</div>
138 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>153 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····}</div>
139 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>········(void)instance;·······<span·class="comment">//·unused</span></div> 
140 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>········(void)deviceContext;··<span·class="comment">//·unused</span></div>154 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>
 155 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01133.html#a372de693ad40b3f42839c8ec6ac845f4">···81</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01133.html#a372de693ad40b3f42839c8ec6ac845f4">Reset</a>()·{</div>
 156 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>········<a·class="code·hl_variable"·href="a01133.html#aed7ea92f45bd273dde380a45ddced592">offset</a>·=·<a·class="code·hl_variable"·href="a01133.html#a9f59b34b1f25fe00023291b678246bcc">length</a>·=·<a·class="code·hl_variable"·href="a01133.html#a08f66a6870d87afcd5dc1b60d1019692">stride</a>·=·0;</div>
141 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>157 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····}</div>
142 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>········<span·class="keywordflow">if</span>·(stencilTable-&gt;GetNumStencils()·==·0)</div> 
143 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>············<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;</div> 
144 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>158 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
 159 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01133.html#aaff9aa09cae91e39d5422c8cfc878ba5">···86</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01133.html#aaff9aa09cae91e39d5422c8cfc878ba5">operator·==·</a>(<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;other)<span·class="keyword">·const·</span>{</div>
 160 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>········<span·class="keywordflow">return</span>·(<a·class="code·hl_variable"·href="a01133.html#aed7ea92f45bd273dde380a45ddced592">offset</a>·==·other.<a·class="code·hl_variable"·href="a01133.html#aed7ea92f45bd273dde380a45ddced592">offset</a>·&amp;&amp;</div>
 161 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>················<a·class="code·hl_variable"·href="a01133.html#a9f59b34b1f25fe00023291b678246bcc">length</a>·==·other.<a·class="code·hl_variable"·href="a01133.html#a9f59b34b1f25fe00023291b678246bcc">length</a>·&amp;&amp;</div>
 162 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>················<a·class="code·hl_variable"·href="a01133.html#a08f66a6870d87afcd5dc1b60d1019692">stride</a>·==·other.<a·class="code·hl_variable"·href="a01133.html#a08f66a6870d87afcd5dc1b60d1019692">stride</a>);</div>
145 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01305.html#a76ac331e29d26f25d0d807b74c1a838b">EvalStencils</a>(srcBuffer-&gt;BindCpuBuffer(),·srcDesc,</div> 
146 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····························dstBuffer-&gt;BindCpuBuffer(),·dstDesc,</div> 
147 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····························&amp;stencilTable-&gt;GetSizes()[0],</div> 
148 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····························&amp;stencilTable-&gt;GetOffsets()[0],</div> 
149 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····························&amp;stencilTable-&gt;GetControlIndices()[0],</div> 
150 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····························&amp;stencilTable-&gt;GetWeights()[0],</div> 
151 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····························<span·class="comment">/*start·=·*/</span>·0,</div> 
152 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····························<span·class="comment">/*end···=·*/</span>·stencilTable-&gt;GetNumStencils());</div> 
153 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····}</div>163 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····}</div>
154 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>164 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>
 165 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="a01133.html#a9f79e5aef7aa7198087e68c98c9804d3">···93</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01133.html#a9f79e5aef7aa7198087e68c98c9804d3">operator·!=·</a>(<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;other)<span·class="keyword">·const·</span>{</div>
 166 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>········<span·class="keywordflow">return</span>·!(this-&gt;<a·class="code·hl_function"·href="a01133.html#aaff9aa09cae91e39d5422c8cfc878ba5">operator==</a>(other));</div>
155 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno"><a·class="line"·href="a01305.html#a4345e3659b7fb82f23dd51c688179ce3">··121</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01305.html#a4345e3659b7fb82f23dd51c688179ce3">EvalStencils</a>(</div> 
156 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>········<span·class="keyword">const</span>·<span·class="keywordtype">float</span>·*src,·<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;srcDesc,</div> 
157 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>········<span·class="keywordtype">float</span>·*dst,·······<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDesc,</div> 
158 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>········<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·*·sizes,</div> 
159 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>········<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·*·offsets,</div> 
160 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>········<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·*·indices,</div> 
161 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>········<span·class="keyword">const</span>·<span·class="keywordtype">float</span>·*·weights,</div> 
162 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>········<span·class="keywordtype">int</span>·start,·<span·class="keywordtype">int</span>·end);</div> 
163 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>·</div> 
164 <div·class="line"><a·id="l00167"·name="l00167"></a><span·class="lineno">··167</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·SRC_BUFFER,·<span·class="keyword">typename</span>·DST_BUFFER,·<span·class="keyword">typename</span>·STENCIL_TABLE&gt;</div> 
165 <div·class="line"><a·id="l00168"·name="l00168"></a><span·class="lineno"><a·class="line"·href="a01305.html#a6b577cee117522a91402eb4237e5e913">··168</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01305.html#a6b577cee117522a91402eb4237e5e913">EvalStencils</a>(</div> 
166 <div·class="line"><a·id="l00169"·name="l00169"></a><span·class="lineno">··169</span>········SRC_BUFFER·*srcBuffer,·<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;srcDesc,</div> 
167 <div·class="line"><a·id="l00170"·name="l00170"></a><span·class="lineno">··170</span>········DST_BUFFER·*dstBuffer,·<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDesc,</div> 
168 <div·class="line"><a·id="l00171"·name="l00171"></a><span·class="lineno">··171</span>········DST_BUFFER·*duBuffer,··<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;duDesc,</div> 
169 <div·class="line"><a·id="l00172"·name="l00172"></a><span·class="lineno">··172</span>········DST_BUFFER·*dvBuffer,··<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dvDesc,</div> 
Max diff block lines reached; 23216/123991 bytes (18.72%) of diff not shown.
32.6 KB
html2text {}
    
Offset 4, 15 lines modifiedOffset 4, 15 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 ompEvaluator.h5 bufferDescriptor.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2015·Pixar8 ·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·in11 ·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 30, 657 lines modifiedOffset 30, 125 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_OSD_OMP_EVALUATOR_H37 ·25#ifndef·OPENSUBDIV3_OSD_BUFFER_DESCRIPTOR_H
38 ·26#define·OPENSUBDIV3_OSD_OMP_EVALUATOR_H38 ·26#define·OPENSUBDIV3_OSD_BUFFER_DESCRIPTOR_H
39 ·2739 ·27
40 ·28#include·"../version.h"40 ·28#include·"../version.h"
41 ·29#include·"../osd/bufferDescriptor.h" 
42 ·30#include·"../osd/types.h" 
43 ·31 
44 ·32#include·<cstddef>41 ·29#include·<string.h>
 42 ·30
 43 ·31namespace·OpenSubdiv·{
 44 ·32namespace·OPENSUBDIV_VERSION·{
45 ·3345 ·33
46 ·34namespace·OpenSubdiv·{ 
47 ·35namespace·OPENSUBDIV_VERSION·{ 
48 ·36 
49 ·37namespace·Osd·{46 34namespace·Osd·{
 47 ·35
50 ·38 
51 39class·OmpEvaluator·{ 
52 ·40public: 
53 ·4648 ·46
54 ·71·template·<typename·SRC_BUFFER,·typename·DST_BUFFER,·typename·STENCIL_TABLE> 
55 72·static·bool·EvalStencils( 
56 ·73·SRC_BUFFER·*srcBuffer,·BufferDescriptor·const·&srcDesc, 
57 ·74·DST_BUFFER·*dstBuffer,·BufferDescriptor·const·&dstDesc, 
58 ·75·STENCIL_TABLE·const·*stencilTable, 
59 ·76·const·OmpEvaluator·*instance·=·NULL, 
60 ·77·void·*·deviceContext·=·NULL)·{49 ·47//·example:
 50 ·48//·n
 51 ·49//·-----+----------------------------------------+-------------------------
 52 ·50//·|·vertex·0·|
 53 ·51//·-----+----------------------------------------+-------------------------
 54 ·52//·|·X·Y·Z·R·G·B·A·Xu·Yu·Zu·Xv·Yv·Zv·|
 55 ·53//·-----+----------------------------------------+-------------------------
 56 ·54//·<-------------·stride·=·13·-------------->
 57 ·55//
 58 ·56//·-·XYZ·(offset·=·n+0,·length·=·3,·stride·=·13)
 59 ·57//·-·RGBA·(offset·=·n+3,·length·=·4,·stride·=·13)
 60 ·58//·-·uTangent·(offset·=·n+7,·length·=·3,·stride·=·13)
 61 ·59//·-·vTangent·(offset·=·n+10,·length·=·3,·stride·=·13)
 62 ·60//
 63 61struct·BufferDescriptor·{
 64 ·62
 65 64·BufferDescriptor()·:·offset(0),·length(0),·stride(0)·{·}
 66 ·65
 67 67·BufferDescriptor(int·o,·int·l,·int·s)·:·offset(o),·length(l),·stride(s)·{·}
 68 ·68
 69 70·int·GetLocalOffset()·const·{
 70 ·71·return·stride·>·0·?·offset·%·stride·:·0;
 71 ·72·}
 72 ·73
 73 75·bool·IsValid()·const·{
 74 ·76·return·((length·>·0)·&&
 75 ·77·(length·<=·stride·-·GetLocalOffset()));
61 ·7876 ·78·}
 77 ·79
 78 81·void·Reset()·{
 79 ·82·offset·=·length·=·stride·=·0;
 80 ·83·}
62 ·79·(void)instance;·//·unused 
63 ·80·(void)deviceContext;·//·unused 
64 ·81 
65 ·82·if·(stencilTable->GetNumStencils()·==·0) 
66 ·83·return·false; 
67 ·8481 ·84
 82 86·bool·operator_==(BufferDescriptor·const·&other)·const·{
 83 ·87·return·(offset·==·other.offset·&&
 84 ·88·length·==·other.length·&&
 85 ·89·stride·==·other.stride);
68 ·85·return·EvalStencils(srcBuffer->BindCpuBuffer(),·srcDesc, 
69 ·86·dstBuffer->BindCpuBuffer(),·dstDesc, 
70 ·87·&stencilTable->GetSizes()[0], 
71 ·88·&stencilTable->GetOffsets()[0], 
72 ·89·&stencilTable->GetControlIndices()[0], 
73 ·90·&stencilTable->GetWeights()[0], 
74 ·91·/*start·=·*/·0, 
75 ·92·/*end·=·*/·stencilTable->GetNumStencils()); 
76 ·93·} 
77 ·94 
78 121·static·bool·EvalStencils( 
79 ·122·const·float·*src,·BufferDescriptor·const·&srcDesc, 
80 ·123·float·*dst,·BufferDescriptor·const·&dstDesc, 
81 ·124·const·int·*·sizes, 
82 ·125·const·int·*·offsets, 
83 ·126·const·int·*·indices, 
84 ·127·const·float·*·weights, 
85 ·128·int·start,·int·end); 
86 ·129 
87 ·167·template·<typename·SRC_BUFFER,·typename·DST_BUFFER,·typename 
88 STENCIL_TABLE> 
89 168·static·bool·EvalStencils( 
90 ·169·SRC_BUFFER·*srcBuffer,·BufferDescriptor·const·&srcDesc, 
91 ·170·DST_BUFFER·*dstBuffer,·BufferDescriptor·const·&dstDesc, 
92 ·171·DST_BUFFER·*duBuffer,·BufferDescriptor·const·&duDesc, 
93 ·172·DST_BUFFER·*dvBuffer,·BufferDescriptor·const·&dvDesc, 
94 ·173·STENCIL_TABLE·const·*stencilTable, 
95 ·174·const·OmpEvaluator·*instance·=·NULL, 
96 ·175·void·*·deviceContext·=·NULL)·{ 
97 ·176 
98 ·177·(void)instance;·//·unused 
99 ·178·(void)deviceContext;·//·unused 
100 ·179 
101 ·180·return·EvalStencils(srcBuffer->BindCpuBuffer(),·srcDesc, 
102 ·181·dstBuffer->BindCpuBuffer(),·dstDesc, 
Max diff block lines reached; 13205/33385 bytes (39.55%) of diff not shown.
5.1 KB
./usr/share/doc/opensubdiv/doxy_html/a00884.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/opengl.h·File·Reference</title>8 <title>OpenSubdiv:·opensubdiv/osd/cudaVertexBuffer.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 80, 24 lines modifiedOffset 80, 44 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
 86 ··<div·class="summary">
 87 <a·href="#nested-classes">Classes</a>·&#124;
 88 <a·href="#namespaces">Namespaces</a>··</div>
86 ··<div·class="headertitle"><div·class="title">opengl.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">cudaVertexBuffer.h·File·Reference</div></div>
87 </div><!--header-->90 </div><!--header-->
88 <div·class="contents">91 <div·class="contents">
89 <div·class="textblock"><code>#include·&lt;GL/gl.h&gt;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
 93 <code>#include·&lt;cstddef&gt;</code><br·/>
90 </div>94 </div>
91 <p><a·href="a00884_source.html">Go·to·the·source·code·of·this·file.</a></p>95 <p><a·href="a00884_source.html">Go·to·the·source·code·of·this·file.</a></p>
 96 <table·class="memberdecls">
 97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 98 Classes</h2></td></tr>
 99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01185.html">CudaVertexBuffer</a></td></tr>
 100 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Concrete·vertex·buffer·class·for·Cuda·subdivision.··<a·href="a01185.html#details">More...</a><br·/></td></tr>
 101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 102 </table><table·class="memberdecls">
 103 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
 104 Namespaces</h2></td></tr>
 105 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>
 107 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>
 109 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>
 111 </table>
92 </div><!--·contents·-->112 </div><!--·contents·-->
93 </div><!--·doc-content·-->113 </div><!--·doc-content·-->
94 <!--·start·footer·part·-->114 <!--·start·footer·part·-->
95 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->115 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
96 ··<ul>116 ··<ul>
97 ····<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="a00884.html">opengl.h</a></li>117 ····<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="a00884.html">cudaVertexBuffer.h</a></li>
98 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>118 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
99 ··</ul>119 ··</ul>
100 </div>120 </div>
101 </body>121 </body>
102 </html>122 </html>
648 B
html2text {}
    
Offset 4, 14 lines modifiedOffset 4, 27 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 opengl.h·File·Reference 
6 #include·<GL/gl.h>5 Classes·|·Namespaces
 6 cudaVertexBuffer.h·File·Reference
 7 #include·"../version.h"
 8 #include·<cstddef>
7 Go_to_the_source_code_of_this_file.9 Go_to_the_source_code_of_this_file.
 10 ·Classes
 11 class· CudaVertexBuffer
 12  ······Concrete·vertex·buffer·class·for·Cuda·subdivision.·More...
 13  
 14 ·Namespaces
 15 namespace· OpenSubdiv
 16  
 17 namespace· OpenSubdiv::OPENSUBDIV_VERSION
 18  
 19 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd
 20  
8 ····*·opensubdiv21 ····*·opensubdiv
9 ····*·osd22 ····*·osd
10 ····*·opengl.h23 ····*·cudaVertexBuffer.h
11 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.424 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
23.7 KB
./usr/share/doc/opensubdiv/doxy_html/a00884_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/opengl.h·Source·File</title>8 <title>OpenSubdiv:·opensubdiv/osd/cudaVertexBuffer.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 80, 15 lines modifiedOffset 80, 15 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">opengl.h</div></div>86 ··<div·class="headertitle"><div·class="title">cudaVertexBuffer.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <a·href="a00884.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>89 <a·href="a00884.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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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 107, 47 lines modifiedOffset 107, 77 lines modified
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_OPENGL_H</span></div>114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_CUDA_VERTEX_BUFFER_H</span></div>
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_OPENGL_H</span></div>115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_CUDA_VERTEX_BUFFER_H</span></div>
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#if·defined(__APPLE__)</span></div> 
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">····#include·&quot;TargetConditionals.h&quot;</span></div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">····#if·TARGET_OS_IPHONE·||·TARGET_IPHONE_SIMULATOR</span></div> 
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">········#include·&lt;OpenGLES/ES2/gl.h&gt;</span></div> 
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">····#else</span></div> 
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">········#if·defined(OSD_USES_GLEW)</span></div> 
123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">············#include·&lt;GL/glew.h&gt;</span></div> 
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">········#else</span></div> 
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">············#include·&lt;OpenGL/gl3.h&gt;</span></div> 
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">········#endif</span></div> 
127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">····#endif</span></div> 
128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="preprocessor">#elif·defined(ANDROID)</span></div> 
129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="preprocessor">····#include·&lt;GLES2/gl2.h&gt;</span></div> 
130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="preprocessor">#else</span></div> 
131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="preprocessor">····#if·defined(_WIN32)</span></div> 
132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="preprocessor">········#define·WIN32_LEAN_AND_MEAN</span></div> 
133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="preprocessor">········#include·&lt;windows.h&gt;</span></div> 
134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="preprocessor">····#endif</span></div> 
135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="preprocessor">····#if·defined(OSD_USES_GLEW)</span></div> 
136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="preprocessor">········#include·&lt;GL/glew.h&gt;</span></div> 
137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="preprocessor">····#else</span></div> 
138 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="preprocessor">········#include·&lt;GL/gl.h&gt;</span></div> 
139 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="preprocessor">····#endif</span></div> 
140 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="preprocessor">#endif</span></div> 
141 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
 119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
 120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
 121 <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>
 122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
 123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>
 124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>Osd·{</div>
 125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
 126 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a01185.html">···42</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01185.html">CudaVertexBuffer</a>·{</div>
 127 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
 128 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">public</span>:</div>
 129 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01185.html#ab51afd364a99a3e33d8042537e8f167b">···46</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01185.html">CudaVertexBuffer</a>·*·<a·class="code·hl_function"·href="a01185.html#ab51afd364a99a3e33d8042537e8f167b">Create</a>(<span·class="keywordtype">int</span>·numElements,·<span·class="keywordtype">int</span>·numVertices,</div>
 130 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·····································<span·class="keywordtype">void</span>·*deviceContext·=·NULL);</div>
 131 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
 132 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01185.html#a7534b2edf898c9b6ee4a0b9c8aaf918f">···50</a></span>····<a·class="code·hl_function"·href="a01185.html#a7534b2edf898c9b6ee4a0b9c8aaf918f">~CudaVertexBuffer</a>();</div>
 133 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
 134 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01185.html#a96601a091f8831823c4dd72b6c962f1b">···54</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01185.html#a96601a091f8831823c4dd72b6c962f1b">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>
 135 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····················<span·class="keywordtype">void</span>·*deviceContext=NULL);</div>
 136 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>
 137 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01185.html#a77cee40767fd4936f20a8f9d9d9ea625">···58</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01185.html#a77cee40767fd4936f20a8f9d9d9ea625">GetNumElements</a>()·<span·class="keyword">const</span>;</div>
 138 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>
 139 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01185.html#aaf4a32b8a414eff77000c584c2015cb7">···61</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01185.html#aaf4a32b8a414eff77000c584c2015cb7">GetNumVertices</a>()·<span·class="keyword">const</span>;</div>
 140 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
 141 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01185.html#a59eb144c23606529ba730ae15598af09">···64</a></span>····<span·class="keywordtype">float</span>·*·<a·class="code·hl_function"·href="a01185.html#a59eb144c23606529ba730ae15598af09">BindCudaBuffer</a>();</div>
 142 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>
 143 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="keyword">protected</span>:</div>
 144 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01185.html#af6cb32d896f7815cac1969c857845ba8">···68</a></span>····<a·class="code·hl_function"·href="a01185.html#af6cb32d896f7815cac1969c857845ba8">CudaVertexBuffer</a>(<span·class="keywordtype">int</span>·numElements,·<span·class="keywordtype">int</span>·numVertices);</div>
 145 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
 146 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01185.html#add23d9f5bbc918076d240287a9b3664f">···72</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01185.html#add23d9f5bbc918076d240287a9b3664f">allocate</a>();</div>
 147 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>
 148 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="keyword">private</span>:</div>
 149 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····<span·class="keywordtype">int</span>·_numElements;</div>
 150 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····<span·class="keywordtype">int</span>·_numVertices;</div>
 151 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<span·class="keywordtype">void</span>·*_cudaMem;</div>
 152 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
 153 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>};</div>
 154 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>
 155 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>}··<span·class="comment">//·end·namespace·Osd</span></div>
 156 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>
142 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="preprocessor">#endif··</span><span·class="comment">//·OPENSUBDIV3_OSD_OPENGL_H</span></div>157 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>}··<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div>
 158 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div>
 159 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>
 160 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>}··<span·class="comment">//·end·namespace·OpenSubdiv</span></div>
 161 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>
 162 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span><span·class="preprocessor">#endif··</span><span·class="comment">//·OPENSUBDIV3_OSD_CUDA_VERTEX_BUFFER_H</span></div>
 163 <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>
 164 <div·class="ttc"·id="aa01185_html"><div·class="ttname"><a·href="a01185.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaVertexBuffer</a></div><div·class="ttdoc">Concrete·vertex·buffer·class·for·Cuda·subdivision.</div><div·class="ttdef"><b>Definition:</b>·<a·href="a00884_source.html#l00042">cudaVertexBuffer.h:42</a></div></div>
 165 <div·class="ttc"·id="aa01185_html_a59eb144c23606529ba730ae15598af09"><div·class="ttname"><a·href="a01185.html#a59eb144c23606529ba730ae15598af09">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaVertexBuffer::BindCudaBuffer</a></div><div·class="ttdeci">float·*·BindCudaBuffer()</div><div·class="ttdoc">Returns·cuda·memory.</div></div>
 166 <div·class="ttc"·id="aa01185_html_a7534b2edf898c9b6ee4a0b9c8aaf918f"><div·class="ttname"><a·href="a01185.html#a7534b2edf898c9b6ee4a0b9c8aaf918f">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaVertexBuffer::~CudaVertexBuffer</a></div><div·class="ttdeci">~CudaVertexBuffer()</div><div·class="ttdoc">Destructor.</div></div>
 167 <div·class="ttc"·id="aa01185_html_a77cee40767fd4936f20a8f9d9d9ea625"><div·class="ttname"><a·href="a01185.html#a77cee40767fd4936f20a8f9d9d9ea625">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaVertexBuffer::GetNumElements</a></div><div·class="ttdeci">int·GetNumElements()·const</div><div·class="ttdoc">Returns·how·many·elements·defined·in·this·vertex·buffer.</div></div>
 168 <div·class="ttc"·id="aa01185_html_a96601a091f8831823c4dd72b6c962f1b"><div·class="ttname"><a·href="a01185.html#a96601a091f8831823c4dd72b6c962f1b">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaVertexBuffer::UpdateData</a></div><div·class="ttdeci">void·UpdateData(const·float·*src,·int·startVertex,·int·numVertices,·void·*deviceContext=NULL)</div></div>
 169 <div·class="ttc"·id="aa01185_html_aaf4a32b8a414eff77000c584c2015cb7"><div·class="ttname"><a·href="a01185.html#aaf4a32b8a414eff77000c584c2015cb7">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaVertexBuffer::GetNumVertices</a></div><div·class="ttdeci">int·GetNumVertices()·const</div><div·class="ttdoc">Returns·how·many·vertices·allocated·in·this·vertex·buffer.</div></div>
 170 <div·class="ttc"·id="aa01185_html_ab51afd364a99a3e33d8042537e8f167b"><div·class="ttname"><a·href="a01185.html#ab51afd364a99a3e33d8042537e8f167b">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaVertexBuffer::Create</a></div><div·class="ttdeci">static·CudaVertexBuffer·*·Create(int·numElements,·int·numVertices,·void·*deviceContext=NULL)</div><div·class="ttdoc">Creator.·Returns·NULL·if·error.</div></div>
 171 <div·class="ttc"·id="aa01185_html_add23d9f5bbc918076d240287a9b3664f"><div·class="ttname"><a·href="a01185.html#add23d9f5bbc918076d240287a9b3664f">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaVertexBuffer::allocate</a></div><div·class="ttdeci">bool·allocate()</div></div>
 172 <div·class="ttc"·id="aa01185_html_af6cb32d896f7815cac1969c857845ba8"><div·class="ttname"><a·href="a01185.html#af6cb32d896f7815cac1969c857845ba8">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaVertexBuffer::CudaVertexBuffer</a></div><div·class="ttdeci">CudaVertexBuffer(int·numElements,·int·numVertices)</div><div·class="ttdoc">Constructor.</div></div>
143 </div><!--·fragment·--></div><!--·contents·-->173 </div><!--·fragment·--></div><!--·contents·-->
144 </div><!--·doc-content·-->174 </div><!--·doc-content·-->
145 <!--·start·footer·part·-->175 <!--·start·footer·part·-->
146 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->176 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
147 ··<ul>177 ··<ul>
148 ····<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="a00884.html">opengl.h</a></li>178 ····<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="a00884.html">cudaVertexBuffer.h</a></li>
Max diff block lines reached; 35/20093 bytes (0.17%) of diff not shown.
3.93 KB
html2text {}
    
Offset 4, 15 lines modifiedOffset 4, 15 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 opengl.h5 cudaVertexBuffer.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2013·Pixar8 ·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·in11 ·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 30, 40 lines modifiedOffset 30, 89 lines modified
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·2436 ·24
37 ·25#ifndef·OPENSUBDIV3_OSD_OPENGL_H 
38 ·26#define·OPENSUBDIV3_OSD_OPENGL_H37 ·25#ifndef·OPENSUBDIV3_OSD_CUDA_VERTEX_BUFFER_H
 38 ·26#define·OPENSUBDIV3_OSD_CUDA_VERTEX_BUFFER_H
39 ·2739 ·27
40 ·28#if·defined(__APPLE__) 
41 ·29·#include·"TargetConditionals.h" 
42 ·30·#if·TARGET_OS_IPHONE·||·TARGET_IPHONE_SIMULATOR 
43 ·31·#include·<OpenGLES/ES2/gl.h> 
44 ·32·#else 
45 ·33·#if·defined(OSD_USES_GLEW) 
46 ·34·#include·<GL/glew.h> 
47 ·35·#else 
48 ·36·#include·<OpenGL/gl3.h> 
49 ·37·#endif 
50 ·38·#endif 
51 ·39#elif·defined(ANDROID) 
52 ·40·#include·<GLES2/gl2.h> 
53 ·41#else 
54 ·42·#if·defined(_WIN32) 
55 ·43·#define·WIN32_LEAN_AND_MEAN 
56 ·44·#include·<windows.h> 
57 ·45·#endif 
58 ·46·#if·defined(OSD_USES_GLEW) 
59 ·47·#include·<GL/glew.h> 
60 ·48·#else 
61 ·49·#include·<GL/gl.h> 
62 ·50·#endif 
63 ·51#endif 
64 ·52 
65 ·53#endif·//·OPENSUBDIV3_OSD_OPENGL_H40 ·28#include·"../version.h"
 41 ·29
 42 ·30#include·<cstddef>
 43 ·31
 44 ·32namespace·OpenSubdiv·{
 45 ·33namespace·OPENSUBDIV_VERSION·{
 46 ·34
 47 ·35namespace·Osd·{
 48 ·36
 49 42class·CudaVertexBuffer·{
 50 ·43
 51 ·44public:
 52 46·static·CudaVertexBuffer·*·Create(int·numElements,·int·numVertices,
 53 ·47·void·*deviceContext·=·NULL);
 54 ·48
 55 50·~CudaVertexBuffer();
 56 ·51
 57 54·void·UpdateData(const·float·*src,·int·startVertex,·int·numVertices,
 58 ·55·void·*deviceContext=NULL);
 59 ·56
 60 58·int·GetNumElements()·const;
 61 ·59
 62 61·int·GetNumVertices()·const;
 63 ·62
 64 64·float·*·BindCudaBuffer();
 65 ·65
 66 ·66protected:
 67 68·CudaVertexBuffer(int·numElements,·int·numVertices);
 68 ·69
 69 72·bool·allocate();
 70 ·73
 71 ·74private:
 72 ·75·int·_numElements;
 73 ·76·int·_numVertices;
 74 ·77·void·*_cudaMem;
 75 ·78
 76 ·79};
 77 ·80
 78 ·81}·//·end·namespace·Osd
 79 ·82
 80 ·83}·//·end·namespace·OPENSUBDIV_VERSION
 81 ·84using·namespace·OPENSUBDIV_VERSION;
 82 ·85
 83 ·86}·//·end·namespace·OpenSubdiv
 84 ·87
 85 ·88#endif·//·OPENSUBDIV3_OSD_CUDA_VERTEX_BUFFER_H
 86 OpenSubdiv
 87 Definition:·limits.h:32
 88 OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaVertexBuffer
 89 Concrete·vertex·buffer·class·for·Cuda·subdivision.
 90 Definition:·cudaVertexBuffer.h:42
 91 OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaVertexBuffer::BindCudaBuffer
 92 float·*·BindCudaBuffer()
 93 Returns·cuda·memory.
 94 OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaVertexBuffer::~CudaVertexBuffer
 95 ~CudaVertexBuffer()
 96 Destructor.
 97 OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaVertexBuffer::GetNumElements
 98 int·GetNumElements()·const
 99 Returns·how·many·elements·defined·in·this·vertex·buffer.
 100 OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaVertexBuffer::UpdateData
 101 void·UpdateData(const·float·*src,·int·startVertex,·int·numVertices,·void
 102 *deviceContext=NULL)
 103 OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaVertexBuffer::GetNumVertices
 104 int·GetNumVertices()·const
 105 Returns·how·many·vertices·allocated·in·this·vertex·buffer.
 106 OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaVertexBuffer::Create
 107 static·CudaVertexBuffer·*·Create(int·numElements,·int·numVertices,·void
 108 *deviceContext=NULL)
 109 Creator.·Returns·NULL·if·error.
 110 OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaVertexBuffer::allocate
 111 bool·allocate()
 112 OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaVertexBuffer::CudaVertexBuffer
 113 CudaVertexBuffer(int·numElements,·int·numVertices)
 114 Constructor.
Max diff block lines reached; 132/4002 bytes (3.30%) of diff not shown.
16.4 KB
./usr/share/doc/opensubdiv/doxy_html/a00887.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/mesh.h·File·Reference</title>8 <title>OpenSubdiv:·opensubdiv/sdc/scheme.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 82, 108 lines modifiedOffset 82, 50 lines modified
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124;87 <a·href="#nested-classes">Classes</a>·&#124;
88 <a·href="#namespaces">Namespaces</a>·&#124;88 <a·href="#namespaces">Namespaces</a>··</div>
89 <a·href="#typedef-members">Typedefs</a>·&#124; 
90 <a·href="#enum-members">Enumerations</a>·&#124; 
91 <a·href="#func-members">Functions</a>··</div> 
92 ··<div·class="headertitle"><div·class="title">mesh.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">scheme.h·File·Reference</div></div>
93 </div><!--header-->90 </div><!--header-->
94 <div·class="contents">91 <div·class="contents">
95 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
96 <code>#include·&lt;bitset&gt;</code><br·/>93 <code>#include·&quot;<a·class="el"·href="a01484_source.html">../sdc/types.h</a>&quot;</code><br·/>
 94 <code>#include·&quot;<a·class="el"·href="a00890_source.html">../sdc/options.h</a>&quot;</code><br·/>
 95 <code>#include·&quot;<a·class="el"·href="a00896_source.html">../sdc/crease.h</a>&quot;</code><br·/>
97 <code>#include·&lt;cassert&gt;</code><br·/>96 <code>#include·&lt;cassert&gt;</code><br·/>
98 <code>#include·&lt;cstring&gt;</code><br·/>97 <code>#include·&lt;cstdlib&gt;</code><br·/>
99 <code>#include·&lt;vector&gt;</code><br·/>98 <code>#include·&lt;vector&gt;</code><br·/>
100 <code>#include·&quot;<a·class="el"·href="a00704_source.html">../far/topologyRefiner.h</a>&quot;</code><br·/> 
101 <code>#include·&quot;<a·class="el"·href="a00728_source.html">../far/patchTableFactory.h</a>&quot;</code><br·/> 
102 <code>#include·&quot;<a·class="el"·href="a00719_source.html">../far/stencilTable.h</a>&quot;</code><br·/> 
103 <code>#include·&quot;<a·class="el"·href="a00716_source.html">../far/stencilTableFactory.h</a>&quot;</code><br·/> 
104 <code>#include·&quot;<a·class="el"·href="a00899_source.html">../osd/bufferDescriptor.h</a>&quot;</code><br·/> 
105 </div>99 </div>
106 <p><a·href="a00887_source.html">Go·to·the·source·code·of·this·file.</a></p>100 <p><a·href="a00887_source.html">Go·to·the·source·code·of·this·file.</a></p>
107 <table·class="memberdecls">101 <table·class="memberdecls">
108 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
109 Classes</h2></td></tr>103 Classes</h2></td></tr>
110 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01261.html">MeshInterface&lt;·PATCH_TABLE·&gt;</a></td></tr>104 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01333.html">Scheme&lt;·SCHEME_TYPE·&gt;</a></td></tr>
 105 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a01333.html"·title="Scheme·is·a·class·template·which·provides·all·implementation·for·the·subdivision·schemes·supported·by...">Scheme</a>·is·a·class·template·which·provides·all·implementation·for·the·subdivision·schemes·supported·by·<a·class="el"·href="a00905.html">OpenSubdiv</a>·through·specializations·of·the·methods·of·each.·An·instance·of·Scheme&lt;SCHEME_TYPE&gt;·includes·a·set·of·<a·class="el"·href="a01329.html"·title="All·supported·options·applying·to·subdivision·scheme.">Options</a>·that·will·dictate·the·variable·aspects·of·its·behavior.·<br··/>
 106 ··<a·href="a01333.html#details">More...</a><br·/></td></tr>
111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 108 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01337.html">Scheme&lt;·SCHEME_TYPE·&gt;::LocalMask&lt;·WEIGHT·&gt;</a></td></tr>
112 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01265.html">EvaluatorCacheT&lt;·EVALUATOR·&gt;</a></td></tr> 
113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
114 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01269.html">EvaluatorCacheT&lt;·EVALUATOR·&gt;::Entry</a></td></tr> 
115 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
116 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01273.html">Mesh&lt;·VERTEX_BUFFER,·STENCIL_TABLE,·EVALUATOR,·PATCH_TABLE,·DEVICE_CONTEXT·&gt;</a></td></tr> 
117 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
118 </table><table·class="memberdecls">110 </table><table·class="memberdecls">
119 <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>
120 Namespaces</h2></td></tr>112 Namespaces</h2></td></tr>
121 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>113 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>
122 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
123 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>115 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>
124 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>116 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
125 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>117 <tr·class="memitem:a00913"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00913.html">OpenSubdiv::OPENSUBDIV_VERSION::Sdc</a></td></tr>
126 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>118 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
127 </table><table·class="memberdecls"> 
128 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> 
129 Typedefs</h2></td></tr> 
130 <tr·class="memitem:a85ba9df501aea9af1ec9da1558c255bc"><td·class="memItemLeft"·align="right"·valign="top">typedef·std::bitset&lt;·NUM_MESH_BITS·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#a85ba9df501aea9af1ec9da1558c255bc">MeshBitset</a></td></tr> 
131 <tr·class="separator:a85ba9df501aea9af1ec9da1558c255bc"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
132 </table><table·class="memberdecls"> 
133 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="enum-members"·name="enum-members"></a> 
134 Enumerations</h2></td></tr> 
135 <tr·class="memitem:a1af6b50e9f8ae13d3d2f9d5b03b35492"><td·class="memItemLeft"·align="right"·valign="top">enum·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492">MeshBits</a>·{·<br·/> 
136 &#160;&#160;<a·class="el"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492adef344bcbdd50a1a93136eb53183c718">MeshAdaptive</a>·=·0 
137 ,·<br·/> 
138 &#160;&#160;<a·class="el"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a9313c644b9b2a998bcb55cfcc4582b1a">MeshInterleaveVarying</a>·=·1 
139 ,·<br·/> 
140 &#160;&#160;<a·class="el"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492ac10e41fef659f3b3a1b730319bdedb45">MeshFVarData</a>·=·2 
141 ,·<br·/> 
142 &#160;&#160;<a·class="el"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a9b8a23ab039e120012bc7c622308d603">MeshFVarAdaptive</a>·=·3 
143 ,·<br·/> 
144 &#160;&#160;<a·class="el"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492ab32b8ef595539e14041e2fb0e619e3f9">MeshUseSmoothCornerPatch</a>·=·4 
145 ,·<br·/> 
146 &#160;&#160;<a·class="el"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a9058d69e1089fc77f1974a76c34e2071">MeshUseSingleCreasePatch</a>·=·5 
147 ,·<br·/> 
148 &#160;&#160;<a·class="el"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a8fab1b3018f94b5b2432c7435e795925">MeshUseInfSharpPatch</a>·=·6 
149 ,·<br·/> 
150 &#160;&#160;<a·class="el"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a4124233e4f787f999c7975afceab34f3">MeshEndCapBilinearBasis</a>·=·7 
151 ,·<br·/> 
152 &#160;&#160;<a·class="el"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492aa2f41b6ba0393698bb3af283283737f7">MeshEndCapBSplineBasis</a>·=·8 
153 ,·<br·/> 
154 &#160;&#160;<a·class="el"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492aa2878e1a215530f5f6fb89f1e06f91ee">MeshEndCapGregoryBasis</a>·=·9 
155 ,·<br·/> 
156 &#160;&#160;<a·class="el"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492aad7b3fb2be609abdbfafaf5b1c834158">MeshEndCapLegacyGregory</a>·=·10 
157 ,·<br·/> 
158 &#160;&#160;<a·class="el"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a5676712c77d29cfdd330e2802db1c464">NUM_MESH_BITS</a>·=·11 
159 <br·/> 
160 ·}</td></tr> 
161 <tr·class="separator:a1af6b50e9f8ae13d3d2f9d5b03b35492"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
162 </table><table·class="memberdecls"> 
163 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> 
164 Functions</h2></td></tr> 
165 <tr·class="memitem:a06ceddf21c024b341a5b946049cd701a"><td·class="memTemplParams"·colspan="2">template&lt;typename·STENCIL_TABLE·,·typename·SRC_STENCIL_TABLE·,·typename·DEVICE_CONTEXT·&gt;·</td></tr> 
166 <tr·class="memitem:a06ceddf21c024b341a5b946049cd701a"><td·class="memTemplItemLeft"·align="right"·valign="top">STENCIL_TABLE·const·*&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00912.html#a06ceddf21c024b341a5b946049cd701a">convertToCompatibleStencilTable</a>·(SRC_STENCIL_TABLE·const·*table,·DEVICE_CONTEXT·*context)</td></tr> 
167 <tr·class="separator:a06ceddf21c024b341a5b946049cd701a"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
168 <tr·class="memitem:a33f9830228f847fae1c30c9dffe02b5a"><td·class="memItemLeft"·align="right"·valign="top">template&lt;&gt;·</td></tr> 
169 <tr·class="memitem:a33f9830228f847fae1c30c9dffe02b5a"><td·class="memTemplItemLeft"·align="right"·valign="top">Far::StencilTable·const·*&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00912.html#a33f9830228f847fae1c30c9dffe02b5a">convertToCompatibleStencilTable&lt;·Far::StencilTable,·Far::StencilTable,·void·&gt;</a>·(Far::StencilTable·const·*table,·void·*)</td></tr> 
170 <tr·class="separator:a33f9830228f847fae1c30c9dffe02b5a"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
171 <tr·class="memitem:a4c2520cc1a8a5a03e3f53584629d7318"><td·class="memItemLeft"·align="right"·valign="top">template&lt;&gt;·</td></tr> 
172 <tr·class="memitem:a4c2520cc1a8a5a03e3f53584629d7318"><td·class="memTemplItemLeft"·align="right"·valign="top">Far::LimitStencilTable·const·*&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00912.html#a4c2520cc1a8a5a03e3f53584629d7318">convertToCompatibleStencilTable&lt;·Far::LimitStencilTable,·Far::LimitStencilTable,·void·&gt;</a>·(Far::LimitStencilTable·const·*table,·void·*)</td></tr> 
173 <tr·class="separator:a4c2520cc1a8a5a03e3f53584629d7318"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
174 <tr·class="memitem:ab5753a2b0a0995c8e2259d2c4765f7df"><td·class="memItemLeft"·align="right"·valign="top">template&lt;&gt;·</td></tr> 
175 <tr·class="memitem:ab5753a2b0a0995c8e2259d2c4765f7df"><td·class="memTemplItemLeft"·align="right"·valign="top">Far::StencilTable·const·*&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00912.html#ab5753a2b0a0995c8e2259d2c4765f7df">convertToCompatibleStencilTable&lt;·Far::StencilTable,·Far::StencilTable,·ID3D11DeviceContext·&gt;</a>·(Far::StencilTable·const·*table,·ID3D11DeviceContext·*)</td></tr> 
176 <tr·class="separator:ab5753a2b0a0995c8e2259d2c4765f7df"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
177 </table>119 </table>
178 </div><!--·contents·-->120 </div><!--·contents·-->
179 </div><!--·doc-content·-->121 </div><!--·doc-content·-->
180 <!--·start·footer·part·-->122 <!--·start·footer·part·-->
181 <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!·-->
182 ··<ul>124 ··<ul>
183 ····<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="a00887.html">mesh.h</a></li>125 ····<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="a00887.html">scheme.h</a></li>
184 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>126 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
185 ··</ul>127 ··</ul>
186 </div>128 </div>
Max diff block lines reached; 9/13417 bytes (0.07%) of diff not shown.
3.22 KB
html2text {}
    
Offset 4, 83 lines modifiedOffset 4, 38 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 Classes·|·Namespaces·|·Typedefs·|·Enumerations·|·Functions5 Classes·|·Namespaces
6 mesh.h·File·Reference6 scheme.h·File·Reference
7 #include·"../version.h"7 #include·"../version.h"
8 #include·<bitset>8 #include·"../sdc/types.h"
 9 #include·"../sdc/options.h"
 10 #include·"../sdc/crease.h"
9 #include·<cassert>11 #include·<cassert>
10 #include·<cstring>12 #include·<cstdlib>
11 #include·<vector>13 #include·<vector>
12 #include·"../far/topologyRefiner.h" 
13 #include·"../far/patchTableFactory.h" 
14 #include·"../far/stencilTable.h" 
15 #include·"../far/stencilTableFactory.h" 
16 #include·"../osd/bufferDescriptor.h" 
17 Go_to_the_source_code_of_this_file.14 Go_to_the_source_code_of_this_file.
18 ·Classes15 ·Classes
19 ·class· MeshInterface<_PATCH_TABLE_>16 class· Scheme<_SCHEME_TYPE_>
 17 ········Scheme·is·a·class·template·which·provides·all·implementation·for·the
 18 ········subdivision·schemes·supported·by·OpenSubdiv·through·specializations·of
 19  ······the·methods·of·each.·An·instance·of·Scheme<SCHEME_TYPE>·includes·a·set
 20 ········of·Options·that·will·dictate·the·variable·aspects·of·its·behavior.
 21 ········More...
20  22  
 23 class· Scheme<_SCHEME_TYPE_>::LocalMask<_WEIGHT_>
21 ·class· EvaluatorCacheT<_EVALUATOR_> 
22   
23 struct· EvaluatorCacheT<_EVALUATOR_>::Entry 
24   
25 ·class· Mesh<_VERTEX_BUFFER,_STENCIL_TABLE,_EVALUATOR,_PATCH_TABLE, 
26 ·········DEVICE_CONTEXT_> 
27  24  
28 ·Namespaces25 ·Namespaces
29 namespace· OpenSubdiv26 namespace· OpenSubdiv
30  27  
31 namespace· OpenSubdiv::OPENSUBDIV_VERSION28 namespace· OpenSubdiv::OPENSUBDIV_VERSION
32  29  
33 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd30 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Sdc
34   
35 ·Typedefs 
36 typedef·std::bitset<·NUM_MESH_BITS·> MeshBitset 
37   
38 ·Enumerations 
39 enum· MeshBits·{ 
40 ·······  MeshAdaptive·=·0·, 
41 ·······  MeshInterleaveVarying·=·1·, 
42 ·······  MeshFVarData·=·2·, 
43 ·······  MeshFVarAdaptive·=·3·, 
44 ·······  MeshUseSmoothCornerPatch·=·4·, 
45 ·······  MeshUseSingleCreasePatch·=·5·, 
46 ·······  MeshUseInfSharpPatch·=·6·, 
47 ·······  MeshEndCapBilinearBasis·=·7·, 
48 ·······  MeshEndCapBSplineBasis·=·8·, 
49 ·······  MeshEndCapGregoryBasis·=·9·, 
50 ·······  MeshEndCapLegacyGregory·=·10·, 
51 ·······  NUM_MESH_BITS·=·11 
52 ·······} 
53   
54 ·Functions 
55 template<typename·STENCIL_TABLE·,·typename·SRC_STENCIL_TABLE·,·typename 
56 DEVICE_CONTEXT·> 
57 ·········STENCIL_TABLE·const·* convertToCompatibleStencilTable 
58 ································(SRC_STENCIL_TABLE·const·*table,·DEVICE_CONTEXT 
59 ································*context) 
60   
61 ·····················template<> 
62 ·····Far::StencilTable·const·* convertToCompatibleStencilTable<_Far:: 
63 ································StencilTable,_Far::StencilTable,_void_>·(Far:: 
64 ································StencilTable·const·*table,·void·*) 
65   
66 ·····················template<> 
67 Far::LimitStencilTable·const·* convertToCompatibleStencilTable<_Far:: 
68 ································LimitStencilTable,_Far::LimitStencilTable,_void 
69 ································>·(Far::LimitStencilTable·const·*table,·void·*) 
70   
71 ·····················template<> 
72 ·····Far::StencilTable·const·* convertToCompatibleStencilTable<_Far:: 
73 ································StencilTable,_Far::StencilTable, 
74 ································ID3D11DeviceContext_>·(Far::StencilTable·const 
75 ································*table,·ID3D11DeviceContext·*) 
76  31  
77 ····*·opensubdiv32 ····*·opensubdiv
78 ····*·osd33 ····*·sdc
79 ····*·mesh.h34 ····*·scheme.h
80 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.435 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
2.71 KB
./usr/share/doc/opensubdiv/doxy_html/a00887.js
2.62 KB
js-beautify {}
    
Offset 1, 25 lines modifiedOffset 1, 4 lines modified
1 var·a00887·=·[1 var·a00887·=·[
 2 ····["Scheme<·SCHEME_TYPE·>",·"a01333.html",·"a01333"],
 3 ····["Scheme<·SCHEME_TYPE·>::LocalMask<·WEIGHT·>",·"a01337.html",·"a01337"]
2 ····["MeshInterface<·PATCH_TABLE·>",·"a01261.html",·"a01261"], 
3 ····["EvaluatorCacheT<·EVALUATOR·>",·"a01265.html",·"a01265"], 
4 ····["EvaluatorCacheT<·EVALUATOR·>::Entry",·"a01269.html",·"a01269"], 
5 ····["Mesh<·VERTEX_BUFFER,·STENCIL_TABLE,·EVALUATOR,·PATCH_TABLE,·DEVICE_CONTEXT·>",·"a01273.html",·"a01273"], 
6 ····["MeshBitset",·"a00887.html#a85ba9df501aea9af1ec9da1558c255bc",·null], 
7 ····["MeshBits",·"a00887.html#a1af6b50e9f8ae13d3d2f9d5b03b35492",·[ 
8 ········["MeshAdaptive",·"a00887.html#a1af6b50e9f8ae13d3d2f9d5b03b35492adef344bcbdd50a1a93136eb53183c718",·null], 
9 ········["MeshInterleaveVarying",·"a00887.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a9313c644b9b2a998bcb55cfcc4582b1a",·null], 
10 ········["MeshFVarData",·"a00887.html#a1af6b50e9f8ae13d3d2f9d5b03b35492ac10e41fef659f3b3a1b730319bdedb45",·null], 
11 ········["MeshFVarAdaptive",·"a00887.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a9b8a23ab039e120012bc7c622308d603",·null], 
12 ········["MeshUseSmoothCornerPatch",·"a00887.html#a1af6b50e9f8ae13d3d2f9d5b03b35492ab32b8ef595539e14041e2fb0e619e3f9",·null], 
13 ········["MeshUseSingleCreasePatch",·"a00887.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a9058d69e1089fc77f1974a76c34e2071",·null], 
14 ········["MeshUseInfSharpPatch",·"a00887.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a8fab1b3018f94b5b2432c7435e795925",·null], 
15 ········["MeshEndCapBilinearBasis",·"a00887.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a4124233e4f787f999c7975afceab34f3",·null], 
16 ········["MeshEndCapBSplineBasis",·"a00887.html#a1af6b50e9f8ae13d3d2f9d5b03b35492aa2f41b6ba0393698bb3af283283737f7",·null], 
17 ········["MeshEndCapGregoryBasis",·"a00887.html#a1af6b50e9f8ae13d3d2f9d5b03b35492aa2878e1a215530f5f6fb89f1e06f91ee",·null], 
18 ········["MeshEndCapLegacyGregory",·"a00887.html#a1af6b50e9f8ae13d3d2f9d5b03b35492aad7b3fb2be609abdbfafaf5b1c834158",·null], 
19 ········["NUM_MESH_BITS",·"a00887.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a5676712c77d29cfdd330e2802db1c464",·null] 
20 ····]], 
21 ····["convertToCompatibleStencilTable",·"a00887.html#a06ceddf21c024b341a5b946049cd701a",·null], 
22 ····["convertToCompatibleStencilTable<·Far::LimitStencilTable,·Far::LimitStencilTable,·void·>",·"a00887.html#a4c2520cc1a8a5a03e3f53584629d7318",·null], 
23 ····["convertToCompatibleStencilTable<·Far::StencilTable,·Far::StencilTable,·ID3D11DeviceContext·>",·"a00887.html#ab5753a2b0a0995c8e2259d2c4765f7df",·null], 
24 ····["convertToCompatibleStencilTable<·Far::StencilTable,·Far::StencilTable,·void·>",·"a00887.html#a33f9830228f847fae1c30c9dffe02b5a",·null] 
25 ];4 ];
1.35 MB
./usr/share/doc/opensubdiv/doxy_html/a00887_source.html
    
Offset 21, 11096 lines modifiedOffset 21, 8403 lines modified
00000140:·6f6e·7465·6e74·3d22·446f·7879·6765·6e20··ontent="Doxygen·00000140:·6f6e·7465·6e74·3d22·446f·7879·6765·6e20··ontent="Doxygen·
00000150:·312e·392e·3422·2f3e·0a3c·6d65·7461·206e··1.9.4"/>.<meta·n00000150:·312e·392e·3422·2f3e·0a3c·6d65·7461·206e··1.9.4"/>.<meta·n
00000160:·616d·653d·2276·6965·7770·6f72·7422·2063··ame="viewport"·c00000160:·616d·653d·2276·6965·7770·6f72·7422·2063··ame="viewport"·c
00000170:·6f6e·7465·6e74·3d22·7769·6474·683d·6465··ontent="width=de00000170:·6f6e·7465·6e74·3d22·7769·6474·683d·6465··ontent="width=de
00000180:·7669·6365·2d77·6964·7468·2c20·696e·6974··vice-width,·init00000180:·7669·6365·2d77·6964·7468·2c20·696e·6974··vice-width,·init
00000190:·6961·6c2d·7363·616c·653d·3122·2f3e·0a3c··ial-scale=1"/>.<00000190:·6961·6c2d·7363·616c·653d·3122·2f3e·0a3c··ial-scale=1"/>.<
Diff chunk too large, falling back to line-by-line diff (599 lines added, 599 lines removed)
000001a0:·7469·746c·653e·4f70·656e·5375·6264·6976··title>OpenSubdiv000001a0:·7469·746c·653e·4f70·656e·5375·6264·6976··title>OpenSubdiv
000001b0:·3a20·6f70·656e·7375·6264·6976·2f6f·7364··:·opensubdiv/osd000001b0:·3a20·6f70·656e·7375·6264·6976·2f73·6463··:·opensubdiv/sdc
000001c0:·2f6d·6573·682e·6820·536f·7572·6365·2046··/mesh.h·Source·F000001c0:·2f73·6368·656d·652e·6820·536f·7572·6365··/scheme.h·Source
000001d0:·696c·653c·2f74·6974·6c65·3e0a·3c6c·696e··ile</title>.<lin000001d0:·2046·696c·653c·2f74·6974·6c65·3e0a·3c6c···File</title>.<l
000001e0:·6b20·6872·6566·3d22·7461·6273·2e63·7373··k·href="tabs.css000001e0:·696e·6b20·6872·6566·3d22·7461·6273·2e63··ink·href="tabs.c
000001f0:·2220·7265·6c3d·2273·7479·6c65·7368·6565··"·rel="styleshee000001f0:·7373·2220·7265·6c3d·2273·7479·6c65·7368··ss"·rel="stylesh
00000200:·7422·2074·7970·653d·2274·6578·742f·6373··t"·type="text/cs00000200:·6565·7422·2074·7970·653d·2274·6578·742f··eet"·type="text/
00000210:·7322·2f3e·0a3c·7363·7269·7074·2074·7970··s"/>.<script·typ00000210:·6373·7322·2f3e·0a3c·7363·7269·7074·2074··css"/>.<script·t
00000220:·653d·2274·6578·742f·6a61·7661·7363·7269··e="text/javascri00000220:·7970·653d·2274·6578·742f·6a61·7661·7363··ype="text/javasc
00000230:·7074·2220·7372·633d·226a·7175·6572·792e··pt"·src="jquery.00000230:·7269·7074·2220·7372·633d·226a·7175·6572··ript"·src="jquer
00000240:·6a73·223e·3c2f·7363·7269·7074·3e0a·3c73··js"></script>.<s00000240:·792e·6a73·223e·3c2f·7363·7269·7074·3e0a··y.js"></script>.
00000250:·6372·6970·7420·7479·7065·3d22·7465·7874··cript·type="text00000250:·3c73·6372·6970·7420·7479·7065·3d22·7465··<script·type="te
00000260:·2f6a·6176·6173·6372·6970·7422·2073·7263··/javascript"·src00000260:·7874·2f6a·6176·6173·6372·6970·7422·2073··xt/javascript"·s
00000270:·3d22·6479·6e73·6563·7469·6f6e·732e·6a73··="dynsections.js00000270:·7263·3d22·6479·6e73·6563·7469·6f6e·732e··rc="dynsections.
00000280:·223e·3c2f·7363·7269·7074·3e0a·3c6c·696e··"></script>.<lin00000280:·6a73·223e·3c2f·7363·7269·7074·3e0a·3c6c··js"></script>.<l
00000290:·6b20·6872·6566·3d22·6e61·7674·7265·652e··k·href="navtree.00000290:·696e·6b20·6872·6566·3d22·6e61·7674·7265··ink·href="navtre
000002a0:·6373·7322·2072·656c·3d22·7374·796c·6573··css"·rel="styles000002a0:·652e·6373·7322·2072·656c·3d22·7374·796c··e.css"·rel="styl
000002b0:·6865·6574·2220·7479·7065·3d22·7465·7874··heet"·type="text000002b0:·6573·6865·6574·2220·7479·7065·3d22·7465··esheet"·type="te
000002c0:·2f63·7373·222f·3e0a·3c73·6372·6970·7420··/css"/>.<script·000002c0:·7874·2f63·7373·222f·3e0a·3c73·6372·6970··xt/css"/>.<scrip
000002d0:·7479·7065·3d22·7465·7874·2f6a·6176·6173··type="text/javas000002d0:·7420·7479·7065·3d22·7465·7874·2f6a·6176··t·type="text/jav
000002e0:·6372·6970·7422·2073·7263·3d22·7265·7369··cript"·src="resi000002e0:·6173·6372·6970·7422·2073·7263·3d22·7265··ascript"·src="re
000002f0:·7a65·2e6a·7322·3e3c·2f73·6372·6970·743e··ze.js"></script>000002f0:·7369·7a65·2e6a·7322·3e3c·2f73·6372·6970··size.js"></scrip
00000300:·0a3c·7363·7269·7074·2074·7970·653d·2274··.<script·type="t00000300:·743e·0a3c·7363·7269·7074·2074·7970·653d··t>.<script·type=
00000310:·6578·742f·6a61·7661·7363·7269·7074·2220··ext/javascript"·00000310:·2274·6578·742f·6a61·7661·7363·7269·7074··"text/javascript
00000320:·7372·633d·226e·6176·7472·6565·6461·7461··src="navtreedata00000320:·2220·7372·633d·226e·6176·7472·6565·6461··"·src="navtreeda
00000330:·2e6a·7322·3e3c·2f73·6372·6970·743e·0a3c··.js"></script>.<00000330:·7461·2e6a·7322·3e3c·2f73·6372·6970·743e··ta.js"></script>
00000340:·7363·7269·7074·2074·7970·653d·2274·6578··script·type="tex00000340:·0a3c·7363·7269·7074·2074·7970·653d·2274··.<script·type="t
00000350:·742f·6a61·7661·7363·7269·7074·2220·7372··t/javascript"·sr00000350:·6578·742f·6a61·7661·7363·7269·7074·2220··ext/javascript"·
00000360:·633d·226e·6176·7472·6565·2e6a·7322·3e3c··c="navtree.js"><00000360:·7372·633d·226e·6176·7472·6565·2e6a·7322··src="navtree.js"
00000370:·2f73·6372·6970·743e·0a3c·6c69·6e6b·2068··/script>.<link·h00000370:·3e3c·2f73·6372·6970·743e·0a3c·6c69·6e6b··></script>.<link
00000380:·7265·663d·2273·6561·7263·682f·7365·6172··ref="search/sear00000380:·2068·7265·663d·2273·6561·7263·682f·7365···href="search/se
00000390:·6368·2e63·7373·2220·7265·6c3d·2273·7479··ch.css"·rel="sty00000390:·6172·6368·2e63·7373·2220·7265·6c3d·2273··arch.css"·rel="s
000003a0:·6c65·7368·6565·7422·2074·7970·653d·2274··lesheet"·type="t000003a0:·7479·6c65·7368·6565·7422·2074·7970·653d··tylesheet"·type=
000003b0:·6578·742f·6373·7322·2f3e·0a3c·7363·7269··ext/css"/>.<scri000003b0:·2274·6578·742f·6373·7322·2f3e·0a3c·7363··"text/css"/>.<sc
000003c0:·7074·2074·7970·653d·2274·6578·742f·6a61··pt·type="text/ja000003c0:·7269·7074·2074·7970·653d·2274·6578·742f··ript·type="text/
000003d0:·7661·7363·7269·7074·2220·7372·633d·2273··vascript"·src="s000003d0:·6a61·7661·7363·7269·7074·2220·7372·633d··javascript"·src=
000003e0:·6561·7263·682f·7365·6172·6368·6461·7461··earch/searchdata000003e0:·2273·6561·7263·682f·7365·6172·6368·6461··"search/searchda
000003f0:·2e6a·7322·3e3c·2f73·6372·6970·743e·0a3c··.js"></script>.<000003f0:·7461·2e6a·7322·3e3c·2f73·6372·6970·743e··ta.js"></script>
00000400:·7363·7269·7074·2074·7970·653d·2274·6578··script·type="tex00000400:·0a3c·7363·7269·7074·2074·7970·653d·2274··.<script·type="t
00000410:·742f·6a61·7661·7363·7269·7074·2220·7372··t/javascript"·sr00000410:·6578·742f·6a61·7661·7363·7269·7074·2220··ext/javascript"·
00000420:·633d·2273·6561·7263·682f·7365·6172·6368··c="search/search00000420:·7372·633d·2273·6561·7263·682f·7365·6172··src="search/sear
00000430:·2e6a·7322·3e3c·2f73·6372·6970·743e·0a3c··.js"></script>.<00000430:·6368·2e6a·7322·3e3c·2f73·6372·6970·743e··ch.js"></script>
00000440:·6c69·6e6b·2068·7265·663d·2264·6f78·7967··link·href="doxyg00000440:·0a3c·6c69·6e6b·2068·7265·663d·2264·6f78··.<link·href="dox
00000450:·656e·2e63·7373·2220·7265·6c3d·2273·7479··en.css"·rel="sty00000450:·7967·656e·2e63·7373·2220·7265·6c3d·2273··ygen.css"·rel="s
00000460:·6c65·7368·6565·7422·2074·7970·653d·2274··lesheet"·type="t00000460:·7479·6c65·7368·6565·7422·2074·7970·653d··tylesheet"·type=
00000470:·6578·742f·6373·7322·202f·3e0a·3c6c·696e··ext/css"·/>.<lin00000470:·2274·6578·742f·6373·7322·202f·3e0a·3c6c··"text/css"·/>.<l
00000480:·6b20·6872·6566·3d22·646f·7879·2e63·7373··k·href="doxy.css00000480:·696e·6b20·6872·6566·3d22·646f·7879·2e63··ink·href="doxy.c
00000490:·2220·7265·6c3d·2273·7479·6c65·7368·6565··"·rel="styleshee00000490:·7373·2220·7265·6c3d·2273·7479·6c65·7368··ss"·rel="stylesh
000004a0:·7422·2074·7970·653d·2274·6578·742f·6373··t"·type="text/cs000004a0:·6565·7422·2074·7970·653d·2274·6578·742f··eet"·type="text/
000004b0:·7322·2f3e·0a3c·2f68·6561·643e·0a3c·626f··s"/>.</head>.<bo000004b0:·6373·7322·2f3e·0a3c·2f68·6561·643e·0a3c··css"/>.</head>.<
000004c0:·6479·3e0a·3c64·6976·2069·643d·2274·6f70··dy>.<div·id="top000004c0:·626f·6479·3e0a·3c64·6976·2069·643d·2274··body>.<div·id="t
000004d0:·223e·3c21·2d2d·2064·6f20·6e6f·7420·7265··"><!--·do·not·re000004d0:·6f70·223e·3c21·2d2d·2064·6f20·6e6f·7420··op"><!--·do·not·
000004e0:·6d6f·7665·2074·6869·7320·6469·762c·2069··move·this·div,·i000004e0:·7265·6d6f·7665·2074·6869·7320·6469·762c··remove·this·div,
000004f0:·7420·6973·2063·6c6f·7365·6420·6279·2064··t·is·closed·by·d000004f0:·2069·7420·6973·2063·6c6f·7365·6420·6279···it·is·closed·by
00000500:·6f78·7967·656e·2120·2d2d·3e0a·3c64·6976··oxygen!·-->.<div00000500:·2064·6f78·7967·656e·2120·2d2d·3e0a·3c64···doxygen!·-->.<d
00000510:·2069·643d·2274·6974·6c65·6172·6561·223e···id="titlearea">00000510:·6976·2069·643d·2274·6974·6c65·6172·6561··iv·id="titlearea
00000520:·0a3c·7461·626c·6520·6365·6c6c·7370·6163··.<table·cellspac00000520:·223e·0a3c·7461·626c·6520·6365·6c6c·7370··">.<table·cellsp
00000530:·696e·673d·2230·2220·6365·6c6c·7061·6464··ing="0"·cellpadd00000530:·6163·696e·673d·2230·2220·6365·6c6c·7061··acing="0"·cellpa
00000540:·696e·673d·2230·223e·0a20·3c74·626f·6479··ing="0">.·<tbody00000540:·6464·696e·673d·2230·223e·0a20·3c74·626f··dding="0">.·<tbo
00000550:·3e0a·203c·7472·2069·643d·2270·726f·6a65··>.·<tr·id="proje00000550:·6479·3e0a·203c·7472·2069·643d·2270·726f··dy>.·<tr·id="pro
00000560:·6374·726f·7722·3e0a·2020·3c74·6420·6964··ctrow">.··<td·id00000560:·6a65·6374·726f·7722·3e0a·2020·3c74·6420··jectrow">.··<td·
00000570:·3d22·7072·6f6a·6563·746c·6f67·6f22·3e3c··="projectlogo"><00000570:·6964·3d22·7072·6f6a·6563·746c·6f67·6f22··id="projectlogo"
00000580:·696d·6720·616c·743d·224c·6f67·6f22·2073··img·alt="Logo"·s00000580:·3e3c·696d·6720·616c·743d·224c·6f67·6f22··><img·alt="Logo"
00000590:·7263·3d22·6f70·656e·7375·6264·6976·5f6c··rc="opensubdiv_l00000590:·2073·7263·3d22·6f70·656e·7375·6264·6976···src="opensubdiv
000005a0:·6f67·6f5f·6865·6164·6572·2e70·6e67·222f··ogo_header.png"/000005a0:·5f6c·6f67·6f5f·6865·6164·6572·2e70·6e67··_logo_header.png
000005b0:·3e3c·2f74·643e·0a20·203c·7464·2069·643d··></td>.··<td·id=000005b0:·222f·3e3c·2f74·643e·0a20·203c·7464·2069··"/></td>.··<td·i
000005c0:·2270·726f·6a65·6374·616c·6967·6e22·3e0a··"projectalign">.000005c0:·643d·2270·726f·6a65·6374·616c·6967·6e22··d="projectalign"
000005d0:·2020·203c·6469·7620·6964·3d22·7072·6f6a·····<div·id="proj000005d0:·3e0a·2020·203c·6469·7620·6964·3d22·7072··>.···<div·id="pr
000005e0:·6563·746e·616d·6522·3e4f·7065·6e53·7562··ectname">OpenSub000005e0:·6f6a·6563·746e·616d·6522·3e4f·7065·6e53··ojectname">OpenS
000005f0:·6469·760a·2020·203c·2f64·6976·3e0a·2020··div.···</div>.··000005f0:·7562·6469·760a·2020·203c·2f64·6976·3e0a··ubdiv.···</div>.
00000600:·3c2f·7464·3e0a·203c·2f74·723e·0a20·3c2f··</td>.·</tr>.·</00000600:·2020·3c2f·7464·3e0a·203c·2f74·723e·0a20····</td>.·</tr>.·
00000610:·7462·6f64·793e·0a3c·2f74·6162·6c65·3e0a··tbody>.</table>.00000610:·3c2f·7462·6f64·793e·0a3c·2f74·6162·6c65··</tbody>.</table
00000620:·3c2f·6469·763e·0a3c·212d·2d20·656e·6420··</div>.<!--·end·00000620:·3e0a·3c2f·6469·763e·0a3c·212d·2d20·656e··>.</div>.<!--·en
00000630:·6865·6164·6572·2070·6172·7420·2d2d·3e0a··header·part·-->.00000630:·6420·6865·6164·6572·2070·6172·7420·2d2d··d·header·part·--
00000640:·3c21·2d2d·2047·656e·6572·6174·6564·2062··<!--·Generated·b00000640:·3e0a·3c21·2d2d·2047·656e·6572·6174·6564··>.<!--·Generated
00000650:·7920·446f·7879·6765·6e20·312e·392e·3420··y·Doxygen·1.9.4·00000650:·2062·7920·446f·7879·6765·6e20·312e·392e···by·Doxygen·1.9.
00000660:·2d2d·3e0a·3c73·6372·6970·7420·7479·7065··-->.<script·type00000660:·3420·2d2d·3e0a·3c73·6372·6970·7420·7479··4·-->.<script·ty
00000670:·3d22·7465·7874·2f6a·6176·6173·6372·6970··="text/javascrip00000670:·7065·3d22·7465·7874·2f6a·6176·6173·6372··pe="text/javascr
00000680:·7422·3e0a·2f2a·2040·6c69·6365·6e73·6520··t">./*·@license·00000680:·6970·7422·3e0a·2f2a·2040·6c69·6365·6e73··ipt">./*·@licens
00000690:·6d61·676e·6574·3a3f·7874·3d75·726e·3a62··magnet:?xt=urn:b00000690:·6520·6d61·676e·6574·3a3f·7874·3d75·726e··e·magnet:?xt=urn
000006a0:·7469·683a·6433·6439·6139·6136·3539·3535··tih:d3d9a9a65955000006a0:·3a62·7469·683a·6433·6439·6139·6136·3539··:btih:d3d9a9a659
000006b0:·3231·6639·3636·3661·3565·3934·6363·3833··21f9666a5e94cc83000006b0:·3535·3231·6639·3636·3661·3565·3934·6363··5521f9666a5e94cc
000006c0:·3064·6162·3833·6236·3536·3939·2661·6d70··0dab83b65699&amp000006c0:·3833·3064·6162·3833·6236·3536·3939·2661··830dab83b65699&a
000006d0:·3b64·6e3d·6578·7061·742e·7478·7420·4d49··;dn=expat.txt·MI000006d0:·6d70·3b64·6e3d·6578·7061·742e·7478·7420··mp;dn=expat.txt·
000006e0:·5420·2a2f·0a76·6172·2073·6561·7263·6842··T·*/.var·searchB000006e0:·4d49·5420·2a2f·0a76·6172·2073·6561·7263··MIT·*/.var·searc
000006f0:·6f78·203d·206e·6577·2053·6561·7263·6842··ox·=·new·SearchB000006f0:·6842·6f78·203d·206e·6577·2053·6561·7263··hBox·=·new·Searc
00000700:·6f78·2822·7365·6172·6368·426f·7822·2c20··ox("searchBox",·00000700:·6842·6f78·2822·7365·6172·6368·426f·7822··hBox("searchBox"
00000710:·2273·6561·7263·6822·2c27·5365·6172·6368··"search",'Search00000710:·2c20·2273·6561·7263·6822·2c27·5365·6172··,·"search",'Sear
00000720:·272c·272e·6874·6d6c·2729·3b0a·2f2a·2040··','.html');./*·@00000720:·6368·272c·272e·6874·6d6c·2729·3b0a·2f2a··ch','.html');./*
00000730:·6c69·6365·6e73·652d·656e·6420·2a2f·0a3c··license-end·*/.<00000730:·2040·6c69·6365·6e73·652d·656e·6420·2a2f···@license-end·*/
00000740:·2f73·6372·6970·743e·0a3c·7363·7269·7074··/script>.<script00000740:·0a3c·2f73·6372·6970·743e·0a3c·7363·7269··.</script>.<scri
00000750:·2074·7970·653d·2274·6578·742f·6a61·7661···type="text/java00000750:·7074·2074·7970·653d·2274·6578·742f·6a61··pt·type="text/ja
00000760:·7363·7269·7074·2220·7372·633d·226d·656e··script"·src="men00000760:·7661·7363·7269·7074·2220·7372·633d·226d··vascript"·src="m
00000770:·7564·6174·612e·6a73·223e·3c2f·7363·7269··udata.js"></scri00000770:·656e·7564·6174·612e·6a73·223e·3c2f·7363··enudata.js"></sc
00000780:·7074·3e0a·3c73·6372·6970·7420·7479·7065··pt>.<script·type00000780:·7269·7074·3e0a·3c73·6372·6970·7420·7479··ript>.<script·ty
00000790:·3d22·7465·7874·2f6a·6176·6173·6372·6970··="text/javascrip00000790:·7065·3d22·7465·7874·2f6a·6176·6173·6372··pe="text/javascr
000007a0:·7422·2073·7263·3d22·6d65·6e75·2e6a·7322··t"·src="menu.js"000007a0:·6970·7422·2073·7263·3d22·6d65·6e75·2e6a··ipt"·src="menu.j
000007b0:·3e3c·2f73·6372·6970·743e·0a3c·7363·7269··></script>.<scri000007b0:·7322·3e3c·2f73·6372·6970·743e·0a3c·7363··s"></script>.<sc
000007c0:·7074·2074·7970·653d·2274·6578·742f·6a61··pt·type="text/ja000007c0:·7269·7074·2074·7970·653d·2274·6578·742f··ript·type="text/
000007d0:·7661·7363·7269·7074·223e·0a2f·2a20·406c··vascript">./*·@l000007d0:·6a61·7661·7363·7269·7074·223e·0a2f·2a20··javascript">./*·
000007e0:·6963·656e·7365·206d·6167·6e65·743a·3f78··icense·magnet:?x000007e0:·406c·6963·656e·7365·206d·6167·6e65·743a··@license·magnet:
000007f0:·743d·7572·6e3a·6274·6968·3a64·3364·3961··t=urn:btih:d3d9a000007f0:·3f78·743d·7572·6e3a·6274·6968·3a64·3364··?xt=urn:btih:d3d
00000800:·3961·3635·3935·3532·3166·3936·3636·6135··9a6595521f9666a500000800:·3961·3961·3635·3935·3532·3166·3936·3636··9a9a6595521f9666
00000810:·6539·3463·6338·3330·6461·6238·3362·3635··e94cc830dab83b6500000810:·6135·6539·3463·6338·3330·6461·6238·3362··a5e94cc830dab83b
00000820:·3639·3926·616d·703b·646e·3d65·7870·6174··699&amp;dn=expat00000820:·3635·3639·3926·616d·703b·646e·3d65·7870··65699&amp;dn=exp
00000830:·2e74·7874·204d·4954·202a·2f0a·2428·6675··.txt·MIT·*/.$(fu00000830:·6174·2e74·7874·204d·4954·202a·2f0a·2428··at.txt·MIT·*/.$(
00000840:·6e63·7469·6f6e·2829·207b·0a20·2069·6e69··nction()·{.··ini00000840:·6675·6e63·7469·6f6e·2829·207b·0a20·2069··function()·{.··i
00000850:·744d·656e·7528·2727·2c74·7275·652c·6661··tMenu('',true,fa00000850:·6e69·744d·656e·7528·2727·2c74·7275·652c··nitMenu('',true,
00000860:·6c73·652c·2773·6561·7263·682e·7068·7027··lse,'search.php'00000860:·6661·6c73·652c·2773·6561·7263·682e·7068··false,'search.ph
00000870:·2c27·5365·6172·6368·2729·3b0a·2020·2428··,'Search');.··$(00000870:·7027·2c27·5365·6172·6368·2729·3b0a·2020··p','Search');.··
00000880:·646f·6375·6d65·6e74·292e·7265·6164·7928··document).ready(00000880:·2428·646f·6375·6d65·6e74·292e·7265·6164··$(document).read
00000890:·6675·6e63·7469·6f6e·2829·207b·2069·6e69··function()·{·ini00000890:·7928·6675·6e63·7469·6f6e·2829·207b·2069··y(function()·{·i
000008a0:·745f·7365·6172·6368·2829·3b20·7d29·3b0a··t_search();·});.000008a0:·6e69·745f·7365·6172·6368·2829·3b20·7d29··nit_search();·})
000008b0:·7d29·3b0a·2f2a·2040·6c69·6365·6e73·652d··});./*·@license-000008b0:·3b0a·7d29·3b0a·2f2a·2040·6c69·6365·6e73··;.});./*·@licens
000008c0:·656e·6420·2a2f·0a3c·2f73·6372·6970·743e··end·*/.</script>000008c0:·652d·656e·6420·2a2f·0a3c·2f73·6372·6970··e-end·*/.</scrip
000008d0:·0a3c·6469·7620·6964·3d22·6d61·696e·2d6e··.<div·id="main-n000008d0:·743e·0a3c·6469·7620·6964·3d22·6d61·696e··t>.<div·id="main
000008e0:·6176·223e·3c2f·6469·763e·0a3c·2f64·6976··av"></div>.</div000008e0:·2d6e·6176·223e·3c2f·6469·763e·0a3c·2f64··-nav"></div>.</d
000008f0:·3e3c·212d·2d20·746f·7020·2d2d·3e0a·3c64··><!--·top·-->.<d000008f0:·6976·3e3c·212d·2d20·746f·7020·2d2d·3e0a··iv><!--·top·-->.
00000900:·6976·2069·643d·2273·6964·652d·6e61·7622··iv·id="side-nav"00000900:·3c64·6976·2069·643d·2273·6964·652d·6e61··<div·id="side-na
00000910:·2063·6c61·7373·3d22·7569·2d72·6573·697a···class="ui-resiz00000910:·7622·2063·6c61·7373·3d22·7569·2d72·6573··v"·class="ui-res
Max diff block lines reached; 1261018/1344257 bytes (93.81%) of diff not shown.
69.6 KB
html2text {}
    
Offset 4, 18 lines modifiedOffset 4, 18 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 mesh.h5 scheme.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2013·Pixar8 ·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·in11 ·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·trade15 ·9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade
Offset 29, 1078 lines modifiedOffset 29, 851 lines modified
29 ·17//29 ·17//
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·24 
37 ·25#ifndef·OPENSUBDIV3_OSD_MESH_H36 ·24#ifndef·OPENSUBDIV3_SDC_SCHEME_H
38 ·26#define·OPENSUBDIV3_OSD_MESH_H37 ·25#define·OPENSUBDIV3_SDC_SCHEME_H
39 ·2738 ·26
40 ·28#include·"../version.h"39 ·27#include·"../version.h"
41 ·29 
42 ·30#include·<bitset>40 ·28
 41 ·29#include·"../sdc/types.h"
 42 ·30#include·"../sdc/options.h"
 43 ·31#include·"../sdc/crease.h"
 44 ·32
43 ·31#include·<cassert>45 ·33#include·<cassert>
44 ·32#include·<cstring>46 ·34#include·<cstdlib>
45 ·33#include·<vector>47 ·35#include·<vector>
 48 ·36
 49 ·37namespace·OpenSubdiv·{
 50 ·38namespace·OPENSUBDIV_VERSION·{
46 ·34 
47 ·35#include·"../far/topologyRefiner.h" 
48 ·36#include·"../far/patchTableFactory.h" 
49 ·37#include·"../far/stencilTable.h" 
50 ·38#include·"../far/stencilTableFactory.h" 
51 ·3951 ·39
52 ·40#include·"../osd/bufferDescriptor.h"52 ·40namespace·Sdc·{
53 ·4153 ·41
 54 ·65template·<SchemeType·SCHEME_TYPE>
 55 66class·Scheme·{
 56 ·67
54 ·42struct·ID3D11DeviceContext; 
55 ·43 
56 ·44namespace·OpenSubdiv·{ 
57 ·45namespace·OPENSUBDIV_VERSION·{ 
58 ·46 
59 ·47namespace·Osd·{ 
60 ·48 
61 49enum·MeshBits·{ 
62 50·MeshAdaptive·=·0, 
63 51·MeshInterleaveVarying·=·1, 
64 52·MeshFVarData·=·2, 
65 53·MeshFVarAdaptive·=·3, 
66 54·MeshUseSmoothCornerPatch·=·4, 
67 55·MeshUseSingleCreasePatch·=·5, 
68 56·MeshUseInfSharpPatch·=·6, 
69 57·MeshEndCapBilinearBasis·=·7,·//·exclusive 
70 58·MeshEndCapBSplineBasis·=·8,·//·exclusive 
71 59·MeshEndCapGregoryBasis·=·9,·//·exclusive 
72 60·MeshEndCapLegacyGregory·=·10,·//·exclusive 
73 61·NUM_MESH_BITS·=·11, 
74 ·62}; 
75 63typedef·std::bitset<NUM_MESH_BITS>·MeshBitset; 
76 ·64 
77 ·65//·------------------------------------------------------------------------- 
78 -- 
79 ·66 
80 ·67template·<class·PATCH_TABLE> 
81 68class·MeshInterface·{ 
82 ·69public:57 ·68public:
 58 ·69
 59 70·Scheme()·:·_options()·{·}
 60 ·71
 61 72·Scheme(Options·const&·options)·:·_options(options)·{·}
 62 ·73
 63 74·Options·GetOptions()·const·{·return·_options;·}
 64 75·void·SetOptions(const·Options&·newOptions)·{·_options·=·newOptions;·}
83 70·typedef·PATCH_TABLE·PatchTable; 
84 71·typedef·typename·PatchTable::VertexBufferBinding·VertexBufferBinding; 
85 ·72 
86 ·73public: 
87 74·MeshInterface()·{·} 
88 ·75 
89 76·virtual·~MeshInterface()·{·} 
90 ·77 
91 78·virtual·int·GetNumVertices()·const·=·0; 
92 ·79 
93 80·virtual·int·GetMaxValence()·const·=·0; 
94 ·81 
95 82·virtual·void·UpdateVertexBuffer(float·const·*vertexData, 
96 ·83·int·startVertex,·int·numVerts)·=·0; 
97 ·84 
98 85·virtual·void·UpdateVaryingBuffer(float·const·*varyingData, 
99 ·86·int·startVertex,·int·numVerts)·=·0; 
100 ·87 
101 88·virtual·void·Refine()·=·0; 
102 ·89 
103 90·virtual·void·Synchronize()·=·0; 
104 ·91 
105 92·virtual·PatchTable·*·GetPatchTable()·const·=·0; 
106 ·93 
107 94·virtual·Far::PatchTable·const·*GetFarPatchTable()·const·=·0; 
108 ·95 
109 96·virtual·VertexBufferBinding·BindVertexBuffer()·=·0; 
110 ·97 
111 98·virtual·VertexBufferBinding·BindVaryingBuffer()·=·0; 
112 ·99 
113 ·100protected: 
114 101·static·inline·void·refineMesh(Far::TopologyRefiner·&·refiner, 
115 ·102·int·level,·bool·adaptive, 
116 ·103·bool·singleCreasePatch)·{ 
117 ·104·if·(adaptive)·{ 
118 ·105·Far::TopologyRefiner::AdaptiveOptions·options(level); 
119 ·106·options.useSingleCreasePatch·=·singleCreasePatch; 
Max diff block lines reached; 60820/71293 bytes (85.31%) of diff not shown.
5.6 KB
./usr/share/doc/opensubdiv/doxy_html/a00890.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/cpuVertexBuffer.h·File·Reference</title>8 <title>OpenSubdiv:·opensubdiv/sdc/options.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 83, 41 lines modifiedOffset 83, 40 lines modified
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124;87 <a·href="#nested-classes">Classes</a>·&#124;
88 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">cpuVertexBuffer.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">options.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
93 <code>#include·&lt;cstddef&gt;</code><br·/> 
94 </div>93 </div>
95 <p><a·href="a00890_source.html">Go·to·the·source·code·of·this·file.</a></p>94 <p><a·href="a00890_source.html">Go·to·the·source·code·of·this·file.</a></p>
96 <table·class="memberdecls">95 <table·class="memberdecls">
97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
98 Classes</h2></td></tr>97 Classes</h2></td></tr>
99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01169.html">CpuVertexBuffer</a></td></tr>98 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01329.html">Options</a></td></tr>
100 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Concrete·vertex·buffer·class·for·CPU·subdivision.··<a·href="a01169.html#details">More...</a><br·/></td></tr>99 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">All·supported·options·applying·to·subdivision·scheme.··<a·href="a01329.html#details">More...</a><br·/></td></tr>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 </table><table·class="memberdecls">101 </table><table·class="memberdecls">
103 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
104 Namespaces</h2></td></tr>103 Namespaces</h2></td></tr>
105 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>104 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
107 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>106 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
109 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>108 <tr·class="memitem:a00913"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00913.html">OpenSubdiv::OPENSUBDIV_VERSION::Sdc</a></td></tr>
110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
111 </table>110 </table>
112 </div><!--·contents·-->111 </div><!--·contents·-->
113 </div><!--·doc-content·-->112 </div><!--·doc-content·-->
114 <!--·start·footer·part·-->113 <!--·start·footer·part·-->
115 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->114 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
116 ··<ul>115 ··<ul>
117 ····<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="a00890.html">cpuVertexBuffer.h</a></li>116 ····<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="a00890.html">options.h</a></li>
118 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>117 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
119 ··</ul>118 ··</ul>
120 </div>119 </div>
121 </body>120 </body>
122 </html>121 </html>
769 B
html2text {}
    
Offset 5, 26 lines modifiedOffset 5, 25 lines modified
  
  
  
5 [Logo]·OpenSubdiv5 [Logo]·OpenSubdiv
  
  
6 Classes·|·Namespaces6 Classes·|·Namespaces
7 cpuVertexBuffer.h·File·Reference7 options.h·File·Reference
8 #include·"../version.h"8 #include·"../version.h"
9 #include·<cstddef> 
10 Go_to_the_source_code_of_this_file.9 Go_to_the_source_code_of_this_file.
11 ·Classes10 ·Classes
12 class· CpuVertexBuffer 
13  ······Concrete·vertex·buffer·class·for·CPU·subdivision.·More...11 class· Options
 12  ······All·supported·options·applying·to·subdivision·scheme.·More...
14  13  
15 ·Namespaces14 ·Namespaces
16 namespace· OpenSubdiv15 namespace· OpenSubdiv
17  16  
18 namespace· OpenSubdiv::OPENSUBDIV_VERSION17 namespace· OpenSubdiv::OPENSUBDIV_VERSION
19  18  
20 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd19 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Sdc
21  20  
22 ····*·opensubdiv21 ····*·opensubdiv
23 ····*·osd22 ····*·sdc
24 ····*·cpuVertexBuffer.h23 ····*·options.h
25 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.424 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
248 B
./usr/share/doc/opensubdiv/doxy_html/a00890.js
156 B
js-beautify {}
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 var·a00890·=·[1 var·a00890·=·[
2 ····["CpuVertexBuffer",·"a01169.html",·"a01169"]2 ····["Options",·"a01329.html",·"a01329"]
3 ];3 ];
54.2 KB
./usr/share/doc/opensubdiv/doxy_html/a00890_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/cpuVertexBuffer.h·Source·File</title>8 <title>OpenSubdiv:·opensubdiv/sdc/options.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 80, 19 lines modifiedOffset 80, 19 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">cpuVertexBuffer.h</div></div>86 ··<div·class="headertitle"><div·class="title">options.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <a·href="a00890.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>89 <a·href="a00890.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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·DreamWorks·Animation·LLC.</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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>
94 <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>94 <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>
95 <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>95 <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>
96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>
97 <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>97 <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 106, 74 lines modifiedOffset 106, 125 lines modified
106 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div>106 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div>
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
 113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_SDC_OPTIONS_H</span></div>
 114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·OPENSUBDIV3_SDC_OPTIONS_H</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_CPU_VERTEX_BUFFER_H</span></div> 
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_CPU_VERTEX_BUFFER_H</span></div> 
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> 
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
 118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
121 <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> 
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">namespace·</span>Sdc·{</div>
123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>Osd·{</div> 
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> 
126 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a01169.html">···42</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01169.html">CpuVertexBuffer</a>·{</div> 
127 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">public</span>:</div> 
128 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01169.html#a8b93d5003e64d51c9bd7e487cd15c101">···45</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01169.html">CpuVertexBuffer</a>·*·<a·class="code·hl_function"·href="a01169.html#a8b93d5003e64d51c9bd7e487cd15c101">Create</a>(<span·class="keywordtype">int</span>·numElements,·<span·class="keywordtype">int</span>·numVertices,</div> 
129 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····································<span·class="keywordtype">void</span>·*deviceContext·=·NULL);</div> 
130 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> 
131 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01169.html#ad0932519eaf677c42a8ccfe9a78a2698">···49</a></span>····<a·class="code·hl_function"·href="a01169.html#ad0932519eaf677c42a8ccfe9a78a2698">~CpuVertexBuffer</a>();</div> 
132 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>123 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>
 124 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01329.html">···51</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01329.html">Options</a>·{</div>
133 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01169.html#a96601a091f8831823c4dd72b6c962f1b">···53</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01169.html#a96601a091f8831823c4dd72b6c962f1b">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> 
134 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····················<span·class="keywordtype">void</span>·*deviceContext·=·NULL);</div> 
135 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>125 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">public</span>:</div>
136 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01169.html#a77cee40767fd4936f20a8f9d9d9ea625">···57</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01169.html#a77cee40767fd4936f20a8f9d9d9ea625">GetNumElements</a>()·<span·class="keyword">const</span>;</div> 
137 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> 
138 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01169.html#aaf4a32b8a414eff77000c584c2015cb7">···60</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01169.html#aaf4a32b8a414eff77000c584c2015cb7">GetNum[·...·truncated·by·diffoscope;·len:·50,·SHA:·189dad93bc9b4f0535906d51512c8c69fc41cd3d31a3a985f62d223e9a4e60b6·...·]</div>126 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01329.html#acbf78f1a6abfc8db080ef7fb3c3f417e">···53</a></span>····<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a01329.html#acbf78f1a6abfc8db080ef7fb3c3f417e">VtxBou[·...·truncated·by·diffoscope;·len:·24,·SHA:·5827711a87fdf1b389c63fec3b3bdb805d4727bed2b83a18a94e265b7ae7fb1b·...·]</div>
 127 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>········<a·class="code·hl_enumvalue"·href="a01329.html#acbf78f1a6abfc8db080ef7fb3c3f417ea5d15ed470f1f0ecce0549282de54a3ba">VTX_BOUNDARY_NONE</a>·=·0,········</div>
 128 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01329.html#acbf78f1a6abfc8db080ef7fb3c3f417ea9240987283549b42eeb262f088b68fdf">···56</a></span>········<a·class="code·hl_enumvalue"·href="a01329.html#acbf78f1a6abfc8db080ef7fb3c3f417ea9240987283549b42eeb262f088b68fdf">VTX_BOUNDARY_EDGE_ONLY</a>,·······</div>
 129 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········<a·class="code·hl_enumvalue"·href="a01329.html#acbf78f1a6abfc8db080ef7fb3c3f417eac6e5f52f358d3b6d62cc2b708a5a8757">VTX_BOUNDARY_EDGE_AND_CORNER</a>··</div>
 130 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01329.html#acbf78f1a6abfc8db080ef7fb3c3f417eac6e5f52f358d3b6d62cc2b708a5a8757">···59</a></span>····};</div>
 131 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01329.html#a5b87eaca6ca0833462c9d4ad84df167b">···60</a></span>····<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a01329.html#a5b87eaca6ca0833462c9d4ad84df167b">FVarLinearInterpolation</a>·{</div>
 132 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01329.html#a5b87eaca6ca0833462c9d4ad84df167bac91a565721cd973b4d3cd3c697dda50f">···61</a></span>········<a·class="code·hl_enumvalue"·href="a01329.html#a5b87eaca6ca0833462c9d4ad84df167bac91a565721cd973b4d3cd3c697dda50f">FVAR_LINEAR_NONE</a>·=·0,·········</div>
 133 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01329.html#a5b87eaca6ca0833462c9d4ad84df167ba2d0edb4dd10e355f8089b4a7ab1d1d72">···62</a></span>········<a·class="code·hl_enumvalue"·href="a01329.html#a5b87eaca6ca0833462c9d4ad84df167ba2d0edb4dd10e355f8089b4a7ab1d1d72">FVAR_LINEAR_CORNERS_ONLY</a>,·····</div>
 134 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01329.html#a5b87eaca6ca0833462c9d4ad84df167ba79d654b94893314766a372c630f142c6">···63</a></span>········<a·class="code·hl_enumvalue"·href="a01329.html#a5b87eaca6ca0833462c9d4ad84df167ba79d654b94893314766a372c630f142c6">FVAR_LINEAR_CORNERS_PLUS1</a>,····</div>
 135 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01329.html#a5b87eaca6ca0833462c9d4ad84df167ba6c323349983f89298e3ae7e06b9cdef6">···64</a></span>········<a·class="code·hl_enumvalue"·href="a01329.html#a5b87eaca6ca0833462c9d4ad84df167ba6c323349983f89298e3ae7e06b9cdef6">FVAR_LINEAR_CORNERS_PLUS2</a>,····</div>
 136 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01329.html#a5b87eaca6ca0833462c9d4ad84df167ba60007144d7e8d50ed9f907badecf8ea1">···65</a></span>········<a·class="code·hl_enumvalue"·href="a01329.html#a5b87eaca6ca0833462c9d4ad84df167ba60007144d7e8d50ed9f907badecf8ea1">FVAR_LINEAR_BOUNDARIES</a>,·······</div>
 137 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>········<a·class="code·hl_enumvalue"·href="a01329.html#a5b87eaca6ca0833462c9d4ad84df167ba8d4df083104973fad1479109988e0387">FVAR_LINEAR_ALL</a>···············</div>
 138 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01329.html#a5b87eaca6ca0833462c9d4ad84df167ba8d4df083104973fad1479109988e0387">···67</a></span>····};</div>
 139 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01329.html#a16ec522dc0398bf1435a912cd669ffb0">···68</a></span>····<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a01329.html#a16ec522dc0398bf1435a912cd669ffb0">CreasingMethod</a>·{</div>
 140 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01329.html#a16ec522dc0398bf1435a912cd669ffb0a10f2956db48d2975424be2e52ebd544d">···69</a></span>········<a·class="code·hl_enumvalue"·href="a01329.html#a16ec522dc0398bf1435a912cd669ffb0a10f2956db48d2975424be2e52ebd544d">CREASE_UNIFORM</a>·=·0,···········</div>
 141 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>········<a·class="code·hl_enumvalue"·href="a01329.html#a16ec522dc0398bf1435a912cd669ffb0a1e31a583663dd65a7b2feffeb24268b5">CREASE_CHAIKIN</a>················</div>
 142 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01329.html#a16ec522dc0398bf1435a912cd669ffb0a1e31a583663dd65a7b2feffeb24268b5">···71</a></span>····};</div>
 143 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01329.html#a10fe8c2b78e5c59377614876a362c38b">···72</a></span>····<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a01329.html#a10fe8c2b78e5c59377614876a362c38b">TriangleSubdivision</a>·{</div>
 144 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01329.html#a10fe8c2b78e5c59377614876a362c38ba2dd7b5ddb5288776e48d86049e56e730">···73</a></span>········<a·class="code·hl_enumvalue"·href="a01329.html#a10fe8c2b78e5c59377614876a362c38ba2dd7b5ddb5288776e48d86049e56e730">TRI_SUB_CATMARK</a>·=·0,··········</div>
 145 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>········<a·class="code·hl_enumvalue"·href="a01329.html#a10fe8c2b78e5c59377614876a362c38baf222ead5fa4875f2ea2794c2d765a87d">TRI_SUB_SMOOTH</a>················</div>
 146 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01329.html#a10fe8c2b78e5c59377614876a362c38baf222ead5fa4875f2ea2794c2d765a87d">···75</a></span>····};</div>
139 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>147 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>
140 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01169.html#adf7a9df5d3fc4d803bf5f1f374d90274">···63</a></span>····<span·class="keywordtype">float</span>·*·<a·class="code·hl_function"·href="a01169.html#adf7a9df5d3fc4d803bf5f1f374d90274">BindCpuBuffer</a>();</div> 
141 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> 
142 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="keyword">protected</span>:</div>148 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="keyword">public</span>:</div>
143 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01169.html#afa9168f4f1f046aea4ff94933ac48972">···67</a></span>····<a·class="code·hl_function"·href="a01169.html#afa9168f4f1f046aea4ff94933ac48972">CpuVertexBuffer</a>(<span·class="keywordtype">int</span>·numElements,·<span·class="keywordtype">int</span>·numVertices);</div> 
144 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>149 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
 150 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01329.html#a28d39a844c3a37ab61d32ab7c6352f09">···79</a></span>····<a·class="code·hl_function"·href="a01329.html#a28d39a844c3a37ab61d32ab7c6352f09">Options</a>()·:·_vtxBoundInterp(<a·class="code·hl_enumvalue"·href="a01329.html#acbf78f1a6abfc8db080ef7fb3c3f417ea5d15ed470f1f0ecce0549282de54a3ba">VTX_BOUNDARY_NONE</a>),</div>
 151 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>················_fvarLinInterp(<a·class="code·hl_enumvalue"·href="a01329.html#a5b87eaca6ca0833462c9d4ad84df167ba8d4df083104973fad1479109988e0387">FVAR_LINEAR_ALL</a>),</div>
 152 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>················_creasingMethod(<a·class="code·hl_enumvalue"·href="a01329.html#a16ec522dc0398bf1435a912cd669ffb0a10f2956db48d2975424be2e52ebd544d">CREASE_UNIFORM</a>),</div>
 153 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>················_triangleSub(<a·class="code·hl_enumvalue"·href="a01329.html#a10fe8c2b78e5c59377614876a362c38ba2dd7b5ddb5288776e48d86049e56e730">TRI_SUB_CATMARK</a>)·{·}</div>
145 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="keyword">private</span>:</div> 
146 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="keywordtype">int</span>·_numElements;</div> 
147 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="keywordtype">int</span>·_numVertices;</div> 
148 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="keywordtype">float</span>·*_cpuBuffer;</div> 
149 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>};</div> 
150 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> 
151 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> 
152 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>}··<span·class="comment">//·end·namespace·Osd</span></div> 
153 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> 
154 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>}··<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> 
155 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> 
156 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>154 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>
157 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>}··<span·class="comment">//·end·namespace·OpenSubdiv</span></div>155 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="comment">//</span></div>
 156 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····<span·class="comment">//··Trivial·get/set·methods:</span></div>
 157 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="comment">//</span></div>
158 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>158 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>
159 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="preprocessor">#endif··</span><span·class="comment">//·OPENSUBDIV3_OSD_CPU_VERTEX_BUFFER_H</span></div>159 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a01329.html#a590338ee8b544306b970a0c1445cd01f">···89</a></span>····<a·class="code·hl_enumeration"·href="a01329.html#acbf78f1a6abfc8db080ef7fb3c3f417e">VtxBoundaryInterpolation</a>·<a·class="co[·...·truncated·by·diffoscope;·len:·313,·SHA:·10cac0b1c3f3f981990d8c32d47114f628c2c166e5c4628a8fb0c760f78031da·...·]</div>
 160 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
 161 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01329.html#a70997d63dc747e55154e2ab4b4354141">···92</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01329.html#a70997d63dc747e55154e2ab4b4354141">SetVtxBoundaryInterpolation</a>(<a·class="code·hl_enumeration"·href="a01329.html#acbf78f1a6abfc8db080ef7fb3c3f417e">VtxBoundaryInterpolation</a>·b)·{·_vtxBoundInterp·=·(EnumIntType)·b;·}</div>
 162 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div>
 163 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a01329.html#acab24306782f101827103b87bbe4b8dd">···95</a></span>····<a·class="code·hl_enumeration"·href="a01329.html#a5b87eaca6ca0833462c9d4ad84df167b">FVarLinearInterpolation</a>·<a·class="code·hl_function"·href="a01329.html#acab24306782f101827103b87bbe4b8dd">GetFVarLinearInterpolation</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·(<a·class="code·hl_enumeration"·href="a01329.html#a5b87eaca6ca0833462c9d4ad84df167b">FVarLinearInterpolation</a>)·_fvarLinInterp;·}</div>
 164 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>
 165 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a01329.html#a2b335eb227194b4fc6fcec7f3c4b25ce">···98</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01329.html#a2b335eb227194b4fc6fcec7f3c4b25ce">SetFVarLinearInterpolation</a>(<a·class="code·hl_enumeration"·href="a01329.html#a5b87eaca6ca0833462c9d4ad84df167b">FVarLinearInterpolation</a>·b)·{·_fvarLinInterp·=·(EnumIntType)·b;·}</div>
 166 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div>
Max diff block lines reached; 16062/45521 bytes (35.28%) of diff not shown.
9.63 KB
html2text {}
    
Offset 4, 18 lines modifiedOffset 4, 18 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 cpuVertexBuffer.h5 options.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2013·Pixar8 ·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·in11 ·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·trade15 ·9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade
Offset 29, 85 lines modifiedOffset 29, 200 lines modified
29 ·17//29 ·17//
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
 36 ·24#ifndef·OPENSUBDIV3_SDC_OPTIONS_H
 37 ·25#define·OPENSUBDIV3_SDC_OPTIONS_H
 38 ·26
36 ·24 
37 ·25#ifndef·OPENSUBDIV3_OSD_CPU_VERTEX_BUFFER_H 
38 ·26#define·OPENSUBDIV3_OSD_CPU_VERTEX_BUFFER_H 
39 ·27 
40 ·28#include·"../version.h"39 ·27#include·"../version.h"
41 ·29 
42 ·30#include·<cstddef>40 ·28
 41 ·29namespace·OpenSubdiv·{
 42 ·30namespace·OPENSUBDIV_VERSION·{
43 ·3143 ·31
44 ·32namespace·OpenSubdiv·{ 
45 ·33namespace·OPENSUBDIV_VERSION·{ 
46 ·34 
47 ·35namespace·Osd·{44 ·32namespace·Sdc·{
 45 ·33
48 ·36 
49 42class·CpuVertexBuffer·{ 
50 ·43public: 
51 45·static·CpuVertexBuffer·*·Create(int·numElements,·int·numVertices, 
52 ·46·void·*deviceContext·=·NULL); 
53 ·47 
54 49·~CpuVertexBuffer(); 
55 ·5046 ·50
56 53·void·UpdateData(const·float·*src,·int·startVertex,·int·numVertices, 
57 ·54·void·*deviceContext·=·NULL); 
58 ·55 
59 57·int·GetNumElements()·const; 
60 ·58 
61 60·int·GetNumVertices()·const; 
62 ·61 
63 63·float·*·BindCpuBuffer(); 
64 ·64 
65 ·65protected: 
66 67·CpuVertexBuffer(int·numElements,·int·numVertices); 
67 ·6847 51class·Options·{
 48 ·52public:
 49 53·enum·VtxBoundaryInterpolation·{
 50 ·54·VTX_BOUNDARY_NONE·=·0,
 51 56·VTX_BOUNDARY_EDGE_ONLY,
 52 ·57·VTX_BOUNDARY_EDGE_AND_CORNER
 53 59·};
 54 60·enum·FVarLinearInterpolation·{
 55 61·FVAR_LINEAR_NONE·=·0,
 56 62·FVAR_LINEAR_CORNERS_ONLY,
 57 63·FVAR_LINEAR_CORNERS_PLUS1,
 58 64·FVAR_LINEAR_CORNERS_PLUS2,
 59 65·FVAR_LINEAR_BOUNDARIES,
 60 ·66·FVAR_LINEAR_ALL
 61 67·};
 62 68·enum·CreasingMethod·{
 63 69·CREASE_UNIFORM·=·0,
 64 ·70·CREASE_CHAIKIN
 65 71·};
 66 72·enum·TriangleSubdivision·{
 67 73·TRI_SUB_CATMARK·=·0,
 68 ·74·TRI_SUB_SMOOTH
 69 75·};
 70 ·76
 71 ·77public:
 72 ·78
 73 79·Options()·:·_vtxBoundInterp(VTX_BOUNDARY_NONE),
 74 ·80·_fvarLinInterp(FVAR_LINEAR_ALL),
 75 ·81·_creasingMethod(CREASE_UNIFORM),
 76 ·82·_triangleSub(TRI_SUB_CATMARK)·{·}
 77 ·83
 78 ·84·//
 79 ·85·//·Trivial·get/set·methods:
 80 ·86·//
 81 ·87
 82 89·VtxBoundaryInterpolation·GetVtxBoundaryInterpolation()·const·{·return
 83 (VtxBoundaryInterpolation)·_vtxBoundInterp;·}
 84 ·90
 85 92·void·SetVtxBoundaryInterpolation(VtxBoundaryInterpolation·b)
 86 {·_vtxBoundInterp·=·(EnumIntType)·b;·}
 87 ·93
 88 95·FVarLinearInterpolation·GetFVarLinearInterpolation()·const·{·return
 89 (FVarLinearInterpolation)·_fvarLinInterp;·}
 90 ·96
 91 98·void·SetFVarLinearInterpolation(FVarLinearInterpolation·b)·{·_fvarLinInterp
 92 =·(EnumIntType)·b;·}
 93 ·99
 94 101·CreasingMethod·GetCreasingMethod()·const·{·return·(CreasingMethod)
 95 _creasingMethod;·}
 96 ·102
 97 104·void·SetCreasingMethod(CreasingMethod·c)·{·_creasingMethod·=·(EnumIntType)
 98 c;·}
 99 ·105
 100 107·TriangleSubdivision·GetTriangleSubdivision()·const·{·return
 101 (TriangleSubdivision)·_triangleSub;·}
 102 ·108
 103 110·void·SetTriangleSubdivision(TriangleSubdivision·t)·{·_triangleSub·=
 104 (EnumIntType)·t;·}
 105 ·111
68 ·69private:106 ·112private:
69 ·70·int·_numElements; 
70 ·71·int·_numVertices; 
71 ·72·float·*_cpuBuffer; 
72 ·73}; 
Max diff block lines reached; 5457/9839 bytes (55.46%) of diff not shown.
6.15 KB
./usr/share/doc/opensubdiv/doxy_html/a00893.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/cpuPatchTable.h·File·Reference</title>8 <title>OpenSubdiv:·opensubdiv/sdc/loopScheme.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 81, 48 lines modifiedOffset 81, 38 lines modified
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124; 
88 <a·href="#namespaces">Namespaces</a>··</div>87 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">cpuPatchTable.h·File·Reference</div></div>88 ··<div·class="headertitle"><div·class="title">loopScheme.h·File·Reference</div></div>
90 </div><!--header-->89 </div><!--header-->
91 <div·class="contents">90 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>91 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
 92 <code>#include·&quot;<a·class="el"·href="a00887_source.html">../sdc/scheme.h</a>&quot;</code><br·/>
 93 <code>#include·&lt;cassert&gt;</code><br·/>
93 <code>#include·&lt;vector&gt;</code><br·/>94 <code>#include·&lt;cmath&gt;</code><br·/>
94 <code>#include·&quot;<a·class="el"·href="a00740_source.html">../far/patchDescriptor.h</a>&quot;</code><br·/> 
95 <code>#include·&quot;../osd/nonCopyable.h&quot;</code><br·/> 
96 <code>#include·&quot;<a·class="el"·href="a01481_source.html">../osd/types.h</a>&quot;</code><br·/> 
97 </div>95 </div>
98 <p><a·href="a00893_source.html">Go·to·the·source·code·of·this·file.</a></p>96 <p><a·href="a00893_source.html">Go·to·the·source·code·of·this·file.</a></p>
99 <table·class="memberdecls">97 <table·class="memberdecls">
100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
101 Classes</h2></td></tr> 
102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01165.html">CpuPatchTable</a></td></tr> 
103 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Cpu·patch·table.··<a·href="a01165.html#details">More...</a><br·/></td></tr> 
104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
105 </table><table·class="memberdecls"> 
106 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
107 Namespaces</h2></td></tr>99 Namespaces</h2></td></tr>
108 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>100 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
110 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>102 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>
111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
112 <tr·class="memitem:a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr> 
113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
114 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>104 <tr·class="memitem:a00913"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00913.html">OpenSubdiv::OPENSUBDIV_VERSION::Sdc</a></td></tr>
115 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
116 </table>106 </table>
117 </div><!--·contents·-->107 </div><!--·contents·-->
118 </div><!--·doc-content·-->108 </div><!--·doc-content·-->
119 <!--·start·footer·part·-->109 <!--·start·footer·part·-->
120 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->110 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
121 ··<ul>111 ··<ul>
122 ····<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="a00893.html">cpuPatchTable.h</a></li>112 ····<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="a00893.html">loopScheme.h</a></li>
123 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>113 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
124 ··</ul>114 ··</ul>
125 </div>115 </div>
126 </body>116 </body>
127 </html>117 </html>
877 B
html2text {}
    
Offset 4, 32 lines modifiedOffset 4, 25 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 Classes·|·Namespaces 
6 cpuPatchTable.h·File·Reference5 Namespaces
 6 loopScheme.h·File·Reference
7 #include·"../version.h"7 #include·"../version.h"
 8 #include·"../sdc/scheme.h"
 9 #include·<cassert>
8 #include·<vector>10 #include·<cmath>
9 #include·"../far/patchDescriptor.h" 
10 #include·"../osd/nonCopyable.h" 
11 #include·"../osd/types.h" 
12 Go_to_the_source_code_of_this_file.11 Go_to_the_source_code_of_this_file.
13 ·Classes 
14 class· CpuPatchTable 
15  ······Cpu·patch·table.·More... 
16   
17 ·Namespaces12 ·Namespaces
18 namespace· OpenSubdiv13 namespace· OpenSubdiv
19  14  
20 namespace· OpenSubdiv::OPENSUBDIV_VERSION15 namespace· OpenSubdiv::OPENSUBDIV_VERSION
21  16  
22 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Far 
23   
24 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd17 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Sdc
25  18  
26 ····*·opensubdiv19 ····*·opensubdiv
27 ····*·osd20 ····*·sdc
28 ····*·cpuPatchTable.h21 ····*·loopScheme.h
29 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.422 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
160 KB
./usr/share/doc/opensubdiv/doxy_html/a00893_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/cpuPatchTable.h·Source·File</title>8 <title>OpenSubdiv:·opensubdiv/sdc/loopScheme.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 80, 19 lines modifiedOffset 80, 19 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">cpuPatchTable.h</div></div>86 ··<div·class="headertitle"><div·class="title">loopScheme.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <a·href="a00893.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>89 <a·href="a00893.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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·DreamWorks·Animation·LLC.</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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>
94 <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>94 <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>
95 <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>95 <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>
96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>
97 <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>97 <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 106, 160 lines modifiedOffset 106, 596 lines modified
106 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div>106 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div>
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
 113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_SDC_LOOP_SCHEME_H</span></div>
 114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·OPENSUBDIV3_SDC_LOOP_SCHEME_H</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_CPU_PATCH_TABLE_H</span></div> 
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_CPU_PATCH_TABLE_H</span></div> 
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> 
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div> 
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&quot;../far/patchDescriptor.h&quot;</span></div> 
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&quot;../osd/nonCopyable.h&quot;</span></div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;../sdc/scheme.h&quot;</span></div>
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·&quot;../osd/types.h&quot;</span></div> 
123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
 120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div>
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div>123 <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>
127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
 125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>Sdc·{</div>
128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">namespace·</span>Far{</div> 
130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">class·</span>PatchTable;</div> 
131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>};</div>127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
 128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="comment">//</span></div>
 129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="comment">//··Specializations·for·Sdc::Scheme&lt;SCHEME_LOOP&gt;:</span></div>
 130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="comment">//</span></div>
 131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="comment">//</span></div>
132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">namespace·</span>Osd·{</div>133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="comment">//</span></div>
 134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="comment">//··Loop·traits:</span></div>
 135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="comment">//</span></div>
 136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="keyword">template</span>·&lt;&gt;</div>
 137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01333.html#a0e02d297f903bddcf8bc10c0ae17ad3c">···48</a></span><span·class="keyword">inline</span>·<a·class="code·hl_enumeration"·href="a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887b">Split</a>·<a·class="code·hl_function"·href="a01333.html#a14b97ddde5fba31ca7f933508ee649da">Scheme&lt;SCHEME_LOOP&gt;::GetTopologicalSplitType</a>()·{·<span·class="keywordflow">return</span>·<a·class="code·hl_enumvalue"·href="a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887ba31959b36c678fcb560f478ecb7c051f5">SPLIT_TO_TRIS</a>;·}</div>
134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>138 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
135 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01165.html">···59</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01165.html">CpuPatchTable</a>·{</div> 
136 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="keyword">public</span>:</div>139 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">template</span>·&lt;&gt;</div>
 140 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01333.html#a36744b2ac3801874da987d36851be86c">···51</a></span><span·class="keyword">inline</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01333.html#a531004716c07aad5436cb2db27e1ec24">Scheme&lt;SCHEME_LOOP&gt;::GetRegularFaceSize</a>()·{·<span·class="keywordflow">return</span>·3;·}</div>
137 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01165.html#a27ccdd38f0f38adf16a4f5ceac6fed20">···61</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01165.html">CpuPatchTable</a>·*<a·class="code·hl_function"·href="a01165.html#a27ccdd38f0f38adf16a4f5ceac6fed20">Create</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a00993.html">Far::PatchTable</a>·*patchTable,</div> 
138 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·································<span·class="keywordtype">void</span>·*deviceContext·=·NULL)·{</div> 
139 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········(void)deviceContext;··<span·class="comment">//·unused</span></div> 
140 <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_function"·href="a01165.html#a3c19d1748852f36ba69a6557e5069e08">CpuPatchTable</a>(patchTable);</div> 
141 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····}</div>141 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
 142 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">template</span>·&lt;&gt;</div>
 143 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01333.html#ad46ad6c30664729d163c5fcc20cdf917">···54</a></span><span·class="keyword">inline</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01333.html#a8f7e983b2195ac6b388c7a6db17f8cb0">Scheme&lt;SCHEME_LOOP&gt;::GetRegularVertexValence</a>()·{·<span·class="keywordflow">return</span>·6;·}</div>
142 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>144 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
143 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01165.html#a3c19d1748852f36ba69a6557e5069e08">···67</a></span>····<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01165.html#a3c19d1748852f36ba69a6557e5069e08">CpuPatchTable</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a00993.html">Far::PatchTable</a>·*patchTable);</div> 
144 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01165.html#a16142cac8dd0880ad2451586633a7999">···68</a></span>····<a·class="code·hl_function"·href="a01165.html#a16142cac8dd0880ad2451586633a7999">~CpuPatchTable</a>()·{}</div>145 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="keyword">template</span>·&lt;&gt;</div>
 146 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01333.html#a953430a884584e984c0afbb058091be1">···57</a></span><span·class="keyword">inline</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01333.html#a73cf51e4315ca86e5e0a3954c92f8f74">Scheme&lt;SCHEME_LOOP&gt;::GetLocalNeighborhoodSize</a>()·{·<span·class="keywordflow">return</span>·1;·}</div>
 147 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
145 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>148 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>
146 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01165.html#ab6582a6586adaea0803247fb415f8c17">···70</a></span>····<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a01317.html">PatchArray</a>·*<a·class="code·hl_function"·href="a01165.html#ab6582a6586adaea0803247fb415f8c17">GetPatchArrayBuffer</a>()<span·class="keyword">·const·</span>{</div> 
147 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>········<span·class="keywordflow">return</span>·&amp;<a·class="code·hl_variable"·href="a01165.html#a5dfb6b58580f2dec58e9b5bfdb4ed9f1">_patchArrays</a>[0];</div>149 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="comment">//</span></div>
 150 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="comment">//··Protected·methods·to·assign·the·two·types·of·masks·for·an·edge-vertex·--</span></div>
 151 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="comment">//··Crease·and·Smooth.</span></div>
 152 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="comment">//</span></div>
 153 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="comment">//··The·Crease·case·does·not·really·need·to·be·specialized,·though·it·may·be</span></div>
 154 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="comment">//··preferable·to·define·all·explicitly·here.</span></div>
 155 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="comment">//</span></div>
 156 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="keyword">template</span>·&lt;&gt;</div>
 157 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·EDGE,·<span·class="keyword">typename</span>·MASK&gt;</div>
 158 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="keyword">inline</span>·<span·class="keywordtype">void</span></div>
 159 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01333.html#a0b9bc37795aeebc3e732c117a5934426">···70</a></span><a·class="code·hl_function"·href="a01333.html#a56964a4c783aa15ec1f819306ee9f214">Scheme&lt;SCHEME_LOOP&gt;::assignCreaseMaskForEdge</a>(EDGE·<span·class="keyword">const</span>&amp;,·MASK&amp;·mask)<span·class="keyword">·const</span></div>
 160 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="keyword"></span>{</div>
 161 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····mask.SetNumVertexWeights(2);</div>
 162 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····mask.SetNumEdgeWeights(0);</div>
 163 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····mask.SetNumFaceWeights(0);</div>
 164 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····mask.SetFaceWeightsForFaceCenters(<span·class="keyword">false</span>);</div>
148 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····}</div>165 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>
149 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01165.html#a1934f183cb763099b7452f3569b70fdc">···73</a></span>····<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·*<a·class="code·hl_function"·href="a01165.html#a1934f183cb763099b7452f3569b70fdc">GetPatchIndexBuffer</a>()<span·class="keyword">·const·</span>{</div> 
150 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>········<span·class="keywordflow">return</span>·&amp;<a·class="code·hl_variable"·href="a01165.html#a6e32349421c301eddf366c04c3a28015">_indexBuffer</a>[0];</div> 
151 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····}</div>166 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····mask.VertexWeight(0)·=·0.5f;</div>
152 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01165.html#a6a81c037eca6f27ea4ef41f39d0a1d50">···76</a></span>····<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a01321.html">PatchParam</a>·*<a·class="code·hl_function"·href="a01165.html#a6a81c037eca6f27ea4ef41f39d0a1d50">GetPatchParamBuffer</a>()<span·class="keyword">·const·</span>{</div> 
153 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>········<span·class="keywordflow">return</span>·&amp;<a·class="code·hl_variable"·href="a01165.html#a18d45929d48a1738134292a7f0b27377">_patchParamBuffer</a>[0];</div> 
154 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····}</div>167 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····mask.VertexWeight(1)·=·0.5f;</div>
155 <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>
156 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01165.html#aae90ef525393fa41f95eff50d1255e97">···80</a></span>····<span·class="keywordtype">size_t</span>·<a·class="code·hl_function"·href="a01165.html#aae90ef525393fa41f95eff50d1255e97">GetNumPatchArrays</a>()<span·class="keyword">·const·</span>{</div> 
157 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01165.html#a5dfb6b58580f2dec58e9b5bfdb4ed9f1">_patchArrays</a>.size();</div> 
158 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····}</div> 
159 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01165.html#a5b16f51336dbdc1af5b34028cc5de8cc">···83</a></span>····<span·class="keywordtype">size_t</span>·<a·class="code·hl_function"·href="a01165.html#a5b16f51336dbdc1af5b34028cc5de8cc">GetPatchIndexSize</a>()<span·class="keyword">·const·</span>{</div> 
160 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01165.html#a6e32349421c301eddf366c04c3a28015">_indexBuffer</a>.size();</div> 
161 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····}</div> 
162 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01165.html#a9ca8e987a5e8ac5bbd66f46bf2fc419c">···86</a></span>····<span·class="keywordtype">size_t</span>·<a·class="code·hl_function"·href="a01165.html#a9ca8e987a5e8ac5bbd66f46bf2fc419c">GetPatchParamSize</a>()<span·class="keyword">·const·</span>{</div> 
163 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01165.html#a18d45929d48a1738134292a7f0b27377">_patchParamBuffer</a>.size();</div> 
164 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····}</div> 
Max diff block lines reached; 19368/131457 bytes (14.73%) of diff not shown.
31.3 KB
html2text {}
    
Offset 4, 18 lines modifiedOffset 4, 18 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 cpuPatchTable.h5 loopScheme.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2015·Pixar8 ·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·in11 ·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·trade15 ·9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade
Offset 29, 216 lines modifiedOffset 29, 677 lines modified
29 ·17//29 ·17//
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·24 
37 ·25#ifndef·OPENSUBDIV3_OSD_CPU_PATCH_TABLE_H36 ·24#ifndef·OPENSUBDIV3_SDC_LOOP_SCHEME_H
38 ·26#define·OPENSUBDIV3_OSD_CPU_PATCH_TABLE_H37 ·25#define·OPENSUBDIV3_SDC_LOOP_SCHEME_H
39 ·2738 ·26
40 ·28#include·"../version.h"39 ·27#include·"../version.h"
41 ·2940 ·28
 41 ·29#include·"../sdc/scheme.h"
 42 ·30
 43 ·31#include·<cassert>
42 ·30#include·<vector>44 ·32#include·<cmath>
 45 ·33
43 ·31#include·"../far/patchDescriptor.h" 
44 ·32#include·"../osd/nonCopyable.h" 
45 ·33#include·"../osd/types.h" 
46 ·34 
47 ·35#include·<vector> 
48 ·36 
49 ·37namespace·OpenSubdiv·{46 ·34namespace·OpenSubdiv·{
50 ·38namespace·OPENSUBDIV_VERSION·{47 ·35namespace·OPENSUBDIV_VERSION·{
 48 ·36namespace·Sdc·{
 49 ·37
 50 ·38
51 ·3951 ·39//
52 ·40namespace·Far{ 
53 ·41·class·PatchTable; 
54 ·42};52 ·40//·Specializations·for·Sdc::Scheme<SCHEME_LOOP>:
 53 ·41//
 54 ·42//
55 ·4355 ·43
56 ·44namespace·Osd·{ 
57 ·45 
58 59class·CpuPatchTable·{ 
59 ·60public: 
60 61·static·CpuPatchTable·*Create(const·Far::PatchTable·*patchTable, 
61 ·62·void·*deviceContext·=·NULL)·{ 
62 ·63·(void)deviceContext;·//·unused 
63 ·64·return·new·CpuPatchTable(patchTable); 
64 ·65·}56 ·44//
 57 ·45//·Loop·traits:
 58 ·46//
 59 ·47template·<>
 60 48inline·Split·Scheme<SCHEME_LOOP>::GetTopologicalSplitType()·{·return
 61 SPLIT_TO_TRIS;·}
 62 ·49
 63 ·50template·<>
 64 51inline·int·Scheme<SCHEME_LOOP>::GetRegularFaceSize()·{·return·3;·}
 65 ·52
 66 ·53template·<>
 67 54inline·int·Scheme<SCHEME_LOOP>::GetRegularVertexValence()·{·return·6;·}
 68 ·55
 69 ·56template·<>
 70 57inline·int·Scheme<SCHEME_LOOP>::GetLocalNeighborhoodSize()·{·return·1;·}
 71 ·58
 72 ·59
 73 ·60//
 74 ·61//·Protected·methods·to·assign·the·two·types·of·masks·for·an·edge-vertex·--
 75 ·62//·Crease·and·Smooth.
 76 ·63//
 77 ·64//·The·Crease·case·does·not·really·need·to·be·specialized,·though·it·may·be
 78 ·65//·preferable·to·define·all·explicitly·here.
65 ·6679 ·66//
66 67·explicit·CpuPatchTable(const·Far::PatchTable·*patchTable); 
67 68·~CpuPatchTable()·{} 
68 ·69 
69 70·const·PatchArray·*GetPatchArrayBuffer()·const·{ 
70 ·71·return·&_patchArrays[0];80 ·67template·<>
 81 ·68template·<typename·EDGE,·typename·MASK>
 82 ·69inline·void
 83 70Scheme<SCHEME_LOOP>::assignCreaseMaskForEdge(EDGE·const&,·MASK&·mask)·const
 84 ·71{
 85 ·72·mask.SetNumVertexWeights(2);
 86 ·73·mask.SetNumEdgeWeights(0);
 87 ·74·mask.SetNumFaceWeights(0);
 88 ·75·mask.SetFaceWeightsForFaceCenters(false);
 89 ·76
 90 ·77·mask.VertexWeight(0)·=·0.5f;
 91 ·78·mask.VertexWeight(1)·=·0.5f;
 92 ·79}
 93 ·80
 94 ·81template·<>
 95 ·82template·<typename·EDGE,·typename·MASK>
 96 ·83inline·void
 97 84Scheme<SCHEME_LOOP>::assignSmoothMaskForEdge(EDGE·const&·edge,·MASK&·mask)
 98 const
 99 ·85{
 100 ·86·int·faceCount·=·edge.GetNumFaces();
 101 ·87
 102 ·88·mask.SetNumVertexWeights(2);
 103 ·89·mask.SetNumEdgeWeights(0);
 104 ·90·mask.SetNumFaceWeights(faceCount);
 105 ·91·mask.SetFaceWeightsForFaceCenters(false);
 106 ·92
 107 ·93·//
 108 ·94·//·This·is·where·we·run·into·the·issue·of·"face·weights"·--·we·want·to
 109 weight·the
 110 ·95·//·face-centers·for·Catmark,·but·face-centers·are·not·generated·for·Loop.
 111 So·do
 112 ·96·//·we·make·assumptions·on·how·the·mask·is·used,·assign·some·property·to·the
 113 mask
 114 ·97·//·to·indicate·how·they·were·assigned,·or·take·input·from·the·mask·itself?
 115 ·98·//
Max diff block lines reached; 7104/31977 bytes (22.22%) of diff not shown.
5.88 KB
./usr/share/doc/opensubdiv/doxy_html/a00896.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/cpuEvaluator.h·File·Reference</title>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 83, 42 lines modifiedOffset 83, 41 lines modified
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124;87 <a·href="#nested-classes">Classes</a>·&#124;
88 <a·href="#namespaces">Namespaces</a>··</div>88 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">cpuEvaluator.h·File·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">crease.h·File·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
93 <code>#include·&quot;<a·class="el"·href="a00899_source.html">../osd/bufferDescriptor.h</a>&quot;</code><br·/> 
94 <code>#include·&quot;<a·class="el"·href="a01481_source.html">../osd/types.h</a>&quot;</code><br·/>93 <code>#include·&quot;<a·class="el"·href="a00890_source.html">../sdc/options.h</a>&quot;</code><br·/>
95 <code>#include·&lt;cstddef&gt;</code><br·/> 
96 </div>94 </div>
97 <p><a·href="a00896_source.html">Go·to·the·source·code·of·this·file.</a></p>95 <p><a·href="a00896_source.html">Go·to·the·source·code·of·this·file.</a></p>
98 <table·class="memberdecls">96 <table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
100 Classes</h2></td></tr>98 Classes</h2></td></tr>
101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01157.html">CpuEvaluator</a></td></tr>99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01325.html">Crease</a></td></tr>
 100 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Types,·constants·and·utilities·related·to·semi-sharp·creasing·&ndash;·whose·implementation·is·independent·of·the·subdivision·scheme.··<a·href="a01325.html#details">More...</a><br·/></td></tr>
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
103 </table><table·class="memberdecls">102 </table><table·class="memberdecls">
104 <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>
105 Namespaces</h2></td></tr>104 Namespaces</h2></td></tr>
106 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>105 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>
107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
108 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>107 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>
109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
110 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>109 <tr·class="memitem:a00913"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00913.html">OpenSubdiv::OPENSUBDIV_VERSION::Sdc</a></td></tr>
111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
112 </table>111 </table>
113 </div><!--·contents·-->112 </div><!--·contents·-->
114 </div><!--·doc-content·-->113 </div><!--·doc-content·-->
115 <!--·start·footer·part·-->114 <!--·start·footer·part·-->
116 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->115 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
117 ··<ul>116 ··<ul>
118 ····<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="a00896.html">cpuEvaluator.h</a></li>117 ····<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="a00896.html">crease.h</a></li>
119 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>118 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
120 ··</ul>119 ··</ul>
121 </div>120 </div>
122 </body>121 </body>
123 </html>122 </html>
867 B
html2text {}
    
Offset 5, 27 lines modifiedOffset 5, 27 lines modified
  
  
  
5 [Logo]·OpenSubdiv5 [Logo]·OpenSubdiv
  
  
6 Classes·|·Namespaces6 Classes·|·Namespaces
7 cpuEvaluator.h·File·Reference7 crease.h·File·Reference
8 #include·"../version.h"8 #include·"../version.h"
9 #include·"../osd/bufferDescriptor.h" 
10 #include·"../osd/types.h"9 #include·"../sdc/options.h"
11 #include·<cstddef> 
12 Go_to_the_source_code_of_this_file.10 Go_to_the_source_code_of_this_file.
13 ·Classes11 ·Classes
14 class· CpuEvaluator12 class· Crease
 13  ······Types,·constants·and·utilities·related·to·semi-sharp·creasing··whose
 14 ········implementation·is·independent·of·the·subdivision·scheme.·More...
15  15  
16 ·Namespaces16 ·Namespaces
17 namespace· OpenSubdiv17 namespace· OpenSubdiv
18  18  
19 namespace· OpenSubdiv::OPENSUBDIV_VERSION19 namespace· OpenSubdiv::OPENSUBDIV_VERSION
20  20  
21 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd21 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Sdc
22  22  
23 ····*·opensubdiv23 ····*·opensubdiv
24 ····*·osd24 ····*·sdc
25 ····*·cpuEvaluator.h25 ····*·crease.h
26 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.426 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
240 B
./usr/share/doc/opensubdiv/doxy_html/a00896.js
148 B
js-beautify {}
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 var·a00896·=·[1 var·a00896·=·[
2 ····["CpuEvaluator",·"a01157.html",·null]2 ····["Crease",·"a01325.html",·"a01325"]
3 ];3 ];
187 KB
./usr/share/doc/opensubdiv/doxy_html/a00896_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/cpuEvaluator.h·Source·File</title>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 80, 19 lines modifiedOffset 80, 19 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">cpuEvaluator.h</div></div>86 ··<div·class="headertitle"><div·class="title">crease.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <a·href="a00896.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>89 <a·href="a00896.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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·DreamWorks·Animation·LLC.</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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>
94 <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>94 <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>
95 <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>95 <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>
96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>
97 <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>97 <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 106, 502 lines modifiedOffset 106, 205 lines modified
106 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div>106 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div>
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
 113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_SDC_CREASE_H</span></div>
 114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·OPENSUBDIV3_SDC_CREASE_H</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_CPU_EVALUATOR_H</span></div> 
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_CPU_EVALUATOR_H</span></div> 
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> 
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
 117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;../osd/bufferDescriptor.h&quot;</span></div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;../sdc/options.h&quot;</span></div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&quot;../osd/types.h&quot;</span></div> 
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
 120 <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>
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
123 <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> 
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span>Sdc·{</div>
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
 125 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>
 126 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01325.html">···62</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01325.html">Crease</a>·{</div>
126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Osd·{</div>127 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="keyword">public</span>:</div>
 128 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>
 129 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01325.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="a01325.html#a2f54449f8a8ca460b0ad468b1aa1b4e0">SHARPNESS_SMOOTH</a>;····<span·class="comment">//·=··0.0f,·do·we·really·need·this?</span></div>
 130 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01325.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="a01325.html#a3bd7c586b7bf49ac3b1053ba789dae07">SHARPNESS_INFINITE</a>;··<span·class="comment">//·=·10.0f;</span></div>
 131 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
 132 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01325.html#a4620253f6da5407f55c2b95a727e0f03">···70</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01325.html#a4620253f6da5407f55c2b95a727e0f03">IsSmooth</a>(<span·class="keywordtype">float</span>·sharpness)····{·<span·class="keywordflow">return</span>·sharpness·&lt;=·<a·class="code·hl_variable"·href="a01325.html#a2f54449f8a8ca460b0ad468b1aa1b4e0">SHARPNESS_SMOOTH</a>;·}</div>
 133 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01325.html#ac9bfeebd44b0e47bb06c119c3b4ed750">···71</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01325.html#ac9bfeebd44b0e47bb06c119c3b4ed750">IsSharp</a>(<span·class="keywordtype">float</span>·sharpness)·····{·<span·class="keywordflow">return</span>·sharpness·&gt;·<a·class="code·hl_variable"·href="a01325.html#a2f54449f8a8ca460b0ad468b1aa1b4e0">SHARPNESS_SMOOTH</a>;·}</div>
 134 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01325.html#a0538e02ac31e9f1118abdd1f272e7982">···72</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01325.html#a0538e02ac31e9f1118abdd1f272e7982">IsInfinite</a>(<span·class="keywordtype">float</span>·sharpness)··{·<span·class="keywordflow">return</span>·sharpness·&gt;=·<a·class="code·hl_variable"·href="a01325.html#a3bd7c586b7bf49ac3b1053ba789dae07">SHARPNESS_INFINITE</a>;·}</div>
 135 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01325.html#a694f45be997ab00786d1b80f5bd39d8f">···73</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01325.html#a694f45be997ab00786d1b80f5bd39d8f">IsSemiSharp</a>(<span·class="keywordtype">float</span>·sharpness)·{·<span·class="keywordflow">return</span>·(<a·class="code·hl_variable"·href="a01325.html#a2f54449f8a8ca460b0ad468b1aa1b4e0">SHARPNESS_SMOOTH</a>·&lt;·sharpness)·&amp;&amp;·(sharpness·&lt;·<a·class="code·hl_variable"·href="a01325.html#a3bd7c586b7bf49ac3b1053ba789dae07">SHARPNESS_INFINITE</a>);·}</div>
 136 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
 137 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78">···82</a></span>····<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78">Rule</a>·{</div>
 138 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78ab299aefb26013a79d52191a7887fea53">···83</a></span>········<a·class="code·hl_enumvalue"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78ab299aefb26013a79d52191a7887fea53">RULE_UNKNOWN</a>·=·0,</div>
 139 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78a61d137f866997ed3693e3fcad76def5f">···84</a></span>········<a·class="code·hl_enumvalue"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78a61d137f866997ed3693e3fcad76def5f">RULE_SMOOTH</a>··=·(1·&lt;&lt;·0),</div>
 140 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78a43469c29d8579a63bc1d6247d2624799">···85</a></span>········<a·class="code·hl_enumvalue"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78a43469c29d8579a63bc1d6247d2624799">RULE_DART</a>····=·(1·&lt;&lt;·1),</div>
 141 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78a966fa1ae8aeb8587c498cf6a92cc3335">···86</a></span>········<a·class="code·hl_enumvalue"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78a966fa1ae8aeb8587c498cf6a92cc3335">RULE_CREASE</a>··=·(1·&lt;&lt;·2),</div>
 142 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>········<a·class="code·hl_enumvalue"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78a27ed0595212af48db763e461bfdc29ef">RULE_CORNER</a>··=·(1·&lt;&lt;·3)</div>
 143 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78a27ed0595212af48db763e461bfdc29ef">···88</a></span>····};</div>
127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>144 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>
128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01157.html">···39</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01157.html">CpuEvaluator</a>·{</div> 
129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">public</span>:</div>145 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span><span·class="keyword">public</span>:</div>
 146 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a01325.html#a9659c3f2c73b80d9dc22763a6054079b">···91</a></span>····<a·class="code·hl_function"·href="a01325.html#a9659c3f2c73b80d9dc22763a6054079b">Crease</a>()·:·_options()·{·}</div>
 147 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01325.html#a75d5d7e54170ccf6481932916e0fa9c1">···92</a></span>····<a·class="code·hl_function"·href="a01325.html#a75d5d7e54170ccf6481932916e0fa9c1">Crease</a>(<a·class="code·hl_class"·href="a01329.html">Options</a>·<span·class="keyword">const</span>&amp;·options)·:·_options(options)·{·}</div>
 148 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="a01325.html#af6737d6f9be18766c7a993cc9da108a8">···93</a></span>····<a·class="code·hl_function"·href="a01325.html#af6737d6f9be18766c7a993cc9da108a8">~Crease</a>()·{·}</div>
130 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> 
131 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·SRC_BUFFER,·<span·class="keyword">typename</span>·DST_BUFFER,·<span·class="keyword">typename</span>·STENCIL_TABLE&gt;</div> 
132 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01157.html#ae8e914fc701af498ea6c6244da408b94">···72</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01157.html#ae8e914fc701af498ea6c6244da408b94">EvalStencils</a>(</div> 
133 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>········SRC_BUFFER·*srcBuffer,·<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;srcDesc,</div> 
134 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>········DST_BUFFER·*dstBuffer,·<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDesc,</div> 
135 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········STENCIL_TABLE·<span·class="keyword">const</span>·*stencilTable,</div> 
136 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01157.html">CpuEvaluator</a>·*instance·=·NULL,</div> 
137 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>········<span·class="keywordtype">void</span>·*·deviceContext·=·NULL)·{</div> 
138 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> 
139 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>········(void)instance;·······<span·class="comment">//·unused</span></div> 
140 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>········(void)deviceContext;··<span·class="comment">//·unused</span></div> 
141 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> 
142 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>········<span·class="keywordflow">if</span>·(stencilTable-&gt;GetNumStencils()·==·0)</div> 
143 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>············<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;</div> 
144 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> 
145 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01157.html#ae8e914fc701af498ea6c6244da408b94">EvalStencils</a>(srcBuffer-&gt;BindCpuBuffer(),·srcDesc,</div> 
146 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····························dstBuffer-&gt;BindCpuBuffer(),·dstDesc,</div> 
147 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····························&amp;stencilTable-&gt;GetSizes()[0],</div> 
148 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····························&amp;stencilTable-&gt;GetOffsets()[0],</div> 
149 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····························&amp;stencilTable-&gt;GetControlIndices()[0],</div> 
150 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····························&amp;stencilTable-&gt;GetWeights()[0],</div> 
151 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····························<span·class="comment">/*start·=·*/</span>·0,</div> 
152 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····························<span·class="comment">/*end···=·*/</span>·stencilTable-&gt;GetNumStencils());</div> 
153 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····}</div> 
154 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>149 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>
155 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno"><a·class="line"·href="a01157.html#a4345e3659b7fb82f23dd51c688179ce3">··121</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01157.html#a4345e3659b7fb82f23dd51c688179ce3">EvalStencils</a>(</div> 
156 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>········<span·class="keyword">const</span>·<span·class="keywordtype">float</span>·*src,·<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;srcDesc,</div> 
157 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>········<span·class="keywordtype">float</span>·*dst,·······<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;dstDesc,</div> 
158 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>········<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·*·sizes,</div> 
159 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>········<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·*·offsets,</div> 
160 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>········<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·*·indices,</div> 
161 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>········<span·class="keyword">const</span>·<span·class="keywordtype">float</span>·*·weights,</div> 
162 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>········<span·class="keywordtype">int</span>·start,·<span·class="keywordtype">int</span>·end);</div>150 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a01325.html#a5dfa6810f510fac1ec621fc9e6b530c4">···95</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01325.html#a5dfa6810f510fac1ec621fc9e6b530c4">IsUn[·...·truncated·by·diffoscope;·len:·351,·SHA:·5d21b96c984dc174e31a898ae0a8c4acf0d01fab699c70b5c080c9bcaf860054·...·]</div>
 151 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>
 152 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>
 153 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····<span·class="keywordtype">float</span>·<a·class="code·hl_function"·href="a01325.html#aa4ac191c71a85e2929036f27377fea59">SharpenBoundaryEdge</a>(<span·class="keywordtype">float</span>·edgeSharpness)·<span·class="keyword">const</span>;</div>
 154 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>····<span·class="keywordtype">float</span>·<a·class="code·hl_function"·href="a01325.html#a121d7a72bfdf61c89df7447a52ffb848">SharpenBoundaryVertex</a>(<span·class="keywordtype">float</span>·edgeSharpness)·<span·class="keyword">const</span>;</div>
 155 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div>
 156 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>····<span·class="comment">//··For·future·consideration</span></div>
 157 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>····<span·class="comment">//float·SharpenNonManifoldEdge(float·edgeSharpness)·const;</span></div>
 158 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>····<span·class="comment">//float·SharpenNonManifoldVertex(float·edgeSharpness)·const;</span></div>
 159 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span><span·class="comment"></span>·</div>
Max diff block lines reached; 117518/151276 bytes (77.68%) of diff not shown.
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 us-ascii1 utf-8
39.0 KB
html2text {}
    
Offset 4, 18 lines modifiedOffset 4, 18 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 cpuEvaluator.h5 crease.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2015·Pixar8 ·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·in11 ·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·trade15 ·9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade
Offset 29, 658 lines modifiedOffset 29, 289 lines modified
29 ·17//29 ·17//
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
36 ·24 
37 ·25#ifndef·OPENSUBDIV3_OSD_CPU_EVALUATOR_H36 ·24#ifndef·OPENSUBDIV3_SDC_CREASE_H
38 ·26#define·OPENSUBDIV3_OSD_CPU_EVALUATOR_H37 ·25#define·OPENSUBDIV3_SDC_CREASE_H
39 ·2738 ·26
40 ·28#include·"../version.h"39 ·27#include·"../version.h"
41 ·29#include·"../osd/bufferDescriptor.h"40 ·28
42 ·30#include·"../osd/types.h"41 ·29#include·"../sdc/options.h"
43 ·31 
44 ·32#include·<cstddef>42 ·30
 43 ·31namespace·OpenSubdiv·{
 44 ·32namespace·OPENSUBDIV_VERSION·{
45 ·3345 ·33
46 ·34namespace·OpenSubdiv·{ 
47 ·35namespace·OPENSUBDIV_VERSION·{ 
48 ·36 
49 ·37namespace·Osd·{46 ·34namespace·Sdc·{
50 ·38 
51 39class·CpuEvaluator·{47 ·35
 48 ·61
 49 62class·Crease·{
 50 ·63public:
 51 ·65
 52 67·static·float·const·SHARPNESS_SMOOTH;·//·=·0.0f,·do·we·really·need·this?
 53 68·static·float·const·SHARPNESS_INFINITE;·//·=·10.0f;
 54 ·69
 55 70·static·bool·IsSmooth(float·sharpness)·{·return·sharpness·<=
 56 SHARPNESS_SMOOTH;·}
 57 71·static·bool·IsSharp(float·sharpness)·{·return·sharpness·>·SHARPNESS_SMOOTH;
 58 }
 59 72·static·bool·IsInfinite(float·sharpness)·{·return·sharpness·>=
 60 SHARPNESS_INFINITE;·}
 61 73·static·bool·IsSemiSharp(float·sharpness)·{·return·(SHARPNESS_SMOOTH·<
 62 sharpness)·&&·(sharpness·<·SHARPNESS_INFINITE);·}
 63 ·75
 64 82·enum·Rule·{
 65 83·RULE_UNKNOWN·=·0,
 66 84·RULE_SMOOTH·=·(1·<<·0),
 67 85·RULE_DART·=·(1·<<·1),
 68 86·RULE_CREASE·=·(1·<<·2),
 69 ·87·RULE_CORNER·=·(1·<<·3)
 70 88·};
 71 ·89
52 ·40public:72 ·90public:
 73 91·Crease()·:·_options()·{·}
 74 92·Crease(Options·const&·options)·:·_options(options)·{·}
 75 93·~Crease()·{·}
53 ·46 
54 ·71·template·<typename·SRC_BUFFER,·typename·DST_BUFFER,·typename·STENCIL_TABLE> 
55 72·static·bool·EvalStencils( 
56 ·73·SRC_BUFFER·*srcBuffer,·BufferDescriptor·const·&srcDesc, 
57 ·74·DST_BUFFER·*dstBuffer,·BufferDescriptor·const·&dstDesc, 
58 ·75·STENCIL_TABLE·const·*stencilTable, 
59 ·76·const·CpuEvaluator·*instance·=·NULL, 
60 ·77·void·*·deviceContext·=·NULL)·{ 
61 ·78 
62 ·79·(void)instance;·//·unused 
63 ·80·(void)deviceContext;·//·unused 
64 ·81 
65 ·82·if·(stencilTable->GetNumStencils()·==·0) 
66 ·83·return·false; 
67 ·84 
68 ·85·return·EvalStencils(srcBuffer->BindCpuBuffer(),·srcDesc, 
69 ·86·dstBuffer->BindCpuBuffer(),·dstDesc, 
70 ·87·&stencilTable->GetSizes()[0], 
71 ·88·&stencilTable->GetOffsets()[0], 
72 ·89·&stencilTable->GetControlIndices()[0], 
73 ·90·&stencilTable->GetWeights()[0], 
74 ·91·/*start·=·*/·0, 
75 ·92·/*end·=·*/·stencilTable->GetNumStencils()); 
76 ·93·} 
77 ·9476 ·94
78 121·static·bool·EvalStencils( 
79 ·122·const·float·*src,·BufferDescriptor·const·&srcDesc, 
80 ·123·float·*dst,·BufferDescriptor·const·&dstDesc, 
81 ·124·const·int·*·sizes, 
82 ·125·const·int·*·offsets, 
83 ·126·const·int·*·indices, 
84 ·127·const·float·*·weights, 
85 ·128·int·start,·int·end);77 95·bool·IsUniform()·const·{·return·_options.GetCreasingMethod()·==·Options::
 78 CREASE_UNIFORM;·}
 79 ·96
 80 ·98
 81 ·104·float·SharpenBoundaryEdge(float·edgeSharpness)·const;
 82 ·105·float·SharpenBoundaryVertex(float·edgeSharpness)·const;
 83 ·106
 84 ·107·//·For·future·consideration
 85 ·108·//float·SharpenNonManifoldEdge(float·edgeSharpness)·const;
 86 ·109·//float·SharpenNonManifoldVertex(float·edgeSharpness)·const;
 87 ·111
 88 ·113
 89 ·124·float·SubdivideUniformSharpness(float·vertexOrEdgeSharpness)·const;
86 ·12990 ·125
87 ·167·template·<typename·SRC_BUFFER,·typename·DST_BUFFER,·typename 
88 STENCIL_TABLE> 
89 168·static·bool·EvalStencils( 
90 ·169·SRC_BUFFER·*srcBuffer,·BufferDescriptor·const·&srcDesc, 
91 ·170·DST_BUFFER·*dstBuffer,·BufferDescriptor·const·&dstDesc, 
92 ·171·DST_BUFFER·*duBuffer,·BufferDescriptor·const·&duDesc, 
93 ·172·DST_BUFFER·*dvBuffer,·BufferDescriptor·const·&dvDesc, 
94 ·173·STENCIL_TABLE·const·*stencilTable, 
95 ·174·const·CpuEvaluator·*instance·=·NULL, 
Max diff block lines reached; 34089/39928 bytes (85.38%) of diff not shown.
5.89 KB
./usr/share/doc/opensubdiv/doxy_html/a00899.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/bufferDescriptor.h·File·Reference</title>8 <title>OpenSubdiv:·opensubdiv/sdc/bilinearScheme.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 81, 43 lines modifiedOffset 81, 36 lines modified
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124; 
88 <a·href="#namespaces">Namespaces</a>··</div>87 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">bufferDescriptor.h·File·Reference</div></div>88 ··<div·class="headertitle"><div·class="title">bilinearScheme.h·File·Reference</div></div>
90 </div><!--header-->89 </div><!--header-->
91 <div·class="contents">90 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>91 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
93 <code>#include·&lt;string.h&gt;</code><br·/>92 <code>#include·&quot;<a·class="el"·href="a00887_source.html">../sdc/scheme.h</a>&quot;</code><br·/>
94 </div>93 </div>
95 <p><a·href="a00899_source.html">Go·to·the·source·code·of·this·file.</a></p>94 <p><a·href="a00899_source.html">Go·to·the·source·code·of·this·file.</a></p>
96 <table·class="memberdecls">95 <table·class="memberdecls">
97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
98 Classes</h2></td></tr> 
99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01133.html">BufferDescriptor</a></td></tr> 
100 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a01133.html"·title="BufferDescriptor·is·a·struct·which·describes·buffer·elements·in·interleaved·data·buffers....">BufferDescriptor</a>·is·a·struct·which·describes·buffer·elements·in·interleaved·data·buffers.·Almost·all·<a·class="el"·href="a00912.html">Osd</a>·Evaluator·APIs·take·BufferDescriptors·along·with·device-specific·buffer·objects.··<a·href="a01133.html#details">More...</a><br·/></td></tr> 
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
102 </table><table·class="memberdecls"> 
103 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
104 Namespaces</h2></td></tr>97 Namespaces</h2></td></tr>
105 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>98 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
107 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>100 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
109 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>102 <tr·class="memitem:a00913"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00913.html">OpenSubdiv::OPENSUBDIV_VERSION::Sdc</a></td></tr>
110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
111 </table>104 </table>
112 </div><!--·contents·-->105 </div><!--·contents·-->
113 </div><!--·doc-content·-->106 </div><!--·doc-content·-->
114 <!--·start·footer·part·-->107 <!--·start·footer·part·-->
115 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->108 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
116 ··<ul>109 ··<ul>
117 ····<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="a00899.html">bufferDescriptor.h</a></li>110 ····<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="a00899.html">bilinearScheme.h</a></li>
118 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>111 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
119 ··</ul>112 ··</ul>
120 </div>113 </div>
121 </body>114 </body>
122 </html>115 </html>
901 B
html2text {}
    
Offset 4, 29 lines modifiedOffset 4, 23 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 Classes·|·Namespaces 
6 bufferDescriptor.h·File·Reference5 Namespaces
 6 bilinearScheme.h·File·Reference
7 #include·"../version.h"7 #include·"../version.h"
8 #include·<string.h>8 #include·"../sdc/scheme.h"
9 Go_to_the_source_code_of_this_file.9 Go_to_the_source_code_of_this_file.
10 ·Classes 
11 struct· BufferDescriptor 
12 ·········BufferDescriptor·is·a·struct·which·describes·buffer·elements·in 
13  ·······interleaved·data·buffers.·Almost·all·Osd·Evaluator·APIs·take 
14 ·········BufferDescriptors·along·with·device-specific·buffer·objects.·More... 
15   
16 ·Namespaces10 ·Namespaces
17 namespace· OpenSubdiv11 namespace· OpenSubdiv
18  12  
19 namespace· OpenSubdiv::OPENSUBDIV_VERSION13 namespace· OpenSubdiv::OPENSUBDIV_VERSION
20  14  
21 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd15 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Sdc
22  16  
23 ····*·opensubdiv17 ····*·opensubdiv
24 ····*·osd18 ····*·sdc
25 ····*·bufferDescriptor.h19 ····*·bilinearScheme.h
26 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.420 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
62.6 KB
./usr/share/doc/opensubdiv/doxy_html/a00899_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/bufferDescriptor.h·Source·File</title>8 <title>OpenSubdiv:·opensubdiv/sdc/bilinearScheme.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 80, 19 lines modifiedOffset 80, 19 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">bufferDescriptor.h</div></div>86 ··<div·class="headertitle"><div·class="title">bilinearScheme.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <a·href="a00899.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>89 <a·href="a00899.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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·DreamWorks·Animation·LLC.</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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>
94 <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>94 <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>
95 <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>95 <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>
96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>
97 <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>97 <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 106, 99 lines modifiedOffset 106, 175 lines modified
106 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div>106 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div>
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
 113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_SDC_BILINEAR_SCHEME_H</span></div>
 114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·OPENSUBDIV3_SDC_BILINEAR_SCHEME_H</span></div>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_BUFFER_DESCRIPTOR_H</span></div> 
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_BUFFER_DESCRIPTOR_H</span></div> 
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> 
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
 117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&lt;string.h&gt;</span></div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;../sdc/scheme.h&quot;</span></div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
120 <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>120 <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>
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a00912.html">···34</a></span><span·class="keyword">namespace·</span>Osd·{</div>123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a00913.html">···34</a></span><span·class="keyword">namespace·</span>Sdc·{</div>
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
125 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> 
126 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="comment">//··example:</span></div> 
127 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="comment">//·······n</span></div> 
128 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="comment">//··-----+----------------------------------------+-------------------------</span></div> 
129 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="comment">//·······|···············vertex··0················|</span></div> 
130 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="comment">//··-----+----------------------------------------+-------------------------</span></div> 
131 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="comment">//·······|··X··Y··Z··R··G··B··A·Xu·Yu·Zu·Xv·Yv·Zv·|</span></div> 
132 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="comment">//··-----+----------------------------------------+-------------------------</span></div> 
133 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="comment">//·······&lt;-------------·stride·=·13·--------------&gt;</span></div> 
134 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="comment">//</span></div> 
135 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="comment">//·····-·XYZ······(offset·=·n+0,··length·=·3,·stride·=·13)</span></div> 
136 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="comment">//·····-·RGBA·····(offset·=·n+3,··length·=·4,·stride·=·13)</span></div> 
137 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">//·····-·uTangent·(offset·=·n+7,··length·=·3,·stride·=·13)</span></div> 
138 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="comment">//·····-·vTangent·(offset·=·n+10,·length·=·3,·stride·=·13)</span></div> 
139 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="comment">//</span></div>125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="comment">//</span></div>
 126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="comment">//··Specializations·for·Scheme&lt;SCHEME_BILINEAR&gt;:</span></div>
140 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01133.html">···61</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·{</div> 
141 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> 
142 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01133.html#a446218762f5de8c77d06ee61e14b6b61">···64</a></span>····<a·class="code·hl_function"·href="a01133.html#a446218762f5de8c77d06ee61e14b6b61">BufferDescriptor</a>()·:·<a·class="code·hl_variable"·href="a01133.html#aed7ea92f45bd273dde380a45ddced592">offset</a>(0),·<a·class="code·hl_variable"·href="a01133.html#a9f59b34b1f25fe00023291b678246bcc">length</a>(0),·<a·class="code·hl_variable"·href="a01133.html#a08f66a6870d87afcd5dc1b60d1019692">stride</a>(0)·{·}</div> 
143 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> 
144 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01133.html#a958068066d1d10ae2a452ac57d9c0401">···67</a></span>····<a·class="code·hl_function"·href="a01133.html#a958068066d1d10ae2a452ac57d9c0401">BufferDescriptor</a>(<span·class="keywordtype">int</span>·o,·<span·class="keywordtype">int</span>·l,·<span·class="keywordtype">int</span>·s)·:·<a·class="code·hl_variable"·href="a01133.html#aed7ea92f45bd273dde380a45ddced592">offset</a>(o),·<a·class="code·hl_variable"·href="a01133.html#a9f59b34b1f25fe00023291b678246bcc">length</a>(l),·<a·class="code·hl_variable"·href="a01133.html#a08f66a6870d87afcd5dc1b60d1019692">stride</a>(s)·{·}</div> 
145 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="comment">//</span></div>
146 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01133.html#ae3d9db59ffddaff0873246935222c6a8">···70</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01133.html#ae3d9db59ffddaff0873246935222c6a8">GetLocalOffset</a>()<span·class="keyword">·const·</span>{</div> 
147 <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="a01133.html#a08f66a6870d87afcd5dc1b60d1019692">stride</a>·&gt;·0·?·<a·class="code·hl_variable"·href="a01133.html#aed7ea92f45bd273dde380a45ddced592">offset</a>·%·<a·class="code·hl_variable"·href="a01133.html#a08f66a6870d87afcd5dc1b60d1019692">stride</a>·:·0;</div> 
148 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····}</div> 
149 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
150 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01133.html#ac532c4b500b1a85ea22217f2c65a70ed">···75</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01133.html#ac532c4b500b1a85ea22217f2c65a70ed">IsValid</a>()<span·class="keyword">·const·</span>{</div> 
151 <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="a01133.html#a9f59b34b1f25fe00023291b678246bcc">length</a>·&gt;·0)·&amp;&amp;</div> 
152 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>················(<a·class="code·hl_variable"·href="a01133.html#a9f59b34b1f25fe00023291b678246bcc">length</a>·&lt;=·<a·class="code·hl_variable"·href="a01133.html#a08f66a6870d87afcd5dc1b60d1019692">stride</a>·-·<a·class="code·hl_function"·href="a01133.html#ae3d9db59ffddaff0873246935222c6a8">GetLocalOffset</a>()));</div> 
153 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····}</div> 
154 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="comment">//</span></div>
 130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="comment">//··Bilinear·traits:</span></div>
155 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01133.html#a372de693ad40b3f42839c8ec6ac845f4">···81</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01133.html#a372de693ad40b3f42839c8ec6ac845f4">Reset</a>()·{</div> 
156 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>········<a·class="code·hl_variable"·href="a01133.html#aed7ea92f45bd273dde380a45ddced592">offset</a>·=·<a·class="code·hl_variable"·href="a01133.html#a9f59b34b1f25fe00023291b678246bcc">length</a>·=·<a·class="code·hl_variable"·href="a01133.html#a08f66a6870d87afcd5dc1b60d1019692">stride</a>·=·0;</div> 
157 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····}</div>131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="comment">//</span></div>
 132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">template</span>·&lt;&gt;</div>
 133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01333.html#a0e02d297f903bddcf8bc10c0ae17ad3c">···44</a></span><span·class="keyword">inline</span>·<a·class="code·hl_enumeration"·href="a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887b">Split</a>·<a·class="code·hl_function"·href="a01333.html#a14b97ddde5fba31ca7f933508ee649da">Scheme&lt;SCHEME_BILINEAR&gt;::GetTopologicalSplitType</a>()·{·<span·class="keywordflow">return</span>·<a·class="code·hl_enumvalue"·href="a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887ba56eed514f6a5971f198c9e421054b513">SPLIT_TO_QUADS</a>;·}</div>
158 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
159 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01133.html#aaff9aa09cae91e39d5422c8cfc878ba5">···86</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01133.html#aaff9aa09cae91e39d5422c8cfc878ba5">operator·==·</a>(<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&amp;other)<span·class="keyword">·const·</span>{</div> 
160 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>········<span·class="keywordflow">return</span>·(<a·class="code·hl_variable"·href="a01133.html#aed7ea92f45bd273dde380a45ddced592">offset</a>·==·other.<a·class="code·hl_variable"·href="a01133.html#aed7ea92f45bd273dde380a45ddced592">offset</a>·&amp;&amp;</div> 
161 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>················<a·class="code·hl_variable"·href="a01133.html#a9f59b34b1f25fe00023291b678246bcc">length</a>·==·other.<a·class="code·hl_variable"·href="a01133.html#a9f59b34b1f25fe00023291b678246bcc">length</a>·&amp;&amp;</div> 
162 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>················<a·class="code·hl_variable"·href="a01133.html#a08f66a6870d87afcd5dc1b60d1019692">stride</a>·==·other.<a·class="code·hl_variable"·href="a01133.html#a08f66a6870d87afcd5dc1b60d1019692">str[·...·truncated·by·diffoscope;·len:·8,·SHA:·694dc9a4a348950e4483c06fc643288e250adfc78f1333ab48c6f9531f104caa·...·];</div>135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">template</span>·&lt;&gt;</div>
 136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01333.html#a36744b2ac3801874da987d36851be86c">···47</a></span><span·class="keyword">inline</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01333.html#a531004716c07aad5436cb2db27e1ec24">Scheme&lt;SCHEME_BILINEAR&gt;::GetRegularFaceSize</a>()·{·<span·class="keywordflow">return</span>·4;·}</div>
 137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
 138 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">template</span>·&lt;&gt;</div>
 139 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01333.html#ad46ad6c30664729d163c5fcc20cdf917">···50</a></span><span·class="keyword">inline</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01333.html#a8f7e983b2195ac6b388c7a6db17f8cb0">Scheme&lt;SCHEME_BILINEAR&gt;::GetRegularVertexValence</a>()·{·<span·class="keywordflow">return</span>·4;·}</div>
 140 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
 141 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">template</span>·&lt;&gt;</div>
 142 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01333.html#a953430a884584e984c0afbb058091be1">···53</a></span><span·class="keyword">inline</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01333.html#a73cf51e4315ca86e5e0a3954c92f8f74">Scheme&lt;SCHEME_BILINEAR&gt;::GetLocalNeighborhoodSize</a>()·{·<span·class="keywordflow">return</span>·0;·}</div>
 143 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
 144 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
 145 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="comment">//</span></div>
 146 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="comment">//··Refinement·masks:</span></div>
 147 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">//</span></div>
 148 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword">template</span>·&lt;&gt;</div>
 149 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·EDGE,·<span·class="keyword">typename</span>·MASK&gt;</div>
 150 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="keywordtype">void</span></div>
 151 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01333.html#af9dea56e1ab2f200dd03b4e35cf754c3">···62</a></span><a·class="code·hl_function"·href="a01333.html#a5b5a5377a01eb4ba446e174eff9e45ac">Scheme&lt;SCHEME_BILINEAR&gt;::ComputeEdgeVertexMask</a>(EDGE·<span·class="keyword">const</span>&amp;·edge,·MASK&amp;·mask,</div>
 152 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>················································<a·class="code·hl_enumeration"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78">Crease::Rule</a>,·<a·class="code·hl_enumeration"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78">Crease::Rule</a>)<span·class="keyword">·const·</span>{</div>
 153 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="comment">//··This·should·be·inline,·otherwise·trivially·replicate·it:</span></div>
 154 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····assignCreaseMaskForEdge(edge,·mask);</div>
 155 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>}</div>
 156 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>
 157 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">template</span>·&lt;&gt;</div>
 158 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·VERTEX,·<span·class="keyword">typename</span>·MASK&gt;</div>
 159 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="keywordtype">void</span></div>
 160 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01333.html#acd3f8303b964bda017e6f1e0cc77c6c3">···71</a></span><a·class="code·hl_function"·href="a01333.html#a328ca26e6142838c4844b034546fb8c7">Scheme&lt;SCHEME_BILINEAR&gt;::ComputeVertexVertexMask</a>(VERTEX·<span·class="keyword">const</span>&amp;·vertex,·MASK&amp;·mask,</div>
 161 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··················································<a·class="code·hl_enumeration"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78">Crease::Rule</a>,·<a·class="code·hl_enumeration"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78">Crease::Rule</a>)<span·class="keyword">·const·</span>{</div>
 162 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="comment">//··This·should·be·inline,·otherwise·trivially·replicate·it:</span></div>
Max diff block lines reached; 11631/52318 bytes (22.23%) of diff not shown.
11.4 KB
html2text {}
    
Offset 4, 18 lines modifiedOffset 4, 18 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 bufferDescriptor.h5 bilinearScheme.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2015·Pixar8 ·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·in11 ·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·trade15 ·9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade
Offset 29, 126 lines modifiedOffset 29, 211 lines modified
29 ·17//29 ·17//
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
 36 ·24#ifndef·OPENSUBDIV3_SDC_BILINEAR_SCHEME_H
 37 ·25#define·OPENSUBDIV3_SDC_BILINEAR_SCHEME_H
 38 ·26
36 ·24 
37 ·25#ifndef·OPENSUBDIV3_OSD_BUFFER_DESCRIPTOR_H 
38 ·26#define·OPENSUBDIV3_OSD_BUFFER_DESCRIPTOR_H 
39 ·27 
40 ·28#include·"../version.h"39 ·27#include·"../version.h"
41 ·29#include·<string.h>40 ·28
 41 ·29#include·"../sdc/scheme.h"
42 ·3042 ·30
43 ·31namespace·OpenSubdiv·{43 ·31namespace·OpenSubdiv·{
44 ·32namespace·OPENSUBDIV_VERSION·{44 ·32namespace·OPENSUBDIV_VERSION·{
45 ·3345 ·33
46 34namespace·Osd·{46 34namespace·Sdc·{
47 ·3547 ·35
48 ·46 
49 ·47//·example: 
50 ·48//·n 
51 ·49//·-----+----------------------------------------+------------------------- 
52 ·50//·|·vertex·0·| 
53 ·51//·-----+----------------------------------------+------------------------- 
54 ·52//·|·X·Y·Z·R·G·B·A·Xu·Yu·Zu·Xv·Yv·Zv·| 
55 ·53//·-----+----------------------------------------+------------------------- 
56 ·54//·<-------------·stride·=·13·--------------> 
57 ·55// 
58 ·56//·-·XYZ·(offset·=·n+0,·length·=·3,·stride·=·13) 
59 ·57//·-·RGBA·(offset·=·n+3,·length·=·4,·stride·=·13) 
60 ·58//·-·uTangent·(offset·=·n+7,·length·=·3,·stride·=·13) 
61 ·59//·-·vTangent·(offset·=·n+10,·length·=·3,·stride·=·13) 
62 ·60//48 ·36//
63 61struct·BufferDescriptor·{ 
64 ·62 
65 64·BufferDescriptor()·:·offset(0),·length(0),·stride(0)·{·} 
66 ·65 
67 67·BufferDescriptor(int·o,·int·l,·int·s)·:·offset(o),·length(l),·stride(s)·{·} 
68 ·68 
69 70·int·GetLocalOffset()·const·{ 
70 ·71·return·stride·>·0·?·offset·%·stride·:·0; 
71 ·72·} 
72 ·73 
73 75·bool·IsValid()·const·{ 
74 ·76·return·((length·>·0)·&& 
75 ·77·(length·<=·stride·-·GetLocalOffset())); 
76 ·78·} 
77 ·79 
78 81·void·Reset()·{ 
79 ·82·offset·=·length·=·stride·=·0; 
80 ·83·} 
81 ·84 
82 86·bool·operator_==(BufferDescriptor·const·&other)·const·{ 
83 ·87·return·(offset·==·other.offset·&& 
84 ·88·length·==·other.length·&& 
85 ·89·stride·==·other.stride);49 ·37//·Specializations·for·Scheme<SCHEME_BILINEAR>:
 50 ·38//
 51 ·39
 52 ·40//
 53 ·41//·Bilinear·traits:
 54 ·42//
 55 ·43template·<>
 56 44inline·Split·Scheme<SCHEME_BILINEAR>::GetTopologicalSplitType()·{·return
 57 SPLIT_TO_QUADS;·}
 58 ·45
 59 ·46template·<>
 60 47inline·int·Scheme<SCHEME_BILINEAR>::GetRegularFaceSize()·{·return·4;·}
 61 ·48
 62 ·49template·<>
 63 50inline·int·Scheme<SCHEME_BILINEAR>::GetRegularVertexValence()·{·return·4;·}
 64 ·51
 65 ·52template·<>
 66 53inline·int·Scheme<SCHEME_BILINEAR>::GetLocalNeighborhoodSize()·{·return·0;·}
 67 ·54
 68 ·55
 69 ·56//
 70 ·57//·Refinement·masks:
 71 ·58//
 72 ·59template·<>
 73 ·60template·<typename·EDGE,·typename·MASK>
 74 ·61void
 75 62Scheme<SCHEME_BILINEAR>::ComputeEdgeVertexMask(EDGE·const&·edge,·MASK&·mask,
 76 ·63·Crease::Rule,·Crease::Rule)·const·{
 77 ·64·//·This·should·be·inline,·otherwise·trivially·replicate·it:
 78 ·65·assignCreaseMaskForEdge(edge,·mask);
 79 ·66}
 80 ·67
 81 ·68template·<>
 82 ·69template·<typename·VERTEX,·typename·MASK>
 83 ·70void
 84 71Scheme<SCHEME_BILINEAR>::ComputeVertexVertexMask(VERTEX·const&·vertex,·MASK&
 85 mask,
 86 ·72·Crease::Rule,·Crease::Rule)·const·{
 87 ·73·//·This·should·be·inline,·otherwise·trivially·replicate·it:
 88 ·74·assignCornerMaskForVertex(vertex,·mask);
 89 ·75}
 90 ·76
 91 ·77
 92 ·78//
 93 ·79//·Limit·masks·for·position·--·the·limit·position·of·all·vertices·is·the
 94 refined·vertex.
 95 ·80//
 96 ·81template·<>
Max diff block lines reached; 4493/11615 bytes (38.68%) of diff not shown.
5.55 KB
./usr/share/doc/opensubdiv/doxy_html/a00902.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/cudaVertexBuffer.h·File·Reference</title>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 81, 43 lines modifiedOffset 81, 38 lines modified
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="summary">86 ··<div·class="summary">
87 <a·href="#nested-classes">Classes</a>·&#124; 
88 <a·href="#namespaces">Namespaces</a>··</div>87 <a·href="#namespaces">Namespaces</a>··</div>
89 ··<div·class="headertitle"><div·class="title">cudaVertexBuffer.h·File·Reference</div></div>88 ··<div·class="headertitle"><div·class="title">catmarkScheme.h·File·Reference</div></div>
90 </div><!--header-->89 </div><!--header-->
91 <div·class="contents">90 <div·class="contents">
92 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>91 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
 92 <code>#include·&quot;<a·class="el"·href="a00887_source.html">../sdc/scheme.h</a>&quot;</code><br·/>
93 <code>#include·&lt;cstddef&gt;</code><br·/>93 <code>#include·&lt;cassert&gt;</code><br·/>
 94 <code>#include·&lt;cmath&gt;</code><br·/>
94 </div>95 </div>
95 <p><a·href="a00902_source.html">Go·to·the·source·code·of·this·file.</a></p>96 <p><a·href="a00902_source.html">Go·to·the·source·code·of·this·file.</a></p>
96 <table·class="memberdecls">97 <table·class="memberdecls">
97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
98 Classes</h2></td></tr> 
99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01185.html">CudaVertexBuffer</a></td></tr> 
100 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Concrete·vertex·buffer·class·for·Cuda·subdivision.··<a·href="a01185.html#details">More...</a><br·/></td></tr> 
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
102 </table><table·class="memberdecls"> 
103 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
104 Namespaces</h2></td></tr>99 Namespaces</h2></td></tr>
105 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr>100 <tr·class="memitem:a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
107 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr>102 <tr·class="memitem:a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</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">&#160;</td></tr>103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
109 <tr·class="memitem:a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr>104 <tr·class="memitem:a00913"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00913.html">OpenSubdiv::OPENSUBDIV_VERSION::Sdc</a></td></tr>
110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
111 </table>106 </table>
112 </div><!--·contents·-->107 </div><!--·contents·-->
113 </div><!--·doc-content·-->108 </div><!--·doc-content·-->
114 <!--·start·footer·part·-->109 <!--·start·footer·part·-->
115 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->110 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
116 ··<ul>111 ··<ul>
117 ····<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="a00902.html">cudaVertexBuffer.h</a></li>112 ····<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="a00902.html">catmarkScheme.h</a></li>
118 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>113 ····<li·class="footer">Generated·on·Sun·Dec·11·2022·09:52:28·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.4·</li>
119 ··</ul>114 ··</ul>
120 </div>115 </div>
121 </body>116 </body>
122 </html>117 </html>
779 B
html2text {}
    
Offset 4, 27 lines modifiedOffset 4, 25 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 Classes·|·Namespaces 
6 cudaVertexBuffer.h·File·Reference5 Namespaces
 6 catmarkScheme.h·File·Reference
7 #include·"../version.h"7 #include·"../version.h"
 8 #include·"../sdc/scheme.h"
8 #include·<cstddef>9 #include·<cassert>
 10 #include·<cmath>
9 Go_to_the_source_code_of_this_file.11 Go_to_the_source_code_of_this_file.
10 ·Classes 
11 class· CudaVertexBuffer 
12  ······Concrete·vertex·buffer·class·for·Cuda·subdivision.·More... 
13   
14 ·Namespaces12 ·Namespaces
15 namespace· OpenSubdiv13 namespace· OpenSubdiv
16  14  
17 namespace· OpenSubdiv::OPENSUBDIV_VERSION15 namespace· OpenSubdiv::OPENSUBDIV_VERSION
18  16  
19 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Osd17 namespace· OpenSubdiv::OPENSUBDIV_VERSION::Sdc
20  18  
21 ····*·opensubdiv19 ····*·opensubdiv
22 ····*·osd20 ····*·sdc
23 ····*·cudaVertexBuffer.h21 ····*·catmarkScheme.h
24 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.422 ····*·Generated·on·Sun·Dec·11·2022·09:52:28·for·OpenSubdiv·by·[doxygen]·1.9.4
118 KB
./usr/share/doc/opensubdiv/doxy_html/a00902_source.html
    
Offset 1, 15 lines modifiedOffset 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">2 <html·xmlns="http://www.w3.org/1999/xhtml">
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.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
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/cudaVertexBuffer.h·Source·File</title>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 80, 19 lines modifiedOffset 80, 19 lines modified
80 <div·id="MSearchResultsWindow">80 <div·id="MSearchResultsWindow">
81 <iframe·src="javascript:void(0)"·frameborder="0"·81 <iframe·src="javascript:void(0)"·frameborder="0"·
82 ········name="MSearchResults"·id="MSearchResults">82 ········name="MSearchResults"·id="MSearchResults">
83 </iframe>83 </iframe>
84 </div>84 </div>
  
85 <div·class="header">85 <div·class="header">
86 ··<div·class="headertitle"><div·class="title">cudaVertexBuffer.h</div></div>86 ··<div·class="headertitle"><div·class="title">catmarkScheme.h</div></div>
87 </div><!--header-->87 </div><!--header-->
88 <div·class="contents">88 <div·class="contents">
89 <a·href="a00902.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>89 <a·href="a00902.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>
90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div>90 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·DreamWorks·Animation·LLC.</span></div>
91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>91 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div>
92 <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·&quot;Apache·License&quot;)</span></div>92 <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·&quot;Apache·License&quot;)</span></div>
93 <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>93 <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>
94 <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>94 <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>
95 <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>95 <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>
96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>96 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div>
97 <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>97 <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 106, 78 lines modifiedOffset 106, 548 lines modified
106 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div>106 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div>
107 <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>107 <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>
108 <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>108 <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>
109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>109 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·&quot;AS·IS&quot;·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div>
110 <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>110 <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>
111 <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>111 <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>
112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>112 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div>
 113 <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>
 114 <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>
113 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
114 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_CUDA_VERTEX_BUFFER_H</span></div> 
115 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_CUDA_VERTEX_BUFFER_H</span></div> 
116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> 
117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>116 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&quot;../version.h&quot;</span></div>
118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>117 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>118 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&quot;../sdc/scheme.h&quot;</span></div>
120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>119 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
 120 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
 121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div>
 122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
121 <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>123 <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>
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div>
123 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> 
124 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>Osd·{</div> 
125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>125 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
126 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a01185.html">···42</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01185.html">CudaVertexBuffer</a>·{</div>126 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Sdc·{</div>
127 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>127 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
 128 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="comment">//</span></div>
 129 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="comment">//··Specializations·for·Scheme&lt;SCHEME_CATMARK&gt;:</span></div>
 130 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="comment">//</span></div>
 131 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
 132 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="comment">//</span></div>
 133 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="comment">//··Catmark·traits:</span></div>
 134 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="comment">//</span></div>
128 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">public</span>:</div>135 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">template</span>·&lt;&gt;</div>
 136 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01333.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="a01333.html#a14b97ddde5fba31ca7f933508ee649da">Scheme&lt;SCHEME_CATMARK&gt;::GetTopologicalSplitType</a>()·{·<span·class="keywordflow">return</span>·<a·class="code·hl_enumvalue"·href="a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887ba56eed514f6a5971f198c9e421054b513">SPLIT_TO_QUADS</a>;·}</div>
129 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01185.html#ab51afd364a99a3e33d8042537e8f167b">···46</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01185.html">CudaVertexBuffer</a>·*·<a·class="code·hl_function"·href="a01185.html#ab51afd364a99a3e33d8042537e8f167b">Create</a>(<span·class="keywordtype">int</span>·numElements,·<span·class="keywordtype">int</span>·numVertices,</div> 
130 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·····································<span·class="keywordtype">void</span>·*deviceContext·=·NULL);</div> 
131 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>137 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
132 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01185.html#a7534b2edf898c9b6ee4a0b9c8aaf918f">···50</a></span>····<a·class="code·hl_function"·href="a01185.html#a7534b2edf898c9b6ee4a0b9c8aaf918f">~CudaVertexBuffer</a>();</div>138 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">template</span>·&lt;&gt;</div>
 139 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01333.html#a36744b2ac3801874da987d36851be86c">···50</a></span><span·class="keyword">inline</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01333.html#a531004716c07aad5436cb2db27e1ec24">Scheme&lt;SCHEME_CATMARK&gt;::GetRegularFaceSize</a>()·{·<span·class="keywordflow">return</span>·4;·}</div>
133 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>140 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
134 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01185.html#a96601a091f8831823c4dd72b6c962f1b">···54</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01185.html#a96601a091f8831823c4dd72b6c962f1b">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> 
135 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····················<span·class="keywordtype">void</span>·*deviceContext=NULL);</div>141 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">template</span>·&lt;&gt;</div>
 142 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01333.html#ad46ad6c30664729d163c5fcc20cdf917">···53</a></span><span·class="keyword">inline</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01333.html#a8f7e983b2195ac6b388c7a6db17f8cb0">Scheme&lt;SCHEME_CATMARK&gt;::GetRegularVertexValence</a>()·{·<span·class="keywordflow">return</span>·4;·}</div>
136 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>143 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
137 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01185.html#a77cee40767fd4936f20a8f9d9d9ea625">···58</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01185.html#a77cee40767fd4936f20a8f9d9d9ea625">GetNumE[·...·truncated·by·diffoscope;·len:·48,·SHA:·59382ce9eace2736ace4545f21206db65998a00b238b061aec1eaf8235be5331·...·];</div>144 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">template</span>·&lt;&gt;</div>
 145 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01333.html#a953430a884584e984c0afbb058091be1">···56</a></span><span·class="keyword">inline</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01333.html#a73cf51e4315ca86e5e0a3954c92f8f74">Scheme&lt;SCHEME_CATMARK&gt;::GetLocalNeighborhoodSize</a>()·{·<span·class="keywordflow">return</span>·1;·}</div>
138 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>146 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
139 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01185.html#aaf4a32b8a414eff77000c584c2015cb7">···61</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01185.html#aaf4a32b8a414eff77000c584c2015cb7">GetNumVertices</a>()·<span·class="keyword">const</span>;</div> 
140 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> 
141 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01185.html#a59eb144c23606529ba730ae15598af09">···64</a></span>····<span·class="keywordtype">float</span>·*·<a·class="code·hl_function"·href="a01185.html#a59eb144c23606529ba730ae15598af09">BindCudaBuffer</a>();</div> 
142 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>147 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
 148 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="comment">//</span></div>
 149 <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>
 150 <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>
 151 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="comment">//</span></div>
 152 <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·&quot;triangle·subdivision&quot;</span></div>
 153 <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>
 154 <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>
 155 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="comment">//··this·option.</span></div>
 156 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="comment">//</span></div>
143 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="keyword">protected</span>:</div>157 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">template</span>·&lt;&gt;</div>
144 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01185.html#af6cb32d896f7815cac1969c857845ba8">···68</a></span>····<a·class="code·hl_function"·href="a01185.html#af6cb32d896f7815cac1969c857845ba8">CudaVertexBuffer</a>(<span·class="keywordtype">int</span>·numElements,·<span·class="keywordtype">int</span>·numVertices);</div> 
145 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> 
146 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01185.html#add23d9f5bbc918076d240287a9b3664f">···72</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01185.html#add23d9f5bbc918076d240287a9b3664f">alloc[·...·truncated·by·diffoscope;·len:·9,·SHA:·37291ca8b6ab1aed4c151617ba6c5e6da91047fd7e20f6adcb33849e758178de·...·];</div>158 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·EDGE,·<span·class="keyword">typename</span>·MASK&gt;</div>
 159 <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>
 160 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01333.html#a16cbaf7f173cf2fdc02c992d3a31c925">···71</a></span><a·class="code·hl_function"·href="a01333.html#a059f5c2c9193be58be31955e987a0600">Scheme&lt;SCHEME_CATMARK&gt;::assignSmoothMaskForEdge</a>(EDGE·<span·class="keyword">const</span>&amp;·edge,·MASK&amp;·mask)<span·class="keyword">·const·</span>{</div>
147 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>161 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>
148 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="keyword">private</span>:</div> 
149 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····<span·class="keywordtype">int</span>·_numElements;</div>162 <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>
150 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····<span·class="keywordtype">int</span>·_numVertices;</div> 
151 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<span·class="keywordtype">void</span>·*_cudaMem;</div> 
152 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>163 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>
 164 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····<span·class="keywordtype">int</span>·faceCount·=·edge.GetNumFaces();</div>
153 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>};</div> 
154 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> 
155 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>}··<span·class="comment">//·end·namespace·Osd</span></div> 
156 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> 
157 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>}··<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> 
158 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> 
159 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> 
160 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>}··<span·class="comment">//·end·namespace·OpenSubdiv</span></div> 
161 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>165 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>
162 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span><span·class="preprocessor">#endif··</span><span·class="comment">//·OPENSUBDIV3_OSD_CUDA_VERTEX_BUFFER_H</span></div>166 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····mask.SetNumVertexWeights(2);</div>
 167 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····mask.SetNumEdgeWeights(0);</div>
 168 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····mask.SetNumFaceWeights(faceCount);</div>
 169 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····mask.SetFaceWeightsForFaceCenters(<span·class="keyword">true</span>);</div>
 170 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>
 171 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="comment">//</span></div>
 172 <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>
Max diff block lines reached; 9760/97483 bytes (10.01%) of diff not shown.
22.6 KB
html2text {}
    
Offset 4, 18 lines modifiedOffset 4, 18 lines modified
  
  
  
  
4 [Logo]·OpenSubdiv4 [Logo]·OpenSubdiv
  
  
5 cudaVertexBuffer.h5 catmarkScheme.h
6 Go_to_the_documentation_of_this_file.6 Go_to_the_documentation_of_this_file.
7 ·1//7 ·1//
8 ·2//·Copyright·2013·Pixar8 ·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·in11 ·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·trade15 ·9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade
Offset 29, 90 lines modifiedOffset 29, 595 lines modified
29 ·17//29 ·17//
30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software30 ·18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is31 ·19//·distributed·under·the·Apache·License·with·the·above·modification·is
32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY32 ·20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific33 ·21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.34 ·22//·language·governing·permissions·and·limitations·under·the·Apache·License.
35 ·23//35 ·23//
 36 ·24#ifndef·OPENSUBDIV3_SDC_CATMARK_SCHEME_H
 37 ·25#define·OPENSUBDIV3_SDC_CATMARK_SCHEME_H
 38 ·26
36 ·24 
37 ·25#ifndef·OPENSUBDIV3_OSD_CUDA_VERTEX_BUFFER_H 
38 ·26#define·OPENSUBDIV3_OSD_CUDA_VERTEX_BUFFER_H 
39 ·27 
40 ·28#include·"../version.h"39 ·27#include·"../version.h"
41 ·2940 ·28
 41 ·29#include·"../sdc/scheme.h"
 42 ·30
42 ·30#include·<cstddef>43 ·31#include·<cassert>
43 ·3144 ·32#include·<cmath>
 45 ·33
44 ·32namespace·OpenSubdiv·{46 ·34namespace·OpenSubdiv·{
45 ·33namespace·OPENSUBDIV_VERSION·{47 ·35namespace·OPENSUBDIV_VERSION·{
46 ·34 
47 ·35namespace·Osd·{ 
48 ·3648 ·36
49 42class·CudaVertexBuffer·{49 ·37namespace·Sdc·{
 50 ·38
 51 ·39//
 52 ·40//·Specializations·for·Scheme<SCHEME_CATMARK>:
 53 ·41//
 54 ·42
50 ·4355 ·43//
51 ·44public: 
52 46·static·CudaVertexBuffer·*·Create(int·numElements,·int·numVertices, 
53 ·47·void·*deviceContext·=·NULL);56 ·44//·Catmark·traits:
 57 ·45//
 58 ·46template·<>
 59 47inline·Split·Scheme<SCHEME_CATMARK>::GetTopologicalSplitType()·{·return
 60 SPLIT_TO_QUADS;·}
54 ·4861 ·48
55 50·~CudaVertexBuffer();62 ·49template·<>
 63 50inline·int·Scheme<SCHEME_CATMARK>::GetRegularFaceSize()·{·return·4;·}
56 ·5164 ·51
57 54·void·UpdateData(const·float·*src,·int·startVertex,·int·numVertices, 
58 ·55·void·*deviceContext=NULL); 
59 ·56 
60 58·int·GetNumElements()·const;65 ·52template·<>
 66 53inline·int·Scheme<SCHEME_CATMARK>::GetRegularVertexValence()·{·return·4;·}
 67 ·54
 68 ·55template·<>
 69 56inline·int·Scheme<SCHEME_CATMARK>::GetLocalNeighborhoodSize()·{·return·1;·}
 70 ·57
 71 ·58
61 ·5972 ·59//
62 61·int·GetNumVertices()·const;73 ·60//·Masks·for·edge-vertices:·the·hard·Crease·mask·does·not·need·to·be
 74 specialized
 75 ·61//·(simply·the·midpoint),·so·all·that·is·left·is·the·Smooth·case:
63 ·6276 ·62//
64 64·float·*·BindCudaBuffer(); 
65 ·65 
66 ·66protected: 
67 68·CudaVertexBuffer(int·numElements,·int·numVertices);77 ·63//·The·Smooth·mask·is·complicated·by·the·need·to·support·the·"triangle
 78 subdivision"
 79 ·64//·option,·which·applies·different·weighting·in·the·presence·of·triangles.
 80 It·is
 81 ·65//·up·for·debate·as·to·whether·this·is·useful·or·not·--·we·may·be·able·to
 82 deprecate
 83 ·66//·this·option.
 84 ·67//
 85 ·68template·<>
 86 ·69template·<typename·EDGE,·typename·MASK>
 87 ·70inline·void
 88 71Scheme<SCHEME_CATMARK>::assignSmoothMaskForEdge(EDGE·const&·edge,·MASK&·mask)
 89 const·{
 90 ·72
 91 ·73·typedef·typename·MASK::Weight·Weight;
 92 ·74
 93 ·75·int·faceCount·=·edge.GetNumFaces();
 94 ·76
 95 ·77·mask.SetNumVertexWeights(2);
 96 ·78·mask.SetNumEdgeWeights(0);
 97 ·79·mask.SetNumFaceWeights(faceCount);
 98 ·80·mask.SetFaceWeightsForFaceCenters(true);
 99 ·81
 100 ·82·//
 101 ·83·//·Determine·if·we·need·to·inspect·incident·faces·and·apply·alternate
 102 weighting·for
 103 ·84·//·triangles·--·and·if·so,·determine·which·of·the·two·are·triangles.
 104 ·85·//
 105 ·86·bool·face0IsTri·=·false;
 106 ·87·bool·face1IsTri·=·false;
 107 ·88·bool·useTriangleOption·=·(_options.GetTriangleSubdivision()·==·Options::
 108 TRI_SUB_SMOOTH);
 109 ·89·if·(useTriangleOption)·{
 110 ·90·if·(faceCount·==·2)·{
 111 ·91·//
 112 ·92·//·Ideally·we·want·to·avoid·this·inspection·when·we·have·already·subdivided
 113 at
 114 ·93·//·least·once·--·need·something·in·the·Edge·interface·to·help·avoid·this,
 115 e.g.
 116 ·94·//·an·IsRegular()·query,·the·subdivision·level...
 117 ·95·//
 118 ·96·int·vertsPerFace[2];
 119 ·97·edge.GetNumVerticesPerFace(vertsPerFace);
 120 ·98
 121 ·99·face0IsTri·=·(vertsPerFace[0]·==·3);
 122 ·100·face1IsTri·=·(vertsPerFace[1]·==·3);
Max diff block lines reached; 3681/23077 bytes (15.95%) of diff not shown.
8.97 KB
./usr/share/doc/opensubdiv/doxy_html/a00912.html
    
Offset 284, 15 lines modifiedOffset 284, 15 lines modified
284 ······<table·class="memname">284 ······<table·class="memname">
285 ········<tr>285 ········<tr>
286 ··········<td·class="memname">typedef·<a·class="el"·href="a01261.html">MeshInterface</a>&lt;<a·class="el"·href="a01201.html">D3D11PatchTable</a>&gt;·<a·class="el"·href="a00912.html#ae5c8e80d05d6eaee105d8eecfa9ab609">D3D11MeshInterface</a></td>286 ··········<td·class="memname">typedef·<a·class="el"·href="a01261.html">MeshInterface</a>&lt;<a·class="el"·href="a01201.html">D3D11PatchTable</a>&gt;·<a·class="el"·href="a00912.html#ae5c8e80d05d6eaee105d8eecfa9ab609">D3D11MeshInterface</a></td>
287 ········</tr>287 ········</tr>
288 ······</table>288 ······</table>
289 </div><div·class="memdoc">289 </div><div·class="memdoc">
  
290 <p·class="definition">Definition·at·line·<a·class="el"·href="a00827_source.html#l00038">38</a>·of·file·<a·class="el"·href="a00827_source.html">d3d11Mesh.h</a>.</p>290 <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">d3d11Mesh.h</a>.</p>
  
291 </div>291 </div>
292 </div>292 </div>
293 <a·id="a7f9cf2b729178bdbb847fc4afd91af9e"·name="a7f9cf2b729178bdbb847fc4afd91af9e"></a>293 <a·id="a7f9cf2b729178bdbb847fc4afd91af9e"·name="a7f9cf2b729178bdbb847fc4afd91af9e"></a>
294 <h2·class="memtitle"><span·class="permalink"><a·href="#a7f9cf2b729178bdbb847fc4afd91af9e">&#9670;&nbsp;</a></span>GLMeshInterface</h2>294 <h2·class="memtitle"><span·class="permalink"><a·href="#a7f9cf2b729178bdbb847fc4afd91af9e">&#9670;&nbsp;</a></span>GLMeshInterface</h2>
  
295 <div·class="memitem">295 <div·class="memitem">
Offset 300, 15 lines modifiedOffset 300, 15 lines modified
300 ······<table·class="memname">300 ······<table·class="memname">
301 ········<tr>301 ········<tr>
302 ··········<td·class="memname">typedef·<a·class="el"·href="a01261.html">MeshInterface</a>&lt;<a·class="el"·href="a01229.html">GLPatchTable</a>&gt;·<a·class="el"·href="a00912.html#a7f9cf2b729178bdbb847fc4afd91af9e">GLMeshInterface</a></td>302 ··········<td·class="memname">typedef·<a·class="el"·href="a01261.html">MeshInterface</a>&lt;<a·class="el"·href="a01229.html">GLPatchTable</a>&gt;·<a·class="el"·href="a00912.html#a7f9cf2b729178bdbb847fc4afd91af9e">GLMeshInterface</a></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="a00857_source.html#l00038">38</a>·of·file·<a·class="el"·href="a00857_source.html">glMesh.h</a>.</p>306 <p·class="definition">Definition·at·line·<a·class="el"·href="a00839_source.html#l00038">38</a>·of·file·<a·class="el"·href="a00839_source.html">glMesh.h</a>.</p>
  
307 </div>307 </div>
308 </div>308 </div>
309 <a·id="a85ba9df501aea9af1ec9da1558c255bc"·name="a85ba9df501aea9af1ec9da1558c255bc"></a>309 <a·id="a85ba9df501aea9af1ec9da1558c255bc"·name="a85ba9df501aea9af1ec9da1558c255bc"></a>
310 <h2·class="memtitle"><span·class="permalink"><a·href="#a85ba9df501aea9af1ec9da1558c255bc">&#9670;&nbsp;</a></span>MeshBitset</h2>310 <h2·class="memtitle"><span·class="permalink"><a·href="#a85ba9df501aea9af1ec9da1558c255bc">&#9670;&nbsp;</a></span>MeshBitset</h2>
  
311 <div·class="memitem">311 <div·class="memitem">
Offset 316, 15 lines modifiedOffset 316, 15 lines modified
316 ······<table·class="memname">316 ······<table·class="memname">
317 ········<tr>317 ········<tr>
318 ··········<td·class="memname">typedef·std::bitset&lt;<a·class="el"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a5676712c77d29cfdd330e2802db1c464">NUM_MESH_BITS</a>&gt;·<a·class="el"·href="a00912.html#a85ba9df501aea9af1ec9da1558c255bc">MeshBitset</a></td>318 ··········<td·class="memname">typedef·std::bitset&lt;<a·class="el"·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a5676712c77d29cfdd330e2802db1c464">NUM_MESH_BITS</a>&gt;·<a·class="el"·href="a00912.html#a85ba9df501aea9af1ec9da1558c255bc">MeshBitset</a></td>
319 ········</tr>319 ········</tr>
320 ······</table>320 ······</table>
321 </div><div·class="memdoc">321 </div><div·class="memdoc">
  
322 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00063">63</a>·of·file·<a·class="el"·href="a00887_source.html">mesh.h</a>.</p>322 <p·class="definition">Definition·at·line·<a·class="el"·href="a00869_source.html#l00063">63</a>·of·file·<a·class="el"·href="a00869_source.html">mesh.h</a>.</p>
  
323 </div>323 </div>
324 </div>324 </div>
325 <a·id="aa41e5b43fe46eeb0f97ff6ebdb1935aa"·name="aa41e5b43fe46eeb0f97ff6ebdb1935aa"></a>325 <a·id="aa41e5b43fe46eeb0f97ff6ebdb1935aa"·name="aa41e5b43fe46eeb0f97ff6ebdb1935aa"></a>
326 <h2·class="memtitle"><span·class="permalink"><a·href="#aa41e5b43fe46eeb0f97ff6ebdb1935aa">&#9670;&nbsp;</a></span>MTLMeshInterface</h2>326 <h2·class="memtitle"><span·class="permalink"><a·href="#aa41e5b43fe46eeb0f97ff6ebdb1935aa">&#9670;&nbsp;</a></span>MTLMeshInterface</h2>
  
327 <div·class="memitem">327 <div·class="memitem">
Offset 332, 15 lines modifiedOffset 332, 15 lines modified
332 ······<table·class="memname">332 ······<table·class="memname">
333 ········<tr>333 ········<tr>
334 ··········<td·class="memname">typedef·<a·class="el"·href="a01261.html">MeshInterface</a>&lt;<a·class="el"·href="a01297.html">MTLPatchTable</a>&gt;·<a·class="el"·href="a00912.html#aa41e5b43fe46eeb0f97ff6ebdb1935aa">MTLMeshInterface</a></td>334 ··········<td·class="memname">typedef·<a·class="el"·href="a01261.html">MeshInterface</a>&lt;<a·class="el"·href="a01297.html">MTLPatchTable</a>&gt;·<a·class="el"·href="a00912.html#aa41e5b43fe46eeb0f97ff6ebdb1935aa">MTLMeshInterface</a></td>
335 ········</tr>335 ········</tr>
336 ······</table>336 ······</table>
337 </div><div·class="memdoc">337 </div><div·class="memdoc">
  
338 <p·class="definition">Definition·at·line·<a·class="el"·href="a00809_source.html#l00038">38</a>·of·file·<a·class="el"·href="a00809_source.html">mtlMesh.h</a>.</p>338 <p·class="definition">Definition·at·line·<a·class="el"·href="a00794_source.html#l00038">38</a>·of·file·<a·class="el"·href="a00794_source.html">mtlMesh.h</a>.</p>
  
339 </div>339 </div>
340 </div>340 </div>
341 <a·id="a98098cd229f60d2397d84a76fe654a31"·name="a98098cd229f60d2397d84a76fe654a31"></a>341 <a·id="a98098cd229f60d2397d84a76fe654a31"·name="a98098cd229f60d2397d84a76fe654a31"></a>
342 <h2·class="memtitle"><span·class="permalink"><a·href="#a98098cd229f60d2397d84a76fe654a31">&#9670;&nbsp;</a></span>PatchArrayVector</h2>342 <h2·class="memtitle"><span·class="permalink"><a·href="#a98098cd229f60d2397d84a76fe654a31">&#9670;&nbsp;</a></span>PatchArrayVector</h2>
  
343 <div·class="memitem">343 <div·class="memitem">
Offset 395, 15 lines modifiedOffset 395, 15 lines modified
395 <tr><td·class="fieldname"><a·id="a1af6b50e9f8ae13d3d2f9d5b03b35492a4124233e4f787f999c7975afceab34f3"·name="a1af6b50e9f8ae13d3d2f9d5b03b35492a4124233e4f787f999c7975afceab34f3"></a>MeshEndCapBilinearBasis&#160;</td><td·class="fielddoc"></td></tr>395 <tr><td·class="fieldname"><a·id="a1af6b50e9f8ae13d3d2f9d5b03b35492a4124233e4f787f999c7975afceab34f3"·name="a1af6b50e9f8ae13d3d2f9d5b03b35492a4124233e4f787f999c7975afceab34f3"></a>MeshEndCapBilinearBasis&#160;</td><td·class="fielddoc"></td></tr>
396 <tr><td·class="fieldname"><a·id="a1af6b50e9f8ae13d3d2f9d5b03b35492aa2f41b6ba0393698bb3af283283737f7"·name="a1af6b50e9f8ae13d3d2f9d5b03b35492aa2f41b6ba0393698bb3af283283737f7"></a>MeshEndCapBSplineBasis&#160;</td><td·class="fielddoc"></td></tr>396 <tr><td·class="fieldname"><a·id="a1af6b50e9f8ae13d3d2f9d5b03b35492aa2f41b6ba0393698bb3af283283737f7"·name="a1af6b50e9f8ae13d3d2f9d5b03b35492aa2f41b6ba0393698bb3af283283737f7"></a>MeshEndCapBSplineBasis&#160;</td><td·class="fielddoc"></td></tr>
397 <tr><td·class="fieldname"><a·id="a1af6b50e9f8ae13d3d2f9d5b03b35492aa2878e1a215530f5f6fb89f1e06f91ee"·name="a1af6b50e9f8ae13d3d2f9d5b03b35492aa2878e1a215530f5f6fb89f1e06f91ee"></a>MeshEndCapGregoryBasis&#160;</td><td·class="fielddoc"></td></tr>397 <tr><td·class="fieldname"><a·id="a1af6b50e9f8ae13d3d2f9d5b03b35492aa2878e1a215530f5f6fb89f1e06f91ee"·name="a1af6b50e9f8ae13d3d2f9d5b03b35492aa2878e1a215530f5f6fb89f1e06f91ee"></a>MeshEndCapGregoryBasis&#160;</td><td·class="fielddoc"></td></tr>
398 <tr><td·class="fieldname"><a·id="a1af6b50e9f8ae13d3d2f9d5b03b35492aad7b3fb2be609abdbfafaf5b1c834158"·name="a1af6b50e9f8ae13d3d2f9d5b03b35492aad7b3fb2be609abdbfafaf5b1c834158"></a>MeshEndCapLegacyGregory&#160;</td><td·class="fielddoc"></td></tr>398 <tr><td·class="fieldname"><a·id="a1af6b50e9f8ae13d3d2f9d5b03b35492aad7b3fb2be609abdbfafaf5b1c834158"·name="a1af6b50e9f8ae13d3d2f9d5b03b35492aad7b3fb2be609abdbfafaf5b1c834158"></a>MeshEndCapLegacyGregory&#160;</td><td·class="fielddoc"></td></tr>
399 <tr><td·class="fieldname"><a·id="a1af6b50e9f8ae13d3d2f9d5b03b35492a5676712c77d29cfdd330e2802db1c464"·name="a1af6b50e9f8ae13d3d2f9d5b03b35492a5676712c77d29cfdd330e2802db1c464"></a>NUM_MESH_BITS&#160;</td><td·class="fielddoc"></td></tr>399 <tr><td·class="fieldname"><a·id="a1af6b50e9f8ae13d3d2f9d5b03b35492a5676712c77d29cfdd330e2802db1c464"·name="a1af6b50e9f8ae13d3d2f9d5b03b35492a5676712c77d29cfdd330e2802db1c464"></a>NUM_MESH_BITS&#160;</td><td·class="fielddoc"></td></tr>
400 </table>400 </table>
  
401 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00049">49</a>·of·file·<a·class="el"·href="a00887_source.html">mesh.h</a>.</p>401 <p·class="definition">Definition·at·line·<a·class="el"·href="a00869_source.html#l00049">49</a>·of·file·<a·class="el"·href="a00869_source.html">mesh.h</a>.</p>
  
402 </div>402 </div>
403 </div>403 </div>
404 <h2·class="groupheader">Function·Documentation</h2>404 <h2·class="groupheader">Function·Documentation</h2>
405 <a·id="a06ceddf21c024b341a5b946049cd701a"·name="a06ceddf21c024b341a5b946049cd701a"></a>405 <a·id="a06ceddf21c024b341a5b946049cd701a"·name="a06ceddf21c024b341a5b946049cd701a"></a>
406 <h2·class="memtitle"><span·class="permalink"><a·href="#a06ceddf21c024b341a5b946049cd701a">&#9670;&nbsp;</a></span>convertToCompatibleStencilTable()</h2>406 <h2·class="memtitle"><span·class="permalink"><a·href="#a06ceddf21c024b341a5b946049cd701a">&#9670;&nbsp;</a></span>convertToCompatibleStencilTable()</h2>
  
Offset 426, 15 lines modifiedOffset 426, 15 lines modified
426 ··········<td></td>426 ··········<td></td>
427 ··········<td>)</td>427 ··········<td>)</td>
428 ··········<td></td><td></td>428 ··········<td></td><td></td>
429 ········</tr>429 ········</tr>
430 ······</table>430 ······</table>
431 </div><div·class="memdoc">431 </div><div·class="memdoc">
  
432 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00141">141</a>·of·file·<a·class="el"·href="a00887_source.html">mesh.h</a>.</p>432 <p·class="definition">Definition·at·line·<a·class="el"·href="a00869_source.html#l00141">141</a>·of·file·<a·class="el"·href="a00869_source.html">mesh.h</a>.</p>
  
433 </div>433 </div>
434 </div>434 </div>
435 <a·id="a4c2520cc1a8a5a03e3f53584629d7318"·name="a4c2520cc1a8a5a03e3f53584629d7318"></a>435 <a·id="a4c2520cc1a8a5a03e3f53584629d7318"·name="a4c2520cc1a8a5a03e3f53584629d7318"></a>
436 <h2·class="memtitle"><span·class="permalink"><a·href="#a4c2520cc1a8a5a03e3f53584629d7318">&#9670;&nbsp;</a></span>convertToCompatibleStencilTable&lt;·Far::LimitStencilTable,·Far::LimitStencilTable,·void·&gt;()</h2>436 <h2·class="memtitle"><span·class="permalink"><a·href="#a4c2520cc1a8a5a03e3f53584629d7318">&#9670;&nbsp;</a></span>convertToCompatibleStencilTable&lt;·Far::LimitStencilTable,·Far::LimitStencilTable,·void·&gt;()</h2>
  
437 <div·class="memitem">437 <div·class="memitem">
Offset 464, 15 lines modifiedOffset 464, 15 lines modified
464 ··</td>464 ··</td>
465 ··<td·class="mlabels-right">465 ··<td·class="mlabels-right">
466 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>466 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
467 ··</tr>467 ··</tr>
468 </table>468 </table>
469 </div><div·class="memdoc">469 </div><div·class="memdoc">
  
470 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00158">158</a>·of·file·<a·class="el"·href="a00887_source.html">mesh.h</a>.</p>470 <p·class="definition">Definition·at·line·<a·class="el"·href="a00869_source.html#l00158">158</a>·of·file·<a·class="el"·href="a00869_source.html">mesh.h</a>.</p>
  
471 </div>471 </div>
472 </div>472 </div>
473 <a·id="ab5753a2b0a0995c8e2259d2c4765f7df"·name="ab5753a2b0a0995c8e2259d2c4765f7df"></a>473 <a·id="ab5753a2b0a0995c8e2259d2c4765f7df"·name="ab5753a2b0a0995c8e2259d2c4765f7df"></a>
474 <h2·class="memtitle"><span·class="permalink"><a·href="#ab5753a2b0a0995c8e2259d2c4765f7df">&#9670;&nbsp;</a></span>convertToCompatibleStencilTable&lt;·Far::StencilTable,·Far::StencilTable,·ID3D11DeviceContext·&gt;()</h2>474 <h2·class="memtitle"><span·class="permalink"><a·href="#ab5753a2b0a0995c8e2259d2c4765f7df">&#9670;&nbsp;</a></span>convertToCompatibleStencilTable&lt;·Far::StencilTable,·Far::StencilTable,·ID3D11DeviceContext·&gt;()</h2>
  
475 <div·class="memitem">475 <div·class="memitem">
Offset 502, 15 lines modifiedOffset 502, 15 lines modified
502 ··</td>502 ··</td>
503 ··<td·class="mlabels-right">503 ··<td·class="mlabels-right">
504 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>504 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
505 ··</tr>505 ··</tr>
506 </table>506 </table>
507 </div><div·class="memdoc">507 </div><div·class="memdoc">
  
508 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00168">168</a>·of·file·<a·class="el"·href="a00887_source.html">mesh.h</a>.</p>508 <p·class="definition">Definition·at·line·<a·class="el"·href="a00869_source.html#l00168">168</a>·of·file·<a·class="el"·href="a00869_source.html">mesh.h</a>.</p>
  
509 </div>509 </div>
510 </div>510 </div>
511 <a·id="a33f9830228f847fae1c30c9dffe02b5a"·name="a33f9830228f847fae1c30c9dffe02b5a"></a>511 <a·id="a33f9830228f847fae1c30c9dffe02b5a"·name="a33f9830228f847fae1c30c9dffe02b5a"></a>
512 <h2·class="memtitle"><span·class="permalink"><a·href="#a33f9830228f847fae1c30c9dffe02b5a">&#9670;&nbsp;</a></span>convertToCompatibleStencilTable&lt;·Far::StencilTable,·Far::StencilTable,·void·&gt;()</h2>512 <h2·class="memtitle"><span·class="permalink"><a·href="#a33f9830228f847fae1c30c9dffe02b5a">&#9670;&nbsp;</a></span>convertToCompatibleStencilTable&lt;·Far::StencilTable,·Far::StencilTable,·void·&gt;()</h2>
  
513 <div·class="memitem">513 <div·class="memitem">
Max diff block lines reached; 788/9092 bytes (8.67%) of diff not shown.
4.09 KB
./usr/share/doc/opensubdiv/doxy_html/a00949.html
    
Offset 90, 15 lines modifiedOffset 90, 15 lines modified
90 ··<div·class="headertitle"><div·class="title">SurfaceFactoryCache·Class·Reference</div></div>90 ··<div·class="headertitle"><div·class="title">SurfaceFactoryCache·Class·Reference</div></div>
91 </div><!--header-->91 </div><!--header-->
92 <div·class="contents">92 <div·class="contents">
  
93 <p>Container·used·internally·by·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·to·store·reusable·information.··93 <p>Container·used·internally·by·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·to·store·reusable·information.··
94 ·<a·href="a00949.html#details">More...</a></p>94 ·<a·href="a00949.html#details">More...</a></p>
  
95 <p><code>#include·&lt;<a·class="el"·href="a00677_source.html">surfaceFactoryCache.h</a>&gt;</code></p>95 <p><code>#include·&lt;<a·class="el"·href="a00680_source.html">surfaceFactoryCache.h</a>&gt;</code></p>
96 <div·class="dynheader">96 <div·class="dynheader">
97 Inheritance·diagram·for·SurfaceFactoryCache:</div>97 Inheritance·diagram·for·SurfaceFactoryCache:</div>
98 <div·class="dyncontent">98 <div·class="dyncontent">
99 ·<div·class="center">99 ·<div·class="center">
100 ··<img·src="a00949.png"·usemap="#SurfaceFactoryCache_map"·alt=""/>100 ··<img·src="a00949.png"·usemap="#SurfaceFactoryCache_map"·alt=""/>
101 ··<map·id="SurfaceFactoryCache_map"·name="SurfaceFactoryCache_map">101 ··<map·id="SurfaceFactoryCache_map"·name="SurfaceFactoryCache_map">
102 <area·href="a00953.html"·title="Template·for·declaring·thread-safe·subclasses·of·SurfaceFactoryCache."·alt="SurfaceFactoryCacheThreaded&lt;·MUTEX_TYPE,·READ_LOCK_GUARD_TYPE,·WRITE_LOCK_GUARD_TYPE·&gt;"·shape="rect"·coords="0,56,647,80"/>102 <area·href="a00953.html"·title="Template·for·declaring·thread-safe·subclasses·of·SurfaceFactoryCache."·alt="SurfaceFactoryCacheThreaded&lt;·MUTEX_TYPE,·READ_LOCK_GUARD_TYPE,·WRITE_LOCK_GUARD_TYPE·&gt;"·shape="rect"·coords="0,56,647,80"/>
Offset 117, 15 lines modifiedOffset 117, 15 lines modified
117 <tr·class="separator:a736c32f5c64da3442ff1c74ef1fb9ff7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>117 <tr·class="separator:a736c32f5c64da3442ff1c74ef1fb9ff7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
118 </table>118 </table>
119 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>119 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
120 <div·class="textblock"><p·>Container·used·internally·by·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·to·store·reusable·information.·</p>120 <div·class="textblock"><p·>Container·used·internally·by·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·to·store·reusable·information.·</p>
121 <p·><a·class="el"·href="a00949.html"·title="Container·used·internally·by·SurfaceFactory·to·store·reusable·information.">SurfaceFactoryCache</a>·is·a·container·for·storing/caching·instances·of·the·internal·representation·of·complex·patches·used·by·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·so·that·they·can·be·quickly·identified·and·retrieved·for·reuse.</p>121 <p·><a·class="el"·href="a00949.html"·title="Container·used·internally·by·SurfaceFactory·to·store·reusable·information.">SurfaceFactoryCache</a>·is·a·container·for·storing/caching·instances·of·the·internal·representation·of·complex·patches·used·by·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·so·that·they·can·be·quickly·identified·and·retrieved·for·reuse.</p>
122 <p·>It·is·intended·for·internal·use·by·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>.·Public·access·is·available·but·limited·to·construction·only·&ndash;·allowing·an·instance·to·be·reused·by·assigning·it·to·more·than·one·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>.·</p>122 <p·>It·is·intended·for·internal·use·by·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>.·Public·access·is·available·but·limited·to·construction·only·&ndash;·allowing·an·instance·to·be·reused·by·assigning·it·to·more·than·one·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>.·</p>
  
123 <p·class="definition">Definition·at·line·<a·class="el"·href="a00677_source.html#l00059">59</a>·of·file·<a·class="el"·href="a00677_source.html">surfaceFactoryCache.h</a>.</p>123 <p·class="definition">Definition·at·line·<a·class="el"·href="a00680_source.html#l00059">59</a>·of·file·<a·class="el"·href="a00680_source.html">surfaceFactoryCache.h</a>.</p>
124 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>124 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
125 <a·id="a3f63565868cb0b0871e2db37939ec0e2"·name="a3f63565868cb0b0871e2db37939ec0e2"></a>125 <a·id="a3f63565868cb0b0871e2db37939ec0e2"·name="a3f63565868cb0b0871e2db37939ec0e2"></a>
126 <h2·class="memtitle"><span·class="permalink"><a·href="#a3f63565868cb0b0871e2db37939ec0e2">&#9670;&nbsp;</a></span>SurfaceFactoryCache()·<span·class="overload">[1/2]</span></h2>126 <h2·class="memtitle"><span·class="permalink"><a·href="#a3f63565868cb0b0871e2db37939ec0e2">&#9670;&nbsp;</a></span>SurfaceFactoryCache()·<span·class="overload">[1/2]</span></h2>
  
127 <div·class="memitem">127 <div·class="memitem">
128 <div·class="memproto">128 <div·class="memproto">
129 ······<table·class="memname">129 ······<table·class="memname">
Offset 215, 15 lines modifiedOffset 215, 15 lines modified
215 ··</tr>215 ··</tr>
216 </table>216 </table>
217 </div><div·class="memdoc">217 </div><div·class="memdoc">
  
218 </div>218 </div>
219 </div>219 </div>
220 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>220 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
221 <li>opensubdiv/bfr/<a·class="el"·href="a00677_source.html">surfaceFactoryCache.h</a></li>221 <li>opensubdiv/bfr/<a·class="el"·href="a00680_source.html">surfaceFactoryCache.h</a></li>
222 </ul>222 </ul>
223 </div><!--·contents·-->223 </div><!--·contents·-->
224 </div><!--·doc-content·-->224 </div><!--·doc-content·-->
225 <!--·start·footer·part·-->225 <!--·start·footer·part·-->
226 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->226 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
227 ··<ul>227 ··<ul>
228 ····<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="a00907.html">Bfr</a></li><li·class="navelem"><a·class="el"·href="a00949.html">SurfaceFactoryCache</a></li>228 ····<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="a00907.html">Bfr</a></li><li·class="navelem"><a·class="el"·href="a00949.html">SurfaceFactoryCache</a></li>
4.33 KB
./usr/share/doc/opensubdiv/doxy_html/a00953.html
    
Offset 90, 15 lines modifiedOffset 90, 15 lines modified
90 ··<div·class="headertitle"><div·class="title">SurfaceFactoryCacheThreaded&lt;·MUTEX_TYPE,·READ_LOCK_GUARD_TYPE,·WRITE_LOCK_GUARD_TYPE·&gt;·Class·Template·Reference</div></div>90 ··<div·class="headertitle"><div·class="title">SurfaceFactoryCacheThreaded&lt;·MUTEX_TYPE,·READ_LOCK_GUARD_TYPE,·WRITE_LOCK_GUARD_TYPE·&gt;·Class·Template·Reference</div></div>
91 </div><!--header-->91 </div><!--header-->
92 <div·class="contents">92 <div·class="contents">
  
93 <p>Template·for·declaring·thread-safe·subclasses·of·<a·class="el"·href="a00949.html"·title="Container·used·internally·by·SurfaceFactory·to·store·reusable·information.">SurfaceFactoryCache</a>.··93 <p>Template·for·declaring·thread-safe·subclasses·of·<a·class="el"·href="a00949.html"·title="Container·used·internally·by·SurfaceFactory·to·store·reusable·information.">SurfaceFactoryCache</a>.··
94 ·<a·href="a00953.html#details">More...</a></p>94 ·<a·href="a00953.html#details">More...</a></p>
  
95 <p><code>#include·&lt;<a·class="el"·href="a00677_source.html">surfaceFactoryCache.h</a>&gt;</code></p>95 <p><code>#include·&lt;<a·class="el"·href="a00680_source.html">surfaceFactoryCache.h</a>&gt;</code></p>
96 <div·class="dynheader">96 <div·class="dynheader">
97 Inheritance·diagram·for·SurfaceFactoryCacheThreaded&lt;·MUTEX_TYPE,·READ_LOCK_GUARD_TYPE,·WRITE_LOCK_GUARD_TYPE·&gt;:</div>97 Inheritance·diagram·for·SurfaceFactoryCacheThreaded&lt;·MUTEX_TYPE,·READ_LOCK_GUARD_TYPE,·WRITE_LOCK_GUARD_TYPE·&gt;:</div>
98 <div·class="dyncontent">98 <div·class="dyncontent">
99 ·<div·class="center">99 ·<div·class="center">
100 ··<img·src="a00953.png"·usemap="#SurfaceFactoryCacheThreaded_3C_20MUTEX_5FTYPE_2C_20READ_5FLOCK_5FGUARD_5FTYPE_2C_20WRITE_5FLOCK_5FGUARD_5FTYPE_20_3E_map"·alt=""/>100 ··<img·src="a00953.png"·usemap="#SurfaceFactoryCacheThreaded_3C_20MUTEX_5FTYPE_2C_20READ_5FLOCK_5FGUARD_5FTYPE_2C_20WRITE_5FLOCK_5FGUARD_5FTYPE_20_3E_map"·alt=""/>
101 ··<map·id="SurfaceFactoryCacheThreaded_3C_20MUTEX_5FTYPE_2C_20READ_5FLOCK_5FGUARD_5FTYPE_2C_20WRITE_5FLOCK_5FGUARD_5FTYPE_20_3E_map"·name="SurfaceFactoryCacheThreaded_3C_20MUTEX_5FTYPE_2C_20READ_5FLOCK_5FGUARD_5FTYPE_2C_20WRITE_5FLOCK_5FGUARD_5FTYPE_20_3E_map">101 ··<map·id="SurfaceFactoryCacheThreaded_3C_20MUTEX_5FTYPE_2C_20READ_5FLOCK_5FGUARD_5FTYPE_2C_20WRITE_5FLOCK_5FGUARD_5FTYPE_20_3E_map"·name="SurfaceFactoryCacheThreaded_3C_20MUTEX_5FTYPE_2C_20READ_5FLOCK_5FGUARD_5FTYPE_2C_20WRITE_5FLOCK_5FGUARD_5FTYPE_20_3E_map">
102 <area·href="a00949.html"·title="Container·used·internally·by·SurfaceFactory·to·store·reusable·information."·alt="SurfaceFactoryCache"·shape="rect"·coords="0,0,647,24"/>102 <area·href="a00949.html"·title="Container·used·internally·by·SurfaceFactory·to·store·reusable·information."·alt="SurfaceFactoryCache"·shape="rect"·coords="0,0,647,24"/>
Offset 130, 15 lines modifiedOffset 130, 15 lines modified
130 ····<tr><td·class="paramname">MUTEX_TYPE</td><td>A·mutex·type·with·supported·lock·guards·</td></tr>130 ····<tr><td·class="paramname">MUTEX_TYPE</td><td>A·mutex·type·with·supported·lock·guards·</td></tr>
131 ····<tr><td·class="paramname">READ_LOCK_GUARD_TYPE</td><td>A·scoped·lock·guard·allowing·potentially·shared·access·for·read·operations.·</td></tr>131 ····<tr><td·class="paramname">READ_LOCK_GUARD_TYPE</td><td>A·scoped·lock·guard·allowing·potentially·shared·access·for·read·operations.·</td></tr>
132 ····<tr><td·class="paramname">WRITE_LOCK_GUARD_TYPE</td><td>A·scoped·lock·guard·allowing·exclusive·access·for·write·operations.·</td></tr>132 ····<tr><td·class="paramname">WRITE_LOCK_GUARD_TYPE</td><td>A·scoped·lock·guard·allowing·exclusive·access·for·write·operations.·</td></tr>
133 ··</table>133 ··</table>
134 ··</dd>134 ··</dd>
135 </dl>135 </dl>
  
136 <p·class="definition">Definition·at·line·<a·class="el"·href="a00677_source.html#l00118">118</a>·of·file·<a·class="el"·href="a00677_source.html">surfaceFactoryCache.h</a>.</p>136 <p·class="definition">Definition·at·line·<a·class="el"·href="a00680_source.html#l00118">118</a>·of·file·<a·class="el"·href="a00680_source.html">surfaceFactoryCache.h</a>.</p>
137 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>137 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
138 <a·id="a9e84b6f045809c700d7dc53c3a350afe"·name="a9e84b6f045809c700d7dc53c3a350afe"></a>138 <a·id="a9e84b6f045809c700d7dc53c3a350afe"·name="a9e84b6f045809c700d7dc53c3a350afe"></a>
139 <h2·class="memtitle"><span·class="permalink"><a·href="#a9e84b6f045809c700d7dc53c3a350afe">&#9670;&nbsp;</a></span>SurfaceFactoryCacheThreaded()</h2>139 <h2·class="memtitle"><span·class="permalink"><a·href="#a9e84b6f045809c700d7dc53c3a350afe">&#9670;&nbsp;</a></span>SurfaceFactoryCacheThreaded()</h2>
  
140 <div·class="memitem">140 <div·class="memitem">
141 <div·class="memproto">141 <div·class="memproto">
142 <table·class="mlabels">142 <table·class="mlabels">
Offset 155, 15 lines modifiedOffset 155, 15 lines modified
155 ··</td>155 ··</td>
156 ··<td·class="mlabels-right">156 ··<td·class="mlabels-right">
157 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>157 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
158 ··</tr>158 ··</tr>
159 </table>159 </table>
160 </div><div·class="memdoc">160 </div><div·class="memdoc">
  
161 <p·class="definition">Definition·at·line·<a·class="el"·href="a00677_source.html#l00120">120</a>·of·file·<a·class="el"·href="a00677_source.html">surfaceFactoryCache.h</a>.</p>161 <p·class="definition">Definition·at·line·<a·class="el"·href="a00680_source.html#l00120">120</a>·of·file·<a·class="el"·href="a00680_source.html">surfaceFactoryCache.h</a>.</p>
  
162 </div>162 </div>
163 </div>163 </div>
164 <a·id="ac74eea23eda9dbc078678ee5d440c7b8"·name="ac74eea23eda9dbc078678ee5d440c7b8"></a>164 <a·id="ac74eea23eda9dbc078678ee5d440c7b8"·name="ac74eea23eda9dbc078678ee5d440c7b8"></a>
165 <h2·class="memtitle"><span·class="permalink"><a·href="#ac74eea23eda9dbc078678ee5d440c7b8">&#9670;&nbsp;</a></span>~SurfaceFactoryCacheThreaded()</h2>165 <h2·class="memtitle"><span·class="permalink"><a·href="#ac74eea23eda9dbc078678ee5d440c7b8">&#9670;&nbsp;</a></span>~SurfaceFactoryCacheThreaded()</h2>
  
166 <div·class="memitem">166 <div·class="memitem">
Offset 185, 15 lines modifiedOffset 185, 15 lines modified
185 ··</tr>185 ··</tr>
186 </table>186 </table>
187 </div><div·class="memdoc">187 </div><div·class="memdoc">
  
188 </div>188 </div>
189 </div>189 </div>
190 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>190 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
191 <li>opensubdiv/bfr/<a·class="el"·href="a00677_source.html">surfaceFactoryCache.h</a></li>191 <li>opensubdiv/bfr/<a·class="el"·href="a00680_source.html">surfaceFactoryCache.h</a></li>
192 </ul>192 </ul>
193 </div><!--·contents·-->193 </div><!--·contents·-->
194 </div><!--·doc-content·-->194 </div><!--·doc-content·-->
195 <!--·start·footer·part·-->195 <!--·start·footer·part·-->
196 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->196 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
197 ··<ul>197 ··<ul>
198 ····<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="a00907.html">Bfr</a></li><li·class="navelem"><a·class="el"·href="a00953.html">SurfaceFactoryCacheThreaded</a></li>198 ····<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="a00907.html">Bfr</a></li><li·class="navelem"><a·class="el"·href="a00953.html">SurfaceFactoryCacheThreaded</a></li>
15.8 KB
./usr/share/doc/opensubdiv/doxy_html/a00961.html
    
Offset 90, 15 lines modifiedOffset 90, 15 lines modified
90 ··<div·class="headertitle"><div·class="title">Tessellation·Class·Reference</div></div>90 ··<div·class="headertitle"><div·class="title">Tessellation·Class·Reference</div></div>
91 </div><!--header-->91 </div><!--header-->
92 <div·class="contents">92 <div·class="contents">
  
93 <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>.··93 <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>.··
94 ·<a·href="a00961.html#details">More...</a></p>94 ·<a·href="a00961.html#details">More...</a></p>
  
95 <p><code>#include·&lt;<a·class="el"·href="a00680_source.html">tessellation.h</a>&gt;</code></p>95 <p><code>#include·&lt;<a·class="el"·href="a00674_source.html">tessellation.h</a>&gt;</code></p>
96 <table·class="memberdecls">96 <table·class="memberdecls">
97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
98 Classes</h2></td></tr>98 Classes</h2></td></tr>
99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00965.html">Options</a></td></tr>99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00965.html">Options</a></td></tr>
100 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</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>100 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</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>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 </table><table·class="memberdecls">102 </table><table·class="memberdecls">
Offset 212, 15 lines modifiedOffset 212, 15 lines modified
212 <tr·class="separator:a2651a3405daf40d1ffbd47c57233d3c3"><td·class="memSeparator"·colspan="2">&#160;</td></tr>212 <tr·class="separator:a2651a3405daf40d1ffbd47c57233d3c3"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
213 </table>213 </table>
214 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>214 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
215 <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>215 <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>
216 <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>216 <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>
217 <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>217 <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>
  
218 <p·class="definition">Definition·at·line·<a·class="el"·href="a00680_source.html#l00051">51</a>·of·file·<a·class="el"·href="a00680_source.html">tessellation.h</a>.</p>218 <p·class="definition">Definition·at·line·<a·class="el"·href="a00674_source.html#l00051">51</a>·of·file·<a·class="el"·href="a00674_source.html">tessellation.h</a>.</p>
219 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>219 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
220 <a·id="a7f0af117d53701f7ca6e3eb2368b89bb"·name="a7f0af117d53701f7ca6e3eb2368b89bb"></a>220 <a·id="a7f0af117d53701f7ca6e3eb2368b89bb"·name="a7f0af117d53701f7ca6e3eb2368b89bb"></a>
221 <h2·class="memtitle"><span·class="permalink"><a·href="#a7f0af117d53701f7ca6e3eb2368b89bb">&#9670;&nbsp;</a></span>Tessellation()·<span·class="overload">[1/4]</span></h2>221 <h2·class="memtitle"><span·class="permalink"><a·href="#a7f0af117d53701f7ca6e3eb2368b89bb">&#9670;&nbsp;</a></span>Tessellation()·<span·class="overload">[1/4]</span></h2>
  
222 <div·class="memitem">222 <div·class="memitem">
223 <div·class="memproto">223 <div·class="memproto">
224 ······<table·class="memname">224 ······<table·class="memname">
Offset 434, 15 lines modifiedOffset 434, 15 lines modified
434 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>434 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
435 ··</tr>435 ··</tr>
436 </table>436 </table>
437 </div><div·class="memdoc">437 </div><div·class="memdoc">
  
438 <p>Retrieve·the·coordinates·for·the·entire·pattern.·</p>438 <p>Retrieve·the·coordinates·for·the·entire·pattern.·</p>
  
439 <p·class="definition">Definition·at·line·<a·class="el"·href="a00680_source.html#l00372">372</a>·of·file·<a·class="el"·href="a00680_source.html">tessellation.h</a>.</p>439 <p·class="definition">Definition·at·line·<a·class="el"·href="a00674_source.html#l00372">372</a>·of·file·<a·class="el"·href="a00674_source.html">tessellation.h</a>.</p>
  
440 </div>440 </div>
441 </div>441 </div>
442 <a·id="a3f642ed70a22d6d9d3d2fe79029653f5"·name="a3f642ed70a22d6d9d3d2fe79029653f5"></a>442 <a·id="a3f642ed70a22d6d9d3d2fe79029653f5"·name="a3f642ed70a22d6d9d3d2fe79029653f5"></a>
443 <h2·class="memtitle"><span·class="permalink"><a·href="#a3f642ed70a22d6d9d3d2fe79029653f5">&#9670;&nbsp;</a></span>GetCoordStride()</h2>443 <h2·class="memtitle"><span·class="permalink"><a·href="#a3f642ed70a22d6d9d3d2fe79029653f5">&#9670;&nbsp;</a></span>GetCoordStride()</h2>
  
444 <div·class="memitem">444 <div·class="memitem">
Offset 463, 15 lines modifiedOffset 463, 15 lines modified
463 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>463 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
464 ··</tr>464 ··</tr>
465 </table>465 </table>
466 </div><div·class="memdoc">466 </div><div·class="memdoc">
  
467 <p>Return·the·number·of·elements·between·each·coordinate.·</p>467 <p>Return·the·number·of·elements·between·each·coordinate.·</p>
  
468 <p·class="definition">Definition·at·line·<a·class="el"·href="a00680_source.html#l00208">208</a>·of·file·<a·class="el"·href="a00680_source.html">tessellation.h</a>.</p>468 <p·class="definition">Definition·at·line·<a·class="el"·href="a00674_source.html#l00208">208</a>·of·file·<a·class="el"·href="a00674_source.html">tessellation.h</a>.</p>
  
469 </div>469 </div>
470 </div>470 </div>
471 <a·id="aefe76150c0f45fa43a4211b9f4cb4bc2"·name="aefe76150c0f45fa43a4211b9f4cb4bc2"></a>471 <a·id="aefe76150c0f45fa43a4211b9f4cb4bc2"·name="aefe76150c0f45fa43a4211b9f4cb4bc2"></a>
472 <h2·class="memtitle"><span·class="permalink"><a·href="#aefe76150c0f45fa43a4211b9f4cb4bc2">&#9670;&nbsp;</a></span>GetEdgeCoords()</h2>472 <h2·class="memtitle"><span·class="permalink"><a·href="#aefe76150c0f45fa43a4211b9f4cb4bc2">&#9670;&nbsp;</a></span>GetEdgeCoords()</h2>
  
473 <div·class="memitem">473 <div·class="memitem">
Offset 522, 15 lines modifiedOffset 522, 15 lines modified
522 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>522 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
523 ··</tr>523 ··</tr>
524 </table>524 </table>
525 </div><div·class="memdoc">525 </div><div·class="memdoc">
  
526 <p>Return·the·size·of·the·face.·</p>526 <p>Return·the·size·of·the·face.·</p>
  
527 <p·class="definition">Definition·at·line·<a·class="el"·href="a00680_source.html#l00182">182</a>·of·file·<a·class="el"·href="a00680_source.html">tessellation.h</a>.</p>527 <p·class="definition">Definition·at·line·<a·class="el"·href="a00674_source.html#l00182">182</a>·of·file·<a·class="el"·href="a00674_source.html">tessellation.h</a>.</p>
  
528 </div>528 </div>
529 </div>529 </div>
530 <a·id="a8deec91fff8094f942051dc22769402e"·name="a8deec91fff8094f942051dc22769402e"></a>530 <a·id="a8deec91fff8094f942051dc22769402e"·name="a8deec91fff8094f942051dc22769402e"></a>
531 <h2·class="memtitle"><span·class="permalink"><a·href="#a8deec91fff8094f942051dc22769402e">&#9670;&nbsp;</a></span>GetFacets()</h2>531 <h2·class="memtitle"><span·class="permalink"><a·href="#a8deec91fff8094f942051dc22769402e">&#9670;&nbsp;</a></span>GetFacets()</h2>
  
532 <div·class="memitem">532 <div·class="memitem">
Offset 571, 15 lines modifiedOffset 571, 15 lines modified
571 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>571 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
572 ··</tr>572 ··</tr>
573 </table>573 </table>
574 </div><div·class="memdoc">574 </div><div·class="memdoc">
  
575 <p>Return·the·number·of·indices·assigned·to·each·facet.·</p>575 <p>Return·the·number·of·indices·assigned·to·each·facet.·</p>
  
576 <p·class="definition">Definition·at·line·<a·class="el"·href="a00680_source.html#l00258">258</a>·of·file·<a·class="el"·href="a00680_source.html">tessellation.h</a>.</p>576 <p·class="definition">Definition·at·line·<a·class="el"·href="a00674_source.html#l00258">258</a>·of·file·<a·class="el"·href="a00674_source.html">tessellation.h</a>.</p>
  
577 </div>577 </div>
578 </div>578 </div>
579 <a·id="a54b068769e4e728e78528f9bdde25b86"·name="a54b068769e4e728e78528f9bdde25b86"></a>579 <a·id="a54b068769e4e728e78528f9bdde25b86"·name="a54b068769e4e728e78528f9bdde25b86"></a>
580 <h2·class="memtitle"><span·class="permalink"><a·href="#a54b068769e4e728e78528f9bdde25b86">&#9670;&nbsp;</a></span>GetFacetStride()</h2>580 <h2·class="memtitle"><span·class="permalink"><a·href="#a54b068769e4e728e78528f9bdde25b86">&#9670;&nbsp;</a></span>GetFacetStride()</h2>
  
581 <div·class="memitem">581 <div·class="memitem">
Offset 600, 15 lines modifiedOffset 600, 15 lines modified
600 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>600 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
601 ··</tr>601 ··</tr>
602 </table>602 </table>
603 </div><div·class="memdoc">603 </div><div·class="memdoc">
  
604 <p>Return·the·number·of·elements·between·each·facet.·</p>604 <p>Return·the·number·of·elements·between·each·facet.·</p>
  
605 <p·class="definition">Definition·at·line·<a·class="el"·href="a00680_source.html#l00261">261</a>·of·file·<a·class="el"·href="a00680_source.html">tessellation.h</a>.</p>605 <p·class="definition">Definition·at·line·<a·class="el"·href="a00674_source.html#l00261">261</a>·of·file·<a·class="el"·href="a00674_source.html">tessellation.h</a>.</p>
  
606 </div>606 </div>
607 </div>607 </div>
608 <a·id="a539f9a4fad8037e34e12ad9454f70ba1"·name="a539f9a4fad8037e34e12ad9454f70ba1"></a>608 <a·id="a539f9a4fad8037e34e12ad9454f70ba1"·name="a539f9a4fad8037e34e12ad9454f70ba1"></a>
609 <h2·class="memtitle"><span·class="permalink"><a·href="#a539f9a4fad8037e34e12ad9454f70ba1">&#9670;&nbsp;</a></span>GetInteriorCoords()</h2>609 <h2·class="memtitle"><span·class="permalink"><a·href="#a539f9a4fad8037e34e12ad9454f70ba1">&#9670;&nbsp;</a></span>GetInteriorCoords()</h2>
  
610 <div·class="memitem">610 <div·class="memitem">
Offset 649, 15 lines modifiedOffset 649, 15 lines modified
649 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>649 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
650 ··</tr>650 ··</tr>
651 </table>651 </table>
652 </div><div·class="memdoc">652 </div><div·class="memdoc">
  
653 <p>Return·the·number·of·boundary·coordinates.·</p>653 <p>Return·the·number·of·boundary·coordinates.·</p>
  
654 <p·class="definition">Definition·at·line·<a·class="el"·href="a00680_source.html#l00211">211</a>·of·file·<a·class="el"·href="a00680_source.html">tessellation.h</a>.</p>654 <p·class="definition">Definition·at·line·<a·class="el"·href="a00674_source.html#l00211">211</a>·of·file·<a·class="el"·href="a00674_source.html">tessellation.h</a>.</p>
  
655 </div>655 </div>
656 </div>656 </div>
657 <a·id="a5e16c9ef594c36629fb3fb0955101db6"·name="a5e16c9ef594c36629fb3fb0955101db6"></a>657 <a·id="a5e16c9ef594c36629fb3fb0955101db6"·name="a5e16c9ef594c36629fb3fb0955101db6"></a>
658 <h2·class="memtitle"><span·class="permalink"><a·href="#a5e16c9ef594c36629fb3fb0955101db6">&#9670;&nbsp;</a></span>GetNumCoords()</h2>658 <h2·class="memtitle"><span·class="permalink"><a·href="#a5e16c9ef594c36629fb3fb0955101db6">&#9670;&nbsp;</a></span>GetNumCoords()</h2>
  
659 <div·class="memitem">659 <div·class="memitem">
Max diff block lines reached; 7447/16131 bytes (46.17%) of diff not shown.
11.5 KB
./usr/share/doc/opensubdiv/doxy_html/a00965.html
    
Offset 90, 15 lines modifiedOffset 90, 15 lines modified
90 ··<div·class="headertitle"><div·class="title">Tessellation::Options·Class·Reference</div></div>90 ··<div·class="headertitle"><div·class="title">Tessellation::Options·Class·Reference</div></div>
91 </div><!--header-->91 </div><!--header-->
92 <div·class="contents">92 <div·class="contents">
  
93 <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.··93 <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.··
94 ·<a·href="a00965.html#details">More...</a></p>94 ·<a·href="a00965.html#details">More...</a></p>
  
95 <p><code>#include·&lt;<a·class="el"·href="a00680_source.html">tessellation.h</a>&gt;</code></p>95 <p><code>#include·&lt;<a·class="el"·href="a00674_source.html">tessellation.h</a>&gt;</code></p>
96 <table·class="memberdecls">96 <table·class="memberdecls">
97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
98 Public·Member·Functions</h2></td></tr>98 Public·Member·Functions</h2></td></tr>
99 <tr·class="memitem:a28d39a844c3a37ab61d32ab7c6352f09"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00965.html#a28d39a844c3a37ab61d32ab7c6352f09">Options</a>·()</td></tr>99 <tr·class="memitem:a28d39a844c3a37ab61d32ab7c6352f09"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00965.html#a28d39a844c3a37ab61d32ab7c6352f09">Options</a>·()</td></tr>
100 <tr·class="separator:a28d39a844c3a37ab61d32ab7c6352f09"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:a28d39a844c3a37ab61d32ab7c6352f09"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 <tr·class="memitem:a98820ec764e776bd556a9b80b872b78f"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a00965.html">Options</a>·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00965.html#a98820ec764e776bd556a9b80b872b78f">PreserveQuads</a>·(bool·on)</td></tr>101 <tr·class="memitem:a98820ec764e776bd556a9b80b872b78f"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a00965.html">Options</a>·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00965.html#a98820ec764e776bd556a9b80b872b78f">PreserveQuads</a>·(bool·on)</td></tr>
102 <tr·class="memdesc:a98820ec764e776bd556a9b80b872b78f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Select·preservation·of·quads·for·quad-based·subdivision·(requires·4-sided·facets,·default·is·off)··<a·href="a00965.html#a98820ec764e776bd556a9b80b872b78f">More...</a><br·/></td></tr>102 <tr·class="memdesc:a98820ec764e776bd556a9b80b872b78f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Select·preservation·of·quads·for·quad-based·subdivision·(requires·4-sided·facets,·default·is·off)··<a·href="a00965.html#a98820ec764e776bd556a9b80b872b78f">More...</a><br·/></td></tr>
Offset 125, 15 lines modifiedOffset 125, 15 lines modified
125 <tr·class="separator:a3f642ed70a22d6d9d3d2fe79029653f5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>125 <tr·class="separator:a3f642ed70a22d6d9d3d2fe79029653f5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
126 </table>126 </table>
127 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>127 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
128 <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>128 <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>
129 <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>129 <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>
130 <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>130 <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>
  
131 <p·class="definition">Definition·at·line·<a·class="el"·href="a00680_source.html#l00065">65</a>·of·file·<a·class="el"·href="a00680_source.html">tessellation.h</a>.</p>131 <p·class="definition">Definition·at·line·<a·class="el"·href="a00674_source.html#l00065">65</a>·of·file·<a·class="el"·href="a00674_source.html">tessellation.h</a>.</p>
132 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>132 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
133 <a·id="a28d39a844c3a37ab61d32ab7c6352f09"·name="a28d39a844c3a37ab61d32ab7c6352f09"></a>133 <a·id="a28d39a844c3a37ab61d32ab7c6352f09"·name="a28d39a844c3a37ab61d32ab7c6352f09"></a>
134 <h2·class="memtitle"><span·class="permalink"><a·href="#a28d39a844c3a37ab61d32ab7c6352f09">&#9670;&nbsp;</a></span>Options()</h2>134 <h2·class="memtitle"><span·class="permalink"><a·href="#a28d39a844c3a37ab61d32ab7c6352f09">&#9670;&nbsp;</a></span>Options()</h2>
  
135 <div·class="memitem">135 <div·class="memitem">
136 <div·class="memproto">136 <div·class="memproto">
137 <table·class="mlabels">137 <table·class="mlabels">
Offset 150, 15 lines modifiedOffset 150, 15 lines modified
150 ··</td>150 ··</td>
151 ··<td·class="mlabels-right">151 ··<td·class="mlabels-right">
152 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>152 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
153 ··</tr>153 ··</tr>
154 </table>154 </table>
155 </div><div·class="memdoc">155 </div><div·class="memdoc">
  
156 <p·class="definition">Definition·at·line·<a·class="el"·href="a00680_source.html#l00067">67</a>·of·file·<a·class="el"·href="a00680_source.html">tessellation.h</a>.</p>156 <p·class="definition">Definition·at·line·<a·class="el"·href="a00674_source.html#l00067">67</a>·of·file·<a·class="el"·href="a00674_source.html">tessellation.h</a>.</p>
  
157 </div>157 </div>
158 </div>158 </div>
159 <h2·class="groupheader">Member·Function·Documentation</h2>159 <h2·class="groupheader">Member·Function·Documentation</h2>
160 <a·id="a3f642ed70a22d6d9d3d2fe79029653f5"·name="a3f642ed70a22d6d9d3d2fe79029653f5"></a>160 <a·id="a3f642ed70a22d6d9d3d2fe79029653f5"·name="a3f642ed70a22d6d9d3d2fe79029653f5"></a>
161 <h2·class="memtitle"><span·class="permalink"><a·href="#a3f642ed70a22d6d9d3d2fe79029653f5">&#9670;&nbsp;</a></span>GetCoordStride()</h2>161 <h2·class="memtitle"><span·class="permalink"><a·href="#a3f642ed70a22d6d9d3d2fe79029653f5">&#9670;&nbsp;</a></span>GetCoordStride()</h2>
  
Offset 180, 15 lines modifiedOffset 180, 15 lines modified
180 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>180 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
181 ··</tr>181 ··</tr>
182 </table>182 </table>
183 </div><div·class="memdoc">183 </div><div·class="memdoc">
  
184 <p>Return·the·stride·between·(u,v)·pairs.·</p>184 <p>Return·the·stride·between·(u,v)·pairs.·</p>
  
185 <p·class="definition">Definition·at·line·<a·class="el"·href="a00680_source.html#l00090">90</a>·of·file·<a·class="el"·href="a00680_source.html">tessellation.h</a>.</p>185 <p·class="definition">Definition·at·line·<a·class="el"·href="a00674_source.html#l00090">90</a>·of·file·<a·class="el"·href="a00674_source.html">tessellation.h</a>.</p>
  
186 </div>186 </div>
187 </div>187 </div>
188 <a·id="a671621e55bfbc48db77919d5fd31744f"·name="a671621e55bfbc48db77919d5fd31744f"></a>188 <a·id="a671621e55bfbc48db77919d5fd31744f"·name="a671621e55bfbc48db77919d5fd31744f"></a>
189 <h2·class="memtitle"><span·class="permalink"><a·href="#a671621e55bfbc48db77919d5fd31744f">&#9670;&nbsp;</a></span>GetFacetSize()</h2>189 <h2·class="memtitle"><span·class="permalink"><a·href="#a671621e55bfbc48db77919d5fd31744f">&#9670;&nbsp;</a></span>GetFacetSize()</h2>
  
190 <div·class="memitem">190 <div·class="memitem">
Offset 207, 15 lines modifiedOffset 207, 15 lines modified
207 ··</td>207 ··</td>
208 ··<td·class="mlabels-right">208 ··<td·class="mlabels-right">
209 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>209 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
210 ··</tr>210 ··</tr>
211 </table>211 </table>
212 </div><div·class="memdoc">212 </div><div·class="memdoc">
  
213 <p·class="definition">Definition·at·line·<a·class="el"·href="a00680_source.html#l00080">80</a>·of·file·<a·class="el"·href="a00680_source.html">tessellation.h</a>.</p>213 <p·class="definition">Definition·at·line·<a·class="el"·href="a00674_source.html#l00080">80</a>·of·file·<a·class="el"·href="a00674_source.html">tessellation.h</a>.</p>
  
214 </div>214 </div>
215 </div>215 </div>
216 <a·id="a54b068769e4e728e78528f9bdde25b86"·name="a54b068769e4e728e78528f9bdde25b86"></a>216 <a·id="a54b068769e4e728e78528f9bdde25b86"·name="a54b068769e4e728e78528f9bdde25b86"></a>
217 <h2·class="memtitle"><span·class="permalink"><a·href="#a54b068769e4e728e78528f9bdde25b86">&#9670;&nbsp;</a></span>GetFacetStride()</h2>217 <h2·class="memtitle"><span·class="permalink"><a·href="#a54b068769e4e728e78528f9bdde25b86">&#9670;&nbsp;</a></span>GetFacetStride()</h2>
  
218 <div·class="memitem">218 <div·class="memitem">
Offset 236, 15 lines modifiedOffset 236, 15 lines modified
236 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>236 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
237 ··</tr>237 ··</tr>
238 </table>238 </table>
239 </div><div·class="memdoc">239 </div><div·class="memdoc">
  
240 <p>Return·the·stride·between·facets.·</p>240 <p>Return·the·stride·between·facets.·</p>
  
241 <p·class="definition">Definition·at·line·<a·class="el"·href="a00680_source.html#l00085">85</a>·of·file·<a·class="el"·href="a00680_source.html">tessellation.h</a>.</p>241 <p·class="definition">Definition·at·line·<a·class="el"·href="a00674_source.html#l00085">85</a>·of·file·<a·class="el"·href="a00674_source.html">tessellation.h</a>.</p>
  
242 </div>242 </div>
243 </div>243 </div>
244 <a·id="ae2ec197b850e8bd12878cc67a503a07a"·name="ae2ec197b850e8bd12878cc67a503a07a"></a>244 <a·id="ae2ec197b850e8bd12878cc67a503a07a"·name="ae2ec197b850e8bd12878cc67a503a07a"></a>
245 <h2·class="memtitle"><span·class="permalink"><a·href="#ae2ec197b850e8bd12878cc67a503a07a">&#9670;&nbsp;</a></span>PreserveQuads()·<span·class="overload">[1/2]</span></h2>245 <h2·class="memtitle"><span·class="permalink"><a·href="#ae2ec197b850e8bd12878cc67a503a07a">&#9670;&nbsp;</a></span>PreserveQuads()·<span·class="overload">[1/2]</span></h2>
  
246 <div·class="memitem">246 <div·class="memitem">
Offset 265, 15 lines modifiedOffset 265, 15 lines modified
265 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>265 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
266 ··</tr>266 ··</tr>
267 </table>267 </table>
268 </div><div·class="memdoc">268 </div><div·class="memdoc">
  
269 <p>Return·if·preservation·of·quads·is·set.·</p>269 <p>Return·if·preservation·of·quads·is·set.·</p>
  
270 <p·class="definition">Definition·at·line·<a·class="el"·href="a00680_source.html#l00074">74</a>·of·file·<a·class="el"·href="a00680_source.html">tessellation.h</a>.</p>270 <p·class="definition">Definition·at·line·<a·class="el"·href="a00674_source.html#l00074">74</a>·of·file·<a·class="el"·href="a00674_source.html">tessellation.h</a>.</p>
  
271 </div>271 </div>
272 </div>272 </div>
273 <a·id="a98820ec764e776bd556a9b80b872b78f"·name="a98820ec764e776bd556a9b80b872b78f"></a>273 <a·id="a98820ec764e776bd556a9b80b872b78f"·name="a98820ec764e776bd556a9b80b872b78f"></a>
274 <h2·class="memtitle"><span·class="permalink"><a·href="#a98820ec764e776bd556a9b80b872b78f">&#9670;&nbsp;</a></span>PreserveQuads()·<span·class="overload">[2/2]</span></h2>274 <h2·class="memtitle"><span·class="permalink"><a·href="#a98820ec764e776bd556a9b80b872b78f">&#9670;&nbsp;</a></span>PreserveQuads()·<span·class="overload">[2/2]</span></h2>
  
275 <div·class="memitem">275 <div·class="memitem">
Offset 295, 15 lines modifiedOffset 295, 15 lines modified
295 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>295 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
296 ··</tr>296 ··</tr>
297 </table>297 </table>
298 </div><div·class="memdoc">298 </div><div·class="memdoc">
  
299 <p>Select·preservation·of·quads·for·quad-based·subdivision·(requires·4-sided·facets,·default·is·off)·</p>299 <p>Select·preservation·of·quads·for·quad-based·subdivision·(requires·4-sided·facets,·default·is·off)·</p>
  
300 <p·class="definition">Definition·at·line·<a·class="el"·href="a00680_source.html#l00343">343</a>·of·file·<a·class="el"·href="a00680_source.html">tessellation.h</a>.</p>300 <p·class="definition">Definition·at·line·<a·class="el"·href="a00674_source.html#l00343">343</a>·of·file·<a·class="el"·href="a00674_source.html">tessellation.h</a>.</p>
  
301 </div>301 </div>
302 </div>302 </div>
303 <a·id="aa7688afdaece2c387e8963d634752aa6"·name="aa7688afdaece2c387e8963d634752aa6"></a>303 <a·id="aa7688afdaece2c387e8963d634752aa6"·name="aa7688afdaece2c387e8963d634752aa6"></a>
304 <h2·class="memtitle"><span·class="permalink"><a·href="#aa7688afdaece2c387e8963d634752aa6">&#9670;&nbsp;</a></span>SetCoordStride()</h2>304 <h2·class="memtitle"><span·class="permalink"><a·href="#aa7688afdaece2c387e8963d634752aa6">&#9670;&nbsp;</a></span>SetCoordStride()</h2>
  
305 <div·class="memitem">305 <div·class="memitem">
Max diff block lines reached; 2981/11697 bytes (25.49%) of diff not shown.
19.7 KB
./usr/share/doc/opensubdiv/doxy_html/a00969.html
    
Offset 89, 15 lines modifiedOffset 89, 15 lines modified
89 ··<div·class="headertitle"><div·class="title">VertexDescriptor·Class·Reference</div></div>89 ··<div·class="headertitle"><div·class="title">VertexDescriptor·Class·Reference</div></div>
90 </div><!--header-->90 </div><!--header-->
91 <div·class="contents">91 <div·class="contents">
  
92 <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.··92 <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.··
93 ·<a·href="a00969.html#details">More...</a></p>93 ·<a·href="a00969.html#details">More...</a></p>
  
94 <p><code>#include·&lt;<a·class="el"·href="a00674_source.html">vertexDescriptor.h</a>&gt;</code></p>94 <p><code>#include·&lt;<a·class="el"·href="a00677_source.html">vertexDescriptor.h</a>&gt;</code></p>
95 <table·class="memberdecls">95 <table·class="memberdecls">
96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
97 Public·Member·Functions</h2></td></tr>97 Public·Member·Functions</h2></td></tr>
98 <tr><td·colspan="2"><div·class="groupHeader">Methods·to·begin·and·end·specification</div></td></tr>98 <tr><td·colspan="2"><div·class="groupHeader">Methods·to·begin·and·end·specification</div></td></tr>
99 <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>99 <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>
100 </div></td></tr>100 </div></td></tr>
101 <tr·class="memitem:a1d4a38a2944a3705bfbd325766bda216"><td·class="memItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00969.html#a1d4a38a2944a3705bfbd325766bda216">Initialize</a>·(int·numIncidentFaces)</td></tr>101 <tr·class="memitem:a1d4a38a2944a3705bfbd325766bda216"><td·class="memItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00969.html#a1d4a38a2944a3705bfbd325766bda216">Initialize</a>·(int·numIncidentFaces)</td></tr>
Offset 171, 15 lines modifiedOffset 171, 15 lines modified
171 <tr·class="separator:aa57d6053ca61cdf53b36937812b09307"><td·class="memSeparator"·colspan="2">&#160;</td></tr>171 <tr·class="separator:aa57d6053ca61cdf53b36937812b09307"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
172 </table>172 </table>
173 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>173 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
174 <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>174 <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>
175 <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>175 <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>
176 <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>176 <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>
  
177 <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>177 <p·class="definition">Definition·at·line·<a·class="el"·href="a00677_source.html#l00131">131</a>·of·file·<a·class="el"·href="a00677_source.html">vertexDescriptor.h</a>.</p>
178 </div><h2·class="groupheader">Member·Function·Documentation</h2>178 </div><h2·class="groupheader">Member·Function·Documentation</h2>
179 <a·id="a831025d6d817c4afb1df7d5a705af378"·name="a831025d6d817c4afb1df7d5a705af378"></a>179 <a·id="a831025d6d817c4afb1df7d5a705af378"·name="a831025d6d817c4afb1df7d5a705af378"></a>
180 <h2·class="memtitle"><span·class="permalink"><a·href="#a831025d6d817c4afb1df7d5a705af378">&#9670;&nbsp;</a></span>ClearEdgeSharpness()</h2>180 <h2·class="memtitle"><span·class="permalink"><a·href="#a831025d6d817c4afb1df7d5a705af378">&#9670;&nbsp;</a></span>ClearEdgeSharpness()</h2>
  
181 <div·class="memitem">181 <div·class="memitem">
182 <div·class="memproto">182 <div·class="memproto">
183 <table·class="mlabels">183 <table·class="mlabels">
Offset 198, 15 lines modifiedOffset 198, 15 lines modified
198 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>198 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
199 ··</tr>199 ··</tr>
200 </table>200 </table>
201 </div><div·class="memdoc">201 </div><div·class="memdoc">
  
202 <p>Remove·any·sharpness·assigned·to·the·incident·edges.·</p>202 <p>Remove·any·sharpness·assigned·to·the·incident·edges.·</p>
  
203 <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>203 <p·class="definition">Definition·at·line·<a·class="el"·href="a00677_source.html#l00398">398</a>·of·file·<a·class="el"·href="a00677_source.html">vertexDescriptor.h</a>.</p>
  
204 </div>204 </div>
205 </div>205 </div>
206 <a·id="a5c719e43580059139938a6ed0f851853"·name="a5c719e43580059139938a6ed0f851853"></a>206 <a·id="a5c719e43580059139938a6ed0f851853"·name="a5c719e43580059139938a6ed0f851853"></a>
207 <h2·class="memtitle"><span·class="permalink"><a·href="#a5c719e43580059139938a6ed0f851853">&#9670;&nbsp;</a></span>ClearIncidentFaceSizes()</h2>207 <h2·class="memtitle"><span·class="permalink"><a·href="#a5c719e43580059139938a6ed0f851853">&#9670;&nbsp;</a></span>ClearIncidentFaceSizes()</h2>
  
208 <div·class="memitem">208 <div·class="memitem">
Offset 227, 15 lines modifiedOffset 227, 15 lines modified
227 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>227 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
228 ··</tr>228 ··</tr>
229 </table>229 </table>
230 </div><div·class="memdoc">230 </div><div·class="memdoc">
  
231 <p>Remove·any·assigned·sizes·of·incident·faces.·</p>231 <p>Remove·any·assigned·sizes·of·incident·faces.·</p>
  
232 <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>232 <p·class="definition">Definition·at·line·<a·class="el"·href="a00677_source.html#l00350">350</a>·of·file·<a·class="el"·href="a00677_source.html">vertexDescriptor.h</a>.</p>
  
233 </div>233 </div>
234 </div>234 </div>
235 <a·id="a68afc60df5a617f5d7e1580548b72f9b"·name="a68afc60df5a617f5d7e1580548b72f9b"></a>235 <a·id="a68afc60df5a617f5d7e1580548b72f9b"·name="a68afc60df5a617f5d7e1580548b72f9b"></a>
236 <h2·class="memtitle"><span·class="permalink"><a·href="#a68afc60df5a617f5d7e1580548b72f9b">&#9670;&nbsp;</a></span>ClearVertexSharpness()</h2>236 <h2·class="memtitle"><span·class="permalink"><a·href="#a68afc60df5a617f5d7e1580548b72f9b">&#9670;&nbsp;</a></span>ClearVertexSharpness()</h2>
  
237 <div·class="memitem">237 <div·class="memitem">
Offset 256, 15 lines modifiedOffset 256, 15 lines modified
256 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>256 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
257 ··</tr>257 ··</tr>
258 </table>258 </table>
259 </div><div·class="memdoc">259 </div><div·class="memdoc">
  
260 <p>Remove·any·sharpness·assigned·to·the·vertex.·</p>260 <p>Remove·any·sharpness·assigned·to·the·vertex.·</p>
  
261 <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>261 <p·class="definition">Definition·at·line·<a·class="el"·href="a00677_source.html#l00377">377</a>·of·file·<a·class="el"·href="a00677_source.html">vertexDescriptor.h</a>.</p>
  
262 </div>262 </div>
263 </div>263 </div>
264 <a·id="a0cb0c1f4fa225637898cf1c7420bc064"·name="a0cb0c1f4fa225637898cf1c7420bc064"></a>264 <a·id="a0cb0c1f4fa225637898cf1c7420bc064"·name="a0cb0c1f4fa225637898cf1c7420bc064"></a>
265 <h2·class="memtitle"><span·class="permalink"><a·href="#a0cb0c1f4fa225637898cf1c7420bc064">&#9670;&nbsp;</a></span>Finalize()</h2>265 <h2·class="memtitle"><span·class="permalink"><a·href="#a0cb0c1f4fa225637898cf1c7420bc064">&#9670;&nbsp;</a></span>Finalize()</h2>
  
266 <div·class="memitem">266 <div·class="memitem">
Offset 321, 15 lines modifiedOffset 321, 15 lines modified
321 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>321 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
322 ··</tr>322 ··</tr>
323 </table>323 </table>
324 </div><div·class="memdoc">324 </div><div·class="memdoc">
  
325 <p>Return·the·sharpness·assigned·to·edges·of·an·incident·face.·</p>325 <p>Return·the·sharpness·assigned·to·edges·of·an·incident·face.·</p>
  
326 <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>326 <p·class="definition">Definition·at·line·<a·class="el"·href="a00677_source.html#l00436">436</a>·of·file·<a·class="el"·href="a00677_source.html">vertexDescriptor.h</a>.</p>
  
327 </div>327 </div>
328 </div>328 </div>
329 <a·id="a434afb577a5e287b615364d94d124e84"·name="a434afb577a5e287b615364d94d124e84"></a>329 <a·id="a434afb577a5e287b615364d94d124e84"·name="a434afb577a5e287b615364d94d124e84"></a>
330 <h2·class="memtitle"><span·class="permalink"><a·href="#a434afb577a5e287b615364d94d124e84">&#9670;&nbsp;</a></span>GetIncidentFaceSize()</h2>330 <h2·class="memtitle"><span·class="permalink"><a·href="#a434afb577a5e287b615364d94d124e84">&#9670;&nbsp;</a></span>GetIncidentFaceSize()</h2>
  
331 <div·class="memitem">331 <div·class="memitem">
Offset 351, 15 lines modifiedOffset 351, 15 lines modified
351 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>351 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
352 ··</tr>352 ··</tr>
353 </table>353 </table>
354 </div><div·class="memdoc">354 </div><div·class="memdoc">
  
355 <p>Return·the·size·of·an·incident·face.·</p>355 <p>Return·the·size·of·an·incident·face.·</p>
  
356 <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>356 <p·class="definition">Definition·at·line·<a·class="el"·href="a00677_source.html#l00362">362</a>·of·file·<a·class="el"·href="a00677_source.html">vertexDescriptor.h</a>.</p>
  
357 </div>357 </div>
358 </div>358 </div>
359 <a·id="a460ea7c821fd4c2522de6503f9c25866"·name="a460ea7c821fd4c2522de6503f9c25866"></a>359 <a·id="a460ea7c821fd4c2522de6503f9c25866"·name="a460ea7c821fd4c2522de6503f9c25866"></a>
360 <h2·class="memtitle"><span·class="permalink"><a·href="#a460ea7c821fd4c2522de6503f9c25866">&#9670;&nbsp;</a></span>GetManifoldEdgeSharpness()</h2>360 <h2·class="memtitle"><span·class="permalink"><a·href="#a460ea7c821fd4c2522de6503f9c25866">&#9670;&nbsp;</a></span>GetManifoldEdgeSharpness()</h2>
  
361 <div·class="memitem">361 <div·class="memitem">
Offset 381, 15 lines modifiedOffset 381, 15 lines modified
381 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>381 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
382 ··</tr>382 ··</tr>
383 </table>383 </table>
384 </div><div·class="memdoc">384 </div><div·class="memdoc">
  
385 <p>Return·the·sharpness·assigned·to·a·manifold·edge.·</p>385 <p>Return·the·sharpness·assigned·to·a·manifold·edge.·</p>
  
386 <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>386 <p·class="definition">Definition·at·line·<a·class="el"·href="a00677_source.html#l00420">420</a>·of·file·<a·class="el"·href="a00677_source.html">vertexDescriptor.h</a>.</p>
  
387 </div>387 </div>
388 </div>388 </div>
389 <a·id="a03588bdc24a8240380aa0972ecae0ea1"·name="a03588bdc24a8240380aa0972ecae0ea1"></a>389 <a·id="a03588bdc24a8240380aa0972ecae0ea1"·name="a03588bdc24a8240380aa0972ecae0ea1"></a>
390 <h2·class="memtitle"><span·class="permalink"><a·href="#a03588bdc24a8240380aa0972ecae0ea1">&#9670;&nbsp;</a></span>GetVertexSharpness()</h2>390 <h2·class="memtitle"><span·class="permalink"><a·href="#a03588bdc24a8240380aa0972ecae0ea1">&#9670;&nbsp;</a></span>GetVertexSharpness()</h2>
  
391 <div·class="memitem">391 <div·class="memitem">
Max diff block lines reached; 11443/20080 bytes (56.99%) of diff not shown.
5.0 KB
./usr/share/doc/opensubdiv/doxy_html/a00977.html
    
Offset 92, 15 lines modifiedOffset 92, 15 lines modified
92 ··<div·class="headertitle"><div·class="title">PatchMap·Class·Reference</div></div>92 ··<div·class="headertitle"><div·class="title">PatchMap·Class·Reference</div></div>
93 </div><!--header-->93 </div><!--header-->
94 <div·class="contents">94 <div·class="contents">
  
95 <p>An·quadtree-based·map·connecting·coarse·faces·to·their·sub-patches.··95 <p>An·quadtree-based·map·connecting·coarse·faces·to·their·sub-patches.··
96 ·<a·href="a00977.html#details">More...</a></p>96 ·<a·href="a00977.html#details">More...</a></p>
  
97 <p><code>#include·&lt;<a·class="el"·href="a00734_source.html">patchMap.h</a>&gt;</code></p>97 <p><code>#include·&lt;<a·class="el"·href="a00731_source.html">patchMap.h</a>&gt;</code></p>
98 <table·class="memberdecls">98 <table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
100 Public·Types</h2></td></tr>100 Public·Types</h2></td></tr>
101 <tr·class="memitem:ae83a6047fa1e373c7943d54b6dc46402"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a00997.html">PatchTable::PatchHandle</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00977.html#ae83a6047fa1e373c7943d54b6dc46402">Handle</a></td></tr>101 <tr·class="memitem:ae83a6047fa1e373c7943d54b6dc46402"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a00997.html">PatchTable::PatchHandle</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00977.html#ae83a6047fa1e373c7943d54b6dc46402">Handle</a></td></tr>
102 <tr·class="separator:ae83a6047fa1e373c7943d54b6dc46402"><td·class="memSeparator"·colspan="2">&#160;</td></tr>102 <tr·class="separator:ae83a6047fa1e373c7943d54b6dc46402"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
103 </table><table·class="memberdecls">103 </table><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>
Offset 113, 29 lines modifiedOffset 113, 29 lines modified
113 <tr·class="separator:abc70f9419d5f26ef85cbef5c5b6451f0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>113 <tr·class="separator:abc70f9419d5f26ef85cbef5c5b6451f0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
114 </table>114 </table>
115 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>115 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
116 <div·class="textblock"><p·>An·quadtree-based·map·connecting·coarse·faces·to·their·sub-patches.·</p>116 <div·class="textblock"><p·>An·quadtree-based·map·connecting·coarse·faces·to·their·sub-patches.·</p>
117 <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>117 <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>
118 <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>118 <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>
  
119 <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>119 <p·class="definition">Definition·at·line·<a·class="el"·href="a00731_source.html#l00049">49</a>·of·file·<a·class="el"·href="a00731_source.html">patchMap.h</a>.</p>
120 </div><h2·class="groupheader">Member·Typedef·Documentation</h2>120 </div><h2·class="groupheader">Member·Typedef·Documentation</h2>
121 <a·id="ae83a6047fa1e373c7943d54b6dc46402"·name="ae83a6047fa1e373c7943d54b6dc46402"></a>121 <a·id="ae83a6047fa1e373c7943d54b6dc46402"·name="ae83a6047fa1e373c7943d54b6dc46402"></a>
122 <h2·class="memtitle"><span·class="permalink"><a·href="#ae83a6047fa1e373c7943d54b6dc46402">&#9670;&nbsp;</a></span>Handle</h2>122 <h2·class="memtitle"><span·class="permalink"><a·href="#ae83a6047fa1e373c7943d54b6dc46402">&#9670;&nbsp;</a></span>Handle</h2>
  
123 <div·class="memitem">123 <div·class="memitem">
124 <div·class="memproto">124 <div·class="memproto">
125 ······<table·class="memname">125 ······<table·class="memname">
126 ········<tr>126 ········<tr>
127 ··········<td·class="memname">typedef·<a·class="el"·href="a00997.html">PatchTable::PatchHandle</a>·<a·class="el"·href="a00977.html#ae83a6047fa1e373c7943d54b6dc46402">Handle</a></td>127 ··········<td·class="memname">typedef·<a·class="el"·href="a00997.html">PatchTable::PatchHandle</a>·<a·class="el"·href="a00977.html#ae83a6047fa1e373c7943d54b6dc46402">Handle</a></td>
128 ········</tr>128 ········</tr>
129 ······</table>129 ······</table>
130 </div><div·class="memdoc">130 </div><div·class="memdoc">
  
131 <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>131 <p·class="definition">Definition·at·line·<a·class="el"·href="a00731_source.html#l00052">52</a>·of·file·<a·class="el"·href="a00731_source.html">patchMap.h</a>.</p>
  
132 </div>132 </div>
133 </div>133 </div>
134 <h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>134 <h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
135 <a·id="a016619de52fd79dbcdb879cc12b79200"·name="a016619de52fd79dbcdb879cc12b79200"></a>135 <a·id="a016619de52fd79dbcdb879cc12b79200"·name="a016619de52fd79dbcdb879cc12b79200"></a>
136 <h2·class="memtitle"><span·class="permalink"><a·href="#a016619de52fd79dbcdb879cc12b79200">&#9670;&nbsp;</a></span>PatchMap()</h2>136 <h2·class="memtitle"><span·class="permalink"><a·href="#a016619de52fd79dbcdb879cc12b79200">&#9670;&nbsp;</a></span>PatchMap()</h2>
  
Offset 211, 20 lines modifiedOffset 211, 20 lines modified
211 ····<tr><td·class="paramname">u</td><td>Local·u·parameter</td></tr>211 ····<tr><td·class="paramname">u</td><td>Local·u·parameter</td></tr>
212 ····<tr><td·class="paramname">v</td><td>Local·v·parameter</td></tr>212 ····<tr><td·class="paramname">v</td><td>Local·v·parameter</td></tr>
213 ··</table>213 ··</table>
214 ··</dd>214 ··</dd>
215 </dl>215 </dl>
216 <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>216 <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>
  
217 <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>217 <p·class="definition">Definition·at·line·<a·class="el"·href="a00731_source.html#l00193">193</a>·of·file·<a·class="el"·href="a00731_source.html">patchMap.h</a>.</p>
  
218 </div>218 </div>
219 </div>219 </div>
220 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>220 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
221 <li>opensubdiv/far/<a·class="el"·href="a00734_source.html">patchMap.h</a></li>221 <li>opensubdiv/far/<a·class="el"·href="a00731_source.html">patchMap.h</a></li>
222 </ul>222 </ul>
223 </div><!--·contents·-->223 </div><!--·contents·-->
224 </div><!--·doc-content·-->224 </div><!--·doc-content·-->
225 <!--·start·footer·part·-->225 <!--·start·footer·part·-->
226 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->226 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
227 ··<ul>227 ··<ul>
228 ····<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>228 ····<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>
5.38 KB
./usr/share/doc/opensubdiv/doxy_html/a00985.html
    
Offset 87, 42 lines modifiedOffset 87, 42 lines modified
87 ··<div·class="summary">87 ··<div·class="summary">
88 <a·href="#pub-attribs">Public·Attributes</a>·&#124;88 <a·href="#pub-attribs">Public·Attributes</a>·&#124;
89 <a·href="a00982.html">List·of·all·members</a>··</div>89 <a·href="a00982.html">List·of·all·members</a>··</div>
90 ··<div·class="headertitle"><div·class="title">PatchMap::QuadNode::Child·Struct·Reference</div></div>90 ··<div·class="headertitle"><div·class="title">PatchMap::QuadNode::Child·Struct·Reference</div></div>
91 </div><!--header-->91 </div><!--header-->
92 <div·class="contents">92 <div·class="contents">
  
93 <p><code>#include·&lt;<a·class="el"·href="a00734_source.html">patchMap.h</a>&gt;</code></p>93 <p><code>#include·&lt;<a·class="el"·href="a00731_source.html">patchMap.h</a>&gt;</code></p>
94 <table·class="memberdecls">94 <table·class="memberdecls">
95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a>95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a>
96 Public·Attributes</h2></td></tr>96 Public·Attributes</h2></td></tr>
97 <tr·class="memitem:ad3e71fff03a23f93fef41adc5d367435"><td·class="memItemLeft"·align="right"·valign="top">unsigned·int&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00985.html#ad3e71fff03a23f93fef41adc5d367435">isSet</a>:·1</td></tr>97 <tr·class="memitem:ad3e71fff03a23f93fef41adc5d367435"><td·class="memItemLeft"·align="right"·valign="top">unsigned·int&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00985.html#ad3e71fff03a23f93fef41adc5d367435">isSet</a>:·1</td></tr>
98 <tr·class="separator:ad3e71fff03a23f93fef41adc5d367435"><td·class="memSeparator"·colspan="2">&#160;</td></tr>98 <tr·class="separator:ad3e71fff03a23f93fef41adc5d367435"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
99 <tr·class="memitem:a07e7a9f4469398070886a336d833daa9"><td·class="memItemLeft"·align="right"·valign="top">unsigned·int&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00985.html#a07e7a9f4469398070886a336d833daa9">isLeaf</a>:·1</td></tr>99 <tr·class="memitem:a07e7a9f4469398070886a336d833daa9"><td·class="memItemLeft"·align="right"·valign="top">unsigned·int&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00985.html#a07e7a9f4469398070886a336d833daa9">isLeaf</a>:·1</td></tr>
100 <tr·class="separator:a07e7a9f4469398070886a336d833daa9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:a07e7a9f4469398070886a336d833daa9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 <tr·class="memitem:a589d64202487f78e3cc30dd2e04c5201"><td·class="memItemLeft"·align="right"·valign="top">unsigned·int&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00985.html#a589d64202487f78e3cc30dd2e04c5201">index</a>:·30</td></tr>101 <tr·class="memitem:a589d64202487f78e3cc30dd2e04c5201"><td·class="memItemLeft"·align="right"·valign="top">unsigned·int&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00985.html#a589d64202487f78e3cc30dd2e04c5201">index</a>:·30</td></tr>
102 <tr·class="separator:a589d64202487f78e3cc30dd2e04c5201"><td·class="memSeparator"·colspan="2">&#160;</td></tr>102 <tr·class="separator:a589d64202487f78e3cc30dd2e04c5201"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
103 </table>103 </table>
104 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>104 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
105 <div·class="textblock">105 <div·class="textblock">
106 <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>106 <p·class="definition">Definition·at·line·<a·class="el"·href="a00731_source.html#l00085">85</a>·of·file·<a·class="el"·href="a00731_source.html">patchMap.h</a>.</p>
107 </div><h2·class="groupheader">Member·Data·Documentation</h2>107 </div><h2·class="groupheader">Member·Data·Documentation</h2>
108 <a·id="a589d64202487f78e3cc30dd2e04c5201"·name="a589d64202487f78e3cc30dd2e04c5201"></a>108 <a·id="a589d64202487f78e3cc30dd2e04c5201"·name="a589d64202487f78e3cc30dd2e04c5201"></a>
109 <h2·class="memtitle"><span·class="permalink"><a·href="#a589d64202487f78e3cc30dd2e04c5201">&#9670;&nbsp;</a></span>index</h2>109 <h2·class="memtitle"><span·class="permalink"><a·href="#a589d64202487f78e3cc30dd2e04c5201">&#9670;&nbsp;</a></span>index</h2>
  
110 <div·class="memitem">110 <div·class="memitem">
111 <div·class="memproto">111 <div·class="memproto">
112 ······<table·class="memname">112 ······<table·class="memname">
113 ········<tr>113 ········<tr>
114 ··········<td·class="memname">unsigned·int·index</td>114 ··········<td·class="memname">unsigned·int·index</td>
115 ········</tr>115 ········</tr>
116 ······</table>116 ······</table>
117 </div><div·class="memdoc">117 </div><div·class="memdoc">
  
118 <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>118 <p·class="definition">Definition·at·line·<a·class="el"·href="a00731_source.html#l00088">88</a>·of·file·<a·class="el"·href="a00731_source.html">patchMap.h</a>.</p>
  
119 </div>119 </div>
120 </div>120 </div>
121 <a·id="a07e7a9f4469398070886a336d833daa9"·name="a07e7a9f4469398070886a336d833daa9"></a>121 <a·id="a07e7a9f4469398070886a336d833daa9"·name="a07e7a9f4469398070886a336d833daa9"></a>
122 <h2·class="memtitle"><span·class="permalink"><a·href="#a07e7a9f4469398070886a336d833daa9">&#9670;&nbsp;</a></span>isLeaf</h2>122 <h2·class="memtitle"><span·class="permalink"><a·href="#a07e7a9f4469398070886a336d833daa9">&#9670;&nbsp;</a></span>isLeaf</h2>
  
123 <div·class="memitem">123 <div·class="memitem">
Offset 130, 15 lines modifiedOffset 130, 15 lines modified
130 ······<table·class="memname">130 ······<table·class="memname">
131 ········<tr>131 ········<tr>
132 ··········<td·class="memname">unsigned·int·isLeaf</td>132 ··········<td·class="memname">unsigned·int·isLeaf</td>
133 ········</tr>133 ········</tr>
134 ······</table>134 ······</table>
135 </div><div·class="memdoc">135 </div><div·class="memdoc">
  
136 <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>136 <p·class="definition">Definition·at·line·<a·class="el"·href="a00731_source.html#l00087">87</a>·of·file·<a·class="el"·href="a00731_source.html">patchMap.h</a>.</p>
  
137 </div>137 </div>
138 </div>138 </div>
139 <a·id="ad3e71fff03a23f93fef41adc5d367435"·name="ad3e71fff03a23f93fef41adc5d367435"></a>139 <a·id="ad3e71fff03a23f93fef41adc5d367435"·name="ad3e71fff03a23f93fef41adc5d367435"></a>
140 <h2·class="memtitle"><span·class="permalink"><a·href="#ad3e71fff03a23f93fef41adc5d367435">&#9670;&nbsp;</a></span>isSet</h2>140 <h2·class="memtitle"><span·class="permalink"><a·href="#ad3e71fff03a23f93fef41adc5d367435">&#9670;&nbsp;</a></span>isSet</h2>
  
141 <div·class="memitem">141 <div·class="memitem">
Offset 146, 20 lines modifiedOffset 146, 20 lines modified
146 ······<table·class="memname">146 ······<table·class="memname">
147 ········<tr>147 ········<tr>
148 ··········<td·class="memname">unsigned·int·isSet</td>148 ··········<td·class="memname">unsigned·int·isSet</td>
149 ········</tr>149 ········</tr>
150 ······</table>150 ······</table>
151 </div><div·class="memdoc">151 </div><div·class="memdoc">
  
152 <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>152 <p·class="definition">Definition·at·line·<a·class="el"·href="a00731_source.html#l00086">86</a>·of·file·<a·class="el"·href="a00731_source.html">patchMap.h</a>.</p>
  
153 </div>153 </div>
154 </div>154 </div>
155 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>155 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
156 <li>opensubdiv/far/<a·class="el"·href="a00734_source.html">patchMap.h</a></li>156 <li>opensubdiv/far/<a·class="el"·href="a00731_source.html">patchMap.h</a></li>
157 </ul>157 </ul>
158 </div><!--·contents·-->158 </div><!--·contents·-->
159 </div><!--·doc-content·-->159 </div><!--·doc-content·-->
160 <!--·start·footer·part·-->160 <!--·start·footer·part·-->
161 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->161 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
162 ··<ul>162 ··<ul>
163 ····<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>163 ····<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>
33.7 KB
./usr/share/doc/opensubdiv/doxy_html/a00993.html
    
Offset 91, 15 lines modifiedOffset 91, 15 lines modified
91 ··<div·class="headertitle"><div·class="title">PatchTable·Class·Reference</div></div>91 ··<div·class="headertitle"><div·class="title">PatchTable·Class·Reference</div></div>
92 </div><!--header-->92 </div><!--header-->
93 <div·class="contents">93 <div·class="contents">
  
94 <p>Container·for·arrays·of·parametric·patches.··94 <p>Container·for·arrays·of·parametric·patches.··
95 ·<a·href="a00993.html#details">More...</a></p>95 ·<a·href="a00993.html#details">More...</a></p>
  
96 <p><code>#include·&lt;<a·class="el"·href="a00731_source.html">patchTable.h</a>&gt;</code></p>96 <p><code>#include·&lt;<a·class="el"·href="a00734_source.html">patchTable.h</a>&gt;</code></p>
97 <table·class="memberdecls">97 <table·class="memberdecls">
98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
99 Classes</h2></td></tr>99 Classes</h2></td></tr>
100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00997.html">PatchHandle</a></td></tr>100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00997.html">PatchHandle</a></td></tr>
101 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</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>101 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</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>
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
103 </table><table·class="memberdecls">103 </table><table·class="memberdecls">
Offset 413, 15 lines modifiedOffset 413, 15 lines modified
413 </table>413 </table>
414 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>414 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
415 <div·class="textblock"><p·>Container·for·arrays·of·parametric·patches.·</p>415 <div·class="textblock"><p·>Container·for·arrays·of·parametric·patches.·</p>
416 <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>416 <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>
417 <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>417 <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>
418 <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>418 <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>
  
419 <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>419 <p·class="definition">Definition·at·line·<a·class="el"·href="a00734_source.html#l00055">55</a>·of·file·<a·class="el"·href="a00734_source.html">patchTable.h</a>.</p>
420 </div><h2·class="groupheader">Member·Typedef·Documentation</h2>420 </div><h2·class="groupheader">Member·Typedef·Documentation</h2>
421 <a·id="ab72c4254f74c932eeb7d7b08805932c5"·name="ab72c4254f74c932eeb7d7b08805932c5"></a>421 <a·id="ab72c4254f74c932eeb7d7b08805932c5"·name="ab72c4254f74c932eeb7d7b08805932c5"></a>
422 <h2·class="memtitle"><span·class="permalink"><a·href="#ab72c4254f74c932eeb7d7b08805932c5">&#9670;&nbsp;</a></span>ConstQuadOffsetsArray</h2>422 <h2·class="memtitle"><span·class="permalink"><a·href="#ab72c4254f74c932eeb7d7b08805932c5">&#9670;&nbsp;</a></span>ConstQuadOffsetsArray</h2>
  
423 <div·class="memitem">423 <div·class="memitem">
424 <div·class="memproto">424 <div·class="memproto">
425 ······<table·class="memname">425 ······<table·class="memname">
Offset 429, 15 lines modifiedOffset 429, 15 lines modified
429 ··········<td·class="memname">typedef·<a·class="el"·href="a01345.html">Vtr::ConstArray</a>&lt;unsigned·int&gt;·<a·class="el"·href="a00993.html#ab72c4254f74c932eeb7d7b08805932c5">ConstQuadOffsetsArray</a></td>429 ··········<td·class="memname">typedef·<a·class="el"·href="a01345.html">Vtr::ConstArray</a>&lt;unsigned·int&gt;·<a·class="el"·href="a00993.html#ab72c4254f74c932eeb7d7b08805932c5">ConstQuadOffsetsArray</a></td>
430 ········</tr>430 ········</tr>
431 ······</table>431 ······</table>
432 </div><div·class="memdoc">432 </div><div·class="memdoc">
  
433 <p>Accessors·for·the·gregory·patch·evaluation·buffers.·These·methods·will·be·deprecated.·</p>433 <p>Accessors·for·the·gregory·patch·evaluation·buffers.·These·methods·will·be·deprecated.·</p>
  
434 <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>434 <p·class="definition">Definition·at·line·<a·class="el"·href="a00734_source.html#l00259">259</a>·of·file·<a·class="el"·href="a00734_source.html">patchTable.h</a>.</p>
  
435 </div>435 </div>
436 </div>436 </div>
437 <a·id="a9484ab8a323750c2f639ee8709b1349b"·name="a9484ab8a323750c2f639ee8709b1349b"></a>437 <a·id="a9484ab8a323750c2f639ee8709b1349b"·name="a9484ab8a323750c2f639ee8709b1349b"></a>
438 <h2·class="memtitle"><span·class="permalink"><a·href="#a9484ab8a323750c2f639ee8709b1349b">&#9670;&nbsp;</a></span>PatchVertsTable</h2>438 <h2·class="memtitle"><span·class="permalink"><a·href="#a9484ab8a323750c2f639ee8709b1349b">&#9670;&nbsp;</a></span>PatchVertsTable</h2>
  
439 <div·class="memitem">439 <div·class="memitem">
Offset 445, 15 lines modifiedOffset 445, 15 lines modified
445 ······<table·class="memname">445 ······<table·class="memname">
446 ········<tr>446 ········<tr>
447 ··········<td·class="memname">typedef·std::vector&lt;<a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>&gt;·<a·class="el"·href="a00993.html#a9484ab8a323750c2f639ee8709b1349b">PatchVertsTable</a></td>447 ··········<td·class="memname">typedef·std::vector&lt;<a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>&gt;·<a·class="el"·href="a00993.html#a9484ab8a323750c2f639ee8709b1349b">PatchVertsTable</a></td>
448 ········</tr>448 ········</tr>
449 ······</table>449 ······</table>
450 </div><div·class="memdoc">450 </div><div·class="memdoc">
  
451 <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>451 <p·class="definition">Definition·at·line·<a·class="el"·href="a00734_source.html#l00375">375</a>·of·file·<a·class="el"·href="a00734_source.html">patchTable.h</a>.</p>
  
452 </div>452 </div>
453 </div>453 </div>
454 <a·id="ad71e6ae07059dc39b0550c98cfcee291"·name="ad71e6ae07059dc39b0550c98cfcee291"></a>454 <a·id="ad71e6ae07059dc39b0550c98cfcee291"·name="ad71e6ae07059dc39b0550c98cfcee291"></a>
455 <h2·class="memtitle"><span·class="permalink"><a·href="#ad71e6ae07059dc39b0550c98cfcee291">&#9670;&nbsp;</a></span>QuadOffsetsTable</h2>455 <h2·class="memtitle"><span·class="permalink"><a·href="#ad71e6ae07059dc39b0550c98cfcee291">&#9670;&nbsp;</a></span>QuadOffsetsTable</h2>
  
456 <div·class="memitem">456 <div·class="memitem">
Offset 461, 15 lines modifiedOffset 461, 15 lines modified
461 ······<table·class="memname">461 ······<table·class="memname">
462 ········<tr>462 ········<tr>
463 ··········<td·class="memname">typedef·std::vector&lt;unsigned·int&gt;·<a·class="el"·href="a00993.html#ad71e6ae07059dc39b0550c98cfcee291">QuadOffsetsTable</a></td>463 ··········<td·class="memname">typedef·std::vector&lt;unsigned·int&gt;·<a·class="el"·href="a00993.html#ad71e6ae07059dc39b0550c98cfcee291">QuadOffsetsTable</a></td>
464 ········</tr>464 ········</tr>
465 ······</table>465 ······</table>
466 </div><div·class="memdoc">466 </div><div·class="memdoc">
  
467 <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>467 <p·class="definition">Definition·at·line·<a·class="el"·href="a00734_source.html#l00389">389</a>·of·file·<a·class="el"·href="a00734_source.html">patchTable.h</a>.</p>
  
468 </div>468 </div>
469 </div>469 </div>
470 <a·id="a2fbf111cac9d122eeaec5c0cb73fa77d"·name="a2fbf111cac9d122eeaec5c0cb73fa77d"></a>470 <a·id="a2fbf111cac9d122eeaec5c0cb73fa77d"·name="a2fbf111cac9d122eeaec5c0cb73fa77d"></a>
471 <h2·class="memtitle"><span·class="permalink"><a·href="#a2fbf111cac9d122eeaec5c0cb73fa77d">&#9670;&nbsp;</a></span>VertexValenceTable</h2>471 <h2·class="memtitle"><span·class="permalink"><a·href="#a2fbf111cac9d122eeaec5c0cb73fa77d">&#9670;&nbsp;</a></span>VertexValenceTable</h2>
  
472 <div·class="memitem">472 <div·class="memitem">
Offset 477, 15 lines modifiedOffset 477, 15 lines modified
477 ······<table·class="memname">477 ······<table·class="memname">
478 ········<tr>478 ········<tr>
479 ··········<td·class="memname">typedef·std::vector&lt;<a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>&gt;·<a·class="el"·href="a00993.html#a2fbf111cac9d122eeaec5c0cb73fa77d">VertexValenceTable</a></td>479 ··········<td·class="memname">typedef·std::vector&lt;<a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>&gt;·<a·class="el"·href="a00993.html#a2fbf111cac9d122eeaec5c0cb73fa77d">VertexValenceTable</a></td>
480 ········</tr>480 ········</tr>
481 ······</table>481 ······</table>
482 </div><div·class="memdoc">482 </div><div·class="memdoc">
  
483 <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>483 <p·class="definition">Definition·at·line·<a·class="el"·href="a00734_source.html#l00264">264</a>·of·file·<a·class="el"·href="a00734_source.html">patchTable.h</a>.</p>
  
484 </div>484 </div>
485 </div>485 </div>
486 <h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>486 <h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
487 <a·id="a3419c5d57330d6787f8c14a7677b8d9b"·name="a3419c5d57330d6787f8c14a7677b8d9b"></a>487 <a·id="a3419c5d57330d6787f8c14a7677b8d9b"·name="a3419c5d57330d6787f8c14a7677b8d9b"></a>
488 <h2·class="memtitle"><span·class="permalink"><a·href="#a3419c5d57330d6787f8c14a7677b8d9b">&#9670;&nbsp;</a></span>PatchTable()·<span·class="overload">[1/2]</span></h2>488 <h2·class="memtitle"><span·class="permalink"><a·href="#a3419c5d57330d6787f8c14a7677b8d9b">&#9670;&nbsp;</a></span>PatchTable()·<span·class="overload">[1/2]</span></h2>
  
Offset 592, 15 lines modifiedOffset 592, 15 lines modified
592 ····<tr><td·class="paramname">src</td><td>Buffer·with·primvar·data·for·the·base·and·refined·vertex·values</td></tr>592 ····<tr><td·class="paramname">src</td><td>Buffer·with·primvar·data·for·the·base·and·refined·vertex·values</td></tr>
593 ····<tr><td·class="paramname">dst</td><td>Destination·buffer·for·the·computed·local·point·vertex·values</td></tr>593 ····<tr><td·class="paramname">dst</td><td>Destination·buffer·for·the·computed·local·point·vertex·values</td></tr>
594 ··</table>594 ··</table>
595 ··</dd>595 ··</dd>
596 </dl>596 </dl>
597 <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>597 <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>
  
598 <p·class="definition">Definition·at·line·<a·class="el"·href="a00731_source.html#l00778">778</a>·of·file·<a·class="el"·href="a00731_source.html">patchTable.h</a>.</p>598 <p·class="definition">Definition·at·line·<a·class="el"·href="a00734_source.html#l00778">778</a>·of·file·<a·class="el"·href="a00734_source.html">patchTable.h</a>.</p>
  
599 </div>599 </div>
600 </div>600 </div>
601 <a·id="a059c9506f9ef8ebf24a68fc298be58be"·name="a059c9506f9ef8ebf24a68fc298be58be"></a>601 <a·id="a059c9506f9ef8ebf24a68fc298be58be"·name="a059c9506f9ef8ebf24a68fc298be58be"></a>
602 <h2·class="memtitle"><span·class="permalink"><a·href="#a059c9506f9ef8ebf24a68fc298be58be">&#9670;&nbsp;</a></span>ComputeLocalPointValuesFaceVarying()</h2>602 <h2·class="memtitle"><span·class="permalink"><a·href="#a059c9506f9ef8ebf24a68fc298be58be">&#9670;&nbsp;</a></span>ComputeLocalPointValuesFaceVarying()</h2>
  
603 <div·class="memitem">603 <div·class="memitem">
Offset 647, 15 lines modifiedOffset 647, 15 lines modified
647 ····<tr><td·class="paramname">dst</td><td>Destination·buffer·for·the·computed·local·point·face-varying·values</td></tr>647 ····<tr><td·class="paramname">dst</td><td>Destination·buffer·for·the·computed·local·point·face-varying·values</td></tr>
648 ····<tr><td·class="paramname">channel</td><td>face-varying·channel</td></tr>648 ····<tr><td·class="paramname">channel</td><td>face-varying·channel</td></tr>
649 ··</table>649 ··</table>
650 ··</dd>650 ··</dd>
651 </dl>651 </dl>
652 <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>652 <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>
  
653 <p·class="definition">Definition·at·line·<a·class="el"·href="a00731_source.html#l00796">796</a>·of·file·<a·class="el"·href="a00731_source.html">patchTable.h</a>.</p>653 <p·class="definition">Definition·at·line·<a·class="el"·href="a00734_source.html#l00796">796</a>·of·file·<a·class="el"·href="a00734_source.html">patchTable.h</a>.</p>
  
654 </div>654 </div>
655 </div>655 </div>
656 <a·id="a08ccda63d26e5b06957be5f5eec75d01"·name="a08ccda63d26e5b06957be5f5eec75d01"></a>656 <a·id="a08ccda63d26e5b06957be5f5eec75d01"·name="a08ccda63d26e5b06957be5f5eec75d01"></a>
657 <h2·class="memtitle"><span·class="permalink"><a·href="#a08ccda63d26e5b06957be5f5eec75d01">&#9670;&nbsp;</a></span>ComputeLocalPointValuesVarying()</h2>657 <h2·class="memtitle"><span·class="permalink"><a·href="#a08ccda63d26e5b06957be5f5eec75d01">&#9670;&nbsp;</a></span>ComputeLocalPointValuesVarying()</h2>
  
658 <div·class="memitem">658 <div·class="memitem">
Max diff block lines reached; 25294/34383 bytes (73.57%) of diff not shown.
7.69 KB
./usr/share/doc/opensubdiv/doxy_html/a00997.html
    
Offset 91, 15 lines modifiedOffset 91, 15 lines modified
91 ··<div·class="headertitle"><div·class="title">PatchTable::PatchHandle·Class·Reference</div></div>91 ··<div·class="headertitle"><div·class="title">PatchTable::PatchHandle·Class·Reference</div></div>
92 </div><!--header-->92 </div><!--header-->
93 <div·class="contents">93 <div·class="contents">
  
94 <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>.··94 <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>.··
95 ·<a·href="a00997.html#details">More...</a></p>95 ·<a·href="a00997.html#details">More...</a></p>
  
96 <p><code>#include·&lt;<a·class="el"·href="a00731_source.html">patchTable.h</a>&gt;</code></p>96 <p><code>#include·&lt;<a·class="el"·href="a00734_source.html">patchTable.h</a>&gt;</code></p>
97 <table·class="memberdecls">97 <table·class="memberdecls">
98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a>98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a>
99 Public·Attributes</h2></td></tr>99 Public·Attributes</h2></td></tr>
100 <tr·class="memitem:a4430ecde7e1d784b2bef6dc4c2ff04c2"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00997.html#a4430ecde7e1d784b2bef6dc4c2ff04c2">arrayIndex</a></td></tr>100 <tr·class="memitem:a4430ecde7e1d784b2bef6dc4c2ff04c2"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00997.html#a4430ecde7e1d784b2bef6dc4c2ff04c2">arrayIndex</a></td></tr>
101 <tr·class="separator:a4430ecde7e1d784b2bef6dc4c2ff04c2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:a4430ecde7e1d784b2bef6dc4c2ff04c2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 <tr·class="memitem:a31bdf15525ab73560c2b725ff7f8ae3a"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00997.html#a31bdf15525ab73560c2b725ff7f8ae3a">patchIndex</a></td></tr>102 <tr·class="memitem:a31bdf15525ab73560c2b725ff7f8ae3a"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00997.html#a31bdf15525ab73560c2b725ff7f8ae3a">patchIndex</a></td></tr>
103 <tr·class="separator:a31bdf15525ab73560c2b725ff7f8ae3a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:a31bdf15525ab73560c2b725ff7f8ae3a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 112, 15 lines modifiedOffset 112, 15 lines modified
112 <tr·class="separator:ad4867d502f9704b7e45a7974e8918dc3"><td·class="memSeparator"·colspan="2">&#160;</td></tr>112 <tr·class="separator:ad4867d502f9704b7e45a7974e8918dc3"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
113 <tr·class="memitem:aff380d8d7f072959898c0a4e25150d2a"><td·class="memItemLeft"·align="right"·valign="top">class&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00997.html#aff380d8d7f072959898c0a4e25150d2a">PatchMap</a></td></tr>113 <tr·class="memitem:aff380d8d7f072959898c0a4e25150d2a"><td·class="memItemLeft"·align="right"·valign="top">class&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00997.html#aff380d8d7f072959898c0a4e25150d2a">PatchMap</a></td></tr>
114 <tr·class="separator:aff380d8d7f072959898c0a4e25150d2a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>114 <tr·class="separator:aff380d8d7f072959898c0a4e25150d2a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
115 </table>115 </table>
116 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>116 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
117 <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>117 <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>
  
118 <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>118 <p·class="definition">Definition·at·line·<a·class="el"·href="a00734_source.html#l00060">60</a>·of·file·<a·class="el"·href="a00734_source.html">patchTable.h</a>.</p>
119 </div><h2·class="groupheader">Friends·And·Related·Function·Documentation</h2>119 </div><h2·class="groupheader">Friends·And·Related·Function·Documentation</h2>
120 <a·id="aff380d8d7f072959898c0a4e25150d2a"·name="aff380d8d7f072959898c0a4e25150d2a"></a>120 <a·id="aff380d8d7f072959898c0a4e25150d2a"·name="aff380d8d7f072959898c0a4e25150d2a"></a>
121 <h2·class="memtitle"><span·class="permalink"><a·href="#aff380d8d7f072959898c0a4e25150d2a">&#9670;&nbsp;</a></span>PatchMap</h2>121 <h2·class="memtitle"><span·class="permalink"><a·href="#aff380d8d7f072959898c0a4e25150d2a">&#9670;&nbsp;</a></span>PatchMap</h2>
  
122 <div·class="memitem">122 <div·class="memitem">
123 <div·class="memproto">123 <div·class="memproto">
124 <table·class="mlabels">124 <table·class="mlabels">
Offset 134, 15 lines modifiedOffset 134, 15 lines modified
134 ··</td>134 ··</td>
135 ··<td·class="mlabels-right">135 ··<td·class="mlabels-right">
136 <span·class="mlabels"><span·class="mlabel">friend</span></span>··</td>136 <span·class="mlabels"><span·class="mlabel">friend</span></span>··</td>
137 ··</tr>137 ··</tr>
138 </table>138 </table>
139 </div><div·class="memdoc">139 </div><div·class="memdoc">
  
140 <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>140 <p·class="definition">Definition·at·line·<a·class="el"·href="a00734_source.html#l00065">65</a>·of·file·<a·class="el"·href="a00734_source.html">patchTable.h</a>.</p>
  
141 </div>141 </div>
142 </div>142 </div>
143 <a·id="ad4867d502f9704b7e45a7974e8918dc3"·name="ad4867d502f9704b7e45a7974e8918dc3"></a>143 <a·id="ad4867d502f9704b7e45a7974e8918dc3"·name="ad4867d502f9704b7e45a7974e8918dc3"></a>
144 <h2·class="memtitle"><span·class="permalink"><a·href="#ad4867d502f9704b7e45a7974e8918dc3">&#9670;&nbsp;</a></span>PatchTable</h2>144 <h2·class="memtitle"><span·class="permalink"><a·href="#ad4867d502f9704b7e45a7974e8918dc3">&#9670;&nbsp;</a></span>PatchTable</h2>
  
145 <div·class="memitem">145 <div·class="memitem">
Offset 158, 15 lines modifiedOffset 158, 15 lines modified
158 ··</td>158 ··</td>
159 ··<td·class="mlabels-right">159 ··<td·class="mlabels-right">
160 <span·class="mlabels"><span·class="mlabel">friend</span></span>··</td>160 <span·class="mlabels"><span·class="mlabel">friend</span></span>··</td>
161 ··</tr>161 ··</tr>
162 </table>162 </table>
163 </div><div·class="memdoc">163 </div><div·class="memdoc">
  
164 <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>164 <p·class="definition">Definition·at·line·<a·class="el"·href="a00734_source.html#l00064">64</a>·of·file·<a·class="el"·href="a00734_source.html">patchTable.h</a>.</p>
  
165 </div>165 </div>
166 </div>166 </div>
167 <h2·class="groupheader">Member·Data·Documentation</h2>167 <h2·class="groupheader">Member·Data·Documentation</h2>
168 <a·id="a4430ecde7e1d784b2bef6dc4c2ff04c2"·name="a4430ecde7e1d784b2bef6dc4c2ff04c2"></a>168 <a·id="a4430ecde7e1d784b2bef6dc4c2ff04c2"·name="a4430ecde7e1d784b2bef6dc4c2ff04c2"></a>
169 <h2·class="memtitle"><span·class="permalink"><a·href="#a4430ecde7e1d784b2bef6dc4c2ff04c2">&#9670;&nbsp;</a></span>arrayIndex</h2>169 <h2·class="memtitle"><span·class="permalink"><a·href="#a4430ecde7e1d784b2bef6dc4c2ff04c2">&#9670;&nbsp;</a></span>arrayIndex</h2>
  
Offset 175, 15 lines modifiedOffset 175, 15 lines modified
175 ······<table·class="memname">175 ······<table·class="memname">
176 ········<tr>176 ········<tr>
177 ··········<td·class="memname"><a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>·arrayIndex</td>177 ··········<td·class="memname"><a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>·arrayIndex</td>
178 ········</tr>178 ········</tr>
179 ······</table>179 ······</table>
180 </div><div·class="memdoc">180 </div><div·class="memdoc">
  
181 <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>181 <p·class="definition">Definition·at·line·<a·class="el"·href="a00734_source.html#l00067">67</a>·of·file·<a·class="el"·href="a00734_source.html">patchTable.h</a>.</p>
  
182 </div>182 </div>
183 </div>183 </div>
184 <a·id="a31bdf15525ab73560c2b725ff7f8ae3a"·name="a31bdf15525ab73560c2b725ff7f8ae3a"></a>184 <a·id="a31bdf15525ab73560c2b725ff7f8ae3a"·name="a31bdf15525ab73560c2b725ff7f8ae3a"></a>
185 <h2·class="memtitle"><span·class="permalink"><a·href="#a31bdf15525ab73560c2b725ff7f8ae3a">&#9670;&nbsp;</a></span>patchIndex</h2>185 <h2·class="memtitle"><span·class="permalink"><a·href="#a31bdf15525ab73560c2b725ff7f8ae3a">&#9670;&nbsp;</a></span>patchIndex</h2>
  
186 <div·class="memitem">186 <div·class="memitem">
Offset 191, 15 lines modifiedOffset 191, 15 lines modified
191 ······<table·class="memname">191 ······<table·class="memname">
192 ········<tr>192 ········<tr>
193 ··········<td·class="memname"><a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>·patchIndex</td>193 ··········<td·class="memname"><a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>·patchIndex</td>
194 ········</tr>194 ········</tr>
195 ······</table>195 ······</table>
196 </div><div·class="memdoc">196 </div><div·class="memdoc">
  
197 <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>197 <p·class="definition">Definition·at·line·<a·class="el"·href="a00734_source.html#l00068">68</a>·of·file·<a·class="el"·href="a00734_source.html">patchTable.h</a>.</p>
  
198 </div>198 </div>
199 </div>199 </div>
200 <a·id="a46d1a8129375c3ee40a33a81d44b685a"·name="a46d1a8129375c3ee40a33a81d44b685a"></a>200 <a·id="a46d1a8129375c3ee40a33a81d44b685a"·name="a46d1a8129375c3ee40a33a81d44b685a"></a>
201 <h2·class="memtitle"><span·class="permalink"><a·href="#a46d1a8129375c3ee40a33a81d44b685a">&#9670;&nbsp;</a></span>vertIndex</h2>201 <h2·class="memtitle"><span·class="permalink"><a·href="#a46d1a8129375c3ee40a33a81d44b685a">&#9670;&nbsp;</a></span>vertIndex</h2>
  
202 <div·class="memitem">202 <div·class="memitem">
Offset 207, 20 lines modifiedOffset 207, 20 lines modified
207 ······<table·class="memname">207 ······<table·class="memname">
208 ········<tr>208 ········<tr>
209 ··········<td·class="memname"><a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>·vertIndex</td>209 ··········<td·class="memname"><a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>·vertIndex</td>
210 ········</tr>210 ········</tr>
211 ······</table>211 ······</table>
212 </div><div·class="memdoc">212 </div><div·class="memdoc">
  
213 <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>213 <p·class="definition">Definition·at·line·<a·class="el"·href="a00734_source.html#l00069">69</a>·of·file·<a·class="el"·href="a00734_source.html">patchTable.h</a>.</p>
  
214 </div>214 </div>
215 </div>215 </div>
216 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>216 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
217 <li>opensubdiv/far/<a·class="el"·href="a00731_source.html">patchTable.h</a></li>217 <li>opensubdiv/far/<a·class="el"·href="a00734_source.html">patchTable.h</a></li>
218 </ul>218 </ul>
219 </div><!--·contents·-->219 </div><!--·contents·-->
220 </div><!--·doc-content·-->220 </div><!--·doc-content·-->
221 <!--·start·footer·part·-->221 <!--·start·footer·part·-->
222 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->222 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
223 ··<ul>223 ··<ul>
224 ····<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>224 ····<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>
38.1 KB
./usr/share/doc/opensubdiv/doxy_html/a01109.html
    
Offset 92, 15 lines modifiedOffset 92, 15 lines modified
92 ··<div·class="headertitle"><div·class="title">TopologyRefinerFactory&lt;·MESH·&gt;·Class·Template·Reference</div></div>92 ··<div·class="headertitle"><div·class="title">TopologyRefinerFactory&lt;·MESH·&gt;·Class·Template·Reference</div></div>
93 </div><!--header-->93 </div><!--header-->
94 <div·class="contents">94 <div·class="contents">
  
95 <p>Factory·for·constructing·TopologyRefiners·from·specific·mesh·classes.··95 <p>Factory·for·constructing·TopologyRefiners·from·specific·mesh·classes.··
96 ·<a·href="a01109.html#details">More...</a></p>96 ·<a·href="a01109.html#details">More...</a></p>
  
97 <p><code>#include·&lt;<a·class="el"·href="a00707_source.html">topologyRefinerFactory.h</a>&gt;</code></p>97 <p><code>#include·&lt;<a·class="el"·href="a00704_source.html">topologyRefinerFactory.h</a>&gt;</code></p>
98 <div·class="dynheader">98 <div·class="dynheader">
99 Inheritance·diagram·for·TopologyRefinerFactory&lt;·MESH·&gt;:</div>99 Inheritance·diagram·for·TopologyRefinerFactory&lt;·MESH·&gt;:</div>
100 <div·class="dyncontent">100 <div·class="dyncontent">
101 ·<div·class="center">101 ·<div·class="center">
102 ··<img·src="a01109.png"·usemap="#TopologyRefinerFactory_3C_20MESH_20_3E_map"·alt=""/>102 ··<img·src="a01109.png"·usemap="#TopologyRefinerFactory_3C_20MESH_20_3E_map"·alt=""/>
103 ··<map·id="TopologyRefinerFactory_3C_20MESH_20_3E_map"·name="TopologyRefinerFactory_3C_20MESH_20_3E_map">103 ··<map·id="TopologyRefinerFactory_3C_20MESH_20_3E_map"·name="TopologyRefinerFactory_3C_20MESH_20_3E_map">
104 <area·href="a01125.html"·title="Private·base·class·of·Factories·for·constructing·TopologyRefiners."·alt="TopologyRefinerFactoryBase"·shape="rect"·coords="0,0,209,24"/>104 <area·href="a01125.html"·title="Private·base·class·of·Factories·for·constructing·TopologyRefiners."·alt="TopologyRefinerFactoryBase"·shape="rect"·coords="0,0,209,24"/>
Offset 270, 15 lines modifiedOffset 270, 15 lines modified
270 </table>270 </table>
271 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>271 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
272 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·MESH&gt;<br·/>272 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·MESH&gt;<br·/>
273 class·OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefinerFactory&lt;·MESH·&gt;</div><p·>Factory·for·constructing·TopologyRefiners·from·specific·mesh·classes.·</p>273 class·OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefinerFactory&lt;·MESH·&gt;</div><p·>Factory·for·constructing·TopologyRefiners·from·specific·mesh·classes.·</p>
274 <p·>TopologyRefinerFactory&lt;MESH&gt;·is·the·factory·class·template·to·convert·an·instance·of·<a·class="el"·href="a01113.html"·title="Stores·topology·data·for·a·specified·set·of·refinement·options.">TopologyRefiner</a>·from·an·arbitrary·mesh·class.·While·a·class·template,·the·implementation·is·not·(cannot)·be·complete,·so·specialization·of·a·few·methods·is·required·(it·is·a·stateless·factory,·so·no·instance·and·only·static·methods).</p>274 <p·>TopologyRefinerFactory&lt;MESH&gt;·is·the·factory·class·template·to·convert·an·instance·of·<a·class="el"·href="a01113.html"·title="Stores·topology·data·for·a·specified·set·of·refinement·options.">TopologyRefiner</a>·from·an·arbitrary·mesh·class.·While·a·class·template,·the·implementation·is·not·(cannot)·be·complete,·so·specialization·of·a·few·methods·is·required·(it·is·a·stateless·factory,·so·no·instance·and·only·static·methods).</p>
275 <p·>This·template·provides·both·the·interface·and·high·level·assembly·for·the·construction·of·the·<a·class="el"·href="a01113.html"·title="Stores·topology·data·for·a·specified·set·of·refinement·options.">TopologyRefiner</a>·instance.·The·high·level·construction·executes·a·specific·set·of·operations·to·convert·the·client's·MESH·into·<a·class="el"·href="a01113.html"·title="Stores·topology·data·for·a·specified·set·of·refinement·options.">TopologyRefiner</a>.·This·set·of·operations·combines·methods·independent·of·MESH·from·the·base·class·with·those·specialized·here·for·class·MESH.·</p>275 <p·>This·template·provides·both·the·interface·and·high·level·assembly·for·the·construction·of·the·<a·class="el"·href="a01113.html"·title="Stores·topology·data·for·a·specified·set·of·refinement·options.">TopologyRefiner</a>·instance.·The·high·level·construction·executes·a·specific·set·of·operations·to·convert·the·client's·MESH·into·<a·class="el"·href="a01113.html"·title="Stores·topology·data·for·a·specified·set·of·refinement·options.">TopologyRefiner</a>.·This·set·of·operations·combines·methods·independent·of·MESH·from·the·base·class·with·those·specialized·here·for·class·MESH.·</p>
  
276 <p·class="definition">Definition·at·line·<a·class="el"·href="a00707_source.html#l00078">78</a>·of·file·<a·class="el"·href="a00707_source.html">topologyRefinerFactory.h</a>.</p>276 <p·class="definition">Definition·at·line·<a·class="el"·href="a00704_source.html#l00078">78</a>·of·file·<a·class="el"·href="a00704_source.html">topologyRefinerFactory.h</a>.</p>
277 </div><h2·class="groupheader">Member·Typedef·Documentation</h2>277 </div><h2·class="groupheader">Member·Typedef·Documentation</h2>
278 <a·id="a5458be6ce3f2e63c8d8555f4ab3b2b62"·name="a5458be6ce3f2e63c8d8555f4ab3b2b62"></a>278 <a·id="a5458be6ce3f2e63c8d8555f4ab3b2b62"·name="a5458be6ce3f2e63c8d8555f4ab3b2b62"></a>
279 <h2·class="memtitle"><span·class="permalink"><a·href="#a5458be6ce3f2e63c8d8555f4ab3b2b62">&#9670;&nbsp;</a></span>TopologyError</h2>279 <h2·class="memtitle"><span·class="permalink"><a·href="#a5458be6ce3f2e63c8d8555f4ab3b2b62">&#9670;&nbsp;</a></span>TopologyError</h2>
  
280 <div·class="memitem">280 <div·class="memitem">
281 <div·class="memproto">281 <div·class="memproto">
282 <table·class="mlabels">282 <table·class="mlabels">
Offset 292, 15 lines modifiedOffset 292, 15 lines modified
292 ··</td>292 ··</td>
293 ··<td·class="mlabels-right">293 ··<td·class="mlabels-right">
294 <span·class="mlabels"><span·class="mlabel">protected</span></span>··</td>294 <span·class="mlabels"><span·class="mlabel">protected</span></span>··</td>
295 ··</tr>295 ··</tr>
296 </table>296 </table>
297 </div><div·class="memdoc">297 </div><div·class="memdoc">
  
298 <p·class="definition">Definition·at·line·<a·class="el"·href="a00707_source.html#l00131">131</a>·of·file·<a·class="el"·href="a00707_source.html">topologyRefinerFactory.h</a>.</p>298 <p·class="definition">Definition·at·line·<a·class="el"·href="a00704_source.html#l00131">131</a>·of·file·<a·class="el"·href="a00704_source.html">topologyRefinerFactory.h</a>.</p>
  
299 </div>299 </div>
300 </div>300 </div>
301 <h2·class="groupheader">Member·Function·Documentation</h2>301 <h2·class="groupheader">Member·Function·Documentation</h2>
302 <a·id="a3df7295af055588a7b4f20d4da021ad1"·name="a3df7295af055588a7b4f20d4da021ad1"></a>302 <a·id="a3df7295af055588a7b4f20d4da021ad1"·name="a3df7295af055588a7b4f20d4da021ad1"></a>
303 <h2·class="memtitle"><span·class="permalink"><a·href="#a3df7295af055588a7b4f20d4da021ad1">&#9670;&nbsp;</a></span>assignComponentTags()</h2>303 <h2·class="memtitle"><span·class="permalink"><a·href="#a3df7295af055588a7b4f20d4da021ad1">&#9670;&nbsp;</a></span>assignComponentTags()</h2>
  
Offset 333, 15 lines modifiedOffset 333, 15 lines modified
333 <span·class="mlabels"><span·class="mlabel">static</span><span·class="mlabel">protected</span></span>··</td>333 <span·class="mlabels"><span·class="mlabel">static</span><span·class="mlabel">protected</span></span>··</td>
334 ··</tr>334 ··</tr>
335 </table>335 </table>
336 </div><div·class="memdoc">336 </div><div·class="memdoc">
  
337 <p>(Optional)·Specify·edge·or·vertex·sharpness·or·face·holes·</p>337 <p>(Optional)·Specify·edge·or·vertex·sharpness·or·face·holes·</p>
  
338 <p·class="definition">Definition·at·line·<a·class="el"·href="a00707_source.html#l00690">690</a>·of·file·<a·class="el"·href="a00707_source.html">topologyRefinerFactory.h</a>.</p>338 <p·class="definition">Definition·at·line·<a·class="el"·href="a00704_source.html#l00690">690</a>·of·file·<a·class="el"·href="a00704_source.html">topologyRefinerFactory.h</a>.</p>
  
339 </div>339 </div>
340 </div>340 </div>
341 <a·id="a098784adfa428c620663baf9c2d8e41a"·name="a098784adfa428c620663baf9c2d8e41a"></a>341 <a·id="a098784adfa428c620663baf9c2d8e41a"·name="a098784adfa428c620663baf9c2d8e41a"></a>
342 <h2·class="memtitle"><span·class="permalink"><a·href="#a098784adfa428c620663baf9c2d8e41a">&#9670;&nbsp;</a></span>assignComponentTopology()</h2>342 <h2·class="memtitle"><span·class="permalink"><a·href="#a098784adfa428c620663baf9c2d8e41a">&#9670;&nbsp;</a></span>assignComponentTopology()</h2>
  
343 <div·class="memitem">343 <div·class="memitem">
Offset 373, 15 lines modifiedOffset 373, 15 lines modified
373 <span·class="mlabels"><span·class="mlabel">static</span><span·class="mlabel">protected</span></span>··</td>373 <span·class="mlabels"><span·class="mlabel">static</span><span·class="mlabel">protected</span></span>··</td>
374 ··</tr>374 ··</tr>
375 </table>375 </table>
376 </div><div·class="memdoc">376 </div><div·class="memdoc">
  
377 <p>Specify·the·relationships·between·vertices,·faces,·etc.·ie·the·face-vertices,·vertex-faces,·edge-vertices,·etc.·</p>377 <p>Specify·the·relationships·between·vertices,·faces,·etc.·ie·the·face-vertices,·vertex-faces,·edge-vertices,·etc.·</p>
  
378 <p·class="definition">Definition·at·line·<a·class="el"·href="a00707_source.html#l00621">621</a>·of·file·<a·class="el"·href="a00707_source.html">topologyRefinerFactory.h</a>.</p>378 <p·class="definition">Definition·at·line·<a·class="el"·href="a00704_source.html#l00621">621</a>·of·file·<a·class="el"·href="a00704_source.html">topologyRefinerFactory.h</a>.</p>
  
379 </div>379 </div>
380 </div>380 </div>
381 <a·id="a6999e259e020bc687d09ef616ab3825b"·name="a6999e259e020bc687d09ef616ab3825b"></a>381 <a·id="a6999e259e020bc687d09ef616ab3825b"·name="a6999e259e020bc687d09ef616ab3825b"></a>
382 <h2·class="memtitle"><span·class="permalink"><a·href="#a6999e259e020bc687d09ef616ab3825b">&#9670;&nbsp;</a></span>assignFaceVaryingTopology()</h2>382 <h2·class="memtitle"><span·class="permalink"><a·href="#a6999e259e020bc687d09ef616ab3825b">&#9670;&nbsp;</a></span>assignFaceVaryingTopology()</h2>
  
383 <div·class="memitem">383 <div·class="memitem">
Offset 413, 15 lines modifiedOffset 413, 15 lines modified
413 <span·class="mlabels"><span·class="mlabel">static</span><span·class="mlabel">protected</span></span>··</td>413 <span·class="mlabels"><span·class="mlabel">static</span><span·class="mlabel">protected</span></span>··</td>
414 ··</tr>414 ··</tr>
415 </table>415 </table>
416 </div><div·class="memdoc">416 </div><div·class="memdoc">
  
417 <p>(Optional)·Specify·face-varying·data·per·face·</p>417 <p>(Optional)·Specify·face-varying·data·per·face·</p>
  
418 <p·class="definition">Definition·at·line·<a·class="el"·href="a00707_source.html#l00674">674</a>·of·file·<a·class="el"·href="a00707_source.html">topologyRefinerFactory.h</a>.</p>418 <p·class="definition">Definition·at·line·<a·class="el"·href="a00704_source.html#l00674">674</a>·of·file·<a·class="el"·href="a00704_source.html">topologyRefinerFactory.h</a>.</p>
  
419 </div>419 </div>
420 </div>420 </div>
421 <a·id="ab10eb061eba33095095d754241081ff9"·name="ab10eb061eba33095095d754241081ff9"></a>421 <a·id="ab10eb061eba33095095d754241081ff9"·name="ab10eb061eba33095095d754241081ff9"></a>
422 <h2·class="memtitle"><span·class="permalink"><a·href="#ab10eb061eba33095095d754241081ff9">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[1/2]</span></h2>422 <h2·class="memtitle"><span·class="permalink"><a·href="#ab10eb061eba33095095d754241081ff9">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[1/2]</span></h2>
  
423 <div·class="memitem">423 <div·class="memitem">
Offset 462, 15 lines modifiedOffset 462, 15 lines modified
462 ····<tr><td·class="paramname">mesh</td><td>Client's·topological·representation·(or·a·converter)·</td></tr>462 ····<tr><td·class="paramname">mesh</td><td>Client's·topological·representation·(or·a·converter)·</td></tr>
463 ····<tr><td·class="paramname">options</td><td><a·class="el"·href="a01129.html"·title="Options·related·to·the·construction·of·each·TopologyRefiner.">Options</a>·controlling·the·creation·of·the·<a·class="el"·href="a01113.html"·title="Stores·topology·data·for·a·specified·set·of·refinement·options.">TopologyRefiner</a></td></tr>463 ····<tr><td·class="paramname">options</td><td><a·class="el"·href="a01129.html"·title="Options·related·to·the·construction·of·each·TopologyRefiner.">Options</a>·controlling·the·creation·of·the·<a·class="el"·href="a01113.html"·title="Stores·topology·data·for·a·specified·set·of·refinement·options.">TopologyRefiner</a></td></tr>
464 ··</table>464 ··</table>
465 ··</dd>465 ··</dd>
466 </dl>466 </dl>
467 <dl·class="section·return"><dt>Returns</dt><dd>A·new·instance·of·<a·class="el"·href="a01113.html"·title="Stores·topology·data·for·a·specified·set·of·refinement·options.">TopologyRefiner</a>·or·0·for·failure·</dd></dl>467 <dl·class="section·return"><dt>Returns</dt><dd>A·new·instance·of·<a·class="el"·href="a01113.html"·title="Stores·topology·data·for·a·specified·set·of·refinement·options.">TopologyRefiner</a>·or·0·for·failure·</dd></dl>
  
468 <p·class="definition">Definition·at·line·<a·class="el"·href="a00707_source.html#l00346">346</a>·of·file·<a·class="el"·href="a00707_source.html">topologyRefinerFactory.h</a>.</p>468 <p·class="definition">Definition·at·line·<a·class="el"·href="a00704_source.html#l00346">346</a>·of·file·<a·class="el"·href="a00704_source.html">topologyRefinerFactory.h</a>.</p>
  
469 </div>469 </div>
470 </div>470 </div>
471 <a·id="adbb03cacfb38376d07a8ce7e99b98f4a"·name="adbb03cacfb38376d07a8ce7e99b98f4a"></a>471 <a·id="adbb03cacfb38376d07a8ce7e99b98f4a"·name="adbb03cacfb38376d07a8ce7e99b98f4a"></a>
472 <h2·class="memtitle"><span·class="permalink"><a·href="#adbb03cacfb38376d07a8ce7e99b98f4a">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[2/2]</span></h2>472 <h2·class="memtitle"><span·class="permalink"><a·href="#adbb03cacfb38376d07a8ce7e99b98f4a">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[2/2]</span></h2>
  
473 <div·class="memitem">473 <div·class="memitem">
Offset 500, 15 lines modifiedOffset 500, 15 lines modified
500 ··<table·class="params">500 ··<table·class="params">
501 ····<tr><td·class="paramname">baseLevel</td><td>An·existing·<a·class="el"·href="a01113.html"·title="Stores·topology·data·for·a·specified·set·of·refinement·options.">TopologyRefiner</a>·to·share·base·level.</td></tr>501 ····<tr><td·class="paramname">baseLevel</td><td>An·existing·<a·class="el"·href="a01113.html"·title="Stores·topology·data·for·a·specified·set·of·refinement·options.">TopologyRefiner</a>·to·share·base·level.</td></tr>
502 ··</table>502 ··</table>
503 ··</dd>503 ··</dd>
504 </dl>504 </dl>
505 <dl·class="section·return"><dt>Returns</dt><dd>A·new·instance·of·<a·class="el"·href="a01113.html"·title="Stores·topology·data·for·a·specified·set·of·refinement·options.">TopologyRefiner</a>·or·0·for·failure·</dd></dl>505 <dl·class="section·return"><dt>Returns</dt><dd>A·new·instance·of·<a·class="el"·href="a01113.html"·title="Stores·topology·data·for·a·specified·set·of·refinement·options.">TopologyRefiner</a>·or·0·for·failure·</dd></dl>
  
506 <p·class="definition">Definition·at·line·<a·class="el"·href="a00707_source.html#l00364">364</a>·of·file·<a·class="el"·href="a00707_source.html">topologyRefinerFactory.h</a>.</p>506 <p·class="definition">Definition·at·line·<a·class="el"·href="a00704_source.html#l00364">364</a>·of·file·<a·class="el"·href="a00704_source.html">topologyRefinerFactory.h</a>.</p>
  
507 </div>507 </div>
508 </div>508 </div>
509 <a·id="ad73911f95b0a7025a510631c13526d4d"·name="ad73911f95b0a7025a510631c13526d4d"></a>509 <a·id="ad73911f95b0a7025a510631c13526d4d"·name="ad73911f95b0a7025a510631c13526d4d"></a>
510 <h2·class="memtitle"><span·class="permalink"><a·href="#ad73911f95b0a7025a510631c13526d4d">&#9670;&nbsp;</a></span>createBaseFVarChannel()·<span·class="overload">[1/2]</span></h2>510 <h2·class="memtitle"><span·class="permalink"><a·href="#ad73911f95b0a7025a510631c13526d4d">&#9670;&nbsp;</a></span>createBaseFVarChannel()·<span·class="overload">[1/2]</span></h2>
  
511 <div·class="memitem">511 <div·class="memitem">
Max diff block lines reached; 29649/38948 bytes (76.12%) of diff not shown.
24.0 KB
./usr/share/doc/opensubdiv/doxy_html/a01113.html
    
Offset 91, 15 lines modifiedOffset 91, 15 lines modified
91 ··<div·class="headertitle"><div·class="title">TopologyRefiner·Class·Reference</div></div>91 ··<div·class="headertitle"><div·class="title">TopologyRefiner·Class·Reference</div></div>
92 </div><!--header-->92 </div><!--header-->
93 <div·class="contents">93 <div·class="contents">
  
94 <p>Stores·topology·data·for·a·specified·set·of·refinement·options.··94 <p>Stores·topology·data·for·a·specified·set·of·refinement·options.··
95 ·<a·href="a01113.html#details">More...</a></p>95 ·<a·href="a01113.html#details">More...</a></p>
  
96 <p><code>#include·&lt;<a·class="el"·href="a00704_source.html">topologyRefiner.h</a>&gt;</code></p>96 <p><code>#include·&lt;<a·class="el"·href="a00707_source.html">topologyRefiner.h</a>&gt;</code></p>
97 <table·class="memberdecls">97 <table·class="memberdecls">
98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
99 Classes</h2></td></tr>99 Classes</h2></td></tr>
100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01121.html">AdaptiveOptions</a></td></tr>100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01121.html">AdaptiveOptions</a></td></tr>
101 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Adaptive·refinement·options.··<a·href="a01121.html#details">More...</a><br·/></td></tr>101 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Adaptive·refinement·options.··<a·href="a01121.html#details">More...</a><br·/></td></tr>
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01117.html">UniformOptions</a></td></tr>103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01117.html">UniformOptions</a></td></tr>
Offset 201, 15 lines modifiedOffset 201, 15 lines modified
201 <tr·class="separator:a402a532c087e1e0041ad6bb613b1a79e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>201 <tr·class="separator:a402a532c087e1e0041ad6bb613b1a79e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
202 <tr·class="memitem:a13c709a24feeed80409924510e3efc5e"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01113.html#a13c709a24feeed80409924510e3efc5e">TopologyRefiner</a>·(<a·class="el"·href="a01113.html">TopologyRefiner</a>·const·&amp;source)</td></tr>202 <tr·class="memitem:a13c709a24feeed80409924510e3efc5e"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01113.html#a13c709a24feeed80409924510e3efc5e">TopologyRefiner</a>·(<a·class="el"·href="a01113.html">TopologyRefiner</a>·const·&amp;source)</td></tr>
203 <tr·class="separator:a13c709a24feeed80409924510e3efc5e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>203 <tr·class="separator:a13c709a24feeed80409924510e3efc5e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
204 </table>204 </table>
205 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>205 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
206 <div·class="textblock"><p·>Stores·topology·data·for·a·specified·set·of·refinement·options.·</p>206 <div·class="textblock"><p·>Stores·topology·data·for·a·specified·set·of·refinement·options.·</p>
  
207 <p·class="definition">Definition·at·line·<a·class="el"·href="a00704_source.html#l00051">51</a>·of·file·<a·class="el"·href="a00704_source.html">topologyRefiner.h</a>.</p>207 <p·class="definition">Definition·at·line·<a·class="el"·href="a00707_source.html#l00051">51</a>·of·file·<a·class="el"·href="a00707_source.html">topologyRefiner.h</a>.</p>
208 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>208 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
209 <a·id="a91353962838bff64448014136e0e11ff"·name="a91353962838bff64448014136e0e11ff"></a>209 <a·id="a91353962838bff64448014136e0e11ff"·name="a91353962838bff64448014136e0e11ff"></a>
210 <h2·class="memtitle"><span·class="permalink"><a·href="#a91353962838bff64448014136e0e11ff">&#9670;&nbsp;</a></span>TopologyRefiner()·<span·class="overload">[1/2]</span></h2>210 <h2·class="memtitle"><span·class="permalink"><a·href="#a91353962838bff64448014136e0e11ff">&#9670;&nbsp;</a></span>TopologyRefiner()·<span·class="overload">[1/2]</span></h2>
  
211 <div·class="memitem">211 <div·class="memitem">
212 <div·class="memproto">212 <div·class="memproto">
213 ······<table·class="memname">213 ······<table·class="memname">
Offset 304, 15 lines modifiedOffset 304, 15 lines modified
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>Returns·the·options·specified·on·refinement.·</p>308 <p>Returns·the·options·specified·on·refinement.·</p>
  
309 <p·class="definition">Definition·at·line·<a·class="el"·href="a00704_source.html#l00196">196</a>·of·file·<a·class="el"·href="a00704_source.html">topologyRefiner.h</a>.</p>309 <p·class="definition">Definition·at·line·<a·class="el"·href="a00707_source.html#l00196">196</a>·of·file·<a·class="el"·href="a00707_source.html">topologyRefiner.h</a>.</p>
  
310 </div>310 </div>
311 </div>311 </div>
312 <a·id="af29a7e9914ee6860c7167300ea17e514"·name="af29a7e9914ee6860c7167300ea17e514"></a>312 <a·id="af29a7e9914ee6860c7167300ea17e514"·name="af29a7e9914ee6860c7167300ea17e514"></a>
313 <h2·class="memtitle"><span·class="permalink"><a·href="#af29a7e9914ee6860c7167300ea17e514">&#9670;&nbsp;</a></span>GetFVarLinearInterpolation()</h2>313 <h2·class="memtitle"><span·class="permalink"><a·href="#af29a7e9914ee6860c7167300ea17e514">&#9670;&nbsp;</a></span>GetFVarLinearInterpolation()</h2>
  
314 <div·class="memitem">314 <div·class="memitem">
Offset 334, 15 lines modifiedOffset 334, 15 lines modified
334 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>334 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
335 ··</tr>335 ··</tr>
336 </table>336 </table>
337 </div><div·class="memdoc">337 </div><div·class="memdoc">
  
338 <p>Returns·the·face-varying·interpolation·rule·set·for·a·given·channel.·</p>338 <p>Returns·the·face-varying·interpolation·rule·set·for·a·given·channel.·</p>
  
339 <p·class="definition">Definition·at·line·<a·class="el"·href="a00704_source.html#l00298">298</a>·of·file·<a·class="el"·href="a00704_source.html">topologyRefiner.h</a>.</p>339 <p·class="definition">Definition·at·line·<a·class="el"·href="a00707_source.html#l00298">298</a>·of·file·<a·class="el"·href="a00707_source.html">topologyRefiner.h</a>.</p>
  
340 </div>340 </div>
341 </div>341 </div>
342 <a·id="a523d4cb42fe52e7b330bd027712c7f04"·name="a523d4cb42fe52e7b330bd027712c7f04"></a>342 <a·id="a523d4cb42fe52e7b330bd027712c7f04"·name="a523d4cb42fe52e7b330bd027712c7f04"></a>
343 <h2·class="memtitle"><span·class="permalink"><a·href="#a523d4cb42fe52e7b330bd027712c7f04">&#9670;&nbsp;</a></span>getLevel()·<span·class="overload">[1/2]</span></h2>343 <h2·class="memtitle"><span·class="permalink"><a·href="#a523d4cb42fe52e7b330bd027712c7f04">&#9670;&nbsp;</a></span>getLevel()·<span·class="overload">[1/2]</span></h2>
  
344 <div·class="memitem">344 <div·class="memitem">
Offset 362, 15 lines modifiedOffset 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>··</td>364 <span·class="mlabels"><span·class="mlabel">inline</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="a00704_source.html#l00236">236</a>·of·file·<a·class="el"·href="a00704_source.html">topologyRefiner.h</a>.</p>368 <p·class="definition">Definition·at·line·<a·class="el"·href="a00707_source.html#l00236">236</a>·of·file·<a·class="el"·href="a00707_source.html">topologyRefiner.h</a>.</p>
  
369 </div>369 </div>
370 </div>370 </div>
371 <a·id="a1712dfb8f057c939b48f6fb62c4c66e8"·name="a1712dfb8f057c939b48f6fb62c4c66e8"></a>371 <a·id="a1712dfb8f057c939b48f6fb62c4c66e8"·name="a1712dfb8f057c939b48f6fb62c4c66e8"></a>
372 <h2·class="memtitle"><span·class="permalink"><a·href="#a1712dfb8f057c939b48f6fb62c4c66e8">&#9670;&nbsp;</a></span>getLevel()·<span·class="overload">[2/2]</span></h2>372 <h2·class="memtitle"><span·class="permalink"><a·href="#a1712dfb8f057c939b48f6fb62c4c66e8">&#9670;&nbsp;</a></span>getLevel()·<span·class="overload">[2/2]</span></h2>
  
373 <div·class="memitem">373 <div·class="memitem">
Offset 390, 15 lines modifiedOffset 390, 15 lines modified
390 ··</td>390 ··</td>
391 ··<td·class="mlabels-right">391 ··<td·class="mlabels-right">
392 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>392 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
393 ··</tr>393 ··</tr>
394 </table>394 </table>
395 </div><div·class="memdoc">395 </div><div·class="memdoc">
  
396 <p·class="definition">Definition·at·line·<a·class="el"·href="a00704_source.html#l00237">237</a>·of·file·<a·class="el"·href="a00704_source.html">topologyRefiner.h</a>.</p>396 <p·class="definition">Definition·at·line·<a·class="el"·href="a00707_source.html#l00237">237</a>·of·file·<a·class="el"·href="a00707_source.html">topologyRefiner.h</a>.</p>
  
397 </div>397 </div>
398 </div>398 </div>
399 <a·id="adc03a3531bd92ada5669788241e3515f"·name="adc03a3531bd92ada5669788241e3515f"></a>399 <a·id="adc03a3531bd92ada5669788241e3515f"·name="adc03a3531bd92ada5669788241e3515f"></a>
400 <h2·class="memtitle"><span·class="permalink"><a·href="#adc03a3531bd92ada5669788241e3515f">&#9670;&nbsp;</a></span>GetLevel()</h2>400 <h2·class="memtitle"><span·class="permalink"><a·href="#adc03a3531bd92ada5669788241e3515f">&#9670;&nbsp;</a></span>GetLevel()</h2>
  
401 <div·class="memitem">401 <div·class="memitem">
Offset 420, 15 lines modifiedOffset 420, 15 lines modified
420 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>420 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
421 ··</tr>421 ··</tr>
422 </table>422 </table>
423 </div><div·class="memdoc">423 </div><div·class="memdoc">
  
424 <p>Returns·a·handle·to·access·data·specific·to·a·particular·level.·</p>424 <p>Returns·a·handle·to·access·data·specific·to·a·particular·level.·</p>
  
425 <p·class="definition">Definition·at·line·<a·class="el"·href="a00704_source.html#l00095">95</a>·of·file·<a·class="el"·href="a00704_source.html">topologyRefiner.h</a>.</p>425 <p·class="definition">Definition·at·line·<a·class="el"·href="a00707_source.html#l00095">95</a>·of·file·<a·class="el"·href="a00707_source.html">topologyRefiner.h</a>.</p>
  
426 </div>426 </div>
427 </div>427 </div>
428 <a·id="a7d0b5dc6f7f567507a906e00d1887151"·name="a7d0b5dc6f7f567507a906e00d1887151"></a>428 <a·id="a7d0b5dc6f7f567507a906e00d1887151"·name="a7d0b5dc6f7f567507a906e00d1887151"></a>
429 <h2·class="memtitle"><span·class="permalink"><a·href="#a7d0b5dc6f7f567507a906e00d1887151">&#9670;&nbsp;</a></span>GetMaxLevel()</h2>429 <h2·class="memtitle"><span·class="permalink"><a·href="#a7d0b5dc6f7f567507a906e00d1887151">&#9670;&nbsp;</a></span>GetMaxLevel()</h2>
  
430 <div·class="memitem">430 <div·class="memitem">
Offset 449, 15 lines modifiedOffset 449, 15 lines modified
449 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>449 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
450 ··</tr>450 ··</tr>
451 </table>451 </table>
452 </div><div·class="memdoc">452 </div><div·class="memdoc">
  
453 <p>Returns·the·highest·level·of·refinement.·</p>453 <p>Returns·the·highest·level·of·refinement.·</p>
  
454 <p·class="definition">Definition·at·line·<a·class="el"·href="a00704_source.html#l00074">74</a>·of·file·<a·class="el"·href="a00704_source.html">topologyRefiner.h</a>.</p>454 <p·class="definition">Definition·at·line·<a·class="el"·href="a00707_source.html#l00074">74</a>·of·file·<a·class="el"·href="a00707_source.html">topologyRefiner.h</a>.</p>
  
455 </div>455 </div>
456 </div>456 </div>
457 <a·id="a14bf987459715b918b370247bb24a61c"·name="a14bf987459715b918b370247bb24a61c"></a>457 <a·id="a14bf987459715b918b370247bb24a61c"·name="a14bf987459715b918b370247bb24a61c"></a>
458 <h2·class="memtitle"><span·class="permalink"><a·href="#a14bf987459715b918b370247bb24a61c">&#9670;&nbsp;</a></span>GetMaxValence()</h2>458 <h2·class="memtitle"><span·class="permalink"><a·href="#a14bf987459715b918b370247bb24a61c">&#9670;&nbsp;</a></span>GetMaxValence()</h2>
  
459 <div·class="memitem">459 <div·class="memitem">
Max diff block lines reached; 16689/24452 bytes (68.25%) of diff not shown.
7.87 KB
./usr/share/doc/opensubdiv/doxy_html/a01117.html
    
Offset 91, 15 lines modifiedOffset 91, 15 lines modified
91 ··<div·class="headertitle"><div·class="title">TopologyRefiner::UniformOptions·Struct·Reference</div></div>91 ··<div·class="headertitle"><div·class="title">TopologyRefiner::UniformOptions·Struct·Reference</div></div>
92 </div><!--header-->92 </div><!--header-->
93 <div·class="contents">93 <div·class="contents">
  
94 <p>Uniform·refinement·options.··94 <p>Uniform·refinement·options.··
95 ·<a·href="a01117.html#details">More...</a></p>95 ·<a·href="a01117.html#details">More...</a></p>
  
96 <p><code>#include·&lt;<a·class="el"·href="a00704_source.html">topologyRefiner.h</a>&gt;</code></p>96 <p><code>#include·&lt;<a·class="el"·href="a00707_source.html">topologyRefiner.h</a>&gt;</code></p>
97 <table·class="memberdecls">97 <table·class="memberdecls">
98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
99 Public·Member·Functions</h2></td></tr>99 Public·Member·Functions</h2></td></tr>
100 <tr·class="memitem:af20c4ed6bf53695afb4a978fdf472ed3"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01117.html#af20c4ed6bf53695afb4a978fdf472ed3">UniformOptions</a>·(int·level)</td></tr>100 <tr·class="memitem:af20c4ed6bf53695afb4a978fdf472ed3"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01117.html#af20c4ed6bf53695afb4a978fdf472ed3">UniformOptions</a>·(int·level)</td></tr>
101 <tr·class="separator:af20c4ed6bf53695afb4a978fdf472ed3"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:af20c4ed6bf53695afb4a978fdf472ed3"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 <tr·class="memitem:a47a5b6a174f91a113c7f50b1b55bd664"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01117.html#a47a5b6a174f91a113c7f50b1b55bd664">SetRefinementLevel</a>·(int·level)</td></tr>102 <tr·class="memitem:a47a5b6a174f91a113c7f50b1b55bd664"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01117.html#a47a5b6a174f91a113c7f50b1b55bd664">SetRefinementLevel</a>·(int·level)</td></tr>
103 <tr·class="memdesc:a47a5b6a174f91a113c7f50b1b55bd664"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Set·uniform·refinement·level.··<a·href="a01117.html#a47a5b6a174f91a113c7f50b1b55bd664">More...</a><br·/></td></tr>103 <tr·class="memdesc:a47a5b6a174f91a113c7f50b1b55bd664"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Set·uniform·refinement·level.··<a·href="a01117.html#a47a5b6a174f91a113c7f50b1b55bd664">More...</a><br·/></td></tr>
Offset 116, 15 lines modifiedOffset 116, 15 lines modified
116 <tr·class="separator:ad58e8c2606ce33af17bb83fb90eb7325"><td·class="memSeparator"·colspan="2">&#160;</td></tr>116 <tr·class="separator:ad58e8c2606ce33af17bb83fb90eb7325"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
117 </table>117 </table>
118 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>118 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
119 <div·class="textblock"><p·>Uniform·refinement·options.·</p>119 <div·class="textblock"><p·>Uniform·refinement·options.·</p>
120 <p·>Options·for·uniform·refinement,·including·the·number·of·levels,·vertex·ordering·and·generation·of·topology·information.</p>120 <p·>Options·for·uniform·refinement,·including·the·number·of·levels,·vertex·ordering·and·generation·of·topology·information.</p>
121 <p·>Note·the·impact·of·the·option·to·generate·fullTopologyInLastLevel.·Given·subsequent·levels·of·uniform·refinement·typically·reguire·4x·the·data·of·the·previous·level,·only·the·minimum·amount·of·data·is·generated·in·the·last·level·by·default,·i.e.·a·vertex·and·face-vertex·list.·If·requiring·topology·traversal·of·the·last·level,·e.g.·inspecting·edges·or·incident·faces·of·vertices,·the·option·to·generate·full·topology·in·the·last·level·should·be·enabled.·</p>121 <p·>Note·the·impact·of·the·option·to·generate·fullTopologyInLastLevel.·Given·subsequent·levels·of·uniform·refinement·typically·reguire·4x·the·data·of·the·previous·level,·only·the·minimum·amount·of·data·is·generated·in·the·last·level·by·default,·i.e.·a·vertex·and·face-vertex·list.·If·requiring·topology·traversal·of·the·last·level,·e.g.·inspecting·edges·or·incident·faces·of·vertices,·the·option·to·generate·full·topology·in·the·last·level·should·be·enabled.·</p>
  
122 <p·class="definition">Definition·at·line·<a·class="el"·href="a00704_source.html#l00118">118</a>·of·file·<a·class="el"·href="a00704_source.html">topologyRefiner.h</a>.</p>122 <p·class="definition">Definition·at·line·<a·class="el"·href="a00707_source.html#l00118">118</a>·of·file·<a·class="el"·href="a00707_source.html">topologyRefiner.h</a>.</p>
123 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>123 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
124 <a·id="af20c4ed6bf53695afb4a978fdf472ed3"·name="af20c4ed6bf53695afb4a978fdf472ed3"></a>124 <a·id="af20c4ed6bf53695afb4a978fdf472ed3"·name="af20c4ed6bf53695afb4a978fdf472ed3"></a>
125 <h2·class="memtitle"><span·class="permalink"><a·href="#af20c4ed6bf53695afb4a978fdf472ed3">&#9670;&nbsp;</a></span>UniformOptions()</h2>125 <h2·class="memtitle"><span·class="permalink"><a·href="#af20c4ed6bf53695afb4a978fdf472ed3">&#9670;&nbsp;</a></span>UniformOptions()</h2>
  
126 <div·class="memitem">126 <div·class="memitem">
127 <div·class="memproto">127 <div·class="memproto">
128 <table·class="mlabels">128 <table·class="mlabels">
Offset 142, 15 lines modifiedOffset 142, 15 lines modified
142 ··</td>142 ··</td>
143 ··<td·class="mlabels-right">143 ··<td·class="mlabels-right">
144 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>144 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
145 ··</tr>145 ··</tr>
146 </table>146 </table>
147 </div><div·class="memdoc">147 </div><div·class="memdoc">
  
148 <p·class="definition">Definition·at·line·<a·class="el"·href="a00704_source.html#l00120">120</a>·of·file·<a·class="el"·href="a00704_source.html">topologyRefiner.h</a>.</p>148 <p·class="definition">Definition·at·line·<a·class="el"·href="a00707_source.html#l00120">120</a>·of·file·<a·class="el"·href="a00707_source.html">topologyRefiner.h</a>.</p>
  
149 </div>149 </div>
150 </div>150 </div>
151 <h2·class="groupheader">Member·Function·Documentation</h2>151 <h2·class="groupheader">Member·Function·Documentation</h2>
152 <a·id="a47a5b6a174f91a113c7f50b1b55bd664"·name="a47a5b6a174f91a113c7f50b1b55bd664"></a>152 <a·id="a47a5b6a174f91a113c7f50b1b55bd664"·name="a47a5b6a174f91a113c7f50b1b55bd664"></a>
153 <h2·class="memtitle"><span·class="permalink"><a·href="#a47a5b6a174f91a113c7f50b1b55bd664">&#9670;&nbsp;</a></span>SetRefinementLevel()</h2>153 <h2·class="memtitle"><span·class="permalink"><a·href="#a47a5b6a174f91a113c7f50b1b55bd664">&#9670;&nbsp;</a></span>SetRefinementLevel()</h2>
  
Offset 173, 15 lines modifiedOffset 173, 15 lines modified
173 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>173 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
174 ··</tr>174 ··</tr>
175 </table>175 </table>
176 </div><div·class="memdoc">176 </div><div·class="memdoc">
  
177 <p>Set·uniform·refinement·level.·</p>177 <p>Set·uniform·refinement·level.·</p>
  
178 <p·class="definition">Definition·at·line·<a·class="el"·href="a00704_source.html#l00126">126</a>·of·file·<a·class="el"·href="a00704_source.html">topologyRefiner.h</a>.</p>178 <p·class="definition">Definition·at·line·<a·class="el"·href="a00707_source.html#l00126">126</a>·of·file·<a·class="el"·href="a00707_source.html">topologyRefiner.h</a>.</p>
  
179 </div>179 </div>
180 </div>180 </div>
181 <h2·class="groupheader">Member·Data·Documentation</h2>181 <h2·class="groupheader">Member·Data·Documentation</h2>
182 <a·id="ad58e8c2606ce33af17bb83fb90eb7325"·name="ad58e8c2606ce33af17bb83fb90eb7325"></a>182 <a·id="ad58e8c2606ce33af17bb83fb90eb7325"·name="ad58e8c2606ce33af17bb83fb90eb7325"></a>
183 <h2·class="memtitle"><span·class="permalink"><a·href="#ad58e8c2606ce33af17bb83fb90eb7325">&#9670;&nbsp;</a></span>fullTopologyInLastLevel</h2>183 <h2·class="memtitle"><span·class="permalink"><a·href="#ad58e8c2606ce33af17bb83fb90eb7325">&#9670;&nbsp;</a></span>fullTopologyInLastLevel</h2>
  
Offset 191, 15 lines modifiedOffset 191, 15 lines modified
191 ········<tr>191 ········<tr>
192 ··········<td·class="memname">unsigned·int·fullTopologyInLastLevel</td>192 ··········<td·class="memname">unsigned·int·fullTopologyInLastLevel</td>
193 ········</tr>193 ········</tr>
194 ······</table>194 ······</table>
195 </div><div·class="memdoc">195 </div><div·class="memdoc">
196 <p·>Skip·topological·relationships·in·the·last·level·of·refinement·that·are·not·needed·for·interpolation·(keep·false·if·using·limit).·</p>196 <p·>Skip·topological·relationships·in·the·last·level·of·refinement·that·are·not·needed·for·interpolation·(keep·false·if·using·limit).·</p>
  
197 <p·class="definition">Definition·at·line·<a·class="el"·href="a00704_source.html#l00131">131</a>·of·file·<a·class="el"·href="a00704_source.html">topologyRefiner.h</a>.</p>197 <p·class="definition">Definition·at·line·<a·class="el"·href="a00707_source.html#l00131">131</a>·of·file·<a·class="el"·href="a00707_source.html">topologyRefiner.h</a>.</p>
  
198 </div>198 </div>
199 </div>199 </div>
200 <a·id="a3b1e47f9568213cc322ef29a84c932b6"·name="a3b1e47f9568213cc322ef29a84c932b6"></a>200 <a·id="a3b1e47f9568213cc322ef29a84c932b6"·name="a3b1e47f9568213cc322ef29a84c932b6"></a>
201 <h2·class="memtitle"><span·class="permalink"><a·href="#a3b1e47f9568213cc322ef29a84c932b6">&#9670;&nbsp;</a></span>orderVerticesFromFacesFirst</h2>201 <h2·class="memtitle"><span·class="permalink"><a·href="#a3b1e47f9568213cc322ef29a84c932b6">&#9670;&nbsp;</a></span>orderVerticesFromFacesFirst</h2>
  
202 <div·class="memitem">202 <div·class="memitem">
Offset 208, 15 lines modifiedOffset 208, 15 lines modified
208 ········<tr>208 ········<tr>
209 ··········<td·class="memname">unsigned·int·orderVerticesFromFacesFirst</td>209 ··········<td·class="memname">unsigned·int·orderVerticesFromFacesFirst</td>
210 ········</tr>210 ········</tr>
211 ······</table>211 ······</table>
212 </div><div·class="memdoc">212 </div><div·class="memdoc">
213 <p·>Order·child·vertices·from·faces·first·instead·of·child·vertices·of·vertices·</p>213 <p·>Order·child·vertices·from·faces·first·instead·of·child·vertices·of·vertices·</p>
  
214 <p·class="definition">Definition·at·line·<a·class="el"·href="a00704_source.html#l00129">129</a>·of·file·<a·class="el"·href="a00704_source.html">topologyRefiner.h</a>.</p>214 <p·class="definition">Definition·at·line·<a·class="el"·href="a00707_source.html#l00129">129</a>·of·file·<a·class="el"·href="a00707_source.html">topologyRefiner.h</a>.</p>
  
215 </div>215 </div>
216 </div>216 </div>
217 <a·id="a240d1e5f5b743486e8122db6223d4562"·name="a240d1e5f5b743486e8122db6223d4562"></a>217 <a·id="a240d1e5f5b743486e8122db6223d4562"·name="a240d1e5f5b743486e8122db6223d4562"></a>
218 <h2·class="memtitle"><span·class="permalink"><a·href="#a240d1e5f5b743486e8122db6223d4562">&#9670;&nbsp;</a></span>refinementLevel</h2>218 <h2·class="memtitle"><span·class="permalink"><a·href="#a240d1e5f5b743486e8122db6223d4562">&#9670;&nbsp;</a></span>refinementLevel</h2>
  
219 <div·class="memitem">219 <div·class="memitem">
Offset 226, 20 lines modifiedOffset 226, 20 lines modified
226 ··········<td·class="memname">unsigned·int·refinementLevel</td>226 ··········<td·class="memname">unsigned·int·refinementLevel</td>
227 ········</tr>227 ········</tr>
228 ······</table>228 ······</table>
229 </div><div·class="memdoc">229 </div><div·class="memdoc">
  
230 <p>Number·of·refinement·iterations.·</p>230 <p>Number·of·refinement·iterations.·</p>
  
231 <p·class="definition">Definition·at·line·<a·class="el"·href="a00704_source.html#l00128">128</a>·of·file·<a·class="el"·href="a00704_source.html">topologyRefiner.h</a>.</p>231 <p·class="definition">Definition·at·line·<a·class="el"·href="a00707_source.html#l00128">128</a>·of·file·<a·class="el"·href="a00707_source.html">topologyRefiner.h</a>.</p>
  
232 </div>232 </div>
233 </div>233 </div>
234 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>234 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
235 <li>opensubdiv/far/<a·class="el"·href="a00704_source.html">topologyRefiner.h</a></li>235 <li>opensubdiv/far/<a·class="el"·href="a00707_source.html">topologyRefiner.h</a></li>
236 </ul>236 </ul>
237 </div><!--·contents·-->237 </div><!--·contents·-->
238 </div><!--·doc-content·-->238 </div><!--·doc-content·-->
239 <!--·start·footer·part·-->239 <!--·start·footer·part·-->
240 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->240 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
241 ··<ul>241 ··<ul>
242 ····<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="a01113.html">TopologyRefiner</a></li><li·class="navelem"><a·class="el"·href="a01117.html">UniformOptions</a></li>242 ····<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="a01113.html">TopologyRefiner</a></li><li·class="navelem"><a·class="el"·href="a01117.html">UniformOptions</a></li>
10.9 KB
./usr/share/doc/opensubdiv/doxy_html/a01121.html
    
Offset 91, 15 lines modifiedOffset 91, 15 lines modified
91 ··<div·class="headertitle"><div·class="title">TopologyRefiner::AdaptiveOptions·Struct·Reference</div></div>91 ··<div·class="headertitle"><div·class="title">TopologyRefiner::AdaptiveOptions·Struct·Reference</div></div>
92 </div><!--header-->92 </div><!--header-->
93 <div·class="contents">93 <div·class="contents">
  
94 <p>Adaptive·refinement·options.··94 <p>Adaptive·refinement·options.··
95 ·<a·href="a01121.html#details">More...</a></p>95 ·<a·href="a01121.html#details">More...</a></p>
  
96 <p><code>#include·&lt;<a·class="el"·href="a00704_source.html">topologyRefiner.h</a>&gt;</code></p>96 <p><code>#include·&lt;<a·class="el"·href="a00707_source.html">topologyRefiner.h</a>&gt;</code></p>
97 <table·class="memberdecls">97 <table·class="memberdecls">
98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
99 Public·Member·Functions</h2></td></tr>99 Public·Member·Functions</h2></td></tr>
100 <tr·class="memitem:a3c39e6532871f8952e2f94332b8c80bf"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01121.html#a3c39e6532871f8952e2f94332b8c80bf">AdaptiveOptions</a>·(int·level)</td></tr>100 <tr·class="memitem:a3c39e6532871f8952e2f94332b8c80bf"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01121.html#a3c39e6532871f8952e2f94332b8c80bf">AdaptiveOptions</a>·(int·level)</td></tr>
101 <tr·class="separator:a3c39e6532871f8952e2f94332b8c80bf"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:a3c39e6532871f8952e2f94332b8c80bf"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 <tr·class="memitem:a5ef292b43e4824968e72d664012be93f"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01121.html#a5ef292b43e4824968e72d664012be93f">SetIsolationLevel</a>·(int·level)</td></tr>102 <tr·class="memitem:a5ef292b43e4824968e72d664012be93f"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01121.html#a5ef292b43e4824968e72d664012be93f">SetIsolationLevel</a>·(int·level)</td></tr>
103 <tr·class="memdesc:a5ef292b43e4824968e72d664012be93f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Set·isolation·level.··<a·href="a01121.html#a5ef292b43e4824968e72d664012be93f">More...</a><br·/></td></tr>103 <tr·class="memdesc:a5ef292b43e4824968e72d664012be93f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Set·isolation·level.··<a·href="a01121.html#a5ef292b43e4824968e72d664012be93f">More...</a><br·/></td></tr>
Offset 122, 15 lines modifiedOffset 122, 15 lines modified
122 <tr·class="separator:a74c90a5955fcad9c95d4c18346f7c312"><td·class="memSeparator"·colspan="2">&#160;</td></tr>122 <tr·class="separator:a74c90a5955fcad9c95d4c18346f7c312"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
123 <tr·class="memitem:a3b1e47f9568213cc322ef29a84c932b6"><td·class="memItemLeft"·align="right"·valign="top">unsigned·int&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01121.html#a3b1e47f9568213cc322ef29a84c932b6">orderVerticesFromFacesFirst</a>:1</td></tr>123 <tr·class="memitem:a3b1e47f9568213cc322ef29a84c932b6"><td·class="memItemLeft"·align="right"·valign="top">unsigned·int&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01121.html#a3b1e47f9568213cc322ef29a84c932b6">orderVerticesFromFacesFirst</a>:1</td></tr>
124 <tr·class="separator:a3b1e47f9568213cc322ef29a84c932b6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>124 <tr·class="separator:a3b1e47f9568213cc322ef29a84c932b6"><td·class="memSeparator"·colspan="2">&#160;</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·>Adaptive·refinement·options.·</p>127 <div·class="textblock"><p·>Adaptive·refinement·options.·</p>
  
128 <p·class="definition">Definition·at·line·<a·class="el"·href="a00704_source.html#l00156">156</a>·of·file·<a·class="el"·href="a00704_source.html">topologyRefiner.h</a>.</p>128 <p·class="definition">Definition·at·line·<a·class="el"·href="a00707_source.html#l00156">156</a>·of·file·<a·class="el"·href="a00707_source.html">topologyRefiner.h</a>.</p>
129 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>129 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
130 <a·id="a3c39e6532871f8952e2f94332b8c80bf"·name="a3c39e6532871f8952e2f94332b8c80bf"></a>130 <a·id="a3c39e6532871f8952e2f94332b8c80bf"·name="a3c39e6532871f8952e2f94332b8c80bf"></a>
131 <h2·class="memtitle"><span·class="permalink"><a·href="#a3c39e6532871f8952e2f94332b8c80bf">&#9670;&nbsp;</a></span>AdaptiveOptions()</h2>131 <h2·class="memtitle"><span·class="permalink"><a·href="#a3c39e6532871f8952e2f94332b8c80bf">&#9670;&nbsp;</a></span>AdaptiveOptions()</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 148, 15 lines modifiedOffset 148, 15 lines modified
148 ··</td>148 ··</td>
149 ··<td·class="mlabels-right">149 ··<td·class="mlabels-right">
150 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>150 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
151 ··</tr>151 ··</tr>
152 </table>152 </table>
153 </div><div·class="memdoc">153 </div><div·class="memdoc">
  
154 <p·class="definition">Definition·at·line·<a·class="el"·href="a00704_source.html#l00158">158</a>·of·file·<a·class="el"·href="a00704_source.html">topologyRefiner.h</a>.</p>154 <p·class="definition">Definition·at·line·<a·class="el"·href="a00707_source.html#l00158">158</a>·of·file·<a·class="el"·href="a00707_source.html">topologyRefiner.h</a>.</p>
  
155 </div>155 </div>
156 </div>156 </div>
157 <h2·class="groupheader">Member·Function·Documentation</h2>157 <h2·class="groupheader">Member·Function·Documentation</h2>
158 <a·id="a5ef292b43e4824968e72d664012be93f"·name="a5ef292b43e4824968e72d664012be93f"></a>158 <a·id="a5ef292b43e4824968e72d664012be93f"·name="a5ef292b43e4824968e72d664012be93f"></a>
159 <h2·class="memtitle"><span·class="permalink"><a·href="#a5ef292b43e4824968e72d664012be93f">&#9670;&nbsp;</a></span>SetIsolationLevel()</h2>159 <h2·class="memtitle"><span·class="permalink"><a·href="#a5ef292b43e4824968e72d664012be93f">&#9670;&nbsp;</a></span>SetIsolationLevel()</h2>
  
Offset 179, 15 lines modifiedOffset 179, 15 lines modified
179 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>179 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
180 ··</tr>180 ··</tr>
181 </table>181 </table>
182 </div><div·class="memdoc">182 </div><div·class="memdoc">
  
183 <p>Set·isolation·level.·</p>183 <p>Set·isolation·level.·</p>
  
184 <p·class="definition">Definition·at·line·<a·class="el"·href="a00704_source.html#l00167">167</a>·of·file·<a·class="el"·href="a00704_source.html">topologyRefiner.h</a>.</p>184 <p·class="definition">Definition·at·line·<a·class="el"·href="a00707_source.html#l00167">167</a>·of·file·<a·class="el"·href="a00707_source.html">topologyRefiner.h</a>.</p>
  
185 </div>185 </div>
186 </div>186 </div>
187 <a·id="aef7c0b69c6709719e4d985ca7b5d6dd6"·name="aef7c0b69c6709719e4d985ca7b5d6dd6"></a>187 <a·id="aef7c0b69c6709719e4d985ca7b5d6dd6"·name="aef7c0b69c6709719e4d985ca7b5d6dd6"></a>
188 <h2·class="memtitle"><span·class="permalink"><a·href="#aef7c0b69c6709719e4d985ca7b5d6dd6">&#9670;&nbsp;</a></span>SetSecondaryLevel()</h2>188 <h2·class="memtitle"><span·class="permalink"><a·href="#aef7c0b69c6709719e4d985ca7b5d6dd6">&#9670;&nbsp;</a></span>SetSecondaryLevel()</h2>
  
189 <div·class="memitem">189 <div·class="memitem">
Offset 209, 15 lines modifiedOffset 209, 15 lines modified
209 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>209 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
210 ··</tr>210 ··</tr>
211 </table>211 </table>
212 </div><div·class="memdoc">212 </div><div·class="memdoc">
  
213 <p>Set·secondary·isolation·level.·</p>213 <p>Set·secondary·isolation·level.·</p>
  
214 <p·class="definition">Definition·at·line·<a·class="el"·href="a00704_source.html#l00170">170</a>·of·file·<a·class="el"·href="a00704_source.html">topologyRefiner.h</a>.</p>214 <p·class="definition">Definition·at·line·<a·class="el"·href="a00707_source.html#l00170">170</a>·of·file·<a·class="el"·href="a00707_source.html">topologyRefiner.h</a>.</p>
  
215 </div>215 </div>
216 </div>216 </div>
217 <h2·class="groupheader">Member·Data·Documentation</h2>217 <h2·class="groupheader">Member·Data·Documentation</h2>
218 <a·id="a74c90a5955fcad9c95d4c18346f7c312"·name="a74c90a5955fcad9c95d4c18346f7c312"></a>218 <a·id="a74c90a5955fcad9c95d4c18346f7c312"·name="a74c90a5955fcad9c95d4c18346f7c312"></a>
219 <h2·class="memtitle"><span·class="permalink"><a·href="#a74c90a5955fcad9c95d4c18346f7c312">&#9670;&nbsp;</a></span>considerFVarChannels</h2>219 <h2·class="memtitle"><span·class="permalink"><a·href="#a74c90a5955fcad9c95d4c18346f7c312">&#9670;&nbsp;</a></span>considerFVarChannels</h2>
  
Offset 227, 15 lines modifiedOffset 227, 15 lines modified
227 ········<tr>227 ········<tr>
228 ··········<td·class="memname">unsigned·int·considerFVarChannels</td>228 ··········<td·class="memname">unsigned·int·considerFVarChannels</td>
229 ········</tr>229 ········</tr>
230 ······</table>230 ······</table>
231 </div><div·class="memdoc">231 </div><div·class="memdoc">
232 <p·>Inspect·face-varying·channels·and·isolate·when·irregular·features·present·</p>232 <p·>Inspect·face-varying·channels·and·isolate·when·irregular·features·present·</p>
  
233 <p·class="definition">Definition·at·line·<a·class="el"·href="a00704_source.html#l00180">180</a>·of·file·<a·class="el"·href="a00704_source.html">topologyRefiner.h</a>.</p>233 <p·class="definition">Definition·at·line·<a·class="el"·href="a00707_source.html#l00180">180</a>·of·file·<a·class="el"·href="a00707_source.html">topologyRefiner.h</a>.</p>
  
234 </div>234 </div>
235 </div>235 </div>
236 <a·id="a5561c34bac948dc836506e8e8d3ee134"·name="a5561c34bac948dc836506e8e8d3ee134"></a>236 <a·id="a5561c34bac948dc836506e8e8d3ee134"·name="a5561c34bac948dc836506e8e8d3ee134"></a>
237 <h2·class="memtitle"><span·class="permalink"><a·href="#a5561c34bac948dc836506e8e8d3ee134">&#9670;&nbsp;</a></span>isolationLevel</h2>237 <h2·class="memtitle"><span·class="permalink"><a·href="#a5561c34bac948dc836506e8e8d3ee134">&#9670;&nbsp;</a></span>isolationLevel</h2>
  
238 <div·class="memitem">238 <div·class="memitem">
Offset 244, 15 lines modifiedOffset 244, 15 lines modified
244 ········<tr>244 ········<tr>
245 ··········<td·class="memname">unsigned·int·isolationLevel</td>245 ··········<td·class="memname">unsigned·int·isolationLevel</td>
246 ········</tr>246 ········</tr>
247 ······</table>247 ······</table>
248 </div><div·class="memdoc">248 </div><div·class="memdoc">
249 <p·>Number·of·iterations·applied·to·isolate·extraordinary·vertices·and·creases·</p>249 <p·>Number·of·iterations·applied·to·isolate·extraordinary·vertices·and·creases·</p>
  
250 <p·class="definition">Definition·at·line·<a·class="el"·href="a00704_source.html#l00172">172</a>·of·file·<a·class="el"·href="a00704_source.html">topologyRefiner.h</a>.</p>250 <p·class="definition">Definition·at·line·<a·class="el"·href="a00707_source.html#l00172">172</a>·of·file·<a·class="el"·href="a00707_source.html">topologyRefiner.h</a>.</p>
  
251 </div>251 </div>
252 </div>252 </div>
253 <a·id="a3b1e47f9568213cc322ef29a84c932b6"·name="a3b1e47f9568213cc322ef29a84c932b6"></a>253 <a·id="a3b1e47f9568213cc322ef29a84c932b6"·name="a3b1e47f9568213cc322ef29a84c932b6"></a>
254 <h2·class="memtitle"><span·class="permalink"><a·href="#a3b1e47f9568213cc322ef29a84c932b6">&#9670;&nbsp;</a></span>orderVerticesFromFacesFirst</h2>254 <h2·class="memtitle"><span·class="permalink"><a·href="#a3b1e47f9568213cc322ef29a84c932b6">&#9670;&nbsp;</a></span>orderVerticesFromFacesFirst</h2>
  
255 <div·class="memitem">255 <div·class="memitem">
Offset 261, 15 lines modifiedOffset 261, 15 lines modified
261 ········<tr>261 ········<tr>
262 ··········<td·class="memname">unsigned·int·orderVerticesFromFacesFirst</td>262 ··········<td·class="memname">unsigned·int·orderVerticesFromFacesFirst</td>
263 ········</tr>263 ········</tr>
264 ······</table>264 ······</table>
265 </div><div·class="memdoc">265 </div><div·class="memdoc">
266 <p·>Order·child·vertices·from·faces·first·instead·of·child·vertices·of·vertices·</p>266 <p·>Order·child·vertices·from·faces·first·instead·of·child·vertices·of·vertices·</p>
  
267 <p·class="definition">Definition·at·line·<a·class="el"·href="a00704_source.html#l00182">182</a>·of·file·<a·class="el"·href="a00704_source.html">topologyRefiner.h</a>.</p>267 <p·class="definition">Definition·at·line·<a·class="el"·href="a00707_source.html#l00182">182</a>·of·file·<a·class="el"·href="a00707_source.html">topologyRefiner.h</a>.</p>
  
268 </div>268 </div>
269 </div>269 </div>
270 <a·id="a1c8854b9dd7ff2353b618434d08d054a"·name="a1c8854b9dd7ff2353b618434d08d054a"></a>270 <a·id="a1c8854b9dd7ff2353b618434d08d054a"·name="a1c8854b9dd7ff2353b618434d08d054a"></a>
271 <h2·class="memtitle"><span·class="permalink"><a·href="#a1c8854b9dd7ff2353b618434d08d054a">&#9670;&nbsp;</a></span>secondaryLevel</h2>271 <h2·class="memtitle"><span·class="permalink"><a·href="#a1c8854b9dd7ff2353b618434d08d054a">&#9670;&nbsp;</a></span>secondaryLevel</h2>
  
272 <div·class="memitem">272 <div·class="memitem">
Max diff block lines reached; 3092/11090 bytes (27.88%) of diff not shown.
4.56 KB
./usr/share/doc/opensubdiv/doxy_html/a01125.html
    
Offset 91, 15 lines modifiedOffset 91, 15 lines modified
91 ··<div·class="headertitle"><div·class="title">TopologyRefinerFactoryBase·Class·Reference</div></div>91 ··<div·class="headertitle"><div·class="title">TopologyRefinerFactoryBase·Class·Reference</div></div>
92 </div><!--header-->92 </div><!--header-->
93 <div·class="contents">93 <div·class="contents">
  
94 <p>Private·base·class·of·Factories·for·constructing·TopologyRefiners.··94 <p>Private·base·class·of·Factories·for·constructing·TopologyRefiners.··
95 ·<a·href="a01125.html#details">More...</a></p>95 ·<a·href="a01125.html#details">More...</a></p>
  
96 <p><code>#include·&lt;<a·class="el"·href="a00707_source.html">topologyRefinerFactory.h</a>&gt;</code></p>96 <p><code>#include·&lt;<a·class="el"·href="a00704_source.html">topologyRefinerFactory.h</a>&gt;</code></p>
97 <div·class="dynheader">97 <div·class="dynheader">
98 Inheritance·diagram·for·TopologyRefinerFactoryBase:</div>98 Inheritance·diagram·for·TopologyRefinerFactoryBase:</div>
99 <div·class="dyncontent">99 <div·class="dyncontent">
100 ·<div·class="center">100 ·<div·class="center">
101 ··<img·src="a01125.png"·usemap="#TopologyRefinerFactoryBase_map"·alt=""/>101 ··<img·src="a01125.png"·usemap="#TopologyRefinerFactoryBase_map"·alt=""/>
102 ··<map·id="TopologyRefinerFactoryBase_map"·name="TopologyRefinerFactoryBase_map">102 ··<map·id="TopologyRefinerFactoryBase_map"·name="TopologyRefinerFactoryBase_map">
103 <area·href="a01109.html"·title="Factory·for·constructing·TopologyRefiners·from·specific·mesh·classes."·alt="TopologyRefinerFactory&lt;·MESH·&gt;"·shape="rect"·coords="0,56,209,80"/>103 <area·href="a01109.html"·title="Factory·for·constructing·TopologyRefiners·from·specific·mesh·classes."·alt="TopologyRefinerFactory&lt;·MESH·&gt;"·shape="rect"·coords="0,56,209,80"/>
Offset 122, 15 lines modifiedOffset 122, 15 lines modified
122 <tr·class="memitem:ac800e6db9b484b31f8fa11799ee4ac1b"><td·class="memItemLeft"·align="right"·valign="top">static·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01125.html#ac800e6db9b484b31f8fa11799ee4ac1b">prepareFaceVaryingChannels</a>·(<a·class="el"·href="a01113.html">TopologyRefiner</a>·&amp;refiner)</td></tr>122 <tr·class="memitem:ac800e6db9b484b31f8fa11799ee4ac1b"><td·class="memItemLeft"·align="right"·valign="top">static·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01125.html#ac800e6db9b484b31f8fa11799ee4ac1b">prepareFaceVaryingChannels</a>·(<a·class="el"·href="a01113.html">TopologyRefiner</a>·&amp;refiner)</td></tr>
123 <tr·class="separator:ac800e6db9b484b31f8fa11799ee4ac1b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>123 <tr·class="separator:ac800e6db9b484b31f8fa11799ee4ac1b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
124 </table>124 </table>
125 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>125 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
126 <div·class="textblock"><p·>Private·base·class·of·Factories·for·constructing·TopologyRefiners.·</p>126 <div·class="textblock"><p·>Private·base·class·of·Factories·for·constructing·TopologyRefiners.·</p>
127 <p·><a·class="el"·href="a01125.html"·title="Private·base·class·of·Factories·for·constructing·TopologyRefiners.">TopologyRefinerFactoryBase</a>·is·the·base·class·for·subclasses·that·are·intended·to·construct·TopologyRefiners·directly·from·meshes·in·their·native·representations.·The·subclasses·are·parameterized·by·the·mesh·type·&lt;class·MESH&gt;·and·are·expected·to·inherit·the·details·related·to·assembly·and·validation·provided·here·that·are·independent·of·the·subclass'·mesh·type.·</p>127 <p·><a·class="el"·href="a01125.html"·title="Private·base·class·of·Factories·for·constructing·TopologyRefiners.">TopologyRefinerFactoryBase</a>·is·the·base·class·for·subclasses·that·are·intended·to·construct·TopologyRefiners·directly·from·meshes·in·their·native·representations.·The·subclasses·are·parameterized·by·the·mesh·type·&lt;class·MESH&gt;·and·are·expected·to·inherit·the·details·related·to·assembly·and·validation·provided·here·that·are·independent·of·the·subclass'·mesh·type.·</p>
  
128 <p·class="definition">Definition·at·line·<a·class="el"·href="a00707_source.html#l00047">47</a>·of·file·<a·class="el"·href="a00707_source.html">topologyRefinerFactory.h</a>.</p>128 <p·class="definition">Definition·at·line·<a·class="el"·href="a00704_source.html#l00047">47</a>·of·file·<a·class="el"·href="a00704_source.html">topologyRefinerFactory.h</a>.</p>
129 </div><h2·class="groupheader">Member·Typedef·Documentation</h2>129 </div><h2·class="groupheader">Member·Typedef·Documentation</h2>
130 <a·id="a896a964625491e084b3d776acd10f053"·name="a896a964625491e084b3d776acd10f053"></a>130 <a·id="a896a964625491e084b3d776acd10f053"·name="a896a964625491e084b3d776acd10f053"></a>
131 <h2·class="memtitle"><span·class="permalink"><a·href="#a896a964625491e084b3d776acd10f053">&#9670;&nbsp;</a></span>TopologyCallback</h2>131 <h2·class="memtitle"><span·class="permalink"><a·href="#a896a964625491e084b3d776acd10f053">&#9670;&nbsp;</a></span>TopologyCallback</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 144, 15 lines modifiedOffset 144, 15 lines modified
144 ··</td>144 ··</td>
145 ··<td·class="mlabels-right">145 ··<td·class="mlabels-right">
146 <span·class="mlabels"><span·class="mlabel">protected</span></span>··</td>146 <span·class="mlabels"><span·class="mlabel">protected</span></span>··</td>
147 ··</tr>147 ··</tr>
148 </table>148 </table>
149 </div><div·class="memdoc">149 </div><div·class="memdoc">
  
150 <p·class="definition">Definition·at·line·<a·class="el"·href="a00707_source.html#l00054">54</a>·of·file·<a·class="el"·href="a00707_source.html">topologyRefinerFactory.h</a>.</p>150 <p·class="definition">Definition·at·line·<a·class="el"·href="a00704_source.html#l00054">54</a>·of·file·<a·class="el"·href="a00704_source.html">topologyRefinerFactory.h</a>.</p>
  
151 </div>151 </div>
152 </div>152 </div>
153 <h2·class="groupheader">Member·Function·Documentation</h2>153 <h2·class="groupheader">Member·Function·Documentation</h2>
154 <a·id="a8d7f178267895f2a90585e60849b9119"·name="a8d7f178267895f2a90585e60849b9119"></a>154 <a·id="a8d7f178267895f2a90585e60849b9119"·name="a8d7f178267895f2a90585e60849b9119"></a>
155 <h2·class="memtitle"><span·class="permalink"><a·href="#a8d7f178267895f2a90585e60849b9119">&#9670;&nbsp;</a></span>prepareComponentTagsAndSharpness()</h2>155 <h2·class="memtitle"><span·class="permalink"><a·href="#a8d7f178267895f2a90585e60849b9119">&#9670;&nbsp;</a></span>prepareComponentTagsAndSharpness()</h2>
  
Offset 276, 15 lines modifiedOffset 276, 15 lines modified
276 ··</tr>276 ··</tr>
277 </table>277 </table>
278 </div><div·class="memdoc">278 </div><div·class="memdoc">
  
279 </div>279 </div>
280 </div>280 </div>
281 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>281 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
282 <li>opensubdiv/far/<a·class="el"·href="a00707_source.html">topologyRefinerFactory.h</a></li>282 <li>opensubdiv/far/<a·class="el"·href="a00704_source.html">topologyRefinerFactory.h</a></li>
283 </ul>283 </ul>
284 </div><!--·contents·-->284 </div><!--·contents·-->
285 </div><!--·doc-content·-->285 </div><!--·doc-content·-->
286 <!--·start·footer·part·-->286 <!--·start·footer·part·-->
287 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->287 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
288 ··<ul>288 ··<ul>
289 ····<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="a01125.html">TopologyRefinerFactoryBase</a></li>289 ····<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="a01125.html">TopologyRefinerFactoryBase</a></li>
7.47 KB
./usr/share/doc/opensubdiv/doxy_html/a01129.html
    
Offset 91, 15 lines modifiedOffset 91, 15 lines modified
91 ··<div·class="headertitle"><div·class="title">TopologyRefinerFactory&lt;·MESH·&gt;::Options·Struct·Reference</div></div>91 ··<div·class="headertitle"><div·class="title">TopologyRefinerFactory&lt;·MESH·&gt;::Options·Struct·Reference</div></div>
92 </div><!--header-->92 </div><!--header-->
93 <div·class="contents">93 <div·class="contents">
  
94 <p><a·class="el"·href="a01129.html"·title="Options·related·to·the·construction·of·each·TopologyRefiner.">Options</a>·related·to·the·construction·of·each·<a·class="el"·href="a01113.html"·title="Stores·topology·data·for·a·specified·set·of·refinement·options.">TopologyRefiner</a>.··94 <p><a·class="el"·href="a01129.html"·title="Options·related·to·the·construction·of·each·TopologyRefiner.">Options</a>·related·to·the·construction·of·each·<a·class="el"·href="a01113.html"·title="Stores·topology·data·for·a·specified·set·of·refinement·options.">TopologyRefiner</a>.··
95 ·<a·href="a01129.html#details">More...</a></p>95 ·<a·href="a01129.html#details">More...</a></p>
  
96 <p><code>#include·&lt;<a·class="el"·href="a00707_source.html">topologyRefinerFactory.h</a>&gt;</code></p>96 <p><code>#include·&lt;<a·class="el"·href="a00704_source.html">topologyRefinerFactory.h</a>&gt;</code></p>
97 <table·class="memberdecls">97 <table·class="memberdecls">
98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
99 Public·Member·Functions</h2></td></tr>99 Public·Member·Functions</h2></td></tr>
100 <tr·class="memitem:a33cde130beeee5dd5125d2c188b1a088"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01129.html#a33cde130beeee5dd5125d2c188b1a088">Options</a>·(<a·class="el"·href="a00913.html#aa3daa2f428c6be2b1cb394f3a525833d">Sdc::SchemeType</a>·sdcType=<a·class="el"·href="a00913.html#aa3daa2f428c6be2b1cb394f3a525833da29c9704ef8a61670dfc242b6e6b82a9f">Sdc::SCHEME_CATMARK</a>,·<a·class="el"·href="a01329.html">Sdc::Options</a>·sdcOptions=<a·class="el"·href="a01329.html">Sdc::Options</a>())</td></tr>100 <tr·class="memitem:a33cde130beeee5dd5125d2c188b1a088"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01129.html#a33cde130beeee5dd5125d2c188b1a088">Options</a>·(<a·class="el"·href="a00913.html#aa3daa2f428c6be2b1cb394f3a525833d">Sdc::SchemeType</a>·sdcType=<a·class="el"·href="a00913.html#aa3daa2f428c6be2b1cb394f3a525833da29c9704ef8a61670dfc242b6e6b82a9f">Sdc::SCHEME_CATMARK</a>,·<a·class="el"·href="a01329.html">Sdc::Options</a>·sdcOptions=<a·class="el"·href="a01329.html">Sdc::Options</a>())</td></tr>
101 <tr·class="separator:a33cde130beeee5dd5125d2c188b1a088"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:a33cde130beeee5dd5125d2c188b1a088"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 </table><table·class="memberdecls">102 </table><table·class="memberdecls">
103 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a>103 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a>
Offset 112, 15 lines modifiedOffset 112, 15 lines modified
112 <tr·class="memitem:adaa22b025e8615d6e4281a86b794e5df"><td·class="memItemLeft"·align="right"·valign="top">unsigned·int&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01129.html#adaa22b025e8615d6e4281a86b794e5df">validateFullTopology</a>:·1</td></tr>112 <tr·class="memitem:adaa22b025e8615d6e4281a86b794e5df"><td·class="memItemLeft"·align="right"·valign="top">unsigned·int&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01129.html#adaa22b025e8615d6e4281a86b794e5df">validateFullTopology</a>:·1</td></tr>
113 <tr·class="separator:adaa22b025e8615d6e4281a86b794e5df"><td·class="memSeparator"·colspan="2">&#160;</td></tr>113 <tr·class="separator:adaa22b025e8615d6e4281a86b794e5df"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
114 </table>114 </table>
115 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>115 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
116 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·MESH&gt;<br·/>116 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·MESH&gt;<br·/>
117 struct·OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefinerFactory&lt;·MESH·&gt;::Options</div><p·><a·class="el"·href="a01129.html"·title="Options·related·to·the·construction·of·each·TopologyRefiner.">Options</a>·related·to·the·construction·of·each·<a·class="el"·href="a01113.html"·title="Stores·topology·data·for·a·specified·set·of·refinement·options.">TopologyRefiner</a>.·</p>117 struct·OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefinerFactory&lt;·MESH·&gt;::Options</div><p·><a·class="el"·href="a01129.html"·title="Options·related·to·the·construction·of·each·TopologyRefiner.">Options</a>·related·to·the·construction·of·each·<a·class="el"·href="a01113.html"·title="Stores·topology·data·for·a·specified·set·of·refinement·options.">TopologyRefiner</a>.·</p>
  
118 <p·class="definition">Definition·at·line·<a·class="el"·href="a00707_source.html#l00084">84</a>·of·file·<a·class="el"·href="a00707_source.html">topologyRefinerFactory.h</a>.</p>118 <p·class="definition">Definition·at·line·<a·class="el"·href="a00704_source.html#l00084">84</a>·of·file·<a·class="el"·href="a00704_source.html">topologyRefinerFactory.h</a>.</p>
119 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>119 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
120 <a·id="a33cde130beeee5dd5125d2c188b1a088"·name="a33cde130beeee5dd5125d2c188b1a088"></a>120 <a·id="a33cde130beeee5dd5125d2c188b1a088"·name="a33cde130beeee5dd5125d2c188b1a088"></a>
121 <h2·class="memtitle"><span·class="permalink"><a·href="#a33cde130beeee5dd5125d2c188b1a088">&#9670;&nbsp;</a></span>Options()</h2>121 <h2·class="memtitle"><span·class="permalink"><a·href="#a33cde130beeee5dd5125d2c188b1a088">&#9670;&nbsp;</a></span>Options()</h2>
  
122 <div·class="memitem">122 <div·class="memitem">
123 <div·class="memproto">123 <div·class="memproto">
124 <table·class="mlabels">124 <table·class="mlabels">
Offset 148, 15 lines modifiedOffset 148, 15 lines modified
148 ··</td>148 ··</td>
149 ··<td·class="mlabels-right">149 ··<td·class="mlabels-right">
150 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>150 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
151 ··</tr>151 ··</tr>
152 </table>152 </table>
153 </div><div·class="memdoc">153 </div><div·class="memdoc">
  
154 <p·class="definition">Definition·at·line·<a·class="el"·href="a00707_source.html#l00086">86</a>·of·file·<a·class="el"·href="a00707_source.html">topologyRefinerFactory.h</a>.</p>154 <p·class="definition">Definition·at·line·<a·class="el"·href="a00704_source.html#l00086">86</a>·of·file·<a·class="el"·href="a00704_source.html">topologyRefinerFactory.h</a>.</p>
  
155 </div>155 </div>
156 </div>156 </div>
157 <h2·class="groupheader">Member·Data·Documentation</h2>157 <h2·class="groupheader">Member·Data·Documentation</h2>
158 <a·id="a9ec2ab2b4bd49c6cf367dac80c8cbb94"·name="a9ec2ab2b4bd49c6cf367dac80c8cbb94"></a>158 <a·id="a9ec2ab2b4bd49c6cf367dac80c8cbb94"·name="a9ec2ab2b4bd49c6cf367dac80c8cbb94"></a>
159 <h2·class="memtitle"><span·class="permalink"><a·href="#a9ec2ab2b4bd49c6cf367dac80c8cbb94">&#9670;&nbsp;</a></span>schemeOptions</h2>159 <h2·class="memtitle"><span·class="permalink"><a·href="#a9ec2ab2b4bd49c6cf367dac80c8cbb94">&#9670;&nbsp;</a></span>schemeOptions</h2>
  
Offset 166, 15 lines modifiedOffset 166, 15 lines modified
166 ········<tr>166 ········<tr>
167 ··········<td·class="memname"><a·class="el"·href="a01329.html">Sdc::Options</a>·schemeOptions</td>167 ··········<td·class="memname"><a·class="el"·href="a01329.html">Sdc::Options</a>·schemeOptions</td>
168 ········</tr>168 ········</tr>
169 ······</table>169 ······</table>
170 </div><div·class="memdoc">170 </div><div·class="memdoc">
171 <p·>The·full·set·of·options·for·the·scheme,·e.g.·boundary·interpolation·rules...·</p>171 <p·>The·full·set·of·options·for·the·scheme,·e.g.·boundary·interpolation·rules...·</p>
  
172 <p·class="definition">Definition·at·line·<a·class="el"·href="a00707_source.html#l00092">92</a>·of·file·<a·class="el"·href="a00707_source.html">topologyRefinerFactory.h</a>.</p>172 <p·class="definition">Definition·at·line·<a·class="el"·href="a00704_source.html#l00092">92</a>·of·file·<a·class="el"·href="a00704_source.html">topologyRefinerFactory.h</a>.</p>
  
173 </div>173 </div>
174 </div>174 </div>
175 <a·id="ab4a105466e7c764e3aabaa6c44c1eeb6"·name="ab4a105466e7c764e3aabaa6c44c1eeb6"></a>175 <a·id="ab4a105466e7c764e3aabaa6c44c1eeb6"·name="ab4a105466e7c764e3aabaa6c44c1eeb6"></a>
176 <h2·class="memtitle"><span·class="permalink"><a·href="#ab4a105466e7c764e3aabaa6c44c1eeb6">&#9670;&nbsp;</a></span>schemeType</h2>176 <h2·class="memtitle"><span·class="permalink"><a·href="#ab4a105466e7c764e3aabaa6c44c1eeb6">&#9670;&nbsp;</a></span>schemeType</h2>
  
177 <div·class="memitem">177 <div·class="memitem">
Offset 184, 15 lines modifiedOffset 184, 15 lines modified
184 ··········<td·class="memname"><a·class="el"·href="a00913.html#aa3daa2f428c6be2b1cb394f3a525833d">Sdc::SchemeType</a>·schemeType</td>184 ··········<td·class="memname"><a·class="el"·href="a00913.html#aa3daa2f428c6be2b1cb394f3a525833d">Sdc::SchemeType</a>·schemeType</td>
185 ········</tr>185 ········</tr>
186 ······</table>186 ······</table>
187 </div><div·class="memdoc">187 </div><div·class="memdoc">
  
188 <p>The·subdivision·scheme·type·identifier.·</p>188 <p>The·subdivision·scheme·type·identifier.·</p>
  
189 <p·class="definition">Definition·at·line·<a·class="el"·href="a00707_source.html#l00091">91</a>·of·file·<a·class="el"·href="a00707_source.html">topologyRefinerFactory.h</a>.</p>189 <p·class="definition">Definition·at·line·<a·class="el"·href="a00704_source.html#l00091">91</a>·of·file·<a·class="el"·href="a00704_source.html">topologyRefinerFactory.h</a>.</p>
  
190 </div>190 </div>
191 </div>191 </div>
192 <a·id="adaa22b025e8615d6e4281a86b794e5df"·name="adaa22b025e8615d6e4281a86b794e5df"></a>192 <a·id="adaa22b025e8615d6e4281a86b794e5df"·name="adaa22b025e8615d6e4281a86b794e5df"></a>
193 <h2·class="memtitle"><span·class="permalink"><a·href="#adaa22b025e8615d6e4281a86b794e5df">&#9670;&nbsp;</a></span>validateFullTopology</h2>193 <h2·class="memtitle"><span·class="permalink"><a·href="#adaa22b025e8615d6e4281a86b794e5df">&#9670;&nbsp;</a></span>validateFullTopology</h2>
  
194 <div·class="memitem">194 <div·class="memitem">
Offset 201, 20 lines modifiedOffset 201, 20 lines modified
201 ········<tr>201 ········<tr>
202 ··········<td·class="memname">unsigned·int·validateFullTopology</td>202 ··········<td·class="memname">unsigned·int·validateFullTopology</td>
203 ········</tr>203 ········</tr>
204 ······</table>204 ······</table>
205 </div><div·class="memdoc">205 </div><div·class="memdoc">
206 <p·>Apply·more·extensive·validation·of·the·constructed·topology·&ndash;·intended·for·debugging.·</p>206 <p·>Apply·more·extensive·validation·of·the·constructed·topology·&ndash;·intended·for·debugging.·</p>
  
207 <p·class="definition">Definition·at·line·<a·class="el"·href="a00707_source.html#l00094">94</a>·of·file·<a·class="el"·href="a00707_source.html">topologyRefinerFactory.h</a>.</p>207 <p·class="definition">Definition·at·line·<a·class="el"·href="a00704_source.html#l00094">94</a>·of·file·<a·class="el"·href="a00704_source.html">topologyRefinerFactory.h</a>.</p>
  
208 </div>208 </div>
209 </div>209 </div>
210 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>210 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
211 <li>opensubdiv/far/<a·class="el"·href="a00707_source.html">topologyRefinerFactory.h</a></li>211 <li>opensubdiv/far/<a·class="el"·href="a00704_source.html">topologyRefinerFactory.h</a></li>
212 </ul>212 </ul>
213 </div><!--·contents·-->213 </div><!--·contents·-->
214 </div><!--·doc-content·-->214 </div><!--·doc-content·-->
215 <!--·start·footer·part·-->215 <!--·start·footer·part·-->
216 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->216 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
217 ··<ul>217 ··<ul>
218 ····<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="a01109.html">TopologyRefinerFactory</a></li><li·class="navelem"><a·class="el"·href="a01129.html">Options</a></li>218 ····<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="a01109.html">TopologyRefinerFactory</a></li><li·class="navelem"><a·class="el"·href="a01129.html">Options</a></li>
11.8 KB
./usr/share/doc/opensubdiv/doxy_html/a01133.html
    
Offset 91, 15 lines modifiedOffset 91, 15 lines modified
91 ··<div·class="headertitle"><div·class="title">BufferDescriptor·Struct·Reference</div></div>91 ··<div·class="headertitle"><div·class="title">BufferDescriptor·Struct·Reference</div></div>
92 </div><!--header-->92 </div><!--header-->
93 <div·class="contents">93 <div·class="contents">
  
94 <p><a·class="el"·href="a01133.html"·title="BufferDescriptor·is·a·struct·which·describes·buffer·elements·in·interleaved·data·buffers....">BufferDescriptor</a>·is·a·struct·which·describes·buffer·elements·in·interleaved·data·buffers.·Almost·all·<a·class="el"·href="a00912.html">Osd</a>·Evaluator·APIs·take·BufferDescriptors·along·with·device-specific·buffer·objects.··94 <p><a·class="el"·href="a01133.html"·title="BufferDescriptor·is·a·struct·which·describes·buffer·elements·in·interleaved·data·buffers....">BufferDescriptor</a>·is·a·struct·which·describes·buffer·elements·in·interleaved·data·buffers.·Almost·all·<a·class="el"·href="a00912.html">Osd</a>·Evaluator·APIs·take·BufferDescriptors·along·with·device-specific·buffer·objects.··
95 ·<a·href="a01133.html#details">More...</a></p>95 ·<a·href="a01133.html#details">More...</a></p>
  
96 <p><code>#include·&lt;<a·class="el"·href="a00899_source.html">bufferDescriptor.h</a>&gt;</code></p>96 <p><code>#include·&lt;<a·class="el"·href="a00881_source.html">bufferDescriptor.h</a>&gt;</code></p>
97 <table·class="memberdecls">97 <table·class="memberdecls">
98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
99 Public·Member·Functions</h2></td></tr>99 Public·Member·Functions</h2></td></tr>
100 <tr·class="memitem:a446218762f5de8c77d06ee61e14b6b61"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01133.html#a446218762f5de8c77d06ee61e14b6b61">BufferDescriptor</a>·()</td></tr>100 <tr·class="memitem:a446218762f5de8c77d06ee61e14b6b61"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01133.html#a446218762f5de8c77d06ee61e14b6b61">BufferDescriptor</a>·()</td></tr>
101 <tr·class="memdesc:a446218762f5de8c77d06ee61e14b6b61"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Default·Constructor.··<a·href="a01133.html#a446218762f5de8c77d06ee61e14b6b61">More...</a><br·/></td></tr>101 <tr·class="memdesc:a446218762f5de8c77d06ee61e14b6b61"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Default·Constructor.··<a·href="a01133.html#a446218762f5de8c77d06ee61e14b6b61">More...</a><br·/></td></tr>
102 <tr·class="separator:a446218762f5de8c77d06ee61e14b6b61"><td·class="memSeparator"·colspan="2">&#160;</td></tr>102 <tr·class="separator:a446218762f5de8c77d06ee61e14b6b61"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
103 <tr·class="memitem:a958068066d1d10ae2a452ac57d9c0401"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01133.html#a958068066d1d10ae2a452ac57d9c0401">BufferDescriptor</a>·(int·o,·int·l,·int·s)</td></tr>103 <tr·class="memitem:a958068066d1d10ae2a452ac57d9c0401"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01133.html#a958068066d1d10ae2a452ac57d9c0401">BufferDescriptor</a>·(int·o,·int·l,·int·s)</td></tr>
Offset 136, 15 lines modifiedOffset 136, 15 lines modified
136 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>136 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
137 <div·class="textblock"><p·><a·class="el"·href="a01133.html"·title="BufferDescriptor·is·a·struct·which·describes·buffer·elements·in·interleaved·data·buffers....">BufferDescriptor</a>·is·a·struct·which·describes·buffer·elements·in·interleaved·data·buffers.·Almost·all·<a·class="el"·href="a00912.html">Osd</a>·Evaluator·APIs·take·BufferDescriptors·along·with·device-specific·buffer·objects.·</p>137 <div·class="textblock"><p·><a·class="el"·href="a01133.html"·title="BufferDescriptor·is·a·struct·which·describes·buffer·elements·in·interleaved·data·buffers....">BufferDescriptor</a>·is·a·struct·which·describes·buffer·elements·in·interleaved·data·buffers.·Almost·all·<a·class="el"·href="a00912.html">Osd</a>·Evaluator·APIs·take·BufferDescriptors·along·with·device-specific·buffer·objects.·</p>
138 <p·>The·offset·of·<a·class="el"·href="a01133.html"·title="BufferDescriptor·is·a·struct·which·describes·buffer·elements·in·interleaved·data·buffers....">BufferDescriptor</a>·can·also·be·used·to·express·a·batching·offset·if·the·data·buffer·is·combined·across·multiple·objects·together.</p>138 <p·>The·offset·of·<a·class="el"·href="a01133.html"·title="BufferDescriptor·is·a·struct·which·describes·buffer·elements·in·interleaved·data·buffers....">BufferDescriptor</a>·can·also·be·used·to·express·a·batching·offset·if·the·data·buffer·is·combined·across·multiple·objects·together.</p>
139 <ul>139 <ul>
140 <li>Note·that·each·element·has·the·same·data·type·(float)·</li>140 <li>Note·that·each·element·has·the·same·data·type·(float)·</li>
141 </ul>141 </ul>
  
142 <p·class="definition">Definition·at·line·<a·class="el"·href="a00899_source.html#l00061">61</a>·of·file·<a·class="el"·href="a00899_source.html">bufferDescriptor.h</a>.</p>142 <p·class="definition">Definition·at·line·<a·class="el"·href="a00881_source.html#l00061">61</a>·of·file·<a·class="el"·href="a00881_source.html">bufferDescriptor.h</a>.</p>
143 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>143 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
144 <a·id="a446218762f5de8c77d06ee61e14b6b61"·name="a446218762f5de8c77d06ee61e14b6b61"></a>144 <a·id="a446218762f5de8c77d06ee61e14b6b61"·name="a446218762f5de8c77d06ee61e14b6b61"></a>
145 <h2·class="memtitle"><span·class="permalink"><a·href="#a446218762f5de8c77d06ee61e14b6b61">&#9670;&nbsp;</a></span>BufferDescriptor()·<span·class="overload">[1/2]</span></h2>145 <h2·class="memtitle"><span·class="permalink"><a·href="#a446218762f5de8c77d06ee61e14b6b61">&#9670;&nbsp;</a></span>BufferDescriptor()·<span·class="overload">[1/2]</span></h2>
  
146 <div·class="memitem">146 <div·class="memitem">
147 <div·class="memproto">147 <div·class="memproto">
148 <table·class="mlabels">148 <table·class="mlabels">
Offset 163, 15 lines modifiedOffset 163, 15 lines modified
163 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>163 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
164 ··</tr>164 ··</tr>
165 </table>165 </table>
166 </div><div·class="memdoc">166 </div><div·class="memdoc">
  
167 <p>Default·Constructor.·</p>167 <p>Default·Constructor.·</p>
  
168 <p·class="definition">Definition·at·line·<a·class="el"·href="a00899_source.html#l00064">64</a>·of·file·<a·class="el"·href="a00899_source.html">bufferDescriptor.h</a>.</p>168 <p·class="definition">Definition·at·line·<a·class="el"·href="a00881_source.html#l00064">64</a>·of·file·<a·class="el"·href="a00881_source.html">bufferDescriptor.h</a>.</p>
  
169 </div>169 </div>
170 </div>170 </div>
171 <a·id="a958068066d1d10ae2a452ac57d9c0401"·name="a958068066d1d10ae2a452ac57d9c0401"></a>171 <a·id="a958068066d1d10ae2a452ac57d9c0401"·name="a958068066d1d10ae2a452ac57d9c0401"></a>
172 <h2·class="memtitle"><span·class="permalink"><a·href="#a958068066d1d10ae2a452ac57d9c0401">&#9670;&nbsp;</a></span>BufferDescriptor()·<span·class="overload">[2/2]</span></h2>172 <h2·class="memtitle"><span·class="permalink"><a·href="#a958068066d1d10ae2a452ac57d9c0401">&#9670;&nbsp;</a></span>BufferDescriptor()·<span·class="overload">[2/2]</span></h2>
  
173 <div·class="memitem">173 <div·class="memitem">
Offset 209, 15 lines modifiedOffset 209, 15 lines modified
209 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>209 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
210 ··</tr>210 ··</tr>
211 </table>211 </table>
212 </div><div·class="memdoc">212 </div><div·class="memdoc">
  
213 <p>Constructor.·</p>213 <p>Constructor.·</p>
  
214 <p·class="definition">Definition·at·line·<a·class="el"·href="a00899_source.html#l00067">67</a>·of·file·<a·class="el"·href="a00899_source.html">bufferDescriptor.h</a>.</p>214 <p·class="definition">Definition·at·line·<a·class="el"·href="a00881_source.html#l00067">67</a>·of·file·<a·class="el"·href="a00881_source.html">bufferDescriptor.h</a>.</p>
  
215 </div>215 </div>
216 </div>216 </div>
217 <h2·class="groupheader">Member·Function·Documentation</h2>217 <h2·class="groupheader">Member·Function·Documentation</h2>
218 <a·id="ae3d9db59ffddaff0873246935222c6a8"·name="ae3d9db59ffddaff0873246935222c6a8"></a>218 <a·id="ae3d9db59ffddaff0873246935222c6a8"·name="ae3d9db59ffddaff0873246935222c6a8"></a>
219 <h2·class="memtitle"><span·class="permalink"><a·href="#ae3d9db59ffddaff0873246935222c6a8">&#9670;&nbsp;</a></span>GetLocalOffset()</h2>219 <h2·class="memtitle"><span·class="permalink"><a·href="#ae3d9db59ffddaff0873246935222c6a8">&#9670;&nbsp;</a></span>GetLocalOffset()</h2>
  
Offset 239, 15 lines modifiedOffset 239, 15 lines modified
239 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>239 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
240 ··</tr>240 ··</tr>
241 </table>241 </table>
242 </div><div·class="memdoc">242 </div><div·class="memdoc">
  
243 <p>Returns·the·relative·offset·within·a·stride.·</p>243 <p>Returns·the·relative·offset·within·a·stride.·</p>
  
244 <p·class="definition">Definition·at·line·<a·class="el"·href="a00899_source.html#l00070">70</a>·of·file·<a·class="el"·href="a00899_source.html">bufferDescriptor.h</a>.</p>244 <p·class="definition">Definition·at·line·<a·class="el"·href="a00881_source.html#l00070">70</a>·of·file·<a·class="el"·href="a00881_source.html">bufferDescriptor.h</a>.</p>
  
245 </div>245 </div>
246 </div>246 </div>
247 <a·id="ac532c4b500b1a85ea22217f2c65a70ed"·name="ac532c4b500b1a85ea22217f2c65a70ed"></a>247 <a·id="ac532c4b500b1a85ea22217f2c65a70ed"·name="ac532c4b500b1a85ea22217f2c65a70ed"></a>
248 <h2·class="memtitle"><span·class="permalink"><a·href="#ac532c4b500b1a85ea22217f2c65a70ed">&#9670;&nbsp;</a></span>IsValid()</h2>248 <h2·class="memtitle"><span·class="permalink"><a·href="#ac532c4b500b1a85ea22217f2c65a70ed">&#9670;&nbsp;</a></span>IsValid()</h2>
  
249 <div·class="memitem">249 <div·class="memitem">
Offset 268, 15 lines modifiedOffset 268, 15 lines modified
268 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>268 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
269 ··</tr>269 ··</tr>
270 </table>270 </table>
271 </div><div·class="memdoc">271 </div><div·class="memdoc">
  
272 <p>True·if·the·descriptor·values·are·internally·consistent.·</p>272 <p>True·if·the·descriptor·values·are·internally·consistent.·</p>
  
273 <p·class="definition">Definition·at·line·<a·class="el"·href="a00899_source.html#l00075">75</a>·of·file·<a·class="el"·href="a00899_source.html">bufferDescriptor.h</a>.</p>273 <p·class="definition">Definition·at·line·<a·class="el"·href="a00881_source.html#l00075">75</a>·of·file·<a·class="el"·href="a00881_source.html">bufferDescriptor.h</a>.</p>
  
274 </div>274 </div>
275 </div>275 </div>
276 <a·id="a9f79e5aef7aa7198087e68c98c9804d3"·name="a9f79e5aef7aa7198087e68c98c9804d3"></a>276 <a·id="a9f79e5aef7aa7198087e68c98c9804d3"·name="a9f79e5aef7aa7198087e68c98c9804d3"></a>
277 <h2·class="memtitle"><span·class="permalink"><a·href="#a9f79e5aef7aa7198087e68c98c9804d3">&#9670;&nbsp;</a></span>operator!=()</h2>277 <h2·class="memtitle"><span·class="permalink"><a·href="#a9f79e5aef7aa7198087e68c98c9804d3">&#9670;&nbsp;</a></span>operator!=()</h2>
  
278 <div·class="memitem">278 <div·class="memitem">
Offset 298, 15 lines modifiedOffset 298, 15 lines modified
298 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>298 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
299 ··</tr>299 ··</tr>
300 </table>300 </table>
301 </div><div·class="memdoc">301 </div><div·class="memdoc">
  
302 <p>True·if·the·descriptors·are·not·identical.·</p>302 <p>True·if·the·descriptors·are·not·identical.·</p>
  
303 <p·class="definition">Definition·at·line·<a·class="el"·href="a00899_source.html#l00093">93</a>·of·file·<a·class="el"·href="a00899_source.html">bufferDescriptor.h</a>.</p>303 <p·class="definition">Definition·at·line·<a·class="el"·href="a00881_source.html#l00093">93</a>·of·file·<a·class="el"·href="a00881_source.html">bufferDescriptor.h</a>.</p>
  
304 </div>304 </div>
305 </div>305 </div>
306 <a·id="aaff9aa09cae91e39d5422c8cfc878ba5"·name="aaff9aa09cae91e39d5422c8cfc878ba5"></a>306 <a·id="aaff9aa09cae91e39d5422c8cfc878ba5"·name="aaff9aa09cae91e39d5422c8cfc878ba5"></a>
307 <h2·class="memtitle"><span·class="permalink"><a·href="#aaff9aa09cae91e39d5422c8cfc878ba5">&#9670;&nbsp;</a></span>operator==()</h2>307 <h2·class="memtitle"><span·class="permalink"><a·href="#aaff9aa09cae91e39d5422c8cfc878ba5">&#9670;&nbsp;</a></span>operator==()</h2>
  
308 <div·class="memitem">308 <div·class="memitem">
Offset 328, 15 lines modifiedOffset 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>True·if·the·descriptors·are·identical.·</p>332 <p>True·if·the·descriptors·are·identical.·</p>
  
333 <p·class="definition">Definition·at·line·<a·class="el"·href="a00899_source.html#l00086">86</a>·of·file·<a·class="el"·href="a00899_source.html">bufferDescriptor.h</a>.</p>333 <p·class="definition">Definition·at·line·<a·class="el"·href="a00881_source.html#l00086">86</a>·of·file·<a·class="el"·href="a00881_source.html">bufferDescriptor.h</a>.</p>
  
334 </div>334 </div>
335 </div>335 </div>
336 <a·id="a372de693ad40b3f42839c8ec6ac845f4"·name="a372de693ad40b3f42839c8ec6ac845f4"></a>336 <a·id="a372de693ad40b3f42839c8ec6ac845f4"·name="a372de693ad40b3f42839c8ec6ac845f4"></a>
337 <h2·class="memtitle"><span·class="permalink"><a·href="#a372de693ad40b3f42839c8ec6ac845f4">&#9670;&nbsp;</a></span>Reset()</h2>337 <h2·class="memtitle"><span·class="permalink"><a·href="#a372de693ad40b3f42839c8ec6ac845f4">&#9670;&nbsp;</a></span>Reset()</h2>
  
338 <div·class="memitem">338 <div·class="memitem">
Max diff block lines reached; 3621/11964 bytes (30.27%) of diff not shown.
12.6 KB
./usr/share/doc/opensubdiv/doxy_html/a01137.html
    
Offset 91, 15 lines modifiedOffset 91, 15 lines modified
91 ··<div·class="headertitle"><div·class="title">CLStencilTable·Class·Reference</div></div>91 ··<div·class="headertitle"><div·class="title">CLStencilTable·Class·Reference</div></div>
92 </div><!--header-->92 </div><!--header-->
93 <div·class="contents">93 <div·class="contents">
  
94 <p>OpenCL·stencil·table.··94 <p>OpenCL·stencil·table.··
95 ·<a·href="a01137.html#details">More...</a></p>95 ·<a·href="a01137.html#details">More...</a></p>
  
96 <p><code>#include·&lt;<a·class="el"·href="a00803_source.html">clEvaluator.h</a>&gt;</code></p>96 <p><code>#include·&lt;<a·class="el"·href="a00785_source.html">clEvaluator.h</a>&gt;</code></p>
97 <table·class="memberdecls">97 <table·class="memberdecls">
98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
99 Public·Member·Functions</h2></td></tr>99 Public·Member·Functions</h2></td></tr>
100 <tr·class="memitem:a33ca6bb1dba9f8e390a58395d164431e"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01137.html#a33ca6bb1dba9f8e390a58395d164431e">CLStencilTable</a>·(<a·class="el"·href="a01057.html">Far::StencilTable</a>·const·*stencilTable,·cl_context·clContext)</td></tr>100 <tr·class="memitem:a33ca6bb1dba9f8e390a58395d164431e"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01137.html#a33ca6bb1dba9f8e390a58395d164431e">CLStencilTable</a>·(<a·class="el"·href="a01057.html">Far::StencilTable</a>·const·*stencilTable,·cl_context·clContext)</td></tr>
101 <tr·class="separator:a33ca6bb1dba9f8e390a58395d164431e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:a33ca6bb1dba9f8e390a58395d164431e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 <tr·class="memitem:af2994e79cf93c872e39659321750351a"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01137.html#af2994e79cf93c872e39659321750351a">CLStencilTable</a>·(<a·class="el"·href="a01073.html">Far::LimitStencilTable</a>·const·*limitStencilTable,·cl_context·clContext)</td></tr>102 <tr·class="memitem:af2994e79cf93c872e39659321750351a"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01137.html#af2994e79cf93c872e39659321750351a">CLStencilTable</a>·(<a·class="el"·href="a01073.html">Far::LimitStencilTable</a>·const·*limitStencilTable,·cl_context·clContext)</td></tr>
103 <tr·class="separator:af2994e79cf93c872e39659321750351a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:af2994e79cf93c872e39659321750351a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 136, 15 lines modifiedOffset 136, 15 lines modified
136 <tr·class="separator:a474edc933635aca814471b8d48950a0e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>136 <tr·class="separator:a474edc933635aca814471b8d48950a0e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
137 </table>137 </table>
138 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>138 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
139 <div·class="textblock"><p·>OpenCL·stencil·table.·</p>139 <div·class="textblock"><p·>OpenCL·stencil·table.·</p>
140 <p·>This·class·is·an·OpenCL·buffer·representation·of·<a·class="el"·href="a01057.html"·title="Stencil·table·class·wrapping·the·template·for·compatibility.">Far::StencilTable</a>.</p>140 <p·>This·class·is·an·OpenCL·buffer·representation·of·<a·class="el"·href="a01057.html"·title="Stencil·table·class·wrapping·the·template·for·compatibility.">Far::StencilTable</a>.</p>
141 <p·>CLCompute·consumes·this·table·to·apply·stencils·</p>141 <p·>CLCompute·consumes·this·table·to·apply·stencils·</p>
  
142 <p·class="definition">Definition·at·line·<a·class="el"·href="a00803_source.html#l00052">52</a>·of·file·<a·class="el"·href="a00803_source.html">clEvaluator.h</a>.</p>142 <p·class="definition">Definition·at·line·<a·class="el"·href="a00785_source.html#l00052">52</a>·of·file·<a·class="el"·href="a00785_source.html">clEvaluator.h</a>.</p>
143 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>143 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
144 <a·id="a33ca6bb1dba9f8e390a58395d164431e"·name="a33ca6bb1dba9f8e390a58395d164431e"></a>144 <a·id="a33ca6bb1dba9f8e390a58395d164431e"·name="a33ca6bb1dba9f8e390a58395d164431e"></a>
145 <h2·class="memtitle"><span·class="permalink"><a·href="#a33ca6bb1dba9f8e390a58395d164431e">&#9670;&nbsp;</a></span>CLStencilTable()·<span·class="overload">[1/2]</span></h2>145 <h2·class="memtitle"><span·class="permalink"><a·href="#a33ca6bb1dba9f8e390a58395d164431e">&#9670;&nbsp;</a></span>CLStencilTable()·<span·class="overload">[1/2]</span></h2>
  
146 <div·class="memitem">146 <div·class="memitem">
147 <div·class="memproto">147 <div·class="memproto">
148 ······<table·class="memname">148 ······<table·class="memname">
Offset 246, 15 lines modifiedOffset 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="a00803_source.html#l00061">61</a>·of·file·<a·class="el"·href="a00803_source.html">clEvaluator.h</a>.</p>252 <p·class="definition">Definition·at·line·<a·class="el"·href="a00785_source.html#l00061">61</a>·of·file·<a·class="el"·href="a00785_source.html">clEvaluator.h</a>.</p>
  
253 </div>253 </div>
254 </div>254 </div>
255 <a·id="ad4e05c20d99b64b2160c1a0c96cb0c01"·name="ad4e05c20d99b64b2160c1a0c96cb0c01"></a>255 <a·id="ad4e05c20d99b64b2160c1a0c96cb0c01"·name="ad4e05c20d99b64b2160c1a0c96cb0c01"></a>
256 <h2·class="memtitle"><span·class="permalink"><a·href="#ad4e05c20d99b64b2160c1a0c96cb0c01">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[2/2]</span></h2>256 <h2·class="memtitle"><span·class="permalink"><a·href="#ad4e05c20d99b64b2160c1a0c96cb0c01">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[2/2]</span></h2>
  
257 <div·class="memitem">257 <div·class="memitem">
Offset 284, 15 lines modifiedOffset 284, 15 lines modified
284 ··</td>284 ··</td>
285 ··<td·class="mlabels-right">285 ··<td·class="mlabels-right">
286 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>286 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>
287 ··</tr>287 ··</tr>
288 </table>288 </table>
289 </div><div·class="memdoc">289 </div><div·class="memdoc">
  
290 <p·class="definition">Definition·at·line·<a·class="el"·href="a00803_source.html#l00055">55</a>·of·file·<a·class="el"·href="a00803_source.html">clEvaluator.h</a>.</p>290 <p·class="definition">Definition·at·line·<a·class="el"·href="a00785_source.html#l00055">55</a>·of·file·<a·class="el"·href="a00785_source.html">clEvaluator.h</a>.</p>
  
291 </div>291 </div>
292 </div>292 </div>
293 <a·id="a9a1d122f4bea431331fa542cf6dee1f6"·name="a9a1d122f4bea431331fa542cf6dee1f6"></a>293 <a·id="a9a1d122f4bea431331fa542cf6dee1f6"·name="a9a1d122f4bea431331fa542cf6dee1f6"></a>
294 <h2·class="memtitle"><span·class="permalink"><a·href="#a9a1d122f4bea431331fa542cf6dee1f6">&#9670;&nbsp;</a></span>GetDuuWeightsBuffer()</h2>294 <h2·class="memtitle"><span·class="permalink"><a·href="#a9a1d122f4bea431331fa542cf6dee1f6">&#9670;&nbsp;</a></span>GetDuuWeightsBuffer()</h2>
  
295 <div·class="memitem">295 <div·class="memitem">
Offset 311, 15 lines modifiedOffset 311, 15 lines modified
311 ··</td>311 ··</td>
312 ··<td·class="mlabels-right">312 ··<td·class="mlabels-right">
313 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>313 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
314 ··</tr>314 ··</tr>
315 </table>315 </table>
316 </div><div·class="memdoc">316 </div><div·class="memdoc">
  
317 <p·class="definition">Definition·at·line·<a·class="el"·href="a00803_source.html#l00080">80</a>·of·file·<a·class="el"·href="a00803_source.html">clEvaluator.h</a>.</p>317 <p·class="definition">Definition·at·line·<a·class="el"·href="a00785_source.html#l00080">80</a>·of·file·<a·class="el"·href="a00785_source.html">clEvaluator.h</a>.</p>
  
318 </div>318 </div>
319 </div>319 </div>
320 <a·id="aa79d14d151020f9298c742c3072e7fc9"·name="aa79d14d151020f9298c742c3072e7fc9"></a>320 <a·id="aa79d14d151020f9298c742c3072e7fc9"·name="aa79d14d151020f9298c742c3072e7fc9"></a>
321 <h2·class="memtitle"><span·class="permalink"><a·href="#aa79d14d151020f9298c742c3072e7fc9">&#9670;&nbsp;</a></span>GetDuvWeightsBuffer()</h2>321 <h2·class="memtitle"><span·class="permalink"><a·href="#aa79d14d151020f9298c742c3072e7fc9">&#9670;&nbsp;</a></span>GetDuvWeightsBuffer()</h2>
  
322 <div·class="memitem">322 <div·class="memitem">
Offset 338, 15 lines modifiedOffset 338, 15 lines modified
338 ··</td>338 ··</td>
339 ··<td·class="mlabels-right">339 ··<td·class="mlabels-right">
340 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>340 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
341 ··</tr>341 ··</tr>
342 </table>342 </table>
343 </div><div·class="memdoc">343 </div><div·class="memdoc">
  
344 <p·class="definition">Definition·at·line·<a·class="el"·href="a00803_source.html#l00081">81</a>·of·file·<a·class="el"·href="a00803_source.html">clEvaluator.h</a>.</p>344 <p·class="definition">Definition·at·line·<a·class="el"·href="a00785_source.html#l00081">81</a>·of·file·<a·class="el"·href="a00785_source.html">clEvaluator.h</a>.</p>
  
345 </div>345 </div>
346 </div>346 </div>
347 <a·id="aab6c794e109053815894e2314f05564b"·name="aab6c794e109053815894e2314f05564b"></a>347 <a·id="aab6c794e109053815894e2314f05564b"·name="aab6c794e109053815894e2314f05564b"></a>
348 <h2·class="memtitle"><span·class="permalink"><a·href="#aab6c794e109053815894e2314f05564b">&#9670;&nbsp;</a></span>GetDuWeightsBuffer()</h2>348 <h2·class="memtitle"><span·class="permalink"><a·href="#aab6c794e109053815894e2314f05564b">&#9670;&nbsp;</a></span>GetDuWeightsBuffer()</h2>
  
349 <div·class="memitem">349 <div·class="memitem">
Offset 365, 15 lines modifiedOffset 365, 15 lines modified
365 ··</td>365 ··</td>
366 ··<td·class="mlabels-right">366 ··<td·class="mlabels-right">
367 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>367 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
368 ··</tr>368 ··</tr>
369 </table>369 </table>
370 </div><div·class="memdoc">370 </div><div·class="memdoc">
  
371 <p·class="definition">Definition·at·line·<a·class="el"·href="a00803_source.html#l00078">78</a>·of·file·<a·class="el"·href="a00803_source.html">clEvaluator.h</a>.</p>371 <p·class="definition">Definition·at·line·<a·class="el"·href="a00785_source.html#l00078">78</a>·of·file·<a·class="el"·href="a00785_source.html">clEvaluator.h</a>.</p>
  
372 </div>372 </div>
373 </div>373 </div>
374 <a·id="a015241b43d27300535376319ae7b6dc4"·name="a015241b43d27300535376319ae7b6dc4"></a>374 <a·id="a015241b43d27300535376319ae7b6dc4"·name="a015241b43d27300535376319ae7b6dc4"></a>
375 <h2·class="memtitle"><span·class="permalink"><a·href="#a015241b43d27300535376319ae7b6dc4">&#9670;&nbsp;</a></span>GetDvvWeightsBuffer()</h2>375 <h2·class="memtitle"><span·class="permalink"><a·href="#a015241b43d27300535376319ae7b6dc4">&#9670;&nbsp;</a></span>GetDvvWeightsBuffer()</h2>
  
376 <div·class="memitem">376 <div·class="memitem">
Offset 392, 15 lines modifiedOffset 392, 15 lines modified
392 ··</td>392 ··</td>
393 ··<td·class="mlabels-right">393 ··<td·class="mlabels-right">
394 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>394 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
395 ··</tr>395 ··</tr>
396 </table>396 </table>
397 </div><div·class="memdoc">397 </div><div·class="memdoc">
  
398 <p·class="definition">Definition·at·line·<a·class="el"·href="a00803_source.html#l00082">82</a>·of·file·<a·class="el"·href="a00803_source.html">clEvaluator.h</a>.</p>398 <p·class="definition">Definition·at·line·<a·class="el"·href="a00785_source.html#l00082">82</a>·of·file·<a·class="el"·href="a00785_source.html">clEvaluator.h</a>.</p>
  
399 </div>399 </div>
400 </div>400 </div>
401 <a·id="aa1550324554767683ae2bf0317e6bad6"·name="aa1550324554767683ae2bf0317e6bad6"></a>401 <a·id="aa1550324554767683ae2bf0317e6bad6"·name="aa1550324554767683ae2bf0317e6bad6"></a>
402 <h2·class="memtitle"><span·class="permalink"><a·href="#aa1550324554767683ae2bf0317e6bad6">&#9670;&nbsp;</a></span>GetDvWeightsBuffer()</h2>402 <h2·class="memtitle"><span·class="permalink"><a·href="#aa1550324554767683ae2bf0317e6bad6">&#9670;&nbsp;</a></span>GetDvWeightsBuffer()</h2>
  
403 <div·class="memitem">403 <div·class="memitem">
Max diff block lines reached; 5167/12839 bytes (40.24%) of diff not shown.
39.3 KB
./usr/share/doc/opensubdiv/doxy_html/a01141.html
    
Offset 89, 15 lines modifiedOffset 89, 15 lines modified
89 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;89 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
90 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;90 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
91 <a·href="a01138.html">List·of·all·members</a>··</div>91 <a·href="a01138.html">List·of·all·members</a>··</div>
92 ··<div·class="headertitle"><div·class="title">CLEvaluator·Class·Reference</div></div>92 ··<div·class="headertitle"><div·class="title">CLEvaluator·Class·Reference</div></div>
93 </div><!--header-->93 </div><!--header-->
94 <div·class="contents">94 <div·class="contents">
  
95 <p><code>#include·&lt;<a·class="el"·href="a00803_source.html">clEvaluator.h</a>&gt;</code></p>95 <p><code>#include·&lt;<a·class="el"·href="a00785_source.html">clEvaluator.h</a>&gt;</code></p>
96 <table·class="memberdecls">96 <table·class="memberdecls">
97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
98 Public·Types</h2></td></tr>98 Public·Types</h2></td></tr>
99 <tr·class="memitem:a2c24b70c9312d8dff3fecb9ddea52c44"><td·class="memItemLeft"·align="right"·valign="top">typedef·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01141.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a></td></tr>99 <tr·class="memitem:a2c24b70c9312d8dff3fecb9ddea52c44"><td·class="memItemLeft"·align="right"·valign="top">typedef·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01141.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a></td></tr>
100 <tr·class="separator:a2c24b70c9312d8dff3fecb9ddea52c44"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:a2c24b70c9312d8dff3fecb9ddea52c44"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 </table><table·class="memberdecls">101 </table><table·class="memberdecls">
102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
Offset 238, 29 lines modifiedOffset 238, 29 lines modified
238 <tr·class="memdesc:a7e77f811e9d48160701e705bb4300388"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Wait·the·OpenCL·kernels·finish.··<a·href="a01141.html#a7e77f811e9d48160701e705bb4300388">More...</a><br·/></td></tr>238 <tr·class="memdesc:a7e77f811e9d48160701e705bb4300388"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Wait·the·OpenCL·kernels·finish.··<a·href="a01141.html#a7e77f811e9d48160701e705bb4300388">More...</a><br·/></td></tr>
239 <tr·class="separator:a7e77f811e9d48160701e705bb4300388"><td·class="memSeparator"·colspan="2">&#160;</td></tr>239 <tr·class="separator:a7e77f811e9d48160701e705bb4300388"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
240 <tr·class="memitem:a0529a707250f9931f945ec49d4e428d2"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01141.html#a0529a707250f9931f945ec49d4e428d2">Synchronize</a>·(cl_command_queue·queue)</td></tr>240 <tr·class="memitem:a0529a707250f9931f945ec49d4e428d2"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01141.html#a0529a707250f9931f945ec49d4e428d2">Synchronize</a>·(cl_command_queue·queue)</td></tr>
241 <tr·class="separator:a0529a707250f9931f945ec49d4e428d2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>241 <tr·class="separator:a0529a707250f9931f945ec49d4e428d2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
242 </table>242 </table>
243 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>243 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
244 <div·class="textblock">244 <div·class="textblock">
245 <p·class="definition">Definition·at·line·<a·class="el"·href="a00803_source.html#l00100">100</a>·of·file·<a·class="el"·href="a00803_source.html">clEvaluator.h</a>.</p>245 <p·class="definition">Definition·at·line·<a·class="el"·href="a00785_source.html#l00100">100</a>·of·file·<a·class="el"·href="a00785_source.html">clEvaluator.h</a>.</p>
246 </div><h2·class="groupheader">Member·Typedef·Documentation</h2>246 </div><h2·class="groupheader">Member·Typedef·Documentation</h2>
247 <a·id="a2c24b70c9312d8dff3fecb9ddea52c44"·name="a2c24b70c9312d8dff3fecb9ddea52c44"></a>247 <a·id="a2c24b70c9312d8dff3fecb9ddea52c44"·name="a2c24b70c9312d8dff3fecb9ddea52c44"></a>
248 <h2·class="memtitle"><span·class="permalink"><a·href="#a2c24b70c9312d8dff3fecb9ddea52c44">&#9670;&nbsp;</a></span>Instantiatable</h2>248 <h2·class="memtitle"><span·class="permalink"><a·href="#a2c24b70c9312d8dff3fecb9ddea52c44">&#9670;&nbsp;</a></span>Instantiatable</h2>
  
249 <div·class="memitem">249 <div·class="memitem">
250 <div·class="memproto">250 <div·class="memproto">
251 ······<table·class="memname">251 ······<table·class="memname">
252 ········<tr>252 ········<tr>
253 ··········<td·class="memname">typedef·bool·<a·class="el"·href="a01141.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a></td>253 ··········<td·class="memname">typedef·bool·<a·class="el"·href="a01141.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a></td>
254 ········</tr>254 ········</tr>
255 ······</table>255 ······</table>
256 </div><div·class="memdoc">256 </div><div·class="memdoc">
  
257 <p·class="definition">Definition·at·line·<a·class="el"·href="a00803_source.html#l00102">102</a>·of·file·<a·class="el"·href="a00803_source.html">clEvaluator.h</a>.</p>257 <p·class="definition">Definition·at·line·<a·class="el"·href="a00785_source.html#l00102">102</a>·of·file·<a·class="el"·href="a00785_source.html">clEvaluator.h</a>.</p>
  
258 </div>258 </div>
259 </div>259 </div>
260 <h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>260 <h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
261 <a·id="adbb0aafb7db3284f164499e8007c4cac"·name="adbb0aafb7db3284f164499e8007c4cac"></a>261 <a·id="adbb0aafb7db3284f164499e8007c4cac"·name="adbb0aafb7db3284f164499e8007c4cac"></a>
262 <h2·class="memtitle"><span·class="permalink"><a·href="#adbb0aafb7db3284f164499e8007c4cac">&#9670;&nbsp;</a></span>CLEvaluator()</h2>262 <h2·class="memtitle"><span·class="permalink"><a·href="#adbb0aafb7db3284f164499e8007c4cac">&#9670;&nbsp;</a></span>CLEvaluator()</h2>
  
Offset 445, 15 lines modifiedOffset 445, 15 lines modified
445 ··</td>445 ··</td>
446 ··<td·class="mlabels-right">446 ··<td·class="mlabels-right">
447 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>447 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>
448 ··</tr>448 ··</tr>
449 </table>449 </table>
450 </div><div·class="memdoc">450 </div><div·class="memdoc">
  
451 <p·class="definition">Definition·at·line·<a·class="el"·href="a00803_source.html#l00145">145</a>·of·file·<a·class="el"·href="a00803_source.html">clEvaluator.h</a>.</p>451 <p·class="definition">Definition·at·line·<a·class="el"·href="a00785_source.html#l00145">145</a>·of·file·<a·class="el"·href="a00785_source.html">clEvaluator.h</a>.</p>
  
452 </div>452 </div>
453 </div>453 </div>
454 <a·id="a49cef5f95d8dec6c11fc1dd62dcd7045"·name="a49cef5f95d8dec6c11fc1dd62dcd7045"></a>454 <a·id="a49cef5f95d8dec6c11fc1dd62dcd7045"·name="a49cef5f95d8dec6c11fc1dd62dcd7045"></a>
455 <h2·class="memtitle"><span·class="permalink"><a·href="#a49cef5f95d8dec6c11fc1dd62dcd7045">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[2/4]</span></h2>455 <h2·class="memtitle"><span·class="permalink"><a·href="#a49cef5f95d8dec6c11fc1dd62dcd7045">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[2/4]</span></h2>
  
456 <div·class="memitem">456 <div·class="memitem">
Offset 521, 15 lines modifiedOffset 521, 15 lines modified
521 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>521 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>
522 ··</tr>522 ··</tr>
523 </table>523 </table>
524 </div><div·class="memdoc">524 </div><div·class="memdoc">
  
525 <p>Generic·creator·template.·</p>525 <p>Generic·creator·template.·</p>
  
526 <p·class="definition">Definition·at·line·<a·class="el"·href="a00803_source.html#l00131">131</a>·of·file·<a·class="el"·href="a00803_source.html">clEvaluator.h</a>.</p>526 <p·class="definition">Definition·at·line·<a·class="el"·href="a00785_source.html#l00131">131</a>·of·file·<a·class="el"·href="a00785_source.html">clEvaluator.h</a>.</p>
  
527 </div>527 </div>
528 </div>528 </div>
529 <a·id="a1243e4560da0f71a3dcd290772548d98"·name="a1243e4560da0f71a3dcd290772548d98"></a>529 <a·id="a1243e4560da0f71a3dcd290772548d98"·name="a1243e4560da0f71a3dcd290772548d98"></a>
530 <h2·class="memtitle"><span·class="permalink"><a·href="#a1243e4560da0f71a3dcd290772548d98">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[3/4]</span></h2>530 <h2·class="memtitle"><span·class="permalink"><a·href="#a1243e4560da0f71a3dcd290772548d98">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[3/4]</span></h2>
  
531 <div·class="memitem">531 <div·class="memitem">
Offset 583, 15 lines modifiedOffset 583, 15 lines modified
583 ··</td>583 ··</td>
584 ··<td·class="mlabels-right">584 ··<td·class="mlabels-right">
585 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>585 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>
586 ··</tr>586 ··</tr>
587 </table>587 </table>
588 </div><div·class="memdoc">588 </div><div·class="memdoc">
  
589 <p·class="definition">Definition·at·line·<a·class="el"·href="a00803_source.html#l00116">116</a>·of·file·<a·class="el"·href="a00803_source.html">clEvaluator.h</a>.</p>589 <p·class="definition">Definition·at·line·<a·class="el"·href="a00785_source.html#l00116">116</a>·of·file·<a·class="el"·href="a00785_source.html">clEvaluator.h</a>.</p>
  
590 </div>590 </div>
591 </div>591 </div>
592 <a·id="a3a2faa1170cedd851fea7266e0ff7eda"·name="a3a2faa1170cedd851fea7266e0ff7eda"></a>592 <a·id="a3a2faa1170cedd851fea7266e0ff7eda"·name="a3a2faa1170cedd851fea7266e0ff7eda"></a>
593 <h2·class="memtitle"><span·class="permalink"><a·href="#a3a2faa1170cedd851fea7266e0ff7eda">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[4/4]</span></h2>593 <h2·class="memtitle"><span·class="permalink"><a·href="#a3a2faa1170cedd851fea7266e0ff7eda">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[4/4]</span></h2>
  
594 <div·class="memitem">594 <div·class="memitem">
Offset 641, 15 lines modifiedOffset 641, 15 lines modified
641 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>641 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>
642 ··</tr>642 ··</tr>
643 </table>643 </table>
644 </div><div·class="memdoc">644 </div><div·class="memdoc">
  
645 <p>Generic·creator·template.·</p>645 <p>Generic·creator·template.·</p>
  
646 <p·class="definition">Definition·at·line·<a·class="el"·href="a00803_source.html#l00106">106</a>·of·file·<a·class="el"·href="a00803_source.html">clEvaluator.h</a>.</p>646 <p·class="definition">Definition·at·line·<a·class="el"·href="a00785_source.html#l00106">106</a>·of·file·<a·class="el"·href="a00785_source.html">clEvaluator.h</a>.</p>
  
647 </div>647 </div>
648 </div>648 </div>
649 <a·id="a4d6d90d5c4b0237cbeab58062dbdf5c8"·name="a4d6d90d5c4b0237cbeab58062dbdf5c8"></a>649 <a·id="a4d6d90d5c4b0237cbeab58062dbdf5c8"·name="a4d6d90d5c4b0237cbeab58062dbdf5c8"></a>
650 <h2·class="memtitle"><span·class="permalink"><a·href="#a4d6d90d5c4b0237cbeab58062dbdf5c8">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[1/8]</span></h2>650 <h2·class="memtitle"><span·class="permalink"><a·href="#a4d6d90d5c4b0237cbeab58062dbdf5c8">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[1/8]</span></h2>
  
651 <div·class="memitem">651 <div·class="memitem">
Offset 1088, 15 lines modifiedOffset 1088, 15 lines modified
1088 ····<tr><td·class="paramname">numStartEvents</td><td>the·number·of·events·in·the·array·pointed·to·by·startEvents.</td></tr>1088 ····<tr><td·class="paramname">numStartEvents</td><td>the·number·of·events·in·the·array·pointed·to·by·startEvents.</td></tr>
1089 ····<tr><td·class="paramname">startEvents</td><td>points·to·an·array·of·cl_event·which·will·determine·when·it·is·safe·for·the·OpenCL·device·to·begin·work·or·NULL·if·it·can·begin·immediately.</td></tr>1089 ····<tr><td·class="paramname">startEvents</td><td>points·to·an·array·of·cl_event·which·will·determine·when·it·is·safe·for·the·OpenCL·device·to·begin·work·or·NULL·if·it·can·begin·immediately.</td></tr>
1090 ····<tr><td·class="paramname">endEvent</td><td>pointer·to·a·cl_event·which·will·receive·a·copy·of·the·cl_event·which·indicates·when·all·work·for·this·call·has·completed.·This·cl_event·has·an·incremented·reference·count·and·should·be·released·via·clReleaseEvent().·NULL·if·not·required.·</td></tr>1090 ····<tr><td·class="paramname">endEvent</td><td>pointer·to·a·cl_event·which·will·receive·a·copy·of·the·cl_event·which·indicates·when·all·work·for·this·call·has·completed.·This·cl_event·has·an·incremented·reference·count·and·should·be·released·via·clReleaseEvent().·NULL·if·not·required.·</td></tr>
1091 ··</table>1091 ··</table>
1092 ··</dd>1092 ··</dd>
1093 </dl>1093 </dl>
  
1094 <p·class="definition">Definition·at·line·<a·class="el"·href="a00803_source.html#l01125">1125</a>·of·file·<a·class="el"·href="a00803_source.html">clEvaluator.h</a>.</p>1094 <p·class="definition">Definition·at·line·<a·class="el"·href="a00785_source.html#l01125">1125</a>·of·file·<a·class="el"·href="a00785_source.html">clEvaluator.h</a>.</p>
  
1095 </div>1095 </div>
1096 </div>1096 </div>
1097 <a·id="a28ceea444575e321b0e98cb33fd0ed61"·name="a28ceea444575e321b0e98cb33fd0ed61"></a>1097 <a·id="a28ceea444575e321b0e98cb33fd0ed61"·name="a28ceea444575e321b0e98cb33fd0ed61"></a>
1098 <h2·class="memtitle"><span·class="permalink"><a·href="#a28ceea444575e321b0e98cb33fd0ed61">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[4/8]</span></h2>1098 <h2·class="memtitle"><span·class="permalink"><a·href="#a28ceea444575e321b0e98cb33fd0ed61">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[4/8]</span></h2>
  
1099 <div·class="memitem">1099 <div·class="memitem">
Offset 1261, 15 lines modifiedOffset 1261, 15 lines modified
1261 ····<tr><td·class="paramname">numStartEvents</td><td>the·number·of·events·in·the·array·pointed·to·by·startEvents.</td></tr>1261 ····<tr><td·class="paramname">numStartEvents</td><td>the·number·of·events·in·the·array·pointed·to·by·startEvents.</td></tr>
Max diff block lines reached; 31385/40110 bytes (78.25%) of diff not shown.
16.9 KB
./usr/share/doc/opensubdiv/doxy_html/a01145.html
    
Offset 93, 15 lines modifiedOffset 93, 15 lines modified
93 ··<div·class="headertitle"><div·class="title">CLPatchTable·Class·Reference</div></div>93 ··<div·class="headertitle"><div·class="title">CLPatchTable·Class·Reference</div></div>
94 </div><!--header-->94 </div><!--header-->
95 <div·class="contents">95 <div·class="contents">
  
96 <p>CL·patch·table.··96 <p>CL·patch·table.··
97 ·<a·href="a01145.html#details">More...</a></p>97 ·<a·href="a01145.html#details">More...</a></p>
  
98 <p><code>#include·&lt;<a·class="el"·href="a00800_source.html">clPatchTable.h</a>&gt;</code></p>98 <p><code>#include·&lt;<a·class="el"·href="a00782_source.html">clPatchTable.h</a>&gt;</code></p>
99 <div·class="dynheader">99 <div·class="dynheader">
100 Inheritance·diagram·for·CLPatchTable:</div>100 Inheritance·diagram·for·CLPatchTable:</div>
101 <div·class="dyncontent">101 <div·class="dyncontent">
102 ·<div·class="center">102 ·<div·class="center">
103 ··<img·src="a01145.png"·alt=""/>103 ··<img·src="a01145.png"·alt=""/>
104 ·</div></div>104 ·</div></div>
105 <table·class="memberdecls">105 <table·class="memberdecls">
Offset 174, 15 lines modifiedOffset 174, 15 lines modified
174 <tr·class="separator:af22c38b9eb5a91397769c40d36a303d3"><td·class="memSeparator"·colspan="2">&#160;</td></tr>174 <tr·class="separator:af22c38b9eb5a91397769c40d36a303d3"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
175 </table>175 </table>
176 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>176 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
177 <div·class="textblock"><p·>CL·patch·table.·</p>177 <div·class="textblock"><p·>CL·patch·table.·</p>
178 <p·>This·class·is·a·CL·buffer·representation·of·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">Far::PatchTable</a>.</p>178 <p·>This·class·is·a·CL·buffer·representation·of·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">Far::PatchTable</a>.</p>
179 <p·><a·class="el"·href="a01141.html">CLEvaluator</a>·consumes·this·table·to·evaluate·on·the·patches.·</p>179 <p·><a·class="el"·href="a01141.html">CLEvaluator</a>·consumes·this·table·to·evaluate·on·the·patches.·</p>
  
180 <p·class="definition">Definition·at·line·<a·class="el"·href="a00800_source.html#l00052">52</a>·of·file·<a·class="el"·href="a00800_source.html">clPatchTable.h</a>.</p>180 <p·class="definition">Definition·at·line·<a·class="el"·href="a00782_source.html#l00052">52</a>·of·file·<a·class="el"·href="a00782_source.html">clPatchTable.h</a>.</p>
181 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>181 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
182 <a·id="a214a812acfe800e62954b45e2f2ee15d"·name="a214a812acfe800e62954b45e2f2ee15d"></a>182 <a·id="a214a812acfe800e62954b45e2f2ee15d"·name="a214a812acfe800e62954b45e2f2ee15d"></a>
183 <h2·class="memtitle"><span·class="permalink"><a·href="#a214a812acfe800e62954b45e2f2ee15d">&#9670;&nbsp;</a></span>~CLPatchTable()</h2>183 <h2·class="memtitle"><span·class="permalink"><a·href="#a214a812acfe800e62954b45e2f2ee15d">&#9670;&nbsp;</a></span>~CLPatchTable()</h2>
  
184 <div·class="memitem">184 <div·class="memitem">
185 <div·class="memproto">185 <div·class="memproto">
186 ······<table·class="memname">186 ······<table·class="memname">
Offset 329, 15 lines modifiedOffset 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·class="mlabel">static</span></span>··</td>331 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</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="a00800_source.html#l00059">59</a>·of·file·<a·class="el"·href="a00800_source.html">clPatchTable.h</a>.</p>335 <p·class="definition">Definition·at·line·<a·class="el"·href="a00782_source.html#l00059">59</a>·of·file·<a·class="el"·href="a00782_source.html">clPatchTable.h</a>.</p>
  
336 </div>336 </div>
337 </div>337 </div>
338 <a·id="a5956886f3c08959eade5d92c33136ad5"·name="a5956886f3c08959eade5d92c33136ad5"></a>338 <a·id="a5956886f3c08959eade5d92c33136ad5"·name="a5956886f3c08959eade5d92c33136ad5"></a>
339 <h2·class="memtitle"><span·class="permalink"><a·href="#a5956886f3c08959eade5d92c33136ad5">&#9670;&nbsp;</a></span>GetFVarPatchArrayBuffer()</h2>339 <h2·class="memtitle"><span·class="permalink"><a·href="#a5956886f3c08959eade5d92c33136ad5">&#9670;&nbsp;</a></span>GetFVarPatchArrayBuffer()</h2>
  
340 <div·class="memitem">340 <div·class="memitem">
Offset 359, 15 lines modifiedOffset 359, 15 lines modified
359 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>359 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
360 ··</tr>360 ··</tr>
361 </table>361 </table>
362 </div><div·class="memdoc">362 </div><div·class="memdoc">
  
363 <p>Returns·the·CL·memory·of·the·array·of·<a·class="el"·href="a01317.html">Osd::PatchArray</a>·buffer.·</p>363 <p>Returns·the·CL·memory·of·the·array·of·<a·class="el"·href="a01317.html">Osd::PatchArray</a>·buffer.·</p>
  
364 <p·class="definition">Definition·at·line·<a·class="el"·href="a00800_source.html#l00086">86</a>·of·file·<a·class="el"·href="a00800_source.html">clPatchTable.h</a>.</p>364 <p·class="definition">Definition·at·line·<a·class="el"·href="a00782_source.html#l00086">86</a>·of·file·<a·class="el"·href="a00782_source.html">clPatchTable.h</a>.</p>
  
365 </div>365 </div>
366 </div>366 </div>
367 <a·id="a72aca2fb5c3e3f40ef9109a827c3b28f"·name="a72aca2fb5c3e3f40ef9109a827c3b28f"></a>367 <a·id="a72aca2fb5c3e3f40ef9109a827c3b28f"·name="a72aca2fb5c3e3f40ef9109a827c3b28f"></a>
368 <h2·class="memtitle"><span·class="permalink"><a·href="#a72aca2fb5c3e3f40ef9109a827c3b28f">&#9670;&nbsp;</a></span>GetFVarPatchIndexBuffer()</h2>368 <h2·class="memtitle"><span·class="permalink"><a·href="#a72aca2fb5c3e3f40ef9109a827c3b28f">&#9670;&nbsp;</a></span>GetFVarPatchIndexBuffer()</h2>
  
369 <div·class="memitem">369 <div·class="memitem">
Offset 389, 15 lines modifiedOffset 389, 15 lines modified
389 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>389 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
390 ··</tr>390 ··</tr>
391 </table>391 </table>
392 </div><div·class="memdoc">392 </div><div·class="memdoc">
  
393 <p>Returns·the·CL·memory·of·the·face-varying·control·vertices.·</p>393 <p>Returns·the·CL·memory·of·the·face-varying·control·vertices.·</p>
  
394 <p·class="definition">Definition·at·line·<a·class="el"·href="a00800_source.html#l00089">89</a>·of·file·<a·class="el"·href="a00800_source.html">clPatchTable.h</a>.</p>394 <p·class="definition">Definition·at·line·<a·class="el"·href="a00782_source.html#l00089">89</a>·of·file·<a·class="el"·href="a00782_source.html">clPatchTable.h</a>.</p>
  
395 </div>395 </div>
396 </div>396 </div>
397 <a·id="ad7ab95a3f811625b4d9ee2c1b6cac6af"·name="ad7ab95a3f811625b4d9ee2c1b6cac6af"></a>397 <a·id="ad7ab95a3f811625b4d9ee2c1b6cac6af"·name="ad7ab95a3f811625b4d9ee2c1b6cac6af"></a>
398 <h2·class="memtitle"><span·class="permalink"><a·href="#ad7ab95a3f811625b4d9ee2c1b6cac6af">&#9670;&nbsp;</a></span>GetFVarPatchParamBuffer()</h2>398 <h2·class="memtitle"><span·class="permalink"><a·href="#ad7ab95a3f811625b4d9ee2c1b6cac6af">&#9670;&nbsp;</a></span>GetFVarPatchParamBuffer()</h2>
  
399 <div·class="memitem">399 <div·class="memitem">
Offset 419, 15 lines modifiedOffset 419, 15 lines modified
419 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>419 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
420 ··</tr>420 ··</tr>
421 </table>421 </table>
422 </div><div·class="memdoc">422 </div><div·class="memdoc">
  
423 <p>Returns·the·CL·memory·of·the·array·of·<a·class="el"·href="a01321.html">Osd::PatchParam</a>·buffer.·</p>423 <p>Returns·the·CL·memory·of·the·array·of·<a·class="el"·href="a01321.html">Osd::PatchParam</a>·buffer.·</p>
  
424 <p·class="definition">Definition·at·line·<a·class="el"·href="a00800_source.html#l00092">92</a>·of·file·<a·class="el"·href="a00800_source.html">clPatchTable.h</a>.</p>424 <p·class="definition">Definition·at·line·<a·class="el"·href="a00782_source.html#l00092">92</a>·of·file·<a·class="el"·href="a00782_source.html">clPatchTable.h</a>.</p>
  
425 </div>425 </div>
426 </div>426 </div>
427 <a·id="aa9be824a572029f3ec1e0c0d6cfecd77"·name="aa9be824a572029f3ec1e0c0d6cfecd77"></a>427 <a·id="aa9be824a572029f3ec1e0c0d6cfecd77"·name="aa9be824a572029f3ec1e0c0d6cfecd77"></a>
428 <h2·class="memtitle"><span·class="permalink"><a·href="#aa9be824a572029f3ec1e0c0d6cfecd77">&#9670;&nbsp;</a></span>GetNumFVarChannels()</h2>428 <h2·class="memtitle"><span·class="permalink"><a·href="#aa9be824a572029f3ec1e0c0d6cfecd77">&#9670;&nbsp;</a></span>GetNumFVarChannels()</h2>
  
429 <div·class="memitem">429 <div·class="memitem">
Offset 448, 15 lines modifiedOffset 448, 15 lines modified
448 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>448 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
449 ··</tr>449 ··</tr>
450 </table>450 </table>
451 </div><div·class="memdoc">451 </div><div·class="memdoc">
  
452 <p>Returns·the·number·of·face-varying·channel·buffers.·</p>452 <p>Returns·the·number·of·face-varying·channel·buffers.·</p>
  
453 <p·class="definition">Definition·at·line·<a·class="el"·href="a00800_source.html#l00083">83</a>·of·file·<a·class="el"·href="a00800_source.html">clPatchTable.h</a>.</p>453 <p·class="definition">Definition·at·line·<a·class="el"·href="a00782_source.html#l00083">83</a>·of·file·<a·class="el"·href="a00782_source.html">clPatchTable.h</a>.</p>
  
454 </div>454 </div>
455 </div>455 </div>
456 <a·id="a693751f5a6c94b134873f5c524fd999a"·name="a693751f5a6c94b134873f5c524fd999a"></a>456 <a·id="a693751f5a6c94b134873f5c524fd999a"·name="a693751f5a6c94b134873f5c524fd999a"></a>
457 <h2·class="memtitle"><span·class="permalink"><a·href="#a693751f5a6c94b134873f5c524fd999a">&#9670;&nbsp;</a></span>GetPatchArrayBuffer()</h2>457 <h2·class="memtitle"><span·class="permalink"><a·href="#a693751f5a6c94b134873f5c524fd999a">&#9670;&nbsp;</a></span>GetPatchArrayBuffer()</h2>
  
458 <div·class="memitem">458 <div·class="memitem">
Offset 477, 15 lines modifiedOffset 477, 15 lines modified
477 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>477 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
478 ··</tr>478 ··</tr>
479 </table>479 </table>
480 </div><div·class="memdoc">480 </div><div·class="memdoc">
  
481 <p>Returns·the·CL·memory·of·the·array·of·<a·class="el"·href="a01317.html">Osd::PatchArray</a>·buffer.·</p>481 <p>Returns·the·CL·memory·of·the·array·of·<a·class="el"·href="a01317.html">Osd::PatchArray</a>·buffer.·</p>
  
482 <p·class="definition">Definition·at·line·<a·class="el"·href="a00800_source.html#l00068">68</a>·of·file·<a·class="el"·href="a00800_source.html">clPatchTable.h</a>.</p>482 <p·class="definition">Definition·at·line·<a·class="el"·href="a00782_source.html#l00068">68</a>·of·file·<a·class="el"·href="a00782_source.html">clPatchTable.h</a>.</p>
  
483 </div>483 </div>
484 </div>484 </div>
485 <a·id="abf29cd5f256ac52b7afdc6d87f915c4b"·name="abf29cd5f256ac52b7afdc6d87f915c4b"></a>485 <a·id="abf29cd5f256ac52b7afdc6d87f915c4b"·name="abf29cd5f256ac52b7afdc6d87f915c4b"></a>
486 <h2·class="memtitle"><span·class="permalink"><a·href="#abf29cd5f256ac52b7afdc6d87f915c4b">&#9670;&nbsp;</a></span>GetPatchIndexBuffer()</h2>486 <h2·class="memtitle"><span·class="permalink"><a·href="#abf29cd5f256ac52b7afdc6d87f915c4b">&#9670;&nbsp;</a></span>GetPatchIndexBuffer()</h2>
  
487 <div·class="memitem">487 <div·class="memitem">
Max diff block lines reached; 10190/17162 bytes (59.38%) of diff not shown.
5.27 KB
./usr/share/doc/opensubdiv/doxy_html/a01149.html
    
Offset 92, 15 lines modifiedOffset 92, 15 lines modified
92 ··<div·class="headertitle"><div·class="title">CLVertexBuffer·Class·Reference</div></div>92 ··<div·class="headertitle"><div·class="title">CLVertexBuffer·Class·Reference</div></div>
93 </div><!--header-->93 </div><!--header-->
94 <div·class="contents">94 <div·class="contents">
  
95 <p>Concrete·vertex·buffer·class·for·OpenCL·subdivision.··95 <p>Concrete·vertex·buffer·class·for·OpenCL·subdivision.··
96 ·<a·href="a01149.html#details">More...</a></p>96 ·<a·href="a01149.html#details">More...</a></p>
  
97 <p><code>#include·&lt;<a·class="el"·href="a00797_source.html">clVertexBuffer.h</a>&gt;</code></p>97 <p><code>#include·&lt;<a·class="el"·href="a00779_source.html">clVertexBuffer.h</a>&gt;</code></p>
98 <table·class="memberdecls">98 <table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
100 Public·Member·Functions</h2></td></tr>100 Public·Member·Functions</h2></td></tr>
101 <tr·class="memitem:a4801ba3ea81294d3e7e3da970863896e"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01149.html#a4801ba3ea81294d3e7e3da970863896e">~CLVertexBuffer</a>·()</td></tr>101 <tr·class="memitem:a4801ba3ea81294d3e7e3da970863896e"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01149.html#a4801ba3ea81294d3e7e3da970863896e">~CLVertexBuffer</a>·()</td></tr>
102 <tr·class="memdesc:a4801ba3ea81294d3e7e3da970863896e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Destructor.··<a·href="a01149.html#a4801ba3ea81294d3e7e3da970863896e">More...</a><br·/></td></tr>102 <tr·class="memdesc:a4801ba3ea81294d3e7e3da970863896e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Destructor.··<a·href="a01149.html#a4801ba3ea81294d3e7e3da970863896e">More...</a><br·/></td></tr>
103 <tr·class="separator:a4801ba3ea81294d3e7e3da970863896e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:a4801ba3ea81294d3e7e3da970863896e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 <tr·class="memitem:a7259d1296f30e13d171cd892708d8d0a"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01149.html#a7259d1296f30e13d171cd892708d8d0a">UpdateData</a>·(const·float·*src,·int·startVertex,·int·numVertices,·cl_command_queue·clQueue,·cl_event·*startEvents=NULL,·unsigned·int·numStartEvents=0,·cl_event·*endEvent=NULL)</td></tr>104 <tr·class="memitem:a7259d1296f30e13d171cd892708d8d0a"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01149.html#a7259d1296f30e13d171cd892708d8d0a">UpdateData</a>·(const·float·*src,·int·startVertex,·int·numVertices,·cl_command_queue·clQueue,·cl_event·*startEvents=NULL,·unsigned·int·numStartEvents=0,·cl_event·*endEvent=NULL)</td></tr>
Offset 135, 15 lines modifiedOffset 135, 15 lines modified
135 <tr·class="memitem:a7ff15d15ad0fe31e5cb9a1e6c19f09b0"><td·class="memItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01149.html#a7ff15d15ad0fe31e5cb9a1e6c19f09b0">allocate</a>·(cl_context·clContext)</td></tr>135 <tr·class="memitem:a7ff15d15ad0fe31e5cb9a1e6c19f09b0"><td·class="memItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01149.html#a7ff15d15ad0fe31e5cb9a1e6c19f09b0">allocate</a>·(cl_context·clContext)</td></tr>
136 <tr·class="separator:a7ff15d15ad0fe31e5cb9a1e6c19f09b0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>136 <tr·class="separator:a7ff15d15ad0fe31e5cb9a1e6c19f09b0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
137 </table>137 </table>
138 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>138 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
139 <div·class="textblock"><p·>Concrete·vertex·buffer·class·for·OpenCL·subdivision.·</p>139 <div·class="textblock"><p·>Concrete·vertex·buffer·class·for·OpenCL·subdivision.·</p>
140 <p·><a·class="el"·href="a01149.html"·title="Concrete·vertex·buffer·class·for·OpenCL·subdivision.">CLVertexBuffer</a>·implements·CLVertexBufferInterface.·An·instance·of·this·buffer·class·can·be·passed·to·<a·class="el"·href="a01141.html">CLEvaluator</a>·</p>140 <p·><a·class="el"·href="a01149.html"·title="Concrete·vertex·buffer·class·for·OpenCL·subdivision.">CLVertexBuffer</a>·implements·CLVertexBufferInterface.·An·instance·of·this·buffer·class·can·be·passed·to·<a·class="el"·href="a01141.html">CLEvaluator</a>·</p>
  
141 <p·class="definition">Definition·at·line·<a·class="el"·href="a00797_source.html#l00042">42</a>·of·file·<a·class="el"·href="a00797_source.html">clVertexBuffer.h</a>.</p>141 <p·class="definition">Definition·at·line·<a·class="el"·href="a00779_source.html#l00042">42</a>·of·file·<a·class="el"·href="a00779_source.html">clVertexBuffer.h</a>.</p>
142 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>142 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
143 <a·id="a4801ba3ea81294d3e7e3da970863896e"·name="a4801ba3ea81294d3e7e3da970863896e"></a>143 <a·id="a4801ba3ea81294d3e7e3da970863896e"·name="a4801ba3ea81294d3e7e3da970863896e"></a>
144 <h2·class="memtitle"><span·class="permalink"><a·href="#a4801ba3ea81294d3e7e3da970863896e">&#9670;&nbsp;</a></span>~CLVertexBuffer()</h2>144 <h2·class="memtitle"><span·class="permalink"><a·href="#a4801ba3ea81294d3e7e3da970863896e">&#9670;&nbsp;</a></span>~CLVertexBuffer()</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 332, 15 lines modifiedOffset 332, 15 lines modified
332 ··</td>332 ··</td>
333 ··<td·class="mlabels-right">333 ··<td·class="mlabels-right">
334 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>334 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>
335 ··</tr>335 ··</tr>
336 </table>336 </table>
337 </div><div·class="memdoc">337 </div><div·class="memdoc">
  
338 <p·class="definition">Definition·at·line·<a·class="el"·href="a00797_source.html#l00049">49</a>·of·file·<a·class="el"·href="a00797_source.html">clVertexBuffer.h</a>.</p>338 <p·class="definition">Definition·at·line·<a·class="el"·href="a00779_source.html#l00049">49</a>·of·file·<a·class="el"·href="a00779_source.html">clVertexBuffer.h</a>.</p>
  
339 </div>339 </div>
340 </div>340 </div>
341 <a·id="a77cee40767fd4936f20a8f9d9d9ea625"·name="a77cee40767fd4936f20a8f9d9d9ea625"></a>341 <a·id="a77cee40767fd4936f20a8f9d9d9ea625"·name="a77cee40767fd4936f20a8f9d9d9ea625"></a>
342 <h2·class="memtitle"><span·class="permalink"><a·href="#a77cee40767fd4936f20a8f9d9d9ea625">&#9670;&nbsp;</a></span>GetNumElements()</h2>342 <h2·class="memtitle"><span·class="permalink"><a·href="#a77cee40767fd4936f20a8f9d9d9ea625">&#9670;&nbsp;</a></span>GetNumElements()</h2>
  
343 <div·class="memitem">343 <div·class="memitem">
Offset 497, 20 lines modifiedOffset 497, 20 lines modified
497 ··</td>497 ··</td>
498 ··<td·class="mlabels-right">498 ··<td·class="mlabels-right">
499 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>499 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
500 ··</tr>500 ··</tr>
501 </table>501 </table>
502 </div><div·class="memdoc">502 </div><div·class="memdoc">
  
503 <p·class="definition">Definition·at·line·<a·class="el"·href="a00797_source.html#l00063">63</a>·of·file·<a·class="el"·href="a00797_source.html">clVertexBuffer.h</a>.</p>503 <p·class="definition">Definition·at·line·<a·class="el"·href="a00779_source.html#l00063">63</a>·of·file·<a·class="el"·href="a00779_source.html">clVertexBuffer.h</a>.</p>
  
504 </div>504 </div>
505 </div>505 </div>
506 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>506 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
507 <li>opensubdiv/osd/<a·class="el"·href="a00797_source.html">clVertexBuffer.h</a></li>507 <li>opensubdiv/osd/<a·class="el"·href="a00779_source.html">clVertexBuffer.h</a></li>
508 </ul>508 </ul>
509 </div><!--·contents·-->509 </div><!--·contents·-->
510 </div><!--·doc-content·-->510 </div><!--·doc-content·-->
511 <!--·start·footer·part·-->511 <!--·start·footer·part·-->
512 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->512 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
513 ··<ul>513 ··<ul>
514 ····<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="a01149.html">CLVertexBuffer</a></li>514 ····<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="a01149.html">CLVertexBuffer</a></li>
4.81 KB
./usr/share/doc/opensubdiv/doxy_html/a01153.html
    
Offset 92, 15 lines modifiedOffset 92, 15 lines modified
92 ··<div·class="headertitle"><div·class="title">CpuD3D11VertexBuffer·Class·Reference</div></div>92 ··<div·class="headertitle"><div·class="title">CpuD3D11VertexBuffer·Class·Reference</div></div>
93 </div><!--header-->93 </div><!--header-->
94 <div·class="contents">94 <div·class="contents">
  
95 <p>Concrete·vertex·buffer·class·for·Cpu·subdivision·and·DirectX·drawing.··95 <p>Concrete·vertex·buffer·class·for·Cpu·subdivision·and·DirectX·drawing.··
96 ·<a·href="a01153.html#details">More...</a></p>96 ·<a·href="a01153.html#details">More...</a></p>
  
97 <p><code>#include·&lt;<a·class="el"·href="a00845_source.html">cpuD3D11VertexBuffer.h</a>&gt;</code></p>97 <p><code>#include·&lt;<a·class="el"·href="a00824_source.html">cpuD3D11VertexBuffer.h</a>&gt;</code></p>
98 <table·class="memberdecls">98 <table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
100 Public·Member·Functions</h2></td></tr>100 Public·Member·Functions</h2></td></tr>
101 <tr·class="memitem:ae6f29f48db71c5ed845eb6abe085af91"><td·class="memItemLeft"·align="right"·valign="top">virtual&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01153.html#ae6f29f48db71c5ed845eb6abe085af91">~CpuD3D11VertexBuffer</a>·()</td></tr>101 <tr·class="memitem:ae6f29f48db71c5ed845eb6abe085af91"><td·class="memItemLeft"·align="right"·valign="top">virtual&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01153.html#ae6f29f48db71c5ed845eb6abe085af91">~CpuD3D11VertexBuffer</a>·()</td></tr>
102 <tr·class="memdesc:ae6f29f48db71c5ed845eb6abe085af91"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Destructor.··<a·href="a01153.html#ae6f29f48db71c5ed845eb6abe085af91">More...</a><br·/></td></tr>102 <tr·class="memdesc:ae6f29f48db71c5ed845eb6abe085af91"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Destructor.··<a·href="a01153.html#ae6f29f48db71c5ed845eb6abe085af91">More...</a><br·/></td></tr>
103 <tr·class="separator:ae6f29f48db71c5ed845eb6abe085af91"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:ae6f29f48db71c5ed845eb6abe085af91"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 <tr·class="memitem:a96601a091f8831823c4dd72b6c962f1b"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01153.html#a96601a091f8831823c4dd72b6c962f1b">UpdateData</a>·(const·float·*src,·int·startVertex,·int·numVertices,·void·*deviceContext=NULL)</td></tr>104 <tr·class="memitem:a96601a091f8831823c4dd72b6c962f1b"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01153.html#a96601a091f8831823c4dd72b6c962f1b">UpdateData</a>·(const·float·*src,·int·startVertex,·int·numVertices,·void·*deviceContext=NULL)</td></tr>
Offset 136, 15 lines modifiedOffset 136, 15 lines modified
136 <tr·class="separator:ae61b4ed6cc7cb69826cd0804c2d972b7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>136 <tr·class="separator:ae61b4ed6cc7cb69826cd0804c2d972b7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
137 </table>137 </table>
138 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>138 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
139 <div·class="textblock"><p·>Concrete·vertex·buffer·class·for·Cpu·subdivision·and·DirectX·drawing.·</p>139 <div·class="textblock"><p·>Concrete·vertex·buffer·class·for·Cpu·subdivision·and·DirectX·drawing.·</p>
140 <p·><a·class="el"·href="a01153.html"·title="Concrete·vertex·buffer·class·for·Cpu·subdivision·and·DirectX·drawing.">CpuD3D11VertexBuffer</a>·implements·CpuVertexBufferInterface·and·D3D11VertexBufferInterface.</p>140 <p·><a·class="el"·href="a01153.html"·title="Concrete·vertex·buffer·class·for·Cpu·subdivision·and·DirectX·drawing.">CpuD3D11VertexBuffer</a>·implements·CpuVertexBufferInterface·and·D3D11VertexBufferInterface.</p>
141 <p·>An·instance·of·this·buffer·class·can·be·passed·to·<a·class="el"·href="a01157.html">CpuEvaluator</a>.·</p>141 <p·>An·instance·of·this·buffer·class·can·be·passed·to·<a·class="el"·href="a01157.html">CpuEvaluator</a>.·</p>
  
142 <p·class="definition">Definition·at·line·<a·class="el"·href="a00845_source.html#l00048">48</a>·of·file·<a·class="el"·href="a00845_source.html">cpuD3D11VertexBuffer.h</a>.</p>142 <p·class="definition">Definition·at·line·<a·class="el"·href="a00824_source.html#l00048">48</a>·of·file·<a·class="el"·href="a00824_source.html">cpuD3D11VertexBuffer.h</a>.</p>
143 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>143 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
144 <a·id="ae6f29f48db71c5ed845eb6abe085af91"·name="ae6f29f48db71c5ed845eb6abe085af91"></a>144 <a·id="ae6f29f48db71c5ed845eb6abe085af91"·name="ae6f29f48db71c5ed845eb6abe085af91"></a>
145 <h2·class="memtitle"><span·class="permalink"><a·href="#ae6f29f48db71c5ed845eb6abe085af91">&#9670;&nbsp;</a></span>~CpuD3D11VertexBuffer()</h2>145 <h2·class="memtitle"><span·class="permalink"><a·href="#ae6f29f48db71c5ed845eb6abe085af91">&#9670;&nbsp;</a></span>~CpuD3D11VertexBuffer()</h2>
  
146 <div·class="memitem">146 <div·class="memitem">
147 <div·class="memproto">147 <div·class="memproto">
148 <table·class="mlabels">148 <table·class="mlabels">
Offset 295, 15 lines modifiedOffset 295, 15 lines modified
295 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>295 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
296 ··</tr>296 ··</tr>
297 </table>297 </table>
298 </div><div·class="memdoc">298 </div><div·class="memdoc">
  
299 <p>Returns·the·D3D11·buffer·object·(for·<a·class="el"·href="a01273.html">Osd::Mesh</a>·interface)·</p>299 <p>Returns·the·D3D11·buffer·object·(for·<a·class="el"·href="a01273.html">Osd::Mesh</a>·interface)·</p>
  
300 <p·class="definition">Definition·at·line·<a·class="el"·href="a00845_source.html#l00075">75</a>·of·file·<a·class="el"·href="a00845_source.html">cpuD3D11VertexBuffer.h</a>.</p>300 <p·class="definition">Definition·at·line·<a·class="el"·href="a00824_source.html#l00075">75</a>·of·file·<a·class="el"·href="a00824_source.html">cpuD3D11VertexBuffer.h</a>.</p>
  
301 </div>301 </div>
302 </div>302 </div>
303 <a·id="a00d85863962f5871f802164e2fba7acc"·name="a00d85863962f5871f802164e2fba7acc"></a>303 <a·id="a00d85863962f5871f802164e2fba7acc"·name="a00d85863962f5871f802164e2fba7acc"></a>
304 <h2·class="memtitle"><span·class="permalink"><a·href="#a00d85863962f5871f802164e2fba7acc">&#9670;&nbsp;</a></span>Create()</h2>304 <h2·class="memtitle"><span·class="permalink"><a·href="#a00d85863962f5871f802164e2fba7acc">&#9670;&nbsp;</a></span>Create()</h2>
  
305 <div·class="memitem">305 <div·class="memitem">
Offset 423, 15 lines modifiedOffset 423, 15 lines modified
423 ······</table>423 ······</table>
424 </div><div·class="memdoc">424 </div><div·class="memdoc">
425 <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>425 <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>
  
426 </div>426 </div>
427 </div>427 </div>
428 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>428 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
429 <li>opensubdiv/osd/<a·class="el"·href="a00845_source.html">cpuD3D11VertexBuffer.h</a></li>429 <li>opensubdiv/osd/<a·class="el"·href="a00824_source.html">cpuD3D11VertexBuffer.h</a></li>
430 </ul>430 </ul>
431 </div><!--·contents·-->431 </div><!--·contents·-->
432 </div><!--·doc-content·-->432 </div><!--·doc-content·-->
433 <!--·start·footer·part·-->433 <!--·start·footer·part·-->
434 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->434 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
435 ··<ul>435 ··<ul>
436 ····<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="a01153.html">CpuD3D11VertexBuffer</a></li>436 ····<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="a01153.html">CpuD3D11VertexBuffer</a></li>
18.0 KB
./usr/share/doc/opensubdiv/doxy_html/a01157.html
    
Offset 87, 15 lines modifiedOffset 87, 15 lines modified
87 ··<div·class="summary">87 ··<div·class="summary">
88 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;88 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
89 <a·href="a01154.html">List·of·all·members</a>··</div>89 <a·href="a01154.html">List·of·all·members</a>··</div>
90 ··<div·class="headertitle"><div·class="title">CpuEvaluator·Class·Reference</div></div>90 ··<div·class="headertitle"><div·class="title">CpuEvaluator·Class·Reference</div></div>
91 </div><!--header-->91 </div><!--header-->
92 <div·class="contents">92 <div·class="contents">
  
93 <p><code>#include·&lt;<a·class="el"·href="a00896_source.html">cpuEvaluator.h</a>&gt;</code></p>93 <p><code>#include·&lt;<a·class="el"·href="a00878_source.html">cpuEvaluator.h</a>&gt;</code></p>
94 <table·class="memberdecls">94 <table·class="memberdecls">
95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
96 Static·Public·Member·Functions</h2></td></tr>96 Static·Public·Member·Functions</h2></td></tr>
97 <tr·class="memitem:ae8e914fc701af498ea6c6244da408b94"><td·class="memTemplParams"·colspan="2">template&lt;typename·SRC_BUFFER·,·typename·DST_BUFFER·,·typename·STENCIL_TABLE·&gt;·</td></tr>97 <tr·class="memitem:ae8e914fc701af498ea6c6244da408b94"><td·class="memTemplParams"·colspan="2">template&lt;typename·SRC_BUFFER·,·typename·DST_BUFFER·,·typename·STENCIL_TABLE·&gt;·</td></tr>
98 <tr·class="memitem:ae8e914fc701af498ea6c6244da408b94"><td·class="memTemplItemLeft"·align="right"·valign="top">static·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01157.html#ae8e914fc701af498ea6c6244da408b94">EvalStencils</a>·(SRC_BUFFER·*srcBuffer,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;srcDesc,·DST_BUFFER·*dstBuffer,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;dstDesc,·STENCIL_TABLE·const·*stencilTable,·const·<a·class="el"·href="a01157.html">CpuEvaluator</a>·*instance=NULL,·void·*deviceContext=NULL)</td></tr>98 <tr·class="memitem:ae8e914fc701af498ea6c6244da408b94"><td·class="memTemplItemLeft"·align="right"·valign="top">static·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01157.html#ae8e914fc701af498ea6c6244da408b94">EvalStencils</a>·(SRC_BUFFER·*srcBuffer,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;srcDesc,·DST_BUFFER·*dstBuffer,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;dstDesc,·STENCIL_TABLE·const·*stencilTable,·const·<a·class="el"·href="a01157.html">CpuEvaluator</a>·*instance=NULL,·void·*deviceContext=NULL)</td></tr>
99 <tr·class="memdesc:ae8e914fc701af498ea6c6244da408b94"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Generic·static·eval·stencils·function.·This·function·has·a·same·signature·as·other·device·kernels·have·so·that·it·can·be·called·in·the·same·way·from·OsdMesh·template·interface.··<a·href="a01157.html#ae8e914fc701af498ea6c6244da408b94">More...</a><br·/></td></tr>99 <tr·class="memdesc:ae8e914fc701af498ea6c6244da408b94"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Generic·static·eval·stencils·function.·This·function·has·a·same·signature·as·other·device·kernels·have·so·that·it·can·be·called·in·the·same·way·from·OsdMesh·template·interface.··<a·href="a01157.html#ae8e914fc701af498ea6c6244da408b94">More...</a><br·/></td></tr>
100 <tr·class="separator:ae8e914fc701af498ea6c6244da408b94"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:ae8e914fc701af498ea6c6244da408b94"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 163, 15 lines modifiedOffset 163, 15 lines modified
163 <tr·class="separator:a46c223689a9dfec7040c8ee9783a6c52"><td·class="memSeparator"·colspan="2">&#160;</td></tr>163 <tr·class="separator:a46c223689a9dfec7040c8ee9783a6c52"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
164 <tr·class="memitem:ae339a533e5f7a5021c5a4b40ec09c208"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01157.html#ae339a533e5f7a5021c5a4b40ec09c208">Synchronize</a>·(void·*)</td></tr>164 <tr·class="memitem:ae339a533e5f7a5021c5a4b40ec09c208"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01157.html#ae339a533e5f7a5021c5a4b40ec09c208">Synchronize</a>·(void·*)</td></tr>
165 <tr·class="memdesc:ae339a533e5f7a5021c5a4b40ec09c208"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">synchronize·all·asynchronous·computation·invoked·on·this·device.··<a·href="a01157.html#ae339a533e5f7a5021c5a4b40ec09c208">More...</a><br·/></td></tr>165 <tr·class="memdesc:ae339a533e5f7a5021c5a4b40ec09c208"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">synchronize·all·asynchronous·computation·invoked·on·this·device.··<a·href="a01157.html#ae339a533e5f7a5021c5a4b40ec09c208">More...</a><br·/></td></tr>
166 <tr·class="separator:ae339a533e5f7a5021c5a4b40ec09c208"><td·class="memSeparator"·colspan="2">&#160;</td></tr>166 <tr·class="separator:ae339a533e5f7a5021c5a4b40ec09c208"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
167 </table>167 </table>
168 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>168 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
169 <div·class="textblock">169 <div·class="textblock">
170 <p·class="definition">Definition·at·line·<a·class="el"·href="a00896_source.html#l00039">39</a>·of·file·<a·class="el"·href="a00896_source.html">cpuEvaluator.h</a>.</p>170 <p·class="definition">Definition·at·line·<a·class="el"·href="a00878_source.html#l00039">39</a>·of·file·<a·class="el"·href="a00878_source.html">cpuEvaluator.h</a>.</p>
171 </div><h2·class="groupheader">Member·Function·Documentation</h2>171 </div><h2·class="groupheader">Member·Function·Documentation</h2>
172 <a·id="a7b556148d6ef2e04fbe99677e3a87e91"·name="a7b556148d6ef2e04fbe99677e3a87e91"></a>172 <a·id="a7b556148d6ef2e04fbe99677e3a87e91"·name="a7b556148d6ef2e04fbe99677e3a87e91"></a>
173 <h2·class="memtitle"><span·class="permalink"><a·href="#a7b556148d6ef2e04fbe99677e3a87e91">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[1/6]</span></h2>173 <h2·class="memtitle"><span·class="permalink"><a·href="#a7b556148d6ef2e04fbe99677e3a87e91">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[1/6]</span></h2>
  
174 <div·class="memitem">174 <div·class="memitem">
175 <div·class="memproto">175 <div·class="memproto">
176 <table·class="mlabels">176 <table·class="mlabels">
Offset 707, 15 lines modifiedOffset 707, 15 lines modified
707 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01165.html"·title="Cpu·patch·table.">CpuPatchTable</a>·or·equivalent·XXX:·currently·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">Far::PatchTable</a>·can't·be·used·due·to·interface·mismatch</td></tr>707 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01165.html"·title="Cpu·patch·table.">CpuPatchTable</a>·or·equivalent·XXX:·currently·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">Far::PatchTable</a>·can't·be·used·due·to·interface·mismatch</td></tr>
708 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cpu·evaluator</td></tr>708 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cpu·evaluator</td></tr>
709 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cpu·evaluator·</td></tr>709 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cpu·evaluator·</td></tr>
710 ··</table>710 ··</table>
711 ··</dd>711 ··</dd>
712 </dl>712 </dl>
  
713 <p·class="definition">Definition·at·line·<a·class="el"·href="a00896_source.html#l00607">607</a>·of·file·<a·class="el"·href="a00896_source.html">cpuEvaluator.h</a>.</p>713 <p·class="definition">Definition·at·line·<a·class="el"·href="a00878_source.html#l00607">607</a>·of·file·<a·class="el"·href="a00878_source.html">cpuEvaluator.h</a>.</p>
  
714 </div>714 </div>
715 </div>715 </div>
716 <a·id="aadc6952ecef0e1cddda06e3c9d0a252a"·name="aadc6952ecef0e1cddda06e3c9d0a252a"></a>716 <a·id="aadc6952ecef0e1cddda06e3c9d0a252a"·name="aadc6952ecef0e1cddda06e3c9d0a252a"></a>
717 <h2·class="memtitle"><span·class="permalink"><a·href="#aadc6952ecef0e1cddda06e3c9d0a252a">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[5/6]</span></h2>717 <h2·class="memtitle"><span·class="permalink"><a·href="#aadc6952ecef0e1cddda06e3c9d0a252a">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[5/6]</span></h2>
  
718 <div·class="memitem">718 <div·class="memitem">
Offset 831, 15 lines modifiedOffset 831, 15 lines modified
831 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01165.html"·title="Cpu·patch·table.">CpuPatchTable</a>·or·equivalent·XXX:·currently·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">Far::PatchTable</a>·can't·be·used·due·to·interface·mismatch</td></tr>831 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01165.html"·title="Cpu·patch·table.">CpuPatchTable</a>·or·equivalent·XXX:·currently·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">Far::PatchTable</a>·can't·be·used·due·to·interface·mismatch</td></tr>
832 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cpu·evaluator</td></tr>832 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cpu·evaluator</td></tr>
833 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cpu·evaluator·</td></tr>833 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cpu·evaluator·</td></tr>
834 ··</table>834 ··</table>
835 ··</dd>835 ··</dd>
836 </dl>836 </dl>
  
837 <p·class="definition">Definition·at·line·<a·class="el"·href="a00896_source.html#l00517">517</a>·of·file·<a·class="el"·href="a00896_source.html">cpuEvaluator.h</a>.</p>837 <p·class="definition">Definition·at·line·<a·class="el"·href="a00878_source.html#l00517">517</a>·of·file·<a·class="el"·href="a00878_source.html">cpuEvaluator.h</a>.</p>
  
838 </div>838 </div>
839 </div>839 </div>
840 <a·id="a833e2ee19e5dd9018607512aa8d32dbe"·name="a833e2ee19e5dd9018607512aa8d32dbe"></a>840 <a·id="a833e2ee19e5dd9018607512aa8d32dbe"·name="a833e2ee19e5dd9018607512aa8d32dbe"></a>
841 <h2·class="memtitle"><span·class="permalink"><a·href="#a833e2ee19e5dd9018607512aa8d32dbe">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[6/6]</span></h2>841 <h2·class="memtitle"><span·class="permalink"><a·href="#a833e2ee19e5dd9018607512aa8d32dbe">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[6/6]</span></h2>
  
842 <div·class="memitem">842 <div·class="memitem">
Offset 930, 15 lines modifiedOffset 930, 15 lines modified
930 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01165.html"·title="Cpu·patch·table.">CpuPatchTable</a>·or·equivalent·XXX:·currently·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">Far::PatchTable</a>·can't·be·used·due·to·interface·mismatch</td></tr>930 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01165.html"·title="Cpu·patch·table.">CpuPatchTable</a>·or·equivalent·XXX:·currently·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">Far::PatchTable</a>·can't·be·used·due·to·interface·mismatch</td></tr>
931 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cpu·evaluator</td></tr>931 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cpu·evaluator</td></tr>
932 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cpu·evaluator·</td></tr>932 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cpu·evaluator·</td></tr>
933 ··</table>933 ··</table>
934 ··</dd>934 ··</dd>
935 </dl>935 </dl>
  
936 <p·class="definition">Definition·at·line·<a·class="el"·href="a00896_source.html#l00454">454</a>·of·file·<a·class="el"·href="a00896_source.html">cpuEvaluator.h</a>.</p>936 <p·class="definition">Definition·at·line·<a·class="el"·href="a00878_source.html#l00454">454</a>·of·file·<a·class="el"·href="a00878_source.html">cpuEvaluator.h</a>.</p>
  
937 </div>937 </div>
938 </div>938 </div>
939 <a·id="a46c223689a9dfec7040c8ee9783a6c52"·name="a46c223689a9dfec7040c8ee9783a6c52"></a>939 <a·id="a46c223689a9dfec7040c8ee9783a6c52"·name="a46c223689a9dfec7040c8ee9783a6c52"></a>
940 <h2·class="memtitle"><span·class="permalink"><a·href="#a46c223689a9dfec7040c8ee9783a6c52">&#9670;&nbsp;</a></span>EvalPatchesFaceVarying()·<span·class="overload">[1/3]</span></h2>940 <h2·class="memtitle"><span·class="permalink"><a·href="#a46c223689a9dfec7040c8ee9783a6c52">&#9670;&nbsp;</a></span>EvalPatchesFaceVarying()·<span·class="overload">[1/3]</span></h2>
  
941 <div·class="memitem">941 <div·class="memitem">
Offset 1103, 15 lines modifiedOffset 1103, 15 lines modified
1103 ····<tr><td·class="paramname">fvarChannel</td><td>face-varying·channel</td></tr>1103 ····<tr><td·class="paramname">fvarChannel</td><td>face-varying·channel</td></tr>
1104 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cpu·evaluator</td></tr>1104 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cpu·evaluator</td></tr>
1105 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cpu·evaluator·</td></tr>1105 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cpu·evaluator·</td></tr>
1106 ··</table>1106 ··</table>
1107 ··</dd>1107 ··</dd>
1108 </dl>1108 </dl>
  
1109 <p·class="definition">Definition·at·line·<a·class="el"·href="a00896_source.html#l01188">1188</a>·of·file·<a·class="el"·href="a00896_source.html">cpuEvaluator.h</a>.</p>1109 <p·class="definition">Definition·at·line·<a·class="el"·href="a00878_source.html#l01188">1188</a>·of·file·<a·class="el"·href="a00878_source.html">cpuEvaluator.h</a>.</p>
  
1110 </div>1110 </div>
1111 </div>1111 </div>
1112 <a·id="a2fbe9aec649e88f531714099d49c6db1"·name="a2fbe9aec649e88f531714099d49c6db1"></a>1112 <a·id="a2fbe9aec649e88f531714099d49c6db1"·name="a2fbe9aec649e88f531714099d49c6db1"></a>
1113 <h2·class="memtitle"><span·class="permalink"><a·href="#a2fbe9aec649e88f531714099d49c6db1">&#9670;&nbsp;</a></span>EvalPatchesFaceVarying()·<span·class="overload">[2/3]</span></h2>1113 <h2·class="memtitle"><span·class="permalink"><a·href="#a2fbe9aec649e88f531714099d49c6db1">&#9670;&nbsp;</a></span>EvalPatchesFaceVarying()·<span·class="overload">[2/3]</span></h2>
  
1114 <div·class="memitem">1114 <div·class="memitem">
Offset 1234, 15 lines modifiedOffset 1234, 15 lines modified
1234 ····<tr><td·class="paramname">fvarChannel</td><td>face-varying·channel</td></tr>1234 ····<tr><td·class="paramname">fvarChannel</td><td>face-varying·channel</td></tr>
1235 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cpu·evaluator</td></tr>1235 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cpu·evaluator</td></tr>
1236 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cpu·evaluator·</td></tr>1236 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cpu·evaluator·</td></tr>
1237 ··</table>1237 ··</table>
1238 ··</dd>1238 ··</dd>
1239 </dl>1239 </dl>
  
1240 <p·class="definition">Definition·at·line·<a·class="el"·href="a00896_source.html#l01100">1100</a>·of·file·<a·class="el"·href="a00896_source.html">cpuEvaluator.h</a>.</p>1240 <p·class="definition">Definition·at·line·<a·class="el"·href="a00878_source.html#l01100">1100</a>·of·file·<a·class="el"·href="a00878_source.html">cpuEvaluator.h</a>.</p>
  
1241 </div>1241 </div>
1242 </div>1242 </div>
1243 <a·id="a0cf0cb080682d71200633ef242b83615"·name="a0cf0cb080682d71200633ef242b83615"></a>1243 <a·id="a0cf0cb080682d71200633ef242b83615"·name="a0cf0cb080682d71200633ef242b83615"></a>
1244 <h2·class="memtitle"><span·class="permalink"><a·href="#a0cf0cb080682d71200633ef242b83615">&#9670;&nbsp;</a></span>EvalPatchesFaceVarying()·<span·class="overload">[3/3]</span></h2>1244 <h2·class="memtitle"><span·class="permalink"><a·href="#a0cf0cb080682d71200633ef242b83615">&#9670;&nbsp;</a></span>EvalPatchesFaceVarying()·<span·class="overload">[3/3]</span></h2>
  
1245 <div·class="memitem">1245 <div·class="memitem">
Offset 1337, 15 lines modifiedOffset 1337, 15 lines modified
1337 ····<tr><td·class="paramname">fvarChannel</td><td>face-varying·channel</td></tr>1337 ····<tr><td·class="paramname">fvarChannel</td><td>face-varying·channel</td></tr>
1338 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cpu·evaluator</td></tr>1338 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cpu·evaluator</td></tr>
1339 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cpu·evaluator·</td></tr>1339 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cpu·evaluator·</td></tr>
1340 ··</table>1340 ··</table>
1341 ··</dd>1341 ··</dd>
1342 </dl>1342 </dl>
  
1343 <p·class="definition">Definition·at·line·<a·class="el"·href="a00896_source.html#l01034">1034</a>·of·file·<a·class="el"·href="a00896_source.html">cpuEvaluator.h</a>.</p>1343 <p·class="definition">Definition·at·line·<a·class="el"·href="a00878_source.html#l01034">1034</a>·of·file·<a·class="el"·href="a00878_source.html">cpuEvaluator.h</a>.</p>
  
1344 </div>1344 </div>
1345 </div>1345 </div>
1346 <a·id="a63c07f0657267c51a42e68bbf2674d2c"·name="a63c07f0657267c51a42e68bbf2674d2c"></a>1346 <a·id="a63c07f0657267c51a42e68bbf2674d2c"·name="a63c07f0657267c51a42e68bbf2674d2c"></a>
1347 <h2·class="memtitle"><span·class="permalink"><a·href="#a63c07f0657267c51a42e68bbf2674d2c">&#9670;&nbsp;</a></span>EvalPatchesVarying()·<span·class="overload">[1/3]</span></h2>1347 <h2·class="memtitle"><span·class="permalink"><a·href="#a63c07f0657267c51a42e68bbf2674d2c">&#9670;&nbsp;</a></span>EvalPatchesVarying()·<span·class="overload">[1/3]</span></h2>
  
1348 <div·class="memitem">1348 <div·class="memitem">
Max diff block lines reached; 8196/18295 bytes (44.80%) of diff not shown.
3.95 KB
./usr/share/doc/opensubdiv/doxy_html/a01161.html
    
Offset 92, 15 lines modifiedOffset 92, 15 lines modified
92 ··<div·class="headertitle"><div·class="title">CpuGLVertexBuffer·Class·Reference</div></div>92 ··<div·class="headertitle"><div·class="title">CpuGLVertexBuffer·Class·Reference</div></div>
93 </div><!--header-->93 </div><!--header-->
94 <div·class="contents">94 <div·class="contents">
  
95 <p>Concrete·vertex·buffer·class·for·cpu·subdivision·and·OpenGL·drawing.··95 <p>Concrete·vertex·buffer·class·for·cpu·subdivision·and·OpenGL·drawing.··
96 ·<a·href="a01161.html#details">More...</a></p>96 ·<a·href="a01161.html#details">More...</a></p>
  
97 <p><code>#include·&lt;<a·class="el"·href="a00869_source.html">cpuGLVertexBuffer.h</a>&gt;</code></p>97 <p><code>#include·&lt;<a·class="el"·href="a00851_source.html">cpuGLVertexBuffer.h</a>&gt;</code></p>
98 <table·class="memberdecls">98 <table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
100 Public·Member·Functions</h2></td></tr>100 Public·Member·Functions</h2></td></tr>
101 <tr·class="memitem:aec560f36966b5da9528b8dbc065f7cc7"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01161.html#aec560f36966b5da9528b8dbc065f7cc7">~CpuGLVertexBuffer</a>·()</td></tr>101 <tr·class="memitem:aec560f36966b5da9528b8dbc065f7cc7"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01161.html#aec560f36966b5da9528b8dbc065f7cc7">~CpuGLVertexBuffer</a>·()</td></tr>
102 <tr·class="memdesc:aec560f36966b5da9528b8dbc065f7cc7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Destructor.··<a·href="a01161.html#aec560f36966b5da9528b8dbc065f7cc7">More...</a><br·/></td></tr>102 <tr·class="memdesc:aec560f36966b5da9528b8dbc065f7cc7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Destructor.··<a·href="a01161.html#aec560f36966b5da9528b8dbc065f7cc7">More...</a><br·/></td></tr>
103 <tr·class="separator:aec560f36966b5da9528b8dbc065f7cc7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:aec560f36966b5da9528b8dbc065f7cc7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 <tr·class="memitem:a96601a091f8831823c4dd72b6c962f1b"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01161.html#a96601a091f8831823c4dd72b6c962f1b">UpdateData</a>·(const·float·*src,·int·startVertex,·int·numVertices,·void·*deviceContext=NULL)</td></tr>104 <tr·class="memitem:a96601a091f8831823c4dd72b6c962f1b"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01161.html#a96601a091f8831823c4dd72b6c962f1b">UpdateData</a>·(const·float·*src,·int·startVertex,·int·numVertices,·void·*deviceContext=NULL)</td></tr>
Offset 132, 15 lines modifiedOffset 132, 15 lines modified
132 <tr·class="separator:add23d9f5bbc918076d240287a9b3664f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>132 <tr·class="separator:add23d9f5bbc918076d240287a9b3664f"><td·class="memSeparator"·colspan="2">&#160;</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·>Concrete·vertex·buffer·class·for·cpu·subdivision·and·OpenGL·drawing.·</p>135 <div·class="textblock"><p·>Concrete·vertex·buffer·class·for·cpu·subdivision·and·OpenGL·drawing.·</p>
136 <p·><a·class="el"·href="a01161.html"·title="Concrete·vertex·buffer·class·for·cpu·subdivision·and·OpenGL·drawing.">CpuGLVertexBuffer</a>·implements·CpuVertexBufferInterface·and·GLVertexBufferInterface.</p>136 <p·><a·class="el"·href="a01161.html"·title="Concrete·vertex·buffer·class·for·cpu·subdivision·and·OpenGL·drawing.">CpuGLVertexBuffer</a>·implements·CpuVertexBufferInterface·and·GLVertexBufferInterface.</p>
137 <p·>The·buffer·interop·between·Cpu·and·GL·is·handled·automatically·when·a·client·calls·BindCpuBuffer·and·BindVBO·methods.·</p>137 <p·>The·buffer·interop·between·Cpu·and·GL·is·handled·automatically·when·a·client·calls·BindCpuBuffer·and·BindVBO·methods.·</p>
  
138 <p·class="definition">Definition·at·line·<a·class="el"·href="a00869_source.html#l00047">47</a>·of·file·<a·class="el"·href="a00869_source.html">cpuGLVertexBuffer.h</a>.</p>138 <p·class="definition">Definition·at·line·<a·class="el"·href="a00851_source.html#l00047">47</a>·of·file·<a·class="el"·href="a00851_source.html">cpuGLVertexBuffer.h</a>.</p>
139 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>139 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
140 <a·id="aec560f36966b5da9528b8dbc065f7cc7"·name="aec560f36966b5da9528b8dbc065f7cc7"></a>140 <a·id="aec560f36966b5da9528b8dbc065f7cc7"·name="aec560f36966b5da9528b8dbc065f7cc7"></a>
141 <h2·class="memtitle"><span·class="permalink"><a·href="#aec560f36966b5da9528b8dbc065f7cc7">&#9670;&nbsp;</a></span>~CpuGLVertexBuffer()</h2>141 <h2·class="memtitle"><span·class="permalink"><a·href="#aec560f36966b5da9528b8dbc065f7cc7">&#9670;&nbsp;</a></span>~CpuGLVertexBuffer()</h2>
  
142 <div·class="memitem">142 <div·class="memitem">
143 <div·class="memproto">143 <div·class="memproto">
144 ······<table·class="memname">144 ······<table·class="memname">
Offset 380, 15 lines modifiedOffset 380, 15 lines modified
380 ······</table>380 ······</table>
381 </div><div·class="memdoc">381 </div><div·class="memdoc">
382 <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>382 <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>
  
383 </div>383 </div>
384 </div>384 </div>
385 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>385 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
386 <li>opensubdiv/osd/<a·class="el"·href="a00869_source.html">cpuGLVertexBuffer.h</a></li>386 <li>opensubdiv/osd/<a·class="el"·href="a00851_source.html">cpuGLVertexBuffer.h</a></li>
387 </ul>387 </ul>
388 </div><!--·contents·-->388 </div><!--·contents·-->
389 </div><!--·doc-content·-->389 </div><!--·doc-content·-->
390 <!--·start·footer·part·-->390 <!--·start·footer·part·-->
391 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->391 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
392 ··<ul>392 ··<ul>
393 ····<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="a01161.html">CpuGLVertexBuffer</a></li>393 ····<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="a01161.html">CpuGLVertexBuffer</a></li>
22.9 KB
./usr/share/doc/opensubdiv/doxy_html/a01165.html
    
Offset 92, 15 lines modifiedOffset 92, 15 lines modified
92 ··<div·class="headertitle"><div·class="title">CpuPatchTable·Class·Reference</div></div>92 ··<div·class="headertitle"><div·class="title">CpuPatchTable·Class·Reference</div></div>
93 </div><!--header-->93 </div><!--header-->
94 <div·class="contents">94 <div·class="contents">
  
95 <p>Cpu·patch·table.··95 <p>Cpu·patch·table.··
96 ·<a·href="a01165.html#details">More...</a></p>96 ·<a·href="a01165.html#details">More...</a></p>
  
97 <p><code>#include·&lt;<a·class="el"·href="a00893_source.html">cpuPatchTable.h</a>&gt;</code></p>97 <p><code>#include·&lt;<a·class="el"·href="a00872_source.html">cpuPatchTable.h</a>&gt;</code></p>
98 <table·class="memberdecls">98 <table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
100 Public·Member·Functions</h2></td></tr>100 Public·Member·Functions</h2></td></tr>
101 <tr·class="memitem:a3c19d1748852f36ba69a6557e5069e08"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01165.html#a3c19d1748852f36ba69a6557e5069e08">CpuPatchTable</a>·(const·<a·class="el"·href="a00993.html">Far::PatchTable</a>·*patchTable)</td></tr>101 <tr·class="memitem:a3c19d1748852f36ba69a6557e5069e08"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01165.html#a3c19d1748852f36ba69a6557e5069e08">CpuPatchTable</a>·(const·<a·class="el"·href="a00993.html">Far::PatchTable</a>·*patchTable)</td></tr>
102 <tr·class="separator:a3c19d1748852f36ba69a6557e5069e08"><td·class="memSeparator"·colspan="2">&#160;</td></tr>102 <tr·class="separator:a3c19d1748852f36ba69a6557e5069e08"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
103 <tr·class="memitem:a16142cac8dd0880ad2451586633a7999"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01165.html#a16142cac8dd0880ad2451586633a7999">~CpuPatchTable</a>·()</td></tr>103 <tr·class="memitem:a16142cac8dd0880ad2451586633a7999"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01165.html#a16142cac8dd0880ad2451586633a7999">~CpuPatchTable</a>·()</td></tr>
104 <tr·class="separator:a16142cac8dd0880ad2451586633a7999"><td·class="memSeparator"·colspan="2">&#160;</td></tr>104 <tr·class="separator:a16142cac8dd0880ad2451586633a7999"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 161, 15 lines modifiedOffset 161, 15 lines modified
161 </table>161 </table>
162 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>162 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
163 <div·class="textblock"><p·>Cpu·patch·table.·</p>163 <div·class="textblock"><p·>Cpu·patch·table.·</p>
164 <p·>XXX:·We·can·use·just·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">Far::PatchTable</a>·for·typical·CpuEval·use·cases.</p>164 <p·>XXX:·We·can·use·just·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">Far::PatchTable</a>·for·typical·CpuEval·use·cases.</p>
165 <p·>Currently·this·class·exists·because·of·the·template·resolution·for·the·<a·class="el"·href="a01157.html">CpuEvaluator</a>'s·generic·interface·functions·(glEvalLimit·example·uses),·and·device-specific·patch·tables·such·as·GLPatchTables·internally·use·as·a·staging·buffer·to·splice·patcharray·and·interleave·sharpnesses.</p>165 <p·>Currently·this·class·exists·because·of·the·template·resolution·for·the·<a·class="el"·href="a01157.html">CpuEvaluator</a>'s·generic·interface·functions·(glEvalLimit·example·uses),·and·device-specific·patch·tables·such·as·GLPatchTables·internally·use·as·a·staging·buffer·to·splice·patcharray·and·interleave·sharpnesses.</p>
166 <p·>Ideally·Far::PatchTables·should·have·the·same·data·representation·and·accessors·so·that·we·don't·have·to·copy·data·unnecessarily.·</p>166 <p·>Ideally·Far::PatchTables·should·have·the·same·data·representation·and·accessors·so·that·we·don't·have·to·copy·data·unnecessarily.·</p>
  
167 <p·class="definition">Definition·at·line·<a·class="el"·href="a00893_source.html#l00059">59</a>·of·file·<a·class="el"·href="a00893_source.html">cpuPatchTable.h</a>.</p>167 <p·class="definition">Definition·at·line·<a·class="el"·href="a00872_source.html#l00059">59</a>·of·file·<a·class="el"·href="a00872_source.html">cpuPatchTable.h</a>.</p>
168 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>168 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
169 <a·id="a3c19d1748852f36ba69a6557e5069e08"·name="a3c19d1748852f36ba69a6557e5069e08"></a>169 <a·id="a3c19d1748852f36ba69a6557e5069e08"·name="a3c19d1748852f36ba69a6557e5069e08"></a>
170 <h2·class="memtitle"><span·class="permalink"><a·href="#a3c19d1748852f36ba69a6557e5069e08">&#9670;&nbsp;</a></span>CpuPatchTable()</h2>170 <h2·class="memtitle"><span·class="permalink"><a·href="#a3c19d1748852f36ba69a6557e5069e08">&#9670;&nbsp;</a></span>CpuPatchTable()</h2>
  
171 <div·class="memitem">171 <div·class="memitem">
172 <div·class="memproto">172 <div·class="memproto">
173 <table·class="mlabels">173 <table·class="mlabels">
Offset 212, 15 lines modifiedOffset 212, 15 lines modified
212 ··</td>212 ··</td>
213 ··<td·class="mlabels-right">213 ··<td·class="mlabels-right">
214 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>214 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
215 ··</tr>215 ··</tr>
216 </table>216 </table>
217 </div><div·class="memdoc">217 </div><div·class="memdoc">
  
218 <p·class="definition">Definition·at·line·<a·class="el"·href="a00893_source.html#l00068">68</a>·of·file·<a·class="el"·href="a00893_source.html">cpuPatchTable.h</a>.</p>218 <p·class="definition">Definition·at·line·<a·class="el"·href="a00872_source.html#l00068">68</a>·of·file·<a·class="el"·href="a00872_source.html">cpuPatchTable.h</a>.</p>
  
219 </div>219 </div>
220 </div>220 </div>
221 <h2·class="groupheader">Member·Function·Documentation</h2>221 <h2·class="groupheader">Member·Function·Documentation</h2>
222 <a·id="a27ccdd38f0f38adf16a4f5ceac6fed20"·name="a27ccdd38f0f38adf16a4f5ceac6fed20"></a>222 <a·id="a27ccdd38f0f38adf16a4f5ceac6fed20"·name="a27ccdd38f0f38adf16a4f5ceac6fed20"></a>
223 <h2·class="memtitle"><span·class="permalink"><a·href="#a27ccdd38f0f38adf16a4f5ceac6fed20">&#9670;&nbsp;</a></span>Create()</h2>223 <h2·class="memtitle"><span·class="permalink"><a·href="#a27ccdd38f0f38adf16a4f5ceac6fed20">&#9670;&nbsp;</a></span>Create()</h2>
  
Offset 251, 15 lines modifiedOffset 251, 15 lines modified
251 ··</td>251 ··</td>
252 ··<td·class="mlabels-right">252 ··<td·class="mlabels-right">
253 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>253 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>
254 ··</tr>254 ··</tr>
255 </table>255 </table>
256 </div><div·class="memdoc">256 </div><div·class="memdoc">
  
257 <p·class="definition">Definition·at·line·<a·class="el"·href="a00893_source.html#l00061">61</a>·of·file·<a·class="el"·href="a00893_source.html">cpuPatchTable.h</a>.</p>257 <p·class="definition">Definition·at·line·<a·class="el"·href="a00872_source.html#l00061">61</a>·of·file·<a·class="el"·href="a00872_source.html">cpuPatchTable.h</a>.</p>
  
258 </div>258 </div>
259 </div>259 </div>
260 <a·id="a025630c8fdb360ed195aef08547f1235"·name="a025630c8fdb360ed195aef08547f1235"></a>260 <a·id="a025630c8fdb360ed195aef08547f1235"·name="a025630c8fdb360ed195aef08547f1235"></a>
261 <h2·class="memtitle"><span·class="permalink"><a·href="#a025630c8fdb360ed195aef08547f1235">&#9670;&nbsp;</a></span>GetFVarPatchArrayBuffer()</h2>261 <h2·class="memtitle"><span·class="permalink"><a·href="#a025630c8fdb360ed195aef08547f1235">&#9670;&nbsp;</a></span>GetFVarPatchArrayBuffer()</h2>
  
262 <div·class="memitem">262 <div·class="memitem">
Offset 279, 15 lines modifiedOffset 279, 15 lines modified
279 ··</td>279 ··</td>
280 ··<td·class="mlabels-right">280 ··<td·class="mlabels-right">
281 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>281 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
282 ··</tr>282 ··</tr>
283 </table>283 </table>
284 </div><div·class="memdoc">284 </div><div·class="memdoc">
  
285 <p·class="definition">Definition·at·line·<a·class="el"·href="a00893_source.html#l00109">109</a>·of·file·<a·class="el"·href="a00893_source.html">cpuPatchTable.h</a>.</p>285 <p·class="definition">Definition·at·line·<a·class="el"·href="a00872_source.html#l00109">109</a>·of·file·<a·class="el"·href="a00872_source.html">cpuPatchTable.h</a>.</p>
  
286 </div>286 </div>
287 </div>287 </div>
288 <a·id="a8a0e294dd3f62accf3bcd37506b8f0c0"·name="a8a0e294dd3f62accf3bcd37506b8f0c0"></a>288 <a·id="a8a0e294dd3f62accf3bcd37506b8f0c0"·name="a8a0e294dd3f62accf3bcd37506b8f0c0"></a>
289 <h2·class="memtitle"><span·class="permalink"><a·href="#a8a0e294dd3f62accf3bcd37506b8f0c0">&#9670;&nbsp;</a></span>GetFVarPatchIndexBuffer()</h2>289 <h2·class="memtitle"><span·class="permalink"><a·href="#a8a0e294dd3f62accf3bcd37506b8f0c0">&#9670;&nbsp;</a></span>GetFVarPatchIndexBuffer()</h2>
  
290 <div·class="memitem">290 <div·class="memitem">
Offset 307, 15 lines modifiedOffset 307, 15 lines modified
307 ··</td>307 ··</td>
308 ··<td·class="mlabels-right">308 ··<td·class="mlabels-right">
309 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>309 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
310 ··</tr>310 ··</tr>
311 </table>311 </table>
312 </div><div·class="memdoc">312 </div><div·class="memdoc">
  
313 <p·class="definition">Definition·at·line·<a·class="el"·href="a00893_source.html#l00112">112</a>·of·file·<a·class="el"·href="a00893_source.html">cpuPatchTable.h</a>.</p>313 <p·class="definition">Definition·at·line·<a·class="el"·href="a00872_source.html#l00112">112</a>·of·file·<a·class="el"·href="a00872_source.html">cpuPatchTable.h</a>.</p>
  
314 </div>314 </div>
315 </div>315 </div>
316 <a·id="a89d1a006bc57adefbd8cc2b3221507d8"·name="a89d1a006bc57adefbd8cc2b3221507d8"></a>316 <a·id="a89d1a006bc57adefbd8cc2b3221507d8"·name="a89d1a006bc57adefbd8cc2b3221507d8"></a>
317 <h2·class="memtitle"><span·class="permalink"><a·href="#a89d1a006bc57adefbd8cc2b3221507d8">&#9670;&nbsp;</a></span>GetFVarPatchIndexSize()</h2>317 <h2·class="memtitle"><span·class="permalink"><a·href="#a89d1a006bc57adefbd8cc2b3221507d8">&#9670;&nbsp;</a></span>GetFVarPatchIndexSize()</h2>
  
318 <div·class="memitem">318 <div·class="memitem">
Offset 335, 15 lines modifiedOffset 335, 15 lines modified
335 ··</td>335 ··</td>
336 ··<td·class="mlabels-right">336 ··<td·class="mlabels-right">
337 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>337 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
338 ··</tr>338 ··</tr>
339 </table>339 </table>
340 </div><div·class="memdoc">340 </div><div·class="memdoc">
  
341 <p·class="definition">Definition·at·line·<a·class="el"·href="a00893_source.html#l00115">115</a>·of·file·<a·class="el"·href="a00893_source.html">cpuPatchTable.h</a>.</p>341 <p·class="definition">Definition·at·line·<a·class="el"·href="a00872_source.html#l00115">115</a>·of·file·<a·class="el"·href="a00872_source.html">cpuPatchTable.h</a>.</p>
  
342 </div>342 </div>
343 </div>343 </div>
344 <a·id="a9aff63c1a01a0ab08941350288def5fa"·name="a9aff63c1a01a0ab08941350288def5fa"></a>344 <a·id="a9aff63c1a01a0ab08941350288def5fa"·name="a9aff63c1a01a0ab08941350288def5fa"></a>
345 <h2·class="memtitle"><span·class="permalink"><a·href="#a9aff63c1a01a0ab08941350288def5fa">&#9670;&nbsp;</a></span>GetFVarPatchParamBuffer()</h2>345 <h2·class="memtitle"><span·class="permalink"><a·href="#a9aff63c1a01a0ab08941350288def5fa">&#9670;&nbsp;</a></span>GetFVarPatchParamBuffer()</h2>
  
346 <div·class="memitem">346 <div·class="memitem">
Offset 363, 15 lines modifiedOffset 363, 15 lines modified
363 ··</td>363 ··</td>
364 ··<td·class="mlabels-right">364 ··<td·class="mlabels-right">
365 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>365 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
366 ··</tr>366 ··</tr>
367 </table>367 </table>
368 </div><div·class="memdoc">368 </div><div·class="memdoc">
  
369 <p·class="definition">Definition·at·line·<a·class="el"·href="a00893_source.html#l00118">118</a>·of·file·<a·class="el"·href="a00893_source.html">cpuPatchTable.h</a>.</p>369 <p·class="definition">Definition·at·line·<a·class="el"·href="a00872_source.html#l00118">118</a>·of·file·<a·class="el"·href="a00872_source.html">cpuPatchTable.h</a>.</p>
  
370 </div>370 </div>
371 </div>371 </div>
372 <a·id="a154f068140b02b8324cfa70cdbe1191c"·name="a154f068140b02b8324cfa70cdbe1191c"></a>372 <a·id="a154f068140b02b8324cfa70cdbe1191c"·name="a154f068140b02b8324cfa70cdbe1191c"></a>
373 <h2·class="memtitle"><span·class="permalink"><a·href="#a154f068140b02b8324cfa70cdbe1191c">&#9670;&nbsp;</a></span>GetFVarPatchParamSize()</h2>373 <h2·class="memtitle"><span·class="permalink"><a·href="#a154f068140b02b8324cfa70cdbe1191c">&#9670;&nbsp;</a></span>GetFVarPatchParamSize()</h2>
  
374 <div·class="memitem">374 <div·class="memitem">
Max diff block lines reached; 15587/23378 bytes (66.67%) of diff not shown.
4.02 KB
./usr/share/doc/opensubdiv/doxy_html/a01169.html
    
Offset 92, 15 lines modifiedOffset 92, 15 lines modified
92 ··<div·class="headertitle"><div·class="title">CpuVertexBuffer·Class·Reference</div></div>92 ··<div·class="headertitle"><div·class="title">CpuVertexBuffer·Class·Reference</div></div>
93 </div><!--header-->93 </div><!--header-->
94 <div·class="contents">94 <div·class="contents">
  
95 <p>Concrete·vertex·buffer·class·for·CPU·subdivision.··95 <p>Concrete·vertex·buffer·class·for·CPU·subdivision.··
96 ·<a·href="a01169.html#details">More...</a></p>96 ·<a·href="a01169.html#details">More...</a></p>
  
97 <p><code>#include·&lt;<a·class="el"·href="a00890_source.html">cpuVertexBuffer.h</a>&gt;</code></p>97 <p><code>#include·&lt;<a·class="el"·href="a00875_source.html">cpuVertexBuffer.h</a>&gt;</code></p>
98 <table·class="memberdecls">98 <table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
100 Public·Member·Functions</h2></td></tr>100 Public·Member·Functions</h2></td></tr>
101 <tr·class="memitem:ad0932519eaf677c42a8ccfe9a78a2698"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01169.html#ad0932519eaf677c42a8ccfe9a78a2698">~CpuVertexBuffer</a>·()</td></tr>101 <tr·class="memitem:ad0932519eaf677c42a8ccfe9a78a2698"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01169.html#ad0932519eaf677c42a8ccfe9a78a2698">~CpuVertexBuffer</a>·()</td></tr>
102 <tr·class="memdesc:ad0932519eaf677c42a8ccfe9a78a2698"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Destructor.··<a·href="a01169.html#ad0932519eaf677c42a8ccfe9a78a2698">More...</a><br·/></td></tr>102 <tr·class="memdesc:ad0932519eaf677c42a8ccfe9a78a2698"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Destructor.··<a·href="a01169.html#ad0932519eaf677c42a8ccfe9a78a2698">More...</a><br·/></td></tr>
103 <tr·class="separator:ad0932519eaf677c42a8ccfe9a78a2698"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:ad0932519eaf677c42a8ccfe9a78a2698"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 <tr·class="memitem:a96601a091f8831823c4dd72b6c962f1b"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01169.html#a96601a091f8831823c4dd72b6c962f1b">UpdateData</a>·(const·float·*src,·int·startVertex,·int·numVertices,·void·*deviceContext=NULL)</td></tr>104 <tr·class="memitem:a96601a091f8831823c4dd72b6c962f1b"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01169.html#a96601a091f8831823c4dd72b6c962f1b">UpdateData</a>·(const·float·*src,·int·startVertex,·int·numVertices,·void·*deviceContext=NULL)</td></tr>
Offset 127, 15 lines modifiedOffset 127, 15 lines modified
127 <tr·class="memdesc:afa9168f4f1f046aea4ff94933ac48972"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Constructor.··<a·href="a01169.html#afa9168f4f1f046aea4ff94933ac48972">More...</a><br·/></td></tr>127 <tr·class="memdesc:afa9168f4f1f046aea4ff94933ac48972"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Constructor.··<a·href="a01169.html#afa9168f4f1f046aea4ff94933ac48972">More...</a><br·/></td></tr>
128 <tr·class="separator:afa9168f4f1f046aea4ff94933ac48972"><td·class="memSeparator"·colspan="2">&#160;</td></tr>128 <tr·class="separator:afa9168f4f1f046aea4ff94933ac48972"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
129 </table>129 </table>
130 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>130 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
131 <div·class="textblock"><p·>Concrete·vertex·buffer·class·for·CPU·subdivision.·</p>131 <div·class="textblock"><p·>Concrete·vertex·buffer·class·for·CPU·subdivision.·</p>
132 <p·><a·class="el"·href="a01169.html"·title="Concrete·vertex·buffer·class·for·CPU·subdivision.">CpuVertexBuffer</a>·implements·the·VertexBufferInterface.·An·instance·of·this·buffer·class·can·be·passed·to·<a·class="el"·href="a01157.html">CpuEvaluator</a>·</p>132 <p·><a·class="el"·href="a01169.html"·title="Concrete·vertex·buffer·class·for·CPU·subdivision.">CpuVertexBuffer</a>·implements·the·VertexBufferInterface.·An·instance·of·this·buffer·class·can·be·passed·to·<a·class="el"·href="a01157.html">CpuEvaluator</a>·</p>
  
133 <p·class="definition">Definition·at·line·<a·class="el"·href="a00890_source.html#l00042">42</a>·of·file·<a·class="el"·href="a00890_source.html">cpuVertexBuffer.h</a>.</p>133 <p·class="definition">Definition·at·line·<a·class="el"·href="a00875_source.html#l00042">42</a>·of·file·<a·class="el"·href="a00875_source.html">cpuVertexBuffer.h</a>.</p>
134 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>134 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
135 <a·id="ad0932519eaf677c42a8ccfe9a78a2698"·name="ad0932519eaf677c42a8ccfe9a78a2698"></a>135 <a·id="ad0932519eaf677c42a8ccfe9a78a2698"·name="ad0932519eaf677c42a8ccfe9a78a2698"></a>
136 <h2·class="memtitle"><span·class="permalink"><a·href="#ad0932519eaf677c42a8ccfe9a78a2698">&#9670;&nbsp;</a></span>~CpuVertexBuffer()</h2>136 <h2·class="memtitle"><span·class="permalink"><a·href="#ad0932519eaf677c42a8ccfe9a78a2698">&#9670;&nbsp;</a></span>~CpuVertexBuffer()</h2>
  
137 <div·class="memitem">137 <div·class="memitem">
138 <div·class="memproto">138 <div·class="memproto">
139 ······<table·class="memname">139 ······<table·class="memname">
Offset 330, 15 lines modifiedOffset 330, 15 lines modified
330 ······</table>330 ······</table>
331 </div><div·class="memdoc">331 </div><div·class="memdoc">
332 <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>332 <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>
  
333 </div>333 </div>
334 </div>334 </div>
335 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>335 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
336 <li>opensubdiv/osd/<a·class="el"·href="a00890_source.html">cpuVertexBuffer.h</a></li>336 <li>opensubdiv/osd/<a·class="el"·href="a00875_source.html">cpuVertexBuffer.h</a></li>
337 </ul>337 </ul>
338 </div><!--·contents·-->338 </div><!--·contents·-->
339 </div><!--·doc-content·-->339 </div><!--·doc-content·-->
340 <!--·start·footer·part·-->340 <!--·start·footer·part·-->
341 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->341 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
342 ··<ul>342 ··<ul>
343 ····<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="a01169.html">CpuVertexBuffer</a></li>343 ····<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="a01169.html">CpuVertexBuffer</a></li>
12.7 KB
./usr/share/doc/opensubdiv/doxy_html/a01173.html
    
Offset 91, 15 lines modifiedOffset 91, 15 lines modified
91 ··<div·class="headertitle"><div·class="title">CudaStencilTable·Class·Reference</div></div>91 ··<div·class="headertitle"><div·class="title">CudaStencilTable·Class·Reference</div></div>
92 </div><!--header-->92 </div><!--header-->
93 <div·class="contents">93 <div·class="contents">
  
94 <p>CUDA·stencil·table.··94 <p>CUDA·stencil·table.··
95 ·<a·href="a01173.html#details">More...</a></p>95 ·<a·href="a01173.html#details">More...</a></p>
  
96 <p><code>#include·&lt;<a·class="el"·href="a00791_source.html">cudaEvaluator.h</a>&gt;</code></p>96 <p><code>#include·&lt;<a·class="el"·href="a00773_source.html">cudaEvaluator.h</a>&gt;</code></p>
97 <table·class="memberdecls">97 <table·class="memberdecls">
98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
99 Public·Member·Functions</h2></td></tr>99 Public·Member·Functions</h2></td></tr>
100 <tr·class="memitem:af872fc469b3696a745d30d22c2b89c4c"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01173.html#af872fc469b3696a745d30d22c2b89c4c">CudaStencilTable</a>·(<a·class="el"·href="a01057.html">Far::StencilTable</a>·const·*stencilTable)</td></tr>100 <tr·class="memitem:af872fc469b3696a745d30d22c2b89c4c"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01173.html#af872fc469b3696a745d30d22c2b89c4c">CudaStencilTable</a>·(<a·class="el"·href="a01057.html">Far::StencilTable</a>·const·*stencilTable)</td></tr>
101 <tr·class="separator:af872fc469b3696a745d30d22c2b89c4c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:af872fc469b3696a745d30d22c2b89c4c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 <tr·class="memitem:a45150c630c07bbeabd4b91145cecf087"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01173.html#a45150c630c07bbeabd4b91145cecf087">CudaStencilTable</a>·(<a·class="el"·href="a01073.html">Far::LimitStencilTable</a>·const·*limitStencilTable)</td></tr>102 <tr·class="memitem:a45150c630c07bbeabd4b91145cecf087"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01173.html#a45150c630c07bbeabd4b91145cecf087">CudaStencilTable</a>·(<a·class="el"·href="a01073.html">Far::LimitStencilTable</a>·const·*limitStencilTable)</td></tr>
103 <tr·class="separator:a45150c630c07bbeabd4b91145cecf087"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:a45150c630c07bbeabd4b91145cecf087"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 134, 15 lines modifiedOffset 134, 15 lines modified
134 <tr·class="separator:ac1bda7ee1a17bc67c977cde973c0aaad"><td·class="memSeparator"·colspan="2">&#160;</td></tr>134 <tr·class="separator:ac1bda7ee1a17bc67c977cde973c0aaad"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
135 </table>135 </table>
136 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>136 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
137 <div·class="textblock"><p·>CUDA·stencil·table.·</p>137 <div·class="textblock"><p·>CUDA·stencil·table.·</p>
138 <p·>This·class·is·a·cuda·buffer·representation·of·<a·class="el"·href="a01057.html"·title="Stencil·table·class·wrapping·the·template·for·compatibility.">Far::StencilTable</a>.</p>138 <p·>This·class·is·a·cuda·buffer·representation·of·<a·class="el"·href="a01057.html"·title="Stencil·table·class·wrapping·the·template·for·compatibility.">Far::StencilTable</a>.</p>
139 <p·><a·class="el"·href="a01177.html">CudaEvaluator</a>·consumes·this·table·to·apply·stencils·</p>139 <p·><a·class="el"·href="a01177.html">CudaEvaluator</a>·consumes·this·table·to·apply·stencils·</p>
  
140 <p·class="definition">Definition·at·line·<a·class="el"·href="a00791_source.html#l00052">52</a>·of·file·<a·class="el"·href="a00791_source.html">cudaEvaluator.h</a>.</p>140 <p·class="definition">Definition·at·line·<a·class="el"·href="a00773_source.html#l00052">52</a>·of·file·<a·class="el"·href="a00773_source.html">cudaEvaluator.h</a>.</p>
141 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>141 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
142 <a·id="af872fc469b3696a745d30d22c2b89c4c"·name="af872fc469b3696a745d30d22c2b89c4c"></a>142 <a·id="af872fc469b3696a745d30d22c2b89c4c"·name="af872fc469b3696a745d30d22c2b89c4c"></a>
143 <h2·class="memtitle"><span·class="permalink"><a·href="#af872fc469b3696a745d30d22c2b89c4c">&#9670;&nbsp;</a></span>CudaStencilTable()·<span·class="overload">[1/2]</span></h2>143 <h2·class="memtitle"><span·class="permalink"><a·href="#af872fc469b3696a745d30d22c2b89c4c">&#9670;&nbsp;</a></span>CudaStencilTable()·<span·class="overload">[1/2]</span></h2>
  
144 <div·class="memitem">144 <div·class="memitem">
145 <div·class="memproto">145 <div·class="memproto">
146 <table·class="mlabels">146 <table·class="mlabels">
Offset 240, 15 lines modifiedOffset 240, 15 lines modified
240 ··</td>240 ··</td>
241 ··<td·class="mlabels-right">241 ··<td·class="mlabels-right">
242 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>242 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>
243 ··</tr>243 ··</tr>
244 </table>244 </table>
245 </div><div·class="memdoc">245 </div><div·class="memdoc">
  
246 <p·class="definition">Definition·at·line·<a·class="el"·href="a00791_source.html#l00059">59</a>·of·file·<a·class="el"·href="a00791_source.html">cudaEvaluator.h</a>.</p>246 <p·class="definition">Definition·at·line·<a·class="el"·href="a00773_source.html#l00059">59</a>·of·file·<a·class="el"·href="a00773_source.html">cudaEvaluator.h</a>.</p>
  
247 </div>247 </div>
248 </div>248 </div>
249 <a·id="afa5ea3da09e459d3786b4249caea825d"·name="afa5ea3da09e459d3786b4249caea825d"></a>249 <a·id="afa5ea3da09e459d3786b4249caea825d"·name="afa5ea3da09e459d3786b4249caea825d"></a>
250 <h2·class="memtitle"><span·class="permalink"><a·href="#afa5ea3da09e459d3786b4249caea825d">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[2/2]</span></h2>250 <h2·class="memtitle"><span·class="permalink"><a·href="#afa5ea3da09e459d3786b4249caea825d">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[2/2]</span></h2>
  
251 <div·class="memitem">251 <div·class="memitem">
Offset 278, 15 lines modifiedOffset 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="a00791_source.html#l00054">54</a>·of·file·<a·class="el"·href="a00791_source.html">cudaEvaluator.h</a>.</p>284 <p·class="definition">Definition·at·line·<a·class="el"·href="a00773_source.html#l00054">54</a>·of·file·<a·class="el"·href="a00773_source.html">cudaEvaluator.h</a>.</p>
  
285 </div>285 </div>
286 </div>286 </div>
287 <a·id="a6b4f42dac92785ea5a1d77a4a75fa502"·name="a6b4f42dac92785ea5a1d77a4a75fa502"></a>287 <a·id="a6b4f42dac92785ea5a1d77a4a75fa502"·name="a6b4f42dac92785ea5a1d77a4a75fa502"></a>
288 <h2·class="memtitle"><span·class="permalink"><a·href="#a6b4f42dac92785ea5a1d77a4a75fa502">&#9670;&nbsp;</a></span>GetDuuWeightsBuffer()</h2>288 <h2·class="memtitle"><span·class="permalink"><a·href="#a6b4f42dac92785ea5a1d77a4a75fa502">&#9670;&nbsp;</a></span>GetDuuWeightsBuffer()</h2>
  
289 <div·class="memitem">289 <div·class="memitem">
Offset 305, 15 lines modifiedOffset 305, 15 lines modified
305 ··</td>305 ··</td>
306 ··<td·class="mlabels-right">306 ··<td·class="mlabels-right">
307 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>307 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
308 ··</tr>308 ··</tr>
309 </table>309 </table>
310 </div><div·class="memdoc">310 </div><div·class="memdoc">
  
311 <p·class="definition">Definition·at·line·<a·class="el"·href="a00791_source.html#l00076">76</a>·of·file·<a·class="el"·href="a00791_source.html">cudaEvaluator.h</a>.</p>311 <p·class="definition">Definition·at·line·<a·class="el"·href="a00773_source.html#l00076">76</a>·of·file·<a·class="el"·href="a00773_source.html">cudaEvaluator.h</a>.</p>
  
312 </div>312 </div>
313 </div>313 </div>
314 <a·id="a0227c2f6e9e0eaa1bf104e5a6efa0830"·name="a0227c2f6e9e0eaa1bf104e5a6efa0830"></a>314 <a·id="a0227c2f6e9e0eaa1bf104e5a6efa0830"·name="a0227c2f6e9e0eaa1bf104e5a6efa0830"></a>
315 <h2·class="memtitle"><span·class="permalink"><a·href="#a0227c2f6e9e0eaa1bf104e5a6efa0830">&#9670;&nbsp;</a></span>GetDuvWeightsBuffer()</h2>315 <h2·class="memtitle"><span·class="permalink"><a·href="#a0227c2f6e9e0eaa1bf104e5a6efa0830">&#9670;&nbsp;</a></span>GetDuvWeightsBuffer()</h2>
  
316 <div·class="memitem">316 <div·class="memitem">
Offset 332, 15 lines modifiedOffset 332, 15 lines modified
332 ··</td>332 ··</td>
333 ··<td·class="mlabels-right">333 ··<td·class="mlabels-right">
334 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>334 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
335 ··</tr>335 ··</tr>
336 </table>336 </table>
337 </div><div·class="memdoc">337 </div><div·class="memdoc">
  
338 <p·class="definition">Definition·at·line·<a·class="el"·href="a00791_source.html#l00077">77</a>·of·file·<a·class="el"·href="a00791_source.html">cudaEvaluator.h</a>.</p>338 <p·class="definition">Definition·at·line·<a·class="el"·href="a00773_source.html#l00077">77</a>·of·file·<a·class="el"·href="a00773_source.html">cudaEvaluator.h</a>.</p>
  
339 </div>339 </div>
340 </div>340 </div>
341 <a·id="a2b91670573e565368e68512e02d045d6"·name="a2b91670573e565368e68512e02d045d6"></a>341 <a·id="a2b91670573e565368e68512e02d045d6"·name="a2b91670573e565368e68512e02d045d6"></a>
342 <h2·class="memtitle"><span·class="permalink"><a·href="#a2b91670573e565368e68512e02d045d6">&#9670;&nbsp;</a></span>GetDuWeightsBuffer()</h2>342 <h2·class="memtitle"><span·class="permalink"><a·href="#a2b91670573e565368e68512e02d045d6">&#9670;&nbsp;</a></span>GetDuWeightsBuffer()</h2>
  
343 <div·class="memitem">343 <div·class="memitem">
Offset 359, 15 lines modifiedOffset 359, 15 lines modified
359 ··</td>359 ··</td>
360 ··<td·class="mlabels-right">360 ··<td·class="mlabels-right">
361 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>361 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
362 ··</tr>362 ··</tr>
363 </table>363 </table>
364 </div><div·class="memdoc">364 </div><div·class="memdoc">
  
365 <p·class="definition">Definition·at·line·<a·class="el"·href="a00791_source.html#l00074">74</a>·of·file·<a·class="el"·href="a00791_source.html">cudaEvaluator.h</a>.</p>365 <p·class="definition">Definition·at·line·<a·class="el"·href="a00773_source.html#l00074">74</a>·of·file·<a·class="el"·href="a00773_source.html">cudaEvaluator.h</a>.</p>
  
366 </div>366 </div>
367 </div>367 </div>
368 <a·id="a2fd4ce98e6978f5895dd4c79ef84e4d5"·name="a2fd4ce98e6978f5895dd4c79ef84e4d5"></a>368 <a·id="a2fd4ce98e6978f5895dd4c79ef84e4d5"·name="a2fd4ce98e6978f5895dd4c79ef84e4d5"></a>
369 <h2·class="memtitle"><span·class="permalink"><a·href="#a2fd4ce98e6978f5895dd4c79ef84e4d5">&#9670;&nbsp;</a></span>GetDvvWeightsBuffer()</h2>369 <h2·class="memtitle"><span·class="permalink"><a·href="#a2fd4ce98e6978f5895dd4c79ef84e4d5">&#9670;&nbsp;</a></span>GetDvvWeightsBuffer()</h2>
  
370 <div·class="memitem">370 <div·class="memitem">
Offset 386, 15 lines modifiedOffset 386, 15 lines modified
386 ··</td>386 ··</td>
387 ··<td·class="mlabels-right">387 ··<td·class="mlabels-right">
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·class="definition">Definition·at·line·<a·class="el"·href="a00791_source.html#l00078">78</a>·of·file·<a·class="el"·href="a00791_source.html">cudaEvaluator.h</a>.</p>392 <p·class="definition">Definition·at·line·<a·class="el"·href="a00773_source.html#l00078">78</a>·of·file·<a·class="el"·href="a00773_source.html">cudaEvaluator.h</a>.</p>
  
393 </div>393 </div>
394 </div>394 </div>
395 <a·id="a5a1c0c8eb5d41b526ec9480f03dbf4d0"·name="a5a1c0c8eb5d41b526ec9480f03dbf4d0"></a>395 <a·id="a5a1c0c8eb5d41b526ec9480f03dbf4d0"·name="a5a1c0c8eb5d41b526ec9480f03dbf4d0"></a>
396 <h2·class="memtitle"><span·class="permalink"><a·href="#a5a1c0c8eb5d41b526ec9480f03dbf4d0">&#9670;&nbsp;</a></span>GetDvWeightsBuffer()</h2>396 <h2·class="memtitle"><span·class="permalink"><a·href="#a5a1c0c8eb5d41b526ec9480f03dbf4d0">&#9670;&nbsp;</a></span>GetDvWeightsBuffer()</h2>
  
397 <div·class="memitem">397 <div·class="memitem">
Max diff block lines reached; 5197/12893 bytes (40.31%) of diff not shown.
16.4 KB
./usr/share/doc/opensubdiv/doxy_html/a01177.html
    
Offset 87, 15 lines modifiedOffset 87, 15 lines modified
87 ··<div·class="summary">87 ··<div·class="summary">
88 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;88 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
89 <a·href="a01174.html">List·of·all·members</a>··</div>89 <a·href="a01174.html">List·of·all·members</a>··</div>
90 ··<div·class="headertitle"><div·class="title">CudaEvaluator·Class·Reference</div></div>90 ··<div·class="headertitle"><div·class="title">CudaEvaluator·Class·Reference</div></div>
91 </div><!--header-->91 </div><!--header-->
92 <div·class="contents">92 <div·class="contents">
  
93 <p><code>#include·&lt;<a·class="el"·href="a00791_source.html">cudaEvaluator.h</a>&gt;</code></p>93 <p><code>#include·&lt;<a·class="el"·href="a00773_source.html">cudaEvaluator.h</a>&gt;</code></p>
94 <table·class="memberdecls">94 <table·class="memberdecls">
95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
96 Static·Public·Member·Functions</h2></td></tr>96 Static·Public·Member·Functions</h2></td></tr>
97 <tr·class="memitem:a68186cd64196498ff6a31e55a822f468"><td·class="memTemplParams"·colspan="2">template&lt;typename·SRC_BUFFER·,·typename·DST_BUFFER·,·typename·STENCIL_TABLE·&gt;·</td></tr>97 <tr·class="memitem:a68186cd64196498ff6a31e55a822f468"><td·class="memTemplParams"·colspan="2">template&lt;typename·SRC_BUFFER·,·typename·DST_BUFFER·,·typename·STENCIL_TABLE·&gt;·</td></tr>
98 <tr·class="memitem:a68186cd64196498ff6a31e55a822f468"><td·class="memTemplItemLeft"·align="right"·valign="top">static·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01177.html#a68186cd64196498ff6a31e55a822f468">EvalStencils</a>·(SRC_BUFFER·*srcBuffer,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;srcDesc,·DST_BUFFER·*dstBuffer,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;dstDesc,·STENCIL_TABLE·const·*stencilTable,·const·void·*instance=NULL,·void·*deviceContext=NULL)</td></tr>98 <tr·class="memitem:a68186cd64196498ff6a31e55a822f468"><td·class="memTemplItemLeft"·align="right"·valign="top">static·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01177.html#a68186cd64196498ff6a31e55a822f468">EvalStencils</a>·(SRC_BUFFER·*srcBuffer,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;srcDesc,·DST_BUFFER·*dstBuffer,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;dstDesc,·STENCIL_TABLE·const·*stencilTable,·const·void·*instance=NULL,·void·*deviceContext=NULL)</td></tr>
99 <tr·class="memdesc:a68186cd64196498ff6a31e55a822f468"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Generic·static·compute·function.·This·function·has·a·same·signature·as·other·device·kernels·have·so·that·it·can·be·called·transparently·from·OsdMesh·template·interface.··<a·href="a01177.html#a68186cd64196498ff6a31e55a822f468">More...</a><br·/></td></tr>99 <tr·class="memdesc:a68186cd64196498ff6a31e55a822f468"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Generic·static·compute·function.·This·function·has·a·same·signature·as·other·device·kernels·have·so·that·it·can·be·called·transparently·from·OsdMesh·template·interface.··<a·href="a01177.html#a68186cd64196498ff6a31e55a822f468">More...</a><br·/></td></tr>
100 <tr·class="separator:a68186cd64196498ff6a31e55a822f468"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:a68186cd64196498ff6a31e55a822f468"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 162, 15 lines modifiedOffset 162, 15 lines modified
162 <tr·class="memdesc:ad845f529b06a8cc42bead41a6641dddd"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Generic·limit·eval·function.·This·function·has·a·same·signature·as·other·device·kernels·have·so·that·it·can·be·called·in·the·same·way.··<a·href="a01177.html#ad845f529b06a8cc42bead41a6641dddd">More...</a><br·/></td></tr>162 <tr·class="memdesc:ad845f529b06a8cc42bead41a6641dddd"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Generic·limit·eval·function.·This·function·has·a·same·signature·as·other·device·kernels·have·so·that·it·can·be·called·in·the·same·way.··<a·href="a01177.html#ad845f529b06a8cc42bead41a6641dddd">More...</a><br·/></td></tr>
163 <tr·class="separator:ad845f529b06a8cc42bead41a6641dddd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>163 <tr·class="separator:ad845f529b06a8cc42bead41a6641dddd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
164 <tr·class="memitem:a9689407af718de4263562bb3a760c1dd"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01177.html#a9689407af718de4263562bb3a760c1dd">Synchronize</a>·(void·*deviceContext=NULL)</td></tr>164 <tr·class="memitem:a9689407af718de4263562bb3a760c1dd"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01177.html#a9689407af718de4263562bb3a760c1dd">Synchronize</a>·(void·*deviceContext=NULL)</td></tr>
165 <tr·class="separator:a9689407af718de4263562bb3a760c1dd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>165 <tr·class="separator:a9689407af718de4263562bb3a760c1dd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
166 </table>166 </table>
167 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>167 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
168 <div·class="textblock">168 <div·class="textblock">
169 <p·class="definition">Definition·at·line·<a·class="el"·href="a00791_source.html#l00094">94</a>·of·file·<a·class="el"·href="a00791_source.html">cudaEvaluator.h</a>.</p>169 <p·class="definition">Definition·at·line·<a·class="el"·href="a00773_source.html#l00094">94</a>·of·file·<a·class="el"·href="a00773_source.html">cudaEvaluator.h</a>.</p>
170 </div><h2·class="groupheader">Member·Function·Documentation</h2>170 </div><h2·class="groupheader">Member·Function·Documentation</h2>
171 <a·id="a5e8c8e96ba584406e87a2e63aacfb382"·name="a5e8c8e96ba584406e87a2e63aacfb382"></a>171 <a·id="a5e8c8e96ba584406e87a2e63aacfb382"·name="a5e8c8e96ba584406e87a2e63aacfb382"></a>
172 <h2·class="memtitle"><span·class="permalink"><a·href="#a5e8c8e96ba584406e87a2e63aacfb382">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[1/6]</span></h2>172 <h2·class="memtitle"><span·class="permalink"><a·href="#a5e8c8e96ba584406e87a2e63aacfb382">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[1/6]</span></h2>
  
173 <div·class="memitem">173 <div·class="memitem">
174 <div·class="memproto">174 <div·class="memproto">
175 <table·class="mlabels">175 <table·class="mlabels">
Offset 706, 15 lines modifiedOffset 706, 15 lines modified
706 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01181.html"·title="CUDA·patch·table.">CudaPatchTable</a>·or·equivalent</td></tr>706 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01181.html"·title="CUDA·patch·table.">CudaPatchTable</a>·or·equivalent</td></tr>
707 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cuda·evaluator</td></tr>707 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cuda·evaluator</td></tr>
708 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cuda·evaluator·</td></tr>708 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cuda·evaluator·</td></tr>
709 ··</table>709 ··</table>
710 ··</dd>710 ··</dd>
711 </dl>711 </dl>
  
712 <p·class="definition">Definition·at·line·<a·class="el"·href="a00791_source.html#l00648">648</a>·of·file·<a·class="el"·href="a00791_source.html">cudaEvaluator.h</a>.</p>712 <p·class="definition">Definition·at·line·<a·class="el"·href="a00773_source.html#l00648">648</a>·of·file·<a·class="el"·href="a00773_source.html">cudaEvaluator.h</a>.</p>
  
713 </div>713 </div>
714 </div>714 </div>
715 <a·id="aed5bc5e9191bc7fccb1bdedf835d8a35"·name="aed5bc5e9191bc7fccb1bdedf835d8a35"></a>715 <a·id="aed5bc5e9191bc7fccb1bdedf835d8a35"·name="aed5bc5e9191bc7fccb1bdedf835d8a35"></a>
716 <h2·class="memtitle"><span·class="permalink"><a·href="#aed5bc5e9191bc7fccb1bdedf835d8a35">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[5/6]</span></h2>716 <h2·class="memtitle"><span·class="permalink"><a·href="#aed5bc5e9191bc7fccb1bdedf835d8a35">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[5/6]</span></h2>
  
717 <div·class="memitem">717 <div·class="memitem">
Offset 830, 15 lines modifiedOffset 830, 15 lines modified
830 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01181.html"·title="CUDA·patch·table.">CudaPatchTable</a>·or·equivalent</td></tr>830 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01181.html"·title="CUDA·patch·table.">CudaPatchTable</a>·or·equivalent</td></tr>
831 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cuda·evaluator</td></tr>831 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cuda·evaluator</td></tr>
832 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cuda·evaluator·</td></tr>832 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cuda·evaluator·</td></tr>
833 ··</table>833 ··</table>
834 ··</dd>834 ··</dd>
835 </dl>835 </dl>
  
836 <p·class="definition">Definition·at·line·<a·class="el"·href="a00791_source.html#l00565">565</a>·of·file·<a·class="el"·href="a00791_source.html">cudaEvaluator.h</a>.</p>836 <p·class="definition">Definition·at·line·<a·class="el"·href="a00773_source.html#l00565">565</a>·of·file·<a·class="el"·href="a00773_source.html">cudaEvaluator.h</a>.</p>
  
837 </div>837 </div>
838 </div>838 </div>
839 <a·id="ad3803e8121bc0491e9f97900ecd50022"·name="ad3803e8121bc0491e9f97900ecd50022"></a>839 <a·id="ad3803e8121bc0491e9f97900ecd50022"·name="ad3803e8121bc0491e9f97900ecd50022"></a>
840 <h2·class="memtitle"><span·class="permalink"><a·href="#ad3803e8121bc0491e9f97900ecd50022">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[6/6]</span></h2>840 <h2·class="memtitle"><span·class="permalink"><a·href="#ad3803e8121bc0491e9f97900ecd50022">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[6/6]</span></h2>
  
841 <div·class="memitem">841 <div·class="memitem">
Offset 929, 15 lines modifiedOffset 929, 15 lines modified
929 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01181.html"·title="CUDA·patch·table.">CudaPatchTable</a>·or·equivalent</td></tr>929 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01181.html"·title="CUDA·patch·table.">CudaPatchTable</a>·or·equivalent</td></tr>
930 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cuda·evaluator</td></tr>930 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cuda·evaluator</td></tr>
931 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cuda·evaluator·</td></tr>931 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cuda·evaluator·</td></tr>
932 ··</table>932 ··</table>
933 ··</dd>933 ··</dd>
934 </dl>934 </dl>
  
935 <p·class="definition">Definition·at·line·<a·class="el"·href="a00791_source.html#l00504">504</a>·of·file·<a·class="el"·href="a00791_source.html">cudaEvaluator.h</a>.</p>935 <p·class="definition">Definition·at·line·<a·class="el"·href="a00773_source.html#l00504">504</a>·of·file·<a·class="el"·href="a00773_source.html">cudaEvaluator.h</a>.</p>
  
936 </div>936 </div>
937 </div>937 </div>
938 <a·id="ad845f529b06a8cc42bead41a6641dddd"·name="ad845f529b06a8cc42bead41a6641dddd"></a>938 <a·id="ad845f529b06a8cc42bead41a6641dddd"·name="ad845f529b06a8cc42bead41a6641dddd"></a>
939 <h2·class="memtitle"><span·class="permalink"><a·href="#ad845f529b06a8cc42bead41a6641dddd">&#9670;&nbsp;</a></span>EvalPatchesFaceVarying()·<span·class="overload">[1/3]</span></h2>939 <h2·class="memtitle"><span·class="permalink"><a·href="#ad845f529b06a8cc42bead41a6641dddd">&#9670;&nbsp;</a></span>EvalPatchesFaceVarying()·<span·class="overload">[1/3]</span></h2>
  
940 <div·class="memitem">940 <div·class="memitem">
Offset 1102, 15 lines modifiedOffset 1102, 15 lines modified
1102 ····<tr><td·class="paramname">fvarChannel</td><td>face-varying·channel</td></tr>1102 ····<tr><td·class="paramname">fvarChannel</td><td>face-varying·channel</td></tr>
1103 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cuda·evaluator</td></tr>1103 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cuda·evaluator</td></tr>
1104 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cuda·evaluator·</td></tr>1104 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cuda·evaluator·</td></tr>
1105 ··</table>1105 ··</table>
1106 ··</dd>1106 ··</dd>
1107 </dl>1107 </dl>
  
1108 <p·class="definition">Definition·at·line·<a·class="el"·href="a00791_source.html#l01224">1224</a>·of·file·<a·class="el"·href="a00791_source.html">cudaEvaluator.h</a>.</p>1108 <p·class="definition">Definition·at·line·<a·class="el"·href="a00773_source.html#l01224">1224</a>·of·file·<a·class="el"·href="a00773_source.html">cudaEvaluator.h</a>.</p>
  
1109 </div>1109 </div>
1110 </div>1110 </div>
1111 <a·id="a67b4efe234a614018b35d181db7855b4"·name="a67b4efe234a614018b35d181db7855b4"></a>1111 <a·id="a67b4efe234a614018b35d181db7855b4"·name="a67b4efe234a614018b35d181db7855b4"></a>
1112 <h2·class="memtitle"><span·class="permalink"><a·href="#a67b4efe234a614018b35d181db7855b4">&#9670;&nbsp;</a></span>EvalPatchesFaceVarying()·<span·class="overload">[2/3]</span></h2>1112 <h2·class="memtitle"><span·class="permalink"><a·href="#a67b4efe234a614018b35d181db7855b4">&#9670;&nbsp;</a></span>EvalPatchesFaceVarying()·<span·class="overload">[2/3]</span></h2>
  
1113 <div·class="memitem">1113 <div·class="memitem">
Offset 1233, 15 lines modifiedOffset 1233, 15 lines modified
1233 ····<tr><td·class="paramname">fvarChannel</td><td>face-varying·channel</td></tr>1233 ····<tr><td·class="paramname">fvarChannel</td><td>face-varying·channel</td></tr>
1234 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cuda·evaluator</td></tr>1234 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cuda·evaluator</td></tr>
1235 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cuda·evaluator·</td></tr>1235 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cuda·evaluator·</td></tr>
1236 ··</table>1236 ··</table>
1237 ··</dd>1237 ··</dd>
1238 </dl>1238 </dl>
  
1239 <p·class="definition">Definition·at·line·<a·class="el"·href="a00791_source.html#l01136">1136</a>·of·file·<a·class="el"·href="a00791_source.html">cudaEvaluator.h</a>.</p>1239 <p·class="definition">Definition·at·line·<a·class="el"·href="a00773_source.html#l01136">1136</a>·of·file·<a·class="el"·href="a00773_source.html">cudaEvaluator.h</a>.</p>
  
1240 </div>1240 </div>
1241 </div>1241 </div>
1242 <a·id="af5d3c947db15fced476cfb40f7f12203"·name="af5d3c947db15fced476cfb40f7f12203"></a>1242 <a·id="af5d3c947db15fced476cfb40f7f12203"·name="af5d3c947db15fced476cfb40f7f12203"></a>
1243 <h2·class="memtitle"><span·class="permalink"><a·href="#af5d3c947db15fced476cfb40f7f12203">&#9670;&nbsp;</a></span>EvalPatchesFaceVarying()·<span·class="overload">[3/3]</span></h2>1243 <h2·class="memtitle"><span·class="permalink"><a·href="#af5d3c947db15fced476cfb40f7f12203">&#9670;&nbsp;</a></span>EvalPatchesFaceVarying()·<span·class="overload">[3/3]</span></h2>
  
1244 <div·class="memitem">1244 <div·class="memitem">
Offset 1336, 15 lines modifiedOffset 1336, 15 lines modified
1336 ····<tr><td·class="paramname">fvarChannel</td><td>face-varying·channel</td></tr>1336 ····<tr><td·class="paramname">fvarChannel</td><td>face-varying·channel</td></tr>
1337 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cuda·evaluator</td></tr>1337 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cuda·evaluator</td></tr>
1338 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cuda·evaluator·</td></tr>1338 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cuda·evaluator·</td></tr>
1339 ··</table>1339 ··</table>
1340 ··</dd>1340 ··</dd>
1341 </dl>1341 </dl>
  
1342 <p·class="definition">Definition·at·line·<a·class="el"·href="a00791_source.html#l01070">1070</a>·of·file·<a·class="el"·href="a00791_source.html">cudaEvaluator.h</a>.</p>1342 <p·class="definition">Definition·at·line·<a·class="el"·href="a00773_source.html#l01070">1070</a>·of·file·<a·class="el"·href="a00773_source.html">cudaEvaluator.h</a>.</p>
  
1343 </div>1343 </div>
1344 </div>1344 </div>
1345 <a·id="ad13485a6dcf9e310ac0421ef1b2ad17b"·name="ad13485a6dcf9e310ac0421ef1b2ad17b"></a>1345 <a·id="ad13485a6dcf9e310ac0421ef1b2ad17b"·name="ad13485a6dcf9e310ac0421ef1b2ad17b"></a>
1346 <h2·class="memtitle"><span·class="permalink"><a·href="#ad13485a6dcf9e310ac0421ef1b2ad17b">&#9670;&nbsp;</a></span>EvalPatchesVarying()·<span·class="overload">[1/3]</span></h2>1346 <h2·class="memtitle"><span·class="permalink"><a·href="#ad13485a6dcf9e310ac0421ef1b2ad17b">&#9670;&nbsp;</a></span>EvalPatchesVarying()·<span·class="overload">[1/3]</span></h2>
  
1347 <div·class="memitem">1347 <div·class="memitem">
Max diff block lines reached; 7029/16718 bytes (42.04%) of diff not shown.
16.1 KB
./usr/share/doc/opensubdiv/doxy_html/a01181.html
    
Offset 93, 15 lines modifiedOffset 93, 15 lines modified
93 ··<div·class="headertitle"><div·class="title">CudaPatchTable·Class·Reference</div></div>93 ··<div·class="headertitle"><div·class="title">CudaPatchTable·Class·Reference</div></div>
94 </div><!--header-->94 </div><!--header-->
95 <div·class="contents">95 <div·class="contents">
  
96 <p>CUDA·patch·table.··96 <p>CUDA·patch·table.··
97 ·<a·href="a01181.html#details">More...</a></p>97 ·<a·href="a01181.html#details">More...</a></p>
  
98 <p><code>#include·&lt;<a·class="el"·href="a00788_source.html">cudaPatchTable.h</a>&gt;</code></p>98 <p><code>#include·&lt;<a·class="el"·href="a00770_source.html">cudaPatchTable.h</a>&gt;</code></p>
99 <div·class="dynheader">99 <div·class="dynheader">
100 Inheritance·diagram·for·CudaPatchTable:</div>100 Inheritance·diagram·for·CudaPatchTable:</div>
101 <div·class="dyncontent">101 <div·class="dyncontent">
102 ·<div·class="center">102 ·<div·class="center">
103 ··<img·src="a01181.png"·alt=""/>103 ··<img·src="a01181.png"·alt=""/>
104 ·</div></div>104 ·</div></div>
105 <table·class="memberdecls">105 <table·class="memberdecls">
Offset 171, 15 lines modifiedOffset 171, 15 lines modified
171 <tr·class="separator:a24f6a6d8efcff60c81c635786f88e951"><td·class="memSeparator"·colspan="2">&#160;</td></tr>171 <tr·class="separator:a24f6a6d8efcff60c81c635786f88e951"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
172 </table>172 </table>
173 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>173 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
174 <div·class="textblock"><p·>CUDA·patch·table.·</p>174 <div·class="textblock"><p·>CUDA·patch·table.·</p>
175 <p·>This·class·is·a·cuda·buffer·representation·of·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">Far::PatchTable</a>.</p>175 <p·>This·class·is·a·cuda·buffer·representation·of·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">Far::PatchTable</a>.</p>
176 <p·><a·class="el"·href="a01177.html">CudaEvaluator</a>·consumes·this·table·to·evaluate·on·the·patches.·</p>176 <p·><a·class="el"·href="a01177.html">CudaEvaluator</a>·consumes·this·table·to·evaluate·on·the·patches.·</p>
  
177 <p·class="definition">Definition·at·line·<a·class="el"·href="a00788_source.html#l00051">51</a>·of·file·<a·class="el"·href="a00788_source.html">cudaPatchTable.h</a>.</p>177 <p·class="definition">Definition·at·line·<a·class="el"·href="a00770_source.html#l00051">51</a>·of·file·<a·class="el"·href="a00770_source.html">cudaPatchTable.h</a>.</p>
178 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>178 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
179 <a·id="a77236fdbdacca3f2e8e21c4be8ca0bf6"·name="a77236fdbdacca3f2e8e21c4be8ca0bf6"></a>179 <a·id="a77236fdbdacca3f2e8e21c4be8ca0bf6"·name="a77236fdbdacca3f2e8e21c4be8ca0bf6"></a>
180 <h2·class="memtitle"><span·class="permalink"><a·href="#a77236fdbdacca3f2e8e21c4be8ca0bf6">&#9670;&nbsp;</a></span>~CudaPatchTable()</h2>180 <h2·class="memtitle"><span·class="permalink"><a·href="#a77236fdbdacca3f2e8e21c4be8ca0bf6">&#9670;&nbsp;</a></span>~CudaPatchTable()</h2>
  
181 <div·class="memitem">181 <div·class="memitem">
182 <div·class="memproto">182 <div·class="memproto">
183 ······<table·class="memname">183 ······<table·class="memname">
Offset 308, 15 lines modifiedOffset 308, 15 lines modified
308 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>308 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
309 ··</tr>309 ··</tr>
310 </table>310 </table>
311 </div><div·class="memdoc">311 </div><div·class="memdoc">
  
312 <p>Returns·the·cuda·memory·of·the·array·of·<a·class="el"·href="a01317.html">Osd::PatchArray</a>·buffer.·</p>312 <p>Returns·the·cuda·memory·of·the·array·of·<a·class="el"·href="a01317.html">Osd::PatchArray</a>·buffer.·</p>
  
313 <p·class="definition">Definition·at·line·<a·class="el"·href="a00788_source.html#l00081">81</a>·of·file·<a·class="el"·href="a00788_source.html">cudaPatchTable.h</a>.</p>313 <p·class="definition">Definition·at·line·<a·class="el"·href="a00770_source.html#l00081">81</a>·of·file·<a·class="el"·href="a00770_source.html">cudaPatchTable.h</a>.</p>
  
314 </div>314 </div>
315 </div>315 </div>
316 <a·id="abdb11e2609df00620abd8c081c3b13be"·name="abdb11e2609df00620abd8c081c3b13be"></a>316 <a·id="abdb11e2609df00620abd8c081c3b13be"·name="abdb11e2609df00620abd8c081c3b13be"></a>
317 <h2·class="memtitle"><span·class="permalink"><a·href="#abdb11e2609df00620abd8c081c3b13be">&#9670;&nbsp;</a></span>GetFVarPatchIndexBuffer()</h2>317 <h2·class="memtitle"><span·class="permalink"><a·href="#abdb11e2609df00620abd8c081c3b13be">&#9670;&nbsp;</a></span>GetFVarPatchIndexBuffer()</h2>
  
318 <div·class="memitem">318 <div·class="memitem">
Offset 338, 15 lines modifiedOffset 338, 15 lines modified
338 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>338 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
339 ··</tr>339 ··</tr>
340 </table>340 </table>
341 </div><div·class="memdoc">341 </div><div·class="memdoc">
  
342 <p>Returns·the·cuda·memory·of·the·array·of·face-varying·control·vertices.·</p>342 <p>Returns·the·cuda·memory·of·the·array·of·face-varying·control·vertices.·</p>
  
343 <p·class="definition">Definition·at·line·<a·class="el"·href="a00788_source.html#l00086">86</a>·of·file·<a·class="el"·href="a00788_source.html">cudaPatchTable.h</a>.</p>343 <p·class="definition">Definition·at·line·<a·class="el"·href="a00770_source.html#l00086">86</a>·of·file·<a·class="el"·href="a00770_source.html">cudaPatchTable.h</a>.</p>
  
344 </div>344 </div>
345 </div>345 </div>
346 <a·id="adb0788b75a061fc9b650d75bf691f1d8"·name="adb0788b75a061fc9b650d75bf691f1d8"></a>346 <a·id="adb0788b75a061fc9b650d75bf691f1d8"·name="adb0788b75a061fc9b650d75bf691f1d8"></a>
347 <h2·class="memtitle"><span·class="permalink"><a·href="#adb0788b75a061fc9b650d75bf691f1d8">&#9670;&nbsp;</a></span>GetFVarPatchParamBuffer()</h2>347 <h2·class="memtitle"><span·class="permalink"><a·href="#adb0788b75a061fc9b650d75bf691f1d8">&#9670;&nbsp;</a></span>GetFVarPatchParamBuffer()</h2>
  
348 <div·class="memitem">348 <div·class="memitem">
Offset 368, 15 lines modifiedOffset 368, 15 lines modified
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>Returns·the·cuda·memory·of·the·array·of·face-varying·param.·</p>372 <p>Returns·the·cuda·memory·of·the·array·of·face-varying·param.·</p>
  
373 <p·class="definition">Definition·at·line·<a·class="el"·href="a00788_source.html#l00091">91</a>·of·file·<a·class="el"·href="a00788_source.html">cudaPatchTable.h</a>.</p>373 <p·class="definition">Definition·at·line·<a·class="el"·href="a00770_source.html#l00091">91</a>·of·file·<a·class="el"·href="a00770_source.html">cudaPatchTable.h</a>.</p>
  
374 </div>374 </div>
375 </div>375 </div>
376 <a·id="aa9be824a572029f3ec1e0c0d6cfecd77"·name="aa9be824a572029f3ec1e0c0d6cfecd77"></a>376 <a·id="aa9be824a572029f3ec1e0c0d6cfecd77"·name="aa9be824a572029f3ec1e0c0d6cfecd77"></a>
377 <h2·class="memtitle"><span·class="permalink"><a·href="#aa9be824a572029f3ec1e0c0d6cfecd77">&#9670;&nbsp;</a></span>GetNumFVarChannels()</h2>377 <h2·class="memtitle"><span·class="permalink"><a·href="#aa9be824a572029f3ec1e0c0d6cfecd77">&#9670;&nbsp;</a></span>GetNumFVarChannels()</h2>
  
378 <div·class="memitem">378 <div·class="memitem">
Offset 397, 15 lines modifiedOffset 397, 15 lines modified
397 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>397 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
398 ··</tr>398 ··</tr>
399 </table>399 </table>
400 </div><div·class="memdoc">400 </div><div·class="memdoc">
  
401 <p>Returns·the·number·of·face-varying·channels·buffers.·</p>401 <p>Returns·the·number·of·face-varying·channels·buffers.·</p>
  
402 <p·class="definition">Definition·at·line·<a·class="el"·href="a00788_source.html#l00078">78</a>·of·file·<a·class="el"·href="a00788_source.html">cudaPatchTable.h</a>.</p>402 <p·class="definition">Definition·at·line·<a·class="el"·href="a00770_source.html#l00078">78</a>·of·file·<a·class="el"·href="a00770_source.html">cudaPatchTable.h</a>.</p>
  
403 </div>403 </div>
404 </div>404 </div>
405 <a·id="a7e3a54d16295a2557cf0e63cb223a2db"·name="a7e3a54d16295a2557cf0e63cb223a2db"></a>405 <a·id="a7e3a54d16295a2557cf0e63cb223a2db"·name="a7e3a54d16295a2557cf0e63cb223a2db"></a>
406 <h2·class="memtitle"><span·class="permalink"><a·href="#a7e3a54d16295a2557cf0e63cb223a2db">&#9670;&nbsp;</a></span>GetPatchArrayBuffer()</h2>406 <h2·class="memtitle"><span·class="permalink"><a·href="#a7e3a54d16295a2557cf0e63cb223a2db">&#9670;&nbsp;</a></span>GetPatchArrayBuffer()</h2>
  
407 <div·class="memitem">407 <div·class="memitem">
Offset 426, 15 lines modifiedOffset 426, 15 lines modified
426 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>426 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
427 ··</tr>427 ··</tr>
428 </table>428 </table>
429 </div><div·class="memdoc">429 </div><div·class="memdoc">
  
430 <p>Returns·the·cuda·memory·of·the·array·of·<a·class="el"·href="a01317.html">Osd::PatchArray</a>·buffer.·</p>430 <p>Returns·the·cuda·memory·of·the·array·of·<a·class="el"·href="a01317.html">Osd::PatchArray</a>·buffer.·</p>
  
431 <p·class="definition">Definition·at·line·<a·class="el"·href="a00788_source.html#l00060">60</a>·of·file·<a·class="el"·href="a00788_source.html">cudaPatchTable.h</a>.</p>431 <p·class="definition">Definition·at·line·<a·class="el"·href="a00770_source.html#l00060">60</a>·of·file·<a·class="el"·href="a00770_source.html">cudaPatchTable.h</a>.</p>
  
432 </div>432 </div>
433 </div>433 </div>
434 <a·id="aa14d12be64d8e84f6303a9803e73b71d"·name="aa14d12be64d8e84f6303a9803e73b71d"></a>434 <a·id="aa14d12be64d8e84f6303a9803e73b71d"·name="aa14d12be64d8e84f6303a9803e73b71d"></a>
435 <h2·class="memtitle"><span·class="permalink"><a·href="#aa14d12be64d8e84f6303a9803e73b71d">&#9670;&nbsp;</a></span>GetPatchIndexBuffer()</h2>435 <h2·class="memtitle"><span·class="permalink"><a·href="#aa14d12be64d8e84f6303a9803e73b71d">&#9670;&nbsp;</a></span>GetPatchIndexBuffer()</h2>
  
436 <div·class="memitem">436 <div·class="memitem">
Offset 455, 15 lines modifiedOffset 455, 15 lines modified
455 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>455 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
456 ··</tr>456 ··</tr>
457 </table>457 </table>
458 </div><div·class="memdoc">458 </div><div·class="memdoc">
  
459 <p>Returns·the·cuda·memory·of·the·patch·control·vertices.·</p>459 <p>Returns·the·cuda·memory·of·the·patch·control·vertices.·</p>
  
460 <p·class="definition">Definition·at·line·<a·class="el"·href="a00788_source.html#l00063">63</a>·of·file·<a·class="el"·href="a00788_source.html">cudaPatchTable.h</a>.</p>460 <p·class="definition">Definition·at·line·<a·class="el"·href="a00770_source.html#l00063">63</a>·of·file·<a·class="el"·href="a00770_source.html">cudaPatchTable.h</a>.</p>
  
461 </div>461 </div>
462 </div>462 </div>
463 <a·id="ab9e6dd4a1062dc6560e306db28f31a67"·name="ab9e6dd4a1062dc6560e306db28f31a67"></a>463 <a·id="ab9e6dd4a1062dc6560e306db28f31a67"·name="ab9e6dd4a1062dc6560e306db28f31a67"></a>
464 <h2·class="memtitle"><span·class="permalink"><a·href="#ab9e6dd4a1062dc6560e306db28f31a67">&#9670;&nbsp;</a></span>GetPatchParamBuffer()</h2>464 <h2·class="memtitle"><span·class="permalink"><a·href="#ab9e6dd4a1062dc6560e306db28f31a67">&#9670;&nbsp;</a></span>GetPatchParamBuffer()</h2>
  
465 <div·class="memitem">465 <div·class="memitem">
Max diff block lines reached; 9440/16424 bytes (57.48%) of diff not shown.
4.08 KB
./usr/share/doc/opensubdiv/doxy_html/a01185.html
    
Offset 92, 15 lines modifiedOffset 92, 15 lines modified
92 ··<div·class="headertitle"><div·class="title">CudaVertexBuffer·Class·Reference</div></div>92 ··<div·class="headertitle"><div·class="title">CudaVertexBuffer·Class·Reference</div></div>
93 </div><!--header-->93 </div><!--header-->
94 <div·class="contents">94 <div·class="contents">
  
95 <p>Concrete·vertex·buffer·class·for·Cuda·subdivision.··95 <p>Concrete·vertex·buffer·class·for·Cuda·subdivision.··
96 ·<a·href="a01185.html#details">More...</a></p>96 ·<a·href="a01185.html#details">More...</a></p>
  
97 <p><code>#include·&lt;<a·class="el"·href="a00902_source.html">cudaVertexBuffer.h</a>&gt;</code></p>97 <p><code>#include·&lt;<a·class="el"·href="a00884_source.html">cudaVertexBuffer.h</a>&gt;</code></p>
98 <table·class="memberdecls">98 <table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
100 Public·Member·Functions</h2></td></tr>100 Public·Member·Functions</h2></td></tr>
101 <tr·class="memitem:a7534b2edf898c9b6ee4a0b9c8aaf918f"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01185.html#a7534b2edf898c9b6ee4a0b9c8aaf918f">~CudaVertexBuffer</a>·()</td></tr>101 <tr·class="memitem:a7534b2edf898c9b6ee4a0b9c8aaf918f"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01185.html#a7534b2edf898c9b6ee4a0b9c8aaf918f">~CudaVertexBuffer</a>·()</td></tr>
102 <tr·class="memdesc:a7534b2edf898c9b6ee4a0b9c8aaf918f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Destructor.··<a·href="a01185.html#a7534b2edf898c9b6ee4a0b9c8aaf918f">More...</a><br·/></td></tr>102 <tr·class="memdesc:a7534b2edf898c9b6ee4a0b9c8aaf918f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Destructor.··<a·href="a01185.html#a7534b2edf898c9b6ee4a0b9c8aaf918f">More...</a><br·/></td></tr>
103 <tr·class="separator:a7534b2edf898c9b6ee4a0b9c8aaf918f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:a7534b2edf898c9b6ee4a0b9c8aaf918f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 <tr·class="memitem:a96601a091f8831823c4dd72b6c962f1b"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01185.html#a96601a091f8831823c4dd72b6c962f1b">UpdateData</a>·(const·float·*src,·int·startVertex,·int·numVertices,·void·*deviceContext=NULL)</td></tr>104 <tr·class="memitem:a96601a091f8831823c4dd72b6c962f1b"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01185.html#a96601a091f8831823c4dd72b6c962f1b">UpdateData</a>·(const·float·*src,·int·startVertex,·int·numVertices,·void·*deviceContext=NULL)</td></tr>
Offset 129, 15 lines modifiedOffset 129, 15 lines modified
129 <tr·class="memitem:add23d9f5bbc918076d240287a9b3664f"><td·class="memItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01185.html#add23d9f5bbc918076d240287a9b3664f">allocate</a>·()</td></tr>129 <tr·class="memitem:add23d9f5bbc918076d240287a9b3664f"><td·class="memItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01185.html#add23d9f5bbc918076d240287a9b3664f">allocate</a>·()</td></tr>
130 <tr·class="separator:add23d9f5bbc918076d240287a9b3664f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>130 <tr·class="separator:add23d9f5bbc918076d240287a9b3664f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
131 </table>131 </table>
132 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>132 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
133 <div·class="textblock"><p·>Concrete·vertex·buffer·class·for·Cuda·subdivision.·</p>133 <div·class="textblock"><p·>Concrete·vertex·buffer·class·for·Cuda·subdivision.·</p>
134 <p·><a·class="el"·href="a01185.html"·title="Concrete·vertex·buffer·class·for·Cuda·subdivision.">CudaVertexBuffer</a>·implements·CudaVertexBufferInterface.·An·instance·of·this·buffer·class·can·be·passed·to·<a·class="el"·href="a01177.html">CudaEvaluator</a>·</p>134 <p·><a·class="el"·href="a01185.html"·title="Concrete·vertex·buffer·class·for·Cuda·subdivision.">CudaVertexBuffer</a>·implements·CudaVertexBufferInterface.·An·instance·of·this·buffer·class·can·be·passed·to·<a·class="el"·href="a01177.html">CudaEvaluator</a>·</p>
  
135 <p·class="definition">Definition·at·line·<a·class="el"·href="a00902_source.html#l00042">42</a>·of·file·<a·class="el"·href="a00902_source.html">cudaVertexBuffer.h</a>.</p>135 <p·class="definition">Definition·at·line·<a·class="el"·href="a00884_source.html#l00042">42</a>·of·file·<a·class="el"·href="a00884_source.html">cudaVertexBuffer.h</a>.</p>
136 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>136 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
137 <a·id="a7534b2edf898c9b6ee4a0b9c8aaf918f"·name="a7534b2edf898c9b6ee4a0b9c8aaf918f"></a>137 <a·id="a7534b2edf898c9b6ee4a0b9c8aaf918f"·name="a7534b2edf898c9b6ee4a0b9c8aaf918f"></a>
138 <h2·class="memtitle"><span·class="permalink"><a·href="#a7534b2edf898c9b6ee4a0b9c8aaf918f">&#9670;&nbsp;</a></span>~CudaVertexBuffer()</h2>138 <h2·class="memtitle"><span·class="permalink"><a·href="#a7534b2edf898c9b6ee4a0b9c8aaf918f">&#9670;&nbsp;</a></span>~CudaVertexBuffer()</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 358, 15 lines modifiedOffset 358, 15 lines modified
358 ······</table>358 ······</table>
359 </div><div·class="memdoc">359 </div><div·class="memdoc">
360 <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>360 <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>
  
361 </div>361 </div>
362 </div>362 </div>
363 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>363 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
364 <li>opensubdiv/osd/<a·class="el"·href="a00902_source.html">cudaVertexBuffer.h</a></li>364 <li>opensubdiv/osd/<a·class="el"·href="a00884_source.html">cudaVertexBuffer.h</a></li>
365 </ul>365 </ul>
366 </div><!--·contents·-->366 </div><!--·contents·-->
367 </div><!--·doc-content·-->367 </div><!--·doc-content·-->
368 <!--·start·footer·part·-->368 <!--·start·footer·part·-->
369 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->369 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
370 ··<ul>370 ··<ul>
371 ····<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="a01185.html">CudaVertexBuffer</a></li>371 ····<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="a01185.html">CudaVertexBuffer</a></li>
8.91 KB
./usr/share/doc/opensubdiv/doxy_html/a01189.html
    
Offset 91, 15 lines modifiedOffset 91, 15 lines modified
91 ··<div·class="headertitle"><div·class="title">D3D11StencilTable·Class·Reference</div></div>91 ··<div·class="headertitle"><div·class="title">D3D11StencilTable·Class·Reference</div></div>
92 </div><!--header-->92 </div><!--header-->
93 <div·class="contents">93 <div·class="contents">
  
94 <p>D3D11·stencil·table.··94 <p>D3D11·stencil·table.··
95 ·<a·href="a01189.html#details">More...</a></p>95 ·<a·href="a01189.html#details">More...</a></p>
  
96 <p><code>#include·&lt;<a·class="el"·href="a00842_source.html">d3d11ComputeEvaluator.h</a>&gt;</code></p>96 <p><code>#include·&lt;<a·class="el"·href="a00827_source.html">d3d11ComputeEvaluator.h</a>&gt;</code></p>
97 <table·class="memberdecls">97 <table·class="memberdecls">
98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
99 Public·Member·Functions</h2></td></tr>99 Public·Member·Functions</h2></td></tr>
100 <tr·class="memitem:a7e3a2f5c281c55308400138222797dbc"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01189.html#a7e3a2f5c281c55308400138222797dbc">D3D11StencilTable</a>·(<a·class="el"·href="a01057.html">Far::StencilTable</a>·const·*stencilTable,·ID3D11DeviceContext·*deviceContext)</td></tr>100 <tr·class="memitem:a7e3a2f5c281c55308400138222797dbc"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01189.html#a7e3a2f5c281c55308400138222797dbc">D3D11StencilTable</a>·(<a·class="el"·href="a01057.html">Far::StencilTable</a>·const·*stencilTable,·ID3D11DeviceContext·*deviceContext)</td></tr>
101 <tr·class="separator:a7e3a2f5c281c55308400138222797dbc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:a7e3a2f5c281c55308400138222797dbc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 <tr·class="memitem:a729ea8793ae67b1767d670a4541006e2"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01189.html#a729ea8793ae67b1767d670a4541006e2">~D3D11StencilTable</a>·()</td></tr>102 <tr·class="memitem:a729ea8793ae67b1767d670a4541006e2"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01189.html#a729ea8793ae67b1767d670a4541006e2">~D3D11StencilTable</a>·()</td></tr>
103 <tr·class="separator:a729ea8793ae67b1767d670a4541006e2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:a729ea8793ae67b1767d670a4541006e2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 123, 15 lines modifiedOffset 123, 15 lines modified
123 <tr·class="separator:a8981041688d408d08dce9c8890504650"><td·class="memSeparator"·colspan="2">&#160;</td></tr>123 <tr·class="separator:a8981041688d408d08dce9c8890504650"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
124 </table>124 </table>
125 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>125 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
126 <div·class="textblock"><p·>D3D11·stencil·table.·</p>126 <div·class="textblock"><p·>D3D11·stencil·table.·</p>
127 <p·>This·class·is·a·D3D11·Shader·Resource·View·representation·of·<a·class="el"·href="a01057.html"·title="Stencil·table·class·wrapping·the·template·for·compatibility.">Far::StencilTable</a>.</p>127 <p·>This·class·is·a·D3D11·Shader·Resource·View·representation·of·<a·class="el"·href="a01057.html"·title="Stencil·table·class·wrapping·the·template·for·compatibility.">Far::StencilTable</a>.</p>
128 <p·><a·class="el"·href="a01193.html">D3D11ComputeEvaluator</a>·consumes·this·table·to·apply·stencils·</p>128 <p·><a·class="el"·href="a01193.html">D3D11ComputeEvaluator</a>·consumes·this·table·to·apply·stencils·</p>
  
129 <p·class="definition">Definition·at·line·<a·class="el"·href="a00842_source.html#l00056">56</a>·of·file·<a·class="el"·href="a00842_source.html">d3d11ComputeEvaluator.h</a>.</p>129 <p·class="definition">Definition·at·line·<a·class="el"·href="a00827_source.html#l00056">56</a>·of·file·<a·class="el"·href="a00827_source.html">d3d11ComputeEvaluator.h</a>.</p>
130 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>130 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
131 <a·id="a7e3a2f5c281c55308400138222797dbc"·name="a7e3a2f5c281c55308400138222797dbc"></a>131 <a·id="a7e3a2f5c281c55308400138222797dbc"·name="a7e3a2f5c281c55308400138222797dbc"></a>
132 <h2·class="memtitle"><span·class="permalink"><a·href="#a7e3a2f5c281c55308400138222797dbc">&#9670;&nbsp;</a></span>D3D11StencilTable()</h2>132 <h2·class="memtitle"><span·class="permalink"><a·href="#a7e3a2f5c281c55308400138222797dbc">&#9670;&nbsp;</a></span>D3D11StencilTable()</h2>
  
133 <div·class="memitem">133 <div·class="memitem">
134 <div·class="memproto">134 <div·class="memproto">
135 ······<table·class="memname">135 ······<table·class="memname">
Offset 205, 15 lines modifiedOffset 205, 15 lines modified
205 ··</td>205 ··</td>
206 ··<td·class="mlabels-right">206 ··<td·class="mlabels-right">
207 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>207 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>
208 ··</tr>208 ··</tr>
209 </table>209 </table>
210 </div><div·class="memdoc">210 </div><div·class="memdoc">
  
211 <p·class="definition">Definition·at·line·<a·class="el"·href="a00842_source.html#l00059">59</a>·of·file·<a·class="el"·href="a00842_source.html">d3d11ComputeEvaluator.h</a>.</p>211 <p·class="definition">Definition·at·line·<a·class="el"·href="a00827_source.html#l00059">59</a>·of·file·<a·class="el"·href="a00827_source.html">d3d11ComputeEvaluator.h</a>.</p>
  
212 </div>212 </div>
213 </div>213 </div>
214 <a·id="a8981041688d408d08dce9c8890504650"·name="a8981041688d408d08dce9c8890504650"></a>214 <a·id="a8981041688d408d08dce9c8890504650"·name="a8981041688d408d08dce9c8890504650"></a>
215 <h2·class="memtitle"><span·class="permalink"><a·href="#a8981041688d408d08dce9c8890504650">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[2/2]</span></h2>215 <h2·class="memtitle"><span·class="permalink"><a·href="#a8981041688d408d08dce9c8890504650">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[2/2]</span></h2>
  
216 <div·class="memitem">216 <div·class="memitem">
Offset 243, 15 lines modifiedOffset 243, 15 lines modified
243 ··</td>243 ··</td>
244 ··<td·class="mlabels-right">244 ··<td·class="mlabels-right">
245 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>245 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>
246 ··</tr>246 ··</tr>
247 </table>247 </table>
248 </div><div·class="memdoc">248 </div><div·class="memdoc">
  
249 <p·class="definition">Definition·at·line·<a·class="el"·href="a00842_source.html#l00064">64</a>·of·file·<a·class="el"·href="a00842_source.html">d3d11ComputeEvaluator.h</a>.</p>249 <p·class="definition">Definition·at·line·<a·class="el"·href="a00827_source.html#l00064">64</a>·of·file·<a·class="el"·href="a00827_source.html">d3d11ComputeEvaluator.h</a>.</p>
  
250 </div>250 </div>
251 </div>251 </div>
252 <a·id="a6aa76c564ae400e727b2377ce785cd90"·name="a6aa76c564ae400e727b2377ce785cd90"></a>252 <a·id="a6aa76c564ae400e727b2377ce785cd90"·name="a6aa76c564ae400e727b2377ce785cd90"></a>
253 <h2·class="memtitle"><span·class="permalink"><a·href="#a6aa76c564ae400e727b2377ce785cd90">&#9670;&nbsp;</a></span>GetIndicesSRV()</h2>253 <h2·class="memtitle"><span·class="permalink"><a·href="#a6aa76c564ae400e727b2377ce785cd90">&#9670;&nbsp;</a></span>GetIndicesSRV()</h2>
  
254 <div·class="memitem">254 <div·class="memitem">
Offset 270, 15 lines modifiedOffset 270, 15 lines modified
270 ··</td>270 ··</td>
271 ··<td·class="mlabels-right">271 ··<td·class="mlabels-right">
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·class="definition">Definition·at·line·<a·class="el"·href="a00842_source.html#l00077">77</a>·of·file·<a·class="el"·href="a00842_source.html">d3d11ComputeEvaluator.h</a>.</p>276 <p·class="definition">Definition·at·line·<a·class="el"·href="a00827_source.html#l00077">77</a>·of·file·<a·class="el"·href="a00827_source.html">d3d11ComputeEvaluator.h</a>.</p>
  
277 </div>277 </div>
278 </div>278 </div>
279 <a·id="a65836d2070b943c8fecbad926d074de2"·name="a65836d2070b943c8fecbad926d074de2"></a>279 <a·id="a65836d2070b943c8fecbad926d074de2"·name="a65836d2070b943c8fecbad926d074de2"></a>
280 <h2·class="memtitle"><span·class="permalink"><a·href="#a65836d2070b943c8fecbad926d074de2">&#9670;&nbsp;</a></span>GetNumStencils()</h2>280 <h2·class="memtitle"><span·class="permalink"><a·href="#a65836d2070b943c8fecbad926d074de2">&#9670;&nbsp;</a></span>GetNumStencils()</h2>
  
281 <div·class="memitem">281 <div·class="memitem">
Offset 297, 15 lines modifiedOffset 297, 15 lines modified
297 ··</td>297 ··</td>
298 ··<td·class="mlabels-right">298 ··<td·class="mlabels-right">
299 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>299 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
300 ··</tr>300 ··</tr>
301 </table>301 </table>
302 </div><div·class="memdoc">302 </div><div·class="memdoc">
  
303 <p·class="definition">Definition·at·line·<a·class="el"·href="a00842_source.html#l00079">79</a>·of·file·<a·class="el"·href="a00842_source.html">d3d11ComputeEvaluator.h</a>.</p>303 <p·class="definition">Definition·at·line·<a·class="el"·href="a00827_source.html#l00079">79</a>·of·file·<a·class="el"·href="a00827_source.html">d3d11ComputeEvaluator.h</a>.</p>
  
304 </div>304 </div>
305 </div>305 </div>
306 <a·id="a4e486bdd9cf98a5582781a905d154e67"·name="a4e486bdd9cf98a5582781a905d154e67"></a>306 <a·id="a4e486bdd9cf98a5582781a905d154e67"·name="a4e486bdd9cf98a5582781a905d154e67"></a>
307 <h2·class="memtitle"><span·class="permalink"><a·href="#a4e486bdd9cf98a5582781a905d154e67">&#9670;&nbsp;</a></span>GetOffsetsSRV()</h2>307 <h2·class="memtitle"><span·class="permalink"><a·href="#a4e486bdd9cf98a5582781a905d154e67">&#9670;&nbsp;</a></span>GetOffsetsSRV()</h2>
  
308 <div·class="memitem">308 <div·class="memitem">
Offset 324, 15 lines modifiedOffset 324, 15 lines modified
324 ··</td>324 ··</td>
325 ··<td·class="mlabels-right">325 ··<td·class="mlabels-right">
326 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>326 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
327 ··</tr>327 ··</tr>
328 </table>328 </table>
329 </div><div·class="memdoc">329 </div><div·class="memdoc">
  
330 <p·class="definition">Definition·at·line·<a·class="el"·href="a00842_source.html#l00076">76</a>·of·file·<a·class="el"·href="a00842_source.html">d3d11ComputeEvaluator.h</a>.</p>330 <p·class="definition">Definition·at·line·<a·class="el"·href="a00827_source.html#l00076">76</a>·of·file·<a·class="el"·href="a00827_source.html">d3d11ComputeEvaluator.h</a>.</p>
  
331 </div>331 </div>
332 </div>332 </div>
333 <a·id="aa6b4c8f4cd5a1e0111e77d7365018c74"·name="aa6b4c8f4cd5a1e0111e77d7365018c74"></a>333 <a·id="aa6b4c8f4cd5a1e0111e77d7365018c74"·name="aa6b4c8f4cd5a1e0111e77d7365018c74"></a>
334 <h2·class="memtitle"><span·class="permalink"><a·href="#aa6b4c8f4cd5a1e0111e77d7365018c74">&#9670;&nbsp;</a></span>GetSizesSRV()</h2>334 <h2·class="memtitle"><span·class="permalink"><a·href="#aa6b4c8f4cd5a1e0111e77d7365018c74">&#9670;&nbsp;</a></span>GetSizesSRV()</h2>
  
335 <div·class="memitem">335 <div·class="memitem">
Offset 351, 15 lines modifiedOffset 351, 15 lines modified
351 ··</td>351 ··</td>
352 ··<td·class="mlabels-right">352 ··<td·class="mlabels-right">
353 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>353 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
354 ··</tr>354 ··</tr>
355 </table>355 </table>
356 </div><div·class="memdoc">356 </div><div·class="memdoc">
  
357 <p·class="definition">Definition·at·line·<a·class="el"·href="a00842_source.html#l00075">75</a>·of·file·<a·class="el"·href="a00842_source.html">d3d11ComputeEvaluator.h</a>.</p>357 <p·class="definition">Definition·at·line·<a·class="el"·href="a00827_source.html#l00075">75</a>·of·file·<a·class="el"·href="a00827_source.html">d3d11ComputeEvaluator.h</a>.</p>
  
358 </div>358 </div>
359 </div>359 </div>
360 <a·id="ac3de1233503ee41bac41618702b4302c"·name="ac3de1233503ee41bac41618702b4302c"></a>360 <a·id="ac3de1233503ee41bac41618702b4302c"·name="ac3de1233503ee41bac41618702b4302c"></a>
361 <h2·class="memtitle"><span·class="permalink"><a·href="#ac3de1233503ee41bac41618702b4302c">&#9670;&nbsp;</a></span>GetWeightsSRV()</h2>361 <h2·class="memtitle"><span·class="permalink"><a·href="#ac3de1233503ee41bac41618702b4302c">&#9670;&nbsp;</a></span>GetWeightsSRV()</h2>
  
362 <div·class="memitem">362 <div·class="memitem">
Max diff block lines reached; 1279/9026 bytes (14.17%) of diff not shown.
6.68 KB
./usr/share/doc/opensubdiv/doxy_html/a01193.html
    
Offset 89, 15 lines modifiedOffset 89, 15 lines modified
89 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;89 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
90 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;90 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
91 <a·href="a01190.html">List·of·all·members</a>··</div>91 <a·href="a01190.html">List·of·all·members</a>··</div>
92 ··<div·class="headertitle"><div·class="title">D3D11ComputeEvaluator·Class·Reference</div></div>92 ··<div·class="headertitle"><div·class="title">D3D11ComputeEvaluator·Class·Reference</div></div>
93 </div><!--header-->93 </div><!--header-->
94 <div·class="contents">94 <div·class="contents">
  
95 <p><code>#include·&lt;<a·class="el"·href="a00842_source.html">d3d11ComputeEvaluator.h</a>&gt;</code></p>95 <p><code>#include·&lt;<a·class="el"·href="a00827_source.html">d3d11ComputeEvaluator.h</a>&gt;</code></p>
96 <table·class="memberdecls">96 <table·class="memberdecls">
97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
98 Public·Types</h2></td></tr>98 Public·Types</h2></td></tr>
99 <tr·class="memitem:a2c24b70c9312d8dff3fecb9ddea52c44"><td·class="memItemLeft"·align="right"·valign="top">typedef·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01193.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a></td></tr>99 <tr·class="memitem:a2c24b70c9312d8dff3fecb9ddea52c44"><td·class="memItemLeft"·align="right"·valign="top">typedef·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01193.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a></td></tr>
100 <tr·class="separator:a2c24b70c9312d8dff3fecb9ddea52c44"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:a2c24b70c9312d8dff3fecb9ddea52c44"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 </table><table·class="memberdecls">101 </table><table·class="memberdecls">
102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
Offset 129, 29 lines modifiedOffset 129, 29 lines modified
129 <tr·class="separator:a0fe7977009448c93da833015758daab8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>129 <tr·class="separator:a0fe7977009448c93da833015758daab8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
130 <tr·class="memitem:a32ee99f6118ec6f2a93fee1d34a90dc1"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01193.html#a32ee99f6118ec6f2a93fee1d34a90dc1">Synchronize</a>·(ID3D11DeviceContext·*deviceContext)</td></tr>130 <tr·class="memitem:a32ee99f6118ec6f2a93fee1d34a90dc1"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01193.html#a32ee99f6118ec6f2a93fee1d34a90dc1">Synchronize</a>·(ID3D11DeviceContext·*deviceContext)</td></tr>
131 <tr·class="memdesc:a32ee99f6118ec6f2a93fee1d34a90dc1"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Wait·the·dispatched·kernel·finishes.··<a·href="a01193.html#a32ee99f6118ec6f2a93fee1d34a90dc1">More...</a><br·/></td></tr>131 <tr·class="memdesc:a32ee99f6118ec6f2a93fee1d34a90dc1"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Wait·the·dispatched·kernel·finishes.··<a·href="a01193.html#a32ee99f6118ec6f2a93fee1d34a90dc1">More...</a><br·/></td></tr>
132 <tr·class="separator:a32ee99f6118ec6f2a93fee1d34a90dc1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>132 <tr·class="separator:a32ee99f6118ec6f2a93fee1d34a90dc1"><td·class="memSeparator"·colspan="2">&#160;</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">135 <div·class="textblock">
136 <p·class="definition">Definition·at·line·<a·class="el"·href="a00842_source.html#l00096">96</a>·of·file·<a·class="el"·href="a00842_source.html">d3d11ComputeEvaluator.h</a>.</p>136 <p·class="definition">Definition·at·line·<a·class="el"·href="a00827_source.html#l00096">96</a>·of·file·<a·class="el"·href="a00827_source.html">d3d11ComputeEvaluator.h</a>.</p>
137 </div><h2·class="groupheader">Member·Typedef·Documentation</h2>137 </div><h2·class="groupheader">Member·Typedef·Documentation</h2>
138 <a·id="a2c24b70c9312d8dff3fecb9ddea52c44"·name="a2c24b70c9312d8dff3fecb9ddea52c44"></a>138 <a·id="a2c24b70c9312d8dff3fecb9ddea52c44"·name="a2c24b70c9312d8dff3fecb9ddea52c44"></a>
139 <h2·class="memtitle"><span·class="permalink"><a·href="#a2c24b70c9312d8dff3fecb9ddea52c44">&#9670;&nbsp;</a></span>Instantiatable</h2>139 <h2·class="memtitle"><span·class="permalink"><a·href="#a2c24b70c9312d8dff3fecb9ddea52c44">&#9670;&nbsp;</a></span>Instantiatable</h2>
  
140 <div·class="memitem">140 <div·class="memitem">
141 <div·class="memproto">141 <div·class="memproto">
142 ······<table·class="memname">142 ······<table·class="memname">
143 ········<tr>143 ········<tr>
144 ··········<td·class="memname">typedef·bool·<a·class="el"·href="a01193.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a></td>144 ··········<td·class="memname">typedef·bool·<a·class="el"·href="a01193.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a></td>
145 ········</tr>145 ········</tr>
146 ······</table>146 ······</table>
147 </div><div·class="memdoc">147 </div><div·class="memdoc">
  
148 <p·class="definition">Definition·at·line·<a·class="el"·href="a00842_source.html#l00098">98</a>·of·file·<a·class="el"·href="a00842_source.html">d3d11ComputeEvaluator.h</a>.</p>148 <p·class="definition">Definition·at·line·<a·class="el"·href="a00827_source.html#l00098">98</a>·of·file·<a·class="el"·href="a00827_source.html">d3d11ComputeEvaluator.h</a>.</p>
  
149 </div>149 </div>
150 </div>150 </div>
151 <h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>151 <h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
152 <a·id="aa81511d3938d70d67a62217951cb8eb7"·name="aa81511d3938d70d67a62217951cb8eb7"></a>152 <a·id="aa81511d3938d70d67a62217951cb8eb7"·name="aa81511d3938d70d67a62217951cb8eb7"></a>
153 <h2·class="memtitle"><span·class="permalink"><a·href="#aa81511d3938d70d67a62217951cb8eb7">&#9670;&nbsp;</a></span>D3D11ComputeEvaluator()</h2>153 <h2·class="memtitle"><span·class="permalink"><a·href="#aa81511d3938d70d67a62217951cb8eb7">&#9670;&nbsp;</a></span>D3D11ComputeEvaluator()</h2>
  
Offset 510, 15 lines modifiedOffset 510, 15 lines modified
510 ····<tr><td·class="paramname">stencilTable</td><td>stencil·table·to·be·applied.·The·table·must·have·SSBO·interfaces.</td></tr>510 ····<tr><td·class="paramname">stencilTable</td><td>stencil·table·to·be·applied.·The·table·must·have·SSBO·interfaces.</td></tr>
511 ····<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>511 ····<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>
512 ····<tr><td·class="paramname">deviceContext</td><td>ID3D11DeviceContext.·</td></tr>512 ····<tr><td·class="paramname">deviceContext</td><td>ID3D11DeviceContext.·</td></tr>
513 ··</table>513 ··</table>
514 ··</dd>514 ··</dd>
515 </dl>515 </dl>
  
516 <p·class="definition">Definition·at·line·<a·class="el"·href="a00842_source.html#l00148">148</a>·of·file·<a·class="el"·href="a00842_source.html">d3d11ComputeEvaluator.h</a>.</p>516 <p·class="definition">Definition·at·line·<a·class="el"·href="a00827_source.html#l00148">148</a>·of·file·<a·class="el"·href="a00827_source.html">d3d11ComputeEvaluator.h</a>.</p>
  
517 </div>517 </div>
518 </div>518 </div>
519 <a·id="a6be7cb8c9a51cd6ba1c01c5c59f94a60"·name="a6be7cb8c9a51cd6ba1c01c5c59f94a60"></a>519 <a·id="a6be7cb8c9a51cd6ba1c01c5c59f94a60"·name="a6be7cb8c9a51cd6ba1c01c5c59f94a60"></a>
520 <h2·class="memtitle"><span·class="permalink"><a·href="#a6be7cb8c9a51cd6ba1c01c5c59f94a60">&#9670;&nbsp;</a></span>EvalStencils()·<span·class="overload">[3/3]</span></h2>520 <h2·class="memtitle"><span·class="permalink"><a·href="#a6be7cb8c9a51cd6ba1c01c5c59f94a60">&#9670;&nbsp;</a></span>EvalStencils()·<span·class="overload">[3/3]</span></h2>
  
521 <div·class="memitem">521 <div·class="memitem">
Offset 573, 15 lines modifiedOffset 573, 15 lines modified
573 ··<td·class="mlabels-right">573 ··<td·class="mlabels-right">
574 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>574 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
575 ··</tr>575 ··</tr>
576 </table>576 </table>
577 </div><div·class="memdoc">577 </div><div·class="memdoc">
578 <p·>Dispatch·the·DX·compute·kernel·on·GPU·asynchronously.·returns·false·if·the·kernel·hasn't·been·compiled·yet.·</p>578 <p·>Dispatch·the·DX·compute·kernel·on·GPU·asynchronously.·returns·false·if·the·kernel·hasn't·been·compiled·yet.·</p>
  
579 <p·class="definition">Definition·at·line·<a·class="el"·href="a00842_source.html#l00181">181</a>·of·file·<a·class="el"·href="a00842_source.html">d3d11ComputeEvaluator.h</a>.</p>579 <p·class="definition">Definition·at·line·<a·class="el"·href="a00827_source.html#l00181">181</a>·of·file·<a·class="el"·href="a00827_source.html">d3d11ComputeEvaluator.h</a>.</p>
  
580 </div>580 </div>
581 </div>581 </div>
582 <a·id="a32ee99f6118ec6f2a93fee1d34a90dc1"·name="a32ee99f6118ec6f2a93fee1d34a90dc1"></a>582 <a·id="a32ee99f6118ec6f2a93fee1d34a90dc1"·name="a32ee99f6118ec6f2a93fee1d34a90dc1"></a>
583 <h2·class="memtitle"><span·class="permalink"><a·href="#a32ee99f6118ec6f2a93fee1d34a90dc1">&#9670;&nbsp;</a></span>Synchronize()</h2>583 <h2·class="memtitle"><span·class="permalink"><a·href="#a32ee99f6118ec6f2a93fee1d34a90dc1">&#9670;&nbsp;</a></span>Synchronize()</h2>
  
584 <div·class="memitem">584 <div·class="memitem">
Offset 606, 15 lines modifiedOffset 606, 15 lines modified
606 </div><div·class="memdoc">606 </div><div·class="memdoc">
  
607 <p>Wait·the·dispatched·kernel·finishes.·</p>607 <p>Wait·the·dispatched·kernel·finishes.·</p>
  
608 </div>608 </div>
609 </div>609 </div>
610 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>610 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
611 <li>opensubdiv/osd/<a·class="el"·href="a00842_source.html">d3d11ComputeEvaluator.h</a></li>611 <li>opensubdiv/osd/<a·class="el"·href="a00827_source.html">d3d11ComputeEvaluator.h</a></li>
612 </ul>612 </ul>
613 </div><!--·contents·-->613 </div><!--·contents·-->
614 </div><!--·doc-content·-->614 </div><!--·doc-content·-->
615 <!--·start·footer·part·-->615 <!--·start·footer·part·-->
616 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->616 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
617 ··<ul>617 ··<ul>
618 ····<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="a01193.html">D3D11ComputeEvaluator</a></li>618 ····<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="a01193.html">D3D11ComputeEvaluator</a></li>
7.2 KB
./usr/share/doc/opensubdiv/doxy_html/a01197.html
    
Offset 89, 15 lines modifiedOffset 89, 15 lines modified
89 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;89 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
90 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;90 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;
91 <a·href="a01194.html">List·of·all·members</a>··</div>91 <a·href="a01194.html">List·of·all·members</a>··</div>
92 ··<div·class="headertitle"><div·class="title">D3D11LegacyGregoryPatchTable·Class·Reference</div></div>92 ··<div·class="headertitle"><div·class="title">D3D11LegacyGregoryPatchTable·Class·Reference</div></div>
93 </div><!--header-->93 </div><!--header-->
94 <div·class="contents">94 <div·class="contents">
  
95 <p><code>#include·&lt;<a·class="el"·href="a00839_source.html">d3d11LegacyGregoryPatchTable.h</a>&gt;</code></p>95 <p><code>#include·&lt;<a·class="el"·href="a00821_source.html">d3d11LegacyGregoryPatchTable.h</a>&gt;</code></p>
96 <div·class="dynheader">96 <div·class="dynheader">
97 Inheritance·diagram·for·D3D11LegacyGregoryPatchTable:</div>97 Inheritance·diagram·for·D3D11LegacyGregoryPatchTable:</div>
98 <div·class="dyncontent">98 <div·class="dyncontent">
99 ·<div·class="center">99 ·<div·class="center">
100 ··<img·src="a01197.png"·alt=""/>100 ··<img·src="a01197.png"·alt=""/>
101 ·</div></div>101 ·</div></div>
102 <table·class="memberdecls">102 <table·class="memberdecls">
Offset 127, 15 lines modifiedOffset 127, 15 lines modified
127 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pro-methods"·name="pro-methods"></a>127 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pro-methods"·name="pro-methods"></a>
128 Protected·Member·Functions</h2></td></tr>128 Protected·Member·Functions</h2></td></tr>
129 <tr·class="memitem:af138b4535e4db5f013225c5924e0b243"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01197.html#af138b4535e4db5f013225c5924e0b243">D3D11LegacyGregoryPatchTable</a>·()</td></tr>129 <tr·class="memitem:af138b4535e4db5f013225c5924e0b243"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01197.html#af138b4535e4db5f013225c5924e0b243">D3D11LegacyGregoryPatchTable</a>·()</td></tr>
130 <tr·class="separator:af138b4535e4db5f013225c5924e0b243"><td·class="memSeparator"·colspan="2">&#160;</td></tr>130 <tr·class="separator:af138b4535e4db5f013225c5924e0b243"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
131 </table>131 </table>
132 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>132 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
133 <div·class="textblock">133 <div·class="textblock">
134 <p·class="definition">Definition·at·line·<a·class="el"·href="a00839_source.html#l00043">43</a>·of·file·<a·class="el"·href="a00839_source.html">d3d11LegacyGregoryPatchTable.h</a>.</p>134 <p·class="definition">Definition·at·line·<a·class="el"·href="a00821_source.html#l00043">43</a>·of·file·<a·class="el"·href="a00821_source.html">d3d11LegacyGregoryPatchTable.h</a>.</p>
135 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>135 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
136 <a·id="a1b73be1e9343a3df3d0dd6027d06fe1b"·name="a1b73be1e9343a3df3d0dd6027d06fe1b"></a>136 <a·id="a1b73be1e9343a3df3d0dd6027d06fe1b"·name="a1b73be1e9343a3df3d0dd6027d06fe1b"></a>
137 <h2·class="memtitle"><span·class="permalink"><a·href="#a1b73be1e9343a3df3d0dd6027d06fe1b">&#9670;&nbsp;</a></span>~D3D11LegacyGregoryPatchTable()</h2>137 <h2·class="memtitle"><span·class="permalink"><a·href="#a1b73be1e9343a3df3d0dd6027d06fe1b">&#9670;&nbsp;</a></span>~D3D11LegacyGregoryPatchTable()</h2>
  
138 <div·class="memitem">138 <div·class="memitem">
139 <div·class="memproto">139 <div·class="memproto">
140 ······<table·class="memname">140 ······<table·class="memname">
Offset 206, 15 lines modifiedOffset 206, 15 lines modified
206 ··</td>206 ··</td>
207 ··<td·class="mlabels-right">207 ··<td·class="mlabels-right">
208 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>208 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>
209 ··</tr>209 ··</tr>
210 </table>210 </table>
211 </div><div·class="memdoc">211 </div><div·class="memdoc">
  
212 <p·class="definition">Definition·at·line·<a·class="el"·href="a00839_source.html#l00049">49</a>·of·file·<a·class="el"·href="a00839_source.html">d3d11LegacyGregoryPatchTable.h</a>.</p>212 <p·class="definition">Definition·at·line·<a·class="el"·href="a00821_source.html#l00049">49</a>·of·file·<a·class="el"·href="a00821_source.html">d3d11LegacyGregoryPatchTable.h</a>.</p>
  
213 </div>213 </div>
214 </div>214 </div>
215 <a·id="a976374548278711d50993273260df174"·name="a976374548278711d50993273260df174"></a>215 <a·id="a976374548278711d50993273260df174"·name="a976374548278711d50993273260df174"></a>
216 <h2·class="memtitle"><span·class="permalink"><a·href="#a976374548278711d50993273260df174">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[2/2]</span></h2>216 <h2·class="memtitle"><span·class="permalink"><a·href="#a976374548278711d50993273260df174">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[2/2]</span></h2>
  
217 <div·class="memitem">217 <div·class="memitem">
Offset 270, 15 lines modifiedOffset 270, 15 lines modified
270 ··</td>270 ··</td>
271 ··<td·class="mlabels-right">271 ··<td·class="mlabels-right">
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·class="definition">Definition·at·line·<a·class="el"·href="a00839_source.html#l00074">74</a>·of·file·<a·class="el"·href="a00839_source.html">d3d11LegacyGregoryPatchTable.h</a>.</p>276 <p·class="definition">Definition·at·line·<a·class="el"·href="a00821_source.html#l00074">74</a>·of·file·<a·class="el"·href="a00821_source.html">d3d11LegacyGregoryPatchTable.h</a>.</p>
  
277 </div>277 </div>
278 </div>278 </div>
279 <a·id="af03db41bfcbbf8bb266f7b067df6433a"·name="af03db41bfcbbf8bb266f7b067df6433a"></a>279 <a·id="af03db41bfcbbf8bb266f7b067df6433a"·name="af03db41bfcbbf8bb266f7b067df6433a"></a>
280 <h2·class="memtitle"><span·class="permalink"><a·href="#af03db41bfcbbf8bb266f7b067df6433a">&#9670;&nbsp;</a></span>GetQuadOffsetsSRV()</h2>280 <h2·class="memtitle"><span·class="permalink"><a·href="#af03db41bfcbbf8bb266f7b067df6433a">&#9670;&nbsp;</a></span>GetQuadOffsetsSRV()</h2>
  
281 <div·class="memitem">281 <div·class="memitem">
Offset 297, 15 lines modifiedOffset 297, 15 lines modified
297 ··</td>297 ··</td>
298 ··<td·class="mlabels-right">298 ··<td·class="mlabels-right">
299 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>299 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
300 ··</tr>300 ··</tr>
301 </table>301 </table>
302 </div><div·class="memdoc">302 </div><div·class="memdoc">
  
303 <p·class="definition">Definition·at·line·<a·class="el"·href="a00839_source.html#l00070">70</a>·of·file·<a·class="el"·href="a00839_source.html">d3d11LegacyGregoryPatchTable.h</a>.</p>303 <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">d3d11LegacyGregoryPatchTable.h</a>.</p>
  
304 </div>304 </div>
305 </div>305 </div>
306 <a·id="ab758c72f33a9e3aa46c1096446c3557e"·name="ab758c72f33a9e3aa46c1096446c3557e"></a>306 <a·id="ab758c72f33a9e3aa46c1096446c3557e"·name="ab758c72f33a9e3aa46c1096446c3557e"></a>
307 <h2·class="memtitle"><span·class="permalink"><a·href="#ab758c72f33a9e3aa46c1096446c3557e">&#9670;&nbsp;</a></span>GetVertexSRV()</h2>307 <h2·class="memtitle"><span·class="permalink"><a·href="#ab758c72f33a9e3aa46c1096446c3557e">&#9670;&nbsp;</a></span>GetVertexSRV()</h2>
  
308 <div·class="memitem">308 <div·class="memitem">
Offset 324, 15 lines modifiedOffset 324, 15 lines modified
324 ··</td>324 ··</td>
325 ··<td·class="mlabels-right">325 ··<td·class="mlabels-right">
326 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>326 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
327 ··</tr>327 ··</tr>
328 </table>328 </table>
329 </div><div·class="memdoc">329 </div><div·class="memdoc">
  
330 <p·class="definition">Definition·at·line·<a·class="el"·href="a00839_source.html#l00062">62</a>·of·file·<a·class="el"·href="a00839_source.html">d3d11LegacyGregoryPatchTable.h</a>.</p>330 <p·class="definition">Definition·at·line·<a·class="el"·href="a00821_source.html#l00062">62</a>·of·file·<a·class="el"·href="a00821_source.html">d3d11LegacyGregoryPatchTable.h</a>.</p>
  
331 </div>331 </div>
332 </div>332 </div>
333 <a·id="adbc155c902f4c2cb88d9fffbeb6499b4"·name="adbc155c902f4c2cb88d9fffbeb6499b4"></a>333 <a·id="adbc155c902f4c2cb88d9fffbeb6499b4"·name="adbc155c902f4c2cb88d9fffbeb6499b4"></a>
334 <h2·class="memtitle"><span·class="permalink"><a·href="#adbc155c902f4c2cb88d9fffbeb6499b4">&#9670;&nbsp;</a></span>GetVertexValenceSRV()</h2>334 <h2·class="memtitle"><span·class="permalink"><a·href="#adbc155c902f4c2cb88d9fffbeb6499b4">&#9670;&nbsp;</a></span>GetVertexValenceSRV()</h2>
  
335 <div·class="memitem">335 <div·class="memitem">
Offset 351, 15 lines modifiedOffset 351, 15 lines modified
351 ··</td>351 ··</td>
352 ··<td·class="mlabels-right">352 ··<td·class="mlabels-right">
353 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>353 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
354 ··</tr>354 ··</tr>
355 </table>355 </table>
356 </div><div·class="memdoc">356 </div><div·class="memdoc">
  
357 <p·class="definition">Definition·at·line·<a·class="el"·href="a00839_source.html#l00066">66</a>·of·file·<a·class="el"·href="a00839_source.html">d3d11LegacyGregoryPatchTable.h</a>.</p>357 <p·class="definition">Definition·at·line·<a·class="el"·href="a00821_source.html#l00066">66</a>·of·file·<a·class="el"·href="a00821_source.html">d3d11LegacyGregoryPatchTable.h</a>.</p>
  
358 </div>358 </div>
359 </div>359 </div>
360 <a·id="a16aad8981b0b35184b6e44cfb242003d"·name="a16aad8981b0b35184b6e44cfb242003d"></a>360 <a·id="a16aad8981b0b35184b6e44cfb242003d"·name="a16aad8981b0b35184b6e44cfb242003d"></a>
361 <h2·class="memtitle"><span·class="permalink"><a·href="#a16aad8981b0b35184b6e44cfb242003d">&#9670;&nbsp;</a></span>UpdateVertexBuffer()</h2>361 <h2·class="memtitle"><span·class="permalink"><a·href="#a16aad8981b0b35184b6e44cfb242003d">&#9670;&nbsp;</a></span>UpdateVertexBuffer()</h2>
  
362 <div·class="memitem">362 <div·class="memitem">
Offset 396, 15 lines modifiedOffset 396, 15 lines modified
396 ········</tr>396 ········</tr>
397 ······</table>397 ······</table>
398 </div><div·class="memdoc">398 </div><div·class="memdoc">
  
399 </div>399 </div>
400 </div>400 </div>
401 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>401 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
402 <li>opensubdiv/osd/<a·class="el"·href="a00839_source.html">d3d11LegacyGregoryPatchTable.h</a></li>402 <li>opensubdiv/osd/<a·class="el"·href="a00821_source.html">d3d11LegacyGregoryPatchTable.h</a></li>
403 </ul>403 </ul>
404 </div><!--·contents·-->404 </div><!--·contents·-->
405 </div><!--·doc-content·-->405 </div><!--·doc-content·-->
406 <!--·start·footer·part·-->406 <!--·start·footer·part·-->
407 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->407 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
408 ··<ul>408 ··<ul>
409 ····<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="a01197.html">D3D11LegacyGregoryPatchTable</a></li>409 ····<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="a01197.html">D3D11LegacyGregoryPatchTable</a></li>
Max diff block lines reached; -1/7279 bytes (-0.01%) of diff not shown.
10.1 KB
./usr/share/doc/opensubdiv/doxy_html/a01201.html
    
Offset 91, 15 lines modifiedOffset 91, 15 lines modified
91 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;91 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;
92 <a·href="#pro-attribs">Protected·Attributes</a>·&#124;92 <a·href="#pro-attribs">Protected·Attributes</a>·&#124;
93 <a·href="a01198.html">List·of·all·members</a>··</div>93 <a·href="a01198.html">List·of·all·members</a>··</div>
94 ··<div·class="headertitle"><div·class="title">D3D11PatchTable·Class·Reference</div></div>94 ··<div·class="headertitle"><div·class="title">D3D11PatchTable·Class·Reference</div></div>
95 </div><!--header-->95 </div><!--header-->
96 <div·class="contents">96 <div·class="contents">
  
97 <p><code>#include·&lt;<a·class="el"·href="a00836_source.html">d3d11PatchTable.h</a>&gt;</code></p>97 <p><code>#include·&lt;<a·class="el"·href="a00818_source.html">d3d11PatchTable.h</a>&gt;</code></p>
98 <div·class="dynheader">98 <div·class="dynheader">
99 Inheritance·diagram·for·D3D11PatchTable:</div>99 Inheritance·diagram·for·D3D11PatchTable:</div>
100 <div·class="dyncontent">100 <div·class="dyncontent">
101 ·<div·class="center">101 ·<div·class="center">
102 ··<img·src="a01201.png"·alt=""/>102 ··<img·src="a01201.png"·alt=""/>
103 ·</div></div>103 ·</div></div>
104 <table·class="memberdecls">104 <table·class="memberdecls">
Offset 145, 29 lines modifiedOffset 145, 29 lines modified
145 <tr·class="memitem:a922297765b71fb93103914cb95b76e68"><td·class="memItemLeft"·align="right"·valign="top">ID3D11Buffer·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01201.html#a922297765b71fb93103914cb95b76e68">_patchParamBuffer</a></td></tr>145 <tr·class="memitem:a922297765b71fb93103914cb95b76e68"><td·class="memItemLeft"·align="right"·valign="top">ID3D11Buffer·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01201.html#a922297765b71fb93103914cb95b76e68">_patchParamBuffer</a></td></tr>
146 <tr·class="separator:a922297765b71fb93103914cb95b76e68"><td·class="memSeparator"·colspan="2">&#160;</td></tr>146 <tr·class="separator:a922297765b71fb93103914cb95b76e68"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
147 <tr·class="memitem:a906a11e9011b14e667c4e46e0cb0089c"><td·class="memItemLeft"·align="right"·valign="top">ID3D11ShaderResourceView·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01201.html#a906a11e9011b14e667c4e46e0cb0089c">_patchParamBufferSRV</a></td></tr>147 <tr·class="memitem:a906a11e9011b14e667c4e46e0cb0089c"><td·class="memItemLeft"·align="right"·valign="top">ID3D11ShaderResourceView·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01201.html#a906a11e9011b14e667c4e46e0cb0089c">_patchParamBufferSRV</a></td></tr>
148 <tr·class="separator:a906a11e9011b14e667c4e46e0cb0089c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>148 <tr·class="separator:a906a11e9011b14e667c4e46e0cb0089c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
149 </table>149 </table>
150 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>150 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
151 <div·class="textblock">151 <div·class="textblock">
152 <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>152 <p·class="definition">Definition·at·line·<a·class="el"·href="a00818_source.html#l00049">49</a>·of·file·<a·class="el"·href="a00818_source.html">d3d11PatchTable.h</a>.</p>
153 </div><h2·class="groupheader">Member·Typedef·Documentation</h2>153 </div><h2·class="groupheader">Member·Typedef·Documentation</h2>
154 <a·id="a2d85a5ed6ddcef5023c9ef2e6fdd38a5"·name="a2d85a5ed6ddcef5023c9ef2e6fdd38a5"></a>154 <a·id="a2d85a5ed6ddcef5023c9ef2e6fdd38a5"·name="a2d85a5ed6ddcef5023c9ef2e6fdd38a5"></a>
155 <h2·class="memtitle"><span·class="permalink"><a·href="#a2d85a5ed6ddcef5023c9ef2e6fdd38a5">&#9670;&nbsp;</a></span>VertexBufferBinding</h2>155 <h2·class="memtitle"><span·class="permalink"><a·href="#a2d85a5ed6ddcef5023c9ef2e6fdd38a5">&#9670;&nbsp;</a></span>VertexBufferBinding</h2>
  
156 <div·class="memitem">156 <div·class="memitem">
157 <div·class="memproto">157 <div·class="memproto">
158 ······<table·class="memname">158 ······<table·class="memname">
159 ········<tr>159 ········<tr>
160 ··········<td·class="memname">typedef·ID3D11Buffer*·<a·class="el"·href="a01201.html#a2d85a5ed6ddcef5023c9ef2e6fdd38a5">VertexBufferBinding</a></td>160 ··········<td·class="memname">typedef·ID3D11Buffer*·<a·class="el"·href="a01201.html#a2d85a5ed6ddcef5023c9ef2e6fdd38a5">VertexBufferBinding</a></td>
161 ········</tr>161 ········</tr>
162 ······</table>162 ······</table>
163 </div><div·class="memdoc">163 </div><div·class="memdoc">
  
164 <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>164 <p·class="definition">Definition·at·line·<a·class="el"·href="a00818_source.html#l00051">51</a>·of·file·<a·class="el"·href="a00818_source.html">d3d11PatchTable.h</a>.</p>
  
165 </div>165 </div>
166 </div>166 </div>
167 <h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>167 <h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
168 <a·id="ac81ed5f09e3d3a2aae5a01802b343a6d"·name="ac81ed5f09e3d3a2aae5a01802b343a6d"></a>168 <a·id="ac81ed5f09e3d3a2aae5a01802b343a6d"·name="ac81ed5f09e3d3a2aae5a01802b343a6d"></a>
169 <h2·class="memtitle"><span·class="permalink"><a·href="#ac81ed5f09e3d3a2aae5a01802b343a6d">&#9670;&nbsp;</a></span>D3D11PatchTable()</h2>169 <h2·class="memtitle"><span·class="permalink"><a·href="#ac81ed5f09e3d3a2aae5a01802b343a6d">&#9670;&nbsp;</a></span>D3D11PatchTable()</h2>
  
Offset 269, 15 lines modifiedOffset 269, 15 lines modified
269 ··</td>269 ··</td>
270 ··<td·class="mlabels-right">270 ··<td·class="mlabels-right">
271 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>271 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>
272 ··</tr>272 ··</tr>
273 </table>273 </table>
274 </div><div·class="memdoc">274 </div><div·class="memdoc">
  
275 <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>275 <p·class="definition">Definition·at·line·<a·class="el"·href="a00818_source.html#l00057">57</a>·of·file·<a·class="el"·href="a00818_source.html">d3d11PatchTable.h</a>.</p>
  
276 </div>276 </div>
277 </div>277 </div>
278 <a·id="a8d071db2033c568b98a8aed737e563e9"·name="a8d071db2033c568b98a8aed737e563e9"></a>278 <a·id="a8d071db2033c568b98a8aed737e563e9"·name="a8d071db2033c568b98a8aed737e563e9"></a>
279 <h2·class="memtitle"><span·class="permalink"><a·href="#a8d071db2033c568b98a8aed737e563e9">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[2/2]</span></h2>279 <h2·class="memtitle"><span·class="permalink"><a·href="#a8d071db2033c568b98a8aed737e563e9">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[2/2]</span></h2>
  
280 <div·class="memitem">280 <div·class="memitem">
Offset 332, 15 lines modifiedOffset 332, 15 lines modified
332 ··</td>332 ··</td>
333 ··<td·class="mlabels-right">333 ··<td·class="mlabels-right">
334 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>334 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
335 ··</tr>335 ··</tr>
336 </table>336 </table>
337 </div><div·class="memdoc">337 </div><div·class="memdoc">
  
338 <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>338 <p·class="definition">Definition·at·line·<a·class="el"·href="a00818_source.html#l00065">65</a>·of·file·<a·class="el"·href="a00818_source.html">d3d11PatchTable.h</a>.</p>
  
339 </div>339 </div>
340 </div>340 </div>
341 <a·id="a45505c8c99abe0baf8b56981fa0a31e1"·name="a45505c8c99abe0baf8b56981fa0a31e1"></a>341 <a·id="a45505c8c99abe0baf8b56981fa0a31e1"·name="a45505c8c99abe0baf8b56981fa0a31e1"></a>
342 <h2·class="memtitle"><span·class="permalink"><a·href="#a45505c8c99abe0baf8b56981fa0a31e1">&#9670;&nbsp;</a></span>GetPatchIndexBuffer()</h2>342 <h2·class="memtitle"><span·class="permalink"><a·href="#a45505c8c99abe0baf8b56981fa0a31e1">&#9670;&nbsp;</a></span>GetPatchIndexBuffer()</h2>
  
343 <div·class="memitem">343 <div·class="memitem">
Offset 361, 15 lines modifiedOffset 361, 15 lines modified
361 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>361 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
362 ··</tr>362 ··</tr>
363 </table>363 </table>
364 </div><div·class="memdoc">364 </div><div·class="memdoc">
  
365 <p>Returns·the·index·buffer·containing·the·patch·control·vertices.·</p>365 <p>Returns·the·index·buffer·containing·the·patch·control·vertices.·</p>
  
366 <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>366 <p·class="definition">Definition·at·line·<a·class="el"·href="a00818_source.html#l00070">70</a>·of·file·<a·class="el"·href="a00818_source.html">d3d11PatchTable.h</a>.</p>
  
367 </div>367 </div>
368 </div>368 </div>
369 <a·id="ab57fd008d10c0c2c6ed4182bb3f187ee"·name="ab57fd008d10c0c2c6ed4182bb3f187ee"></a>369 <a·id="ab57fd008d10c0c2c6ed4182bb3f187ee"·name="ab57fd008d10c0c2c6ed4182bb3f187ee"></a>
370 <h2·class="memtitle"><span·class="permalink"><a·href="#ab57fd008d10c0c2c6ed4182bb3f187ee">&#9670;&nbsp;</a></span>GetPatchParamSRV()</h2>370 <h2·class="memtitle"><span·class="permalink"><a·href="#ab57fd008d10c0c2c6ed4182bb3f187ee">&#9670;&nbsp;</a></span>GetPatchParamSRV()</h2>
  
371 <div·class="memitem">371 <div·class="memitem">
Offset 390, 15 lines modifiedOffset 390, 15 lines modified
390 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>390 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
391 ··</tr>391 ··</tr>
392 </table>392 </table>
393 </div><div·class="memdoc">393 </div><div·class="memdoc">
  
394 <p>Returns·the·SRV·containing·the·patch·parameter.·</p>394 <p>Returns·the·SRV·containing·the·patch·parameter.·</p>
  
395 <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>395 <p·class="definition">Definition·at·line·<a·class="el"·href="a00818_source.html#l00075">75</a>·of·file·<a·class="el"·href="a00818_source.html">d3d11PatchTable.h</a>.</p>
  
396 </div>396 </div>
397 </div>397 </div>
398 <h2·class="groupheader">Member·Data·Documentation</h2>398 <h2·class="groupheader">Member·Data·Documentation</h2>
399 <a·id="a70f9e642d07efb73b8e7dc7a418d6311"·name="a70f9e642d07efb73b8e7dc7a418d6311"></a>399 <a·id="a70f9e642d07efb73b8e7dc7a418d6311"·name="a70f9e642d07efb73b8e7dc7a418d6311"></a>
400 <h2·class="memtitle"><span·class="permalink"><a·href="#a70f9e642d07efb73b8e7dc7a418d6311">&#9670;&nbsp;</a></span>_indexBuffer</h2>400 <h2·class="memtitle"><span·class="permalink"><a·href="#a70f9e642d07efb73b8e7dc7a418d6311">&#9670;&nbsp;</a></span>_indexBuffer</h2>
  
Offset 415, 15 lines modifiedOffset 415, 15 lines modified
415 ··</td>415 ··</td>
416 ··<td·class="mlabels-right">416 ··<td·class="mlabels-right">
417 <span·class="mlabels"><span·class="mlabel">protected</span></span>··</td>417 <span·class="mlabels"><span·class="mlabel">protected</span></span>··</td>
418 ··</tr>418 ··</tr>
419 </table>419 </table>
420 </div><div·class="memdoc">420 </div><div·class="memdoc">
  
421 <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>421 <p·class="definition">Definition·at·line·<a·class="el"·href="a00818_source.html#l00086">86</a>·of·file·<a·class="el"·href="a00818_source.html">d3d11PatchTable.h</a>.</p>
  
422 </div>422 </div>
423 </div>423 </div>
424 <a·id="a5dfb6b58580f2dec58e9b5bfdb4ed9f1"·name="a5dfb6b58580f2dec58e9b5bfdb4ed9f1"></a>424 <a·id="a5dfb6b58580f2dec58e9b5bfdb4ed9f1"·name="a5dfb6b58580f2dec58e9b5bfdb4ed9f1"></a>
425 <h2·class="memtitle"><span·class="permalink"><a·href="#a5dfb6b58580f2dec58e9b5bfdb4ed9f1">&#9670;&nbsp;</a></span>_patchArrays</h2>425 <h2·class="memtitle"><span·class="permalink"><a·href="#a5dfb6b58580f2dec58e9b5bfdb4ed9f1">&#9670;&nbsp;</a></span>_patchArrays</h2>
  
426 <div·class="memitem">426 <div·class="memitem">
Offset 439, 15 lines modifiedOffset 439, 15 lines modified
439 ··</td>439 ··</td>
Max diff block lines reached; 2814/10248 bytes (27.46%) of diff not shown.
5.03 KB
./usr/share/doc/opensubdiv/doxy_html/a01205.html
    
Offset 92, 15 lines modifiedOffset 92, 15 lines modified
92 ··<div·class="headertitle"><div·class="title">D3D11VertexBuffer·Class·Reference</div></div>92 ··<div·class="headertitle"><div·class="title">D3D11VertexBuffer·Class·Reference</div></div>
93 </div><!--header-->93 </div><!--header-->
94 <div·class="contents">94 <div·class="contents">
  
95 <p>Concrete·vertex·buffer·class·for·DirectX·subdivision·and·DirectX·drawing.··95 <p>Concrete·vertex·buffer·class·for·DirectX·subdivision·and·DirectX·drawing.··
96 ·<a·href="a01205.html#details">More...</a></p>96 ·<a·href="a01205.html#details">More...</a></p>
  
97 <p><code>#include·&lt;<a·class="el"·href="a00833_source.html">d3d11VertexBuffer.h</a>&gt;</code></p>97 <p><code>#include·&lt;<a·class="el"·href="a00815_source.html">d3d11VertexBuffer.h</a>&gt;</code></p>
98 <table·class="memberdecls">98 <table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
100 Public·Member·Functions</h2></td></tr>100 Public·Member·Functions</h2></td></tr>
101 <tr·class="memitem:ad9941ba7019b0fd8aad6e9321d91c26a"><td·class="memItemLeft"·align="right"·valign="top">virtual&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01205.html#ad9941ba7019b0fd8aad6e9321d91c26a">~D3D11VertexBuffer</a>·()</td></tr>101 <tr·class="memitem:ad9941ba7019b0fd8aad6e9321d91c26a"><td·class="memItemLeft"·align="right"·valign="top">virtual&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01205.html#ad9941ba7019b0fd8aad6e9321d91c26a">~D3D11VertexBuffer</a>·()</td></tr>
102 <tr·class="memdesc:ad9941ba7019b0fd8aad6e9321d91c26a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Destructor.··<a·href="a01205.html#ad9941ba7019b0fd8aad6e9321d91c26a">More...</a><br·/></td></tr>102 <tr·class="memdesc:ad9941ba7019b0fd8aad6e9321d91c26a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Destructor.··<a·href="a01205.html#ad9941ba7019b0fd8aad6e9321d91c26a">More...</a><br·/></td></tr>
103 <tr·class="separator:ad9941ba7019b0fd8aad6e9321d91c26a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:ad9941ba7019b0fd8aad6e9321d91c26a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 <tr·class="memitem:a8f44858290b870c214ee24afead3e9c3"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01205.html#a8f44858290b870c214ee24afead3e9c3">UpdateData</a>·(const·float·*src,·int·startVertex,·int·numVertices,·ID3D11DeviceContext·*deviceContext)</td></tr>104 <tr·class="memitem:a8f44858290b870c214ee24afead3e9c3"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01205.html#a8f44858290b870c214ee24afead3e9c3">UpdateData</a>·(const·float·*src,·int·startVertex,·int·numVertices,·ID3D11DeviceContext·*deviceContext)</td></tr>
Offset 135, 15 lines modifiedOffset 135, 15 lines modified
135 <tr·class="memitem:ae61b4ed6cc7cb69826cd0804c2d972b7"><td·class="memItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01205.html#ae61b4ed6cc7cb69826cd0804c2d972b7">allocate</a>·(ID3D11Device·*device)</td></tr>135 <tr·class="memitem:ae61b4ed6cc7cb69826cd0804c2d972b7"><td·class="memItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01205.html#ae61b4ed6cc7cb69826cd0804c2d972b7">allocate</a>·(ID3D11Device·*device)</td></tr>
136 <tr·class="separator:ae61b4ed6cc7cb69826cd0804c2d972b7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>136 <tr·class="separator:ae61b4ed6cc7cb69826cd0804c2d972b7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
137 </table>137 </table>
138 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>138 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
139 <div·class="textblock"><p·>Concrete·vertex·buffer·class·for·DirectX·subdivision·and·DirectX·drawing.·</p>139 <div·class="textblock"><p·>Concrete·vertex·buffer·class·for·DirectX·subdivision·and·DirectX·drawing.·</p>
140 <p·><a·class="el"·href="a01205.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="a01193.html">D3D11ComputeEvaluator</a>.·</p>140 <p·><a·class="el"·href="a01205.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="a01193.html">D3D11ComputeEvaluator</a>.·</p>
  
141 <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>141 <p·class="definition">Definition·at·line·<a·class="el"·href="a00815_source.html#l00046">46</a>·of·file·<a·class="el"·href="a00815_source.html">d3d11VertexBuffer.h</a>.</p>
142 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>142 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
143 <a·id="ad9941ba7019b0fd8aad6e9321d91c26a"·name="ad9941ba7019b0fd8aad6e9321d91c26a"></a>143 <a·id="ad9941ba7019b0fd8aad6e9321d91c26a"·name="ad9941ba7019b0fd8aad6e9321d91c26a"></a>
144 <h2·class="memtitle"><span·class="permalink"><a·href="#ad9941ba7019b0fd8aad6e9321d91c26a">&#9670;&nbsp;</a></span>~D3D11VertexBuffer()</h2>144 <h2·class="memtitle"><span·class="permalink"><a·href="#ad9941ba7019b0fd8aad6e9321d91c26a">&#9670;&nbsp;</a></span>~D3D11VertexBuffer()</h2>
  
145 <div·class="memitem">145 <div·class="memitem">
146 <div·class="memproto">146 <div·class="memproto">
147 <table·class="mlabels">147 <table·class="mlabels">
Offset 295, 15 lines modifiedOffset 295, 15 lines modified
295 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>295 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
296 ··</tr>296 ··</tr>
297 </table>297 </table>
298 </div><div·class="memdoc">298 </div><div·class="memdoc">
  
299 <p>Returns·the·D3D11·buffer·object·(for·<a·class="el"·href="a01273.html">Osd::Mesh</a>·interface)·</p>299 <p>Returns·the·D3D11·buffer·object·(for·<a·class="el"·href="a01273.html">Osd::Mesh</a>·interface)·</p>
  
300 <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>300 <p·class="definition">Definition·at·line·<a·class="el"·href="a00815_source.html#l00070">70</a>·of·file·<a·class="el"·href="a00815_source.html">d3d11VertexBuffer.h</a>.</p>
  
301 </div>301 </div>
302 </div>302 </div>
303 <a·id="a915a9d78d36f58b1750237ae40555029"·name="a915a9d78d36f58b1750237ae40555029"></a>303 <a·id="a915a9d78d36f58b1750237ae40555029"·name="a915a9d78d36f58b1750237ae40555029"></a>
304 <h2·class="memtitle"><span·class="permalink"><a·href="#a915a9d78d36f58b1750237ae40555029">&#9670;&nbsp;</a></span>Create()</h2>304 <h2·class="memtitle"><span·class="permalink"><a·href="#a915a9d78d36f58b1750237ae40555029">&#9670;&nbsp;</a></span>Create()</h2>
  
305 <div·class="memitem">305 <div·class="memitem">
Offset 423, 15 lines modifiedOffset 423, 15 lines modified
423 ······</table>423 ······</table>
424 </div><div·class="memdoc">424 </div><div·class="memdoc">
425 <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>425 <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>
  
426 </div>426 </div>
427 </div>427 </div>
428 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>428 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
429 <li>opensubdiv/osd/<a·class="el"·href="a00833_source.html">d3d11VertexBuffer.h</a></li>429 <li>opensubdiv/osd/<a·class="el"·href="a00815_source.html">d3d11VertexBuffer.h</a></li>
430 </ul>430 </ul>
431 </div><!--·contents·-->431 </div><!--·contents·-->
432 </div><!--·doc-content·-->432 </div><!--·doc-content·-->
433 <!--·start·footer·part·-->433 <!--·start·footer·part·-->
434 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->434 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
435 ··<ul>435 ··<ul>
436 ····<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="a01205.html">D3D11VertexBuffer</a></li>436 ····<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="a01205.html">D3D11VertexBuffer</a></li>
12.8 KB
./usr/share/doc/opensubdiv/doxy_html/a01209.html
    
Offset 91, 15 lines modifiedOffset 91, 15 lines modified
91 ··<div·class="headertitle"><div·class="title">GLStencilTableSSBO·Class·Reference</div></div>91 ··<div·class="headertitle"><div·class="title">GLStencilTableSSBO·Class·Reference</div></div>
92 </div><!--header-->92 </div><!--header-->
93 <div·class="contents">93 <div·class="contents">
  
94 <p>GL·stencil·table·(Shader·Storage·buffer)··94 <p>GL·stencil·table·(Shader·Storage·buffer)··
95 ·<a·href="a01209.html#details">More...</a></p>95 ·<a·href="a01209.html#details">More...</a></p>
  
96 <p><code>#include·&lt;<a·class="el"·href="a00848_source.html">glComputeEvaluator.h</a>&gt;</code></p>96 <p><code>#include·&lt;<a·class="el"·href="a00833_source.html">glComputeEvaluator.h</a>&gt;</code></p>
97 <table·class="memberdecls">97 <table·class="memberdecls">
98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
99 Public·Member·Functions</h2></td></tr>99 Public·Member·Functions</h2></td></tr>
100 <tr·class="memitem:aaacee6173a99bb3d7bbfb0a352ef9828"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01209.html#aaacee6173a99bb3d7bbfb0a352ef9828">GLStencilTableSSBO</a>·(<a·class="el"·href="a01057.html">Far::StencilTable</a>·const·*stencilTable)</td></tr>100 <tr·class="memitem:aaacee6173a99bb3d7bbfb0a352ef9828"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01209.html#aaacee6173a99bb3d7bbfb0a352ef9828">GLStencilTableSSBO</a>·(<a·class="el"·href="a01057.html">Far::StencilTable</a>·const·*stencilTable)</td></tr>
101 <tr·class="separator:aaacee6173a99bb3d7bbfb0a352ef9828"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:aaacee6173a99bb3d7bbfb0a352ef9828"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 <tr·class="memitem:a27a911fea9736fbe935c0edc4de9b998"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01209.html#a27a911fea9736fbe935c0edc4de9b998">GLStencilTableSSBO</a>·(<a·class="el"·href="a01073.html">Far::LimitStencilTable</a>·const·*limitStencilTable)</td></tr>102 <tr·class="memitem:a27a911fea9736fbe935c0edc4de9b998"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01209.html#a27a911fea9736fbe935c0edc4de9b998">GLStencilTableSSBO</a>·(<a·class="el"·href="a01073.html">Far::LimitStencilTable</a>·const·*limitStencilTable)</td></tr>
103 <tr·class="separator:a27a911fea9736fbe935c0edc4de9b998"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:a27a911fea9736fbe935c0edc4de9b998"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 134, 15 lines modifiedOffset 134, 15 lines modified
134 <tr·class="separator:ab739faa3277bb2ea54b5198b3b664f37"><td·class="memSeparator"·colspan="2">&#160;</td></tr>134 <tr·class="separator:ab739faa3277bb2ea54b5198b3b664f37"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
135 </table>135 </table>
136 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>136 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
137 <div·class="textblock"><p·>GL·stencil·table·(Shader·Storage·buffer)·</p>137 <div·class="textblock"><p·>GL·stencil·table·(Shader·Storage·buffer)·</p>
138 <p·>This·class·is·a·GLSL·SSBO·representation·of·<a·class="el"·href="a01057.html"·title="Stencil·table·class·wrapping·the·template·for·compatibility.">Far::StencilTable</a>.</p>138 <p·>This·class·is·a·GLSL·SSBO·representation·of·<a·class="el"·href="a01057.html"·title="Stencil·table·class·wrapping·the·template·for·compatibility.">Far::StencilTable</a>.</p>
139 <p·>GLSLComputeKernel·consumes·this·table·to·apply·stencils·</p>139 <p·>GLSLComputeKernel·consumes·this·table·to·apply·stencils·</p>
  
140 <p·class="definition">Definition·at·line·<a·class="el"·href="a00848_source.html#l00051">51</a>·of·file·<a·class="el"·href="a00848_source.html">glComputeEvaluator.h</a>.</p>140 <p·class="definition">Definition·at·line·<a·class="el"·href="a00833_source.html#l00051">51</a>·of·file·<a·class="el"·href="a00833_source.html">glComputeEvaluator.h</a>.</p>
141 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>141 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
142 <a·id="aaacee6173a99bb3d7bbfb0a352ef9828"·name="aaacee6173a99bb3d7bbfb0a352ef9828"></a>142 <a·id="aaacee6173a99bb3d7bbfb0a352ef9828"·name="aaacee6173a99bb3d7bbfb0a352ef9828"></a>
143 <h2·class="memtitle"><span·class="permalink"><a·href="#aaacee6173a99bb3d7bbfb0a352ef9828">&#9670;&nbsp;</a></span>GLStencilTableSSBO()·<span·class="overload">[1/2]</span></h2>143 <h2·class="memtitle"><span·class="permalink"><a·href="#aaacee6173a99bb3d7bbfb0a352ef9828">&#9670;&nbsp;</a></span>GLStencilTableSSBO()·<span·class="overload">[1/2]</span></h2>
  
144 <div·class="memitem">144 <div·class="memitem">
145 <div·class="memproto">145 <div·class="memproto">
146 <table·class="mlabels">146 <table·class="mlabels">
Offset 240, 15 lines modifiedOffset 240, 15 lines modified
240 ··</td>240 ··</td>
241 ··<td·class="mlabels-right">241 ··<td·class="mlabels-right">
242 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>242 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>
243 ··</tr>243 ··</tr>
244 </table>244 </table>
245 </div><div·class="memdoc">245 </div><div·class="memdoc">
  
246 <p·class="definition">Definition·at·line·<a·class="el"·href="a00848_source.html#l00058">58</a>·of·file·<a·class="el"·href="a00848_source.html">glComputeEvaluator.h</a>.</p>246 <p·class="definition">Definition·at·line·<a·class="el"·href="a00833_source.html#l00058">58</a>·of·file·<a·class="el"·href="a00833_source.html">glComputeEvaluator.h</a>.</p>
  
247 </div>247 </div>
248 </div>248 </div>
249 <a·id="af687fa998cd70f0e79b87d59c96c6a72"·name="af687fa998cd70f0e79b87d59c96c6a72"></a>249 <a·id="af687fa998cd70f0e79b87d59c96c6a72"·name="af687fa998cd70f0e79b87d59c96c6a72"></a>
250 <h2·class="memtitle"><span·class="permalink"><a·href="#af687fa998cd70f0e79b87d59c96c6a72">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[2/2]</span></h2>250 <h2·class="memtitle"><span·class="permalink"><a·href="#af687fa998cd70f0e79b87d59c96c6a72">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[2/2]</span></h2>
  
251 <div·class="memitem">251 <div·class="memitem">
Offset 278, 15 lines modifiedOffset 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="a00848_source.html#l00053">53</a>·of·file·<a·class="el"·href="a00848_source.html">glComputeEvaluator.h</a>.</p>284 <p·class="definition">Definition·at·line·<a·class="el"·href="a00833_source.html#l00053">53</a>·of·file·<a·class="el"·href="a00833_source.html">glComputeEvaluator.h</a>.</p>
  
285 </div>285 </div>
286 </div>286 </div>
287 <a·id="abe929adc8bb596b84057169f5ade4663"·name="abe929adc8bb596b84057169f5ade4663"></a>287 <a·id="abe929adc8bb596b84057169f5ade4663"·name="abe929adc8bb596b84057169f5ade4663"></a>
288 <h2·class="memtitle"><span·class="permalink"><a·href="#abe929adc8bb596b84057169f5ade4663">&#9670;&nbsp;</a></span>GetDuuWeightsBuffer()</h2>288 <h2·class="memtitle"><span·class="permalink"><a·href="#abe929adc8bb596b84057169f5ade4663">&#9670;&nbsp;</a></span>GetDuuWeightsBuffer()</h2>
  
289 <div·class="memitem">289 <div·class="memitem">
Offset 305, 15 lines modifiedOffset 305, 15 lines modified
305 ··</td>305 ··</td>
306 ··<td·class="mlabels-right">306 ··<td·class="mlabels-right">
307 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>307 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
308 ··</tr>308 ··</tr>
309 </table>309 </table>
310 </div><div·class="memdoc">310 </div><div·class="memdoc">
  
311 <p·class="definition">Definition·at·line·<a·class="el"·href="a00848_source.html#l00076">76</a>·of·file·<a·class="el"·href="a00848_source.html">glComputeEvaluator.h</a>.</p>311 <p·class="definition">Definition·at·line·<a·class="el"·href="a00833_source.html#l00076">76</a>·of·file·<a·class="el"·href="a00833_source.html">glComputeEvaluator.h</a>.</p>
  
312 </div>312 </div>
313 </div>313 </div>
314 <a·id="a0684aca639f38b5f1b0c8efffe5f8bd8"·name="a0684aca639f38b5f1b0c8efffe5f8bd8"></a>314 <a·id="a0684aca639f38b5f1b0c8efffe5f8bd8"·name="a0684aca639f38b5f1b0c8efffe5f8bd8"></a>
315 <h2·class="memtitle"><span·class="permalink"><a·href="#a0684aca639f38b5f1b0c8efffe5f8bd8">&#9670;&nbsp;</a></span>GetDuvWeightsBuffer()</h2>315 <h2·class="memtitle"><span·class="permalink"><a·href="#a0684aca639f38b5f1b0c8efffe5f8bd8">&#9670;&nbsp;</a></span>GetDuvWeightsBuffer()</h2>
  
316 <div·class="memitem">316 <div·class="memitem">
Offset 332, 15 lines modifiedOffset 332, 15 lines modified
332 ··</td>332 ··</td>
333 ··<td·class="mlabels-right">333 ··<td·class="mlabels-right">
334 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>334 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
335 ··</tr>335 ··</tr>
336 </table>336 </table>
337 </div><div·class="memdoc">337 </div><div·class="memdoc">
  
338 <p·class="definition">Definition·at·line·<a·class="el"·href="a00848_source.html#l00077">77</a>·of·file·<a·class="el"·href="a00848_source.html">glComputeEvaluator.h</a>.</p>338 <p·class="definition">Definition·at·line·<a·class="el"·href="a00833_source.html#l00077">77</a>·of·file·<a·class="el"·href="a00833_source.html">glComputeEvaluator.h</a>.</p>
  
339 </div>339 </div>
340 </div>340 </div>
341 <a·id="a2e90e1efa299fe2698ce2d1aa87ade49"·name="a2e90e1efa299fe2698ce2d1aa87ade49"></a>341 <a·id="a2e90e1efa299fe2698ce2d1aa87ade49"·name="a2e90e1efa299fe2698ce2d1aa87ade49"></a>
342 <h2·class="memtitle"><span·class="permalink"><a·href="#a2e90e1efa299fe2698ce2d1aa87ade49">&#9670;&nbsp;</a></span>GetDuWeightsBuffer()</h2>342 <h2·class="memtitle"><span·class="permalink"><a·href="#a2e90e1efa299fe2698ce2d1aa87ade49">&#9670;&nbsp;</a></span>GetDuWeightsBuffer()</h2>
  
343 <div·class="memitem">343 <div·class="memitem">
Offset 359, 15 lines modifiedOffset 359, 15 lines modified
359 ··</td>359 ··</td>
360 ··<td·class="mlabels-right">360 ··<td·class="mlabels-right">
361 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>361 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
362 ··</tr>362 ··</tr>
363 </table>363 </table>
364 </div><div·class="memdoc">364 </div><div·class="memdoc">
  
365 <p·class="definition">Definition·at·line·<a·class="el"·href="a00848_source.html#l00074">74</a>·of·file·<a·class="el"·href="a00848_source.html">glComputeEvaluator.h</a>.</p>365 <p·class="definition">Definition·at·line·<a·class="el"·href="a00833_source.html#l00074">74</a>·of·file·<a·class="el"·href="a00833_source.html">glComputeEvaluator.h</a>.</p>
  
366 </div>366 </div>
367 </div>367 </div>
368 <a·id="aadc7c7c9d50c030f7aee9e486b3b1d55"·name="aadc7c7c9d50c030f7aee9e486b3b1d55"></a>368 <a·id="aadc7c7c9d50c030f7aee9e486b3b1d55"·name="aadc7c7c9d50c030f7aee9e486b3b1d55"></a>
369 <h2·class="memtitle"><span·class="permalink"><a·href="#aadc7c7c9d50c030f7aee9e486b3b1d55">&#9670;&nbsp;</a></span>GetDvvWeightsBuffer()</h2>369 <h2·class="memtitle"><span·class="permalink"><a·href="#aadc7c7c9d50c030f7aee9e486b3b1d55">&#9670;&nbsp;</a></span>GetDvvWeightsBuffer()</h2>
  
370 <div·class="memitem">370 <div·class="memitem">
Offset 386, 15 lines modifiedOffset 386, 15 lines modified
386 ··</td>386 ··</td>
387 ··<td·class="mlabels-right">387 ··<td·class="mlabels-right">
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·class="definition">Definition·at·line·<a·class="el"·href="a00848_source.html#l00078">78</a>·of·file·<a·class="el"·href="a00848_source.html">glComputeEvaluator.h</a>.</p>392 <p·class="definition">Definition·at·line·<a·class="el"·href="a00833_source.html#l00078">78</a>·of·file·<a·class="el"·href="a00833_source.html">glComputeEvaluator.h</a>.</p>
  
393 </div>393 </div>
394 </div>394 </div>
395 <a·id="ae418f2ccdfaec79f90a3ccb92cd511a2"·name="ae418f2ccdfaec79f90a3ccb92cd511a2"></a>395 <a·id="ae418f2ccdfaec79f90a3ccb92cd511a2"·name="ae418f2ccdfaec79f90a3ccb92cd511a2"></a>
396 <h2·class="memtitle"><span·class="permalink"><a·href="#ae418f2ccdfaec79f90a3ccb92cd511a2">&#9670;&nbsp;</a></span>GetDvWeightsBuffer()</h2>396 <h2·class="memtitle"><span·class="permalink"><a·href="#ae418f2ccdfaec79f90a3ccb92cd511a2">&#9670;&nbsp;</a></span>GetDvWeightsBuffer()</h2>
  
397 <div·class="memitem">397 <div·class="memitem">
Max diff block lines reached; 5269/13060 bytes (40.34%) of diff not shown.
33.7 KB
./usr/share/doc/opensubdiv/doxy_html/a01213.html
    
Offset 90, 15 lines modifiedOffset 90, 15 lines modified
90 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;90 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
91 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;91 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
92 <a·href="a01210.html">List·of·all·members</a>··</div>92 <a·href="a01210.html">List·of·all·members</a>··</div>
93 ··<div·class="headertitle"><div·class="title">GLComputeEvaluator·Class·Reference</div></div>93 ··<div·class="headertitle"><div·class="title">GLComputeEvaluator·Class·Reference</div></div>
94 </div><!--header-->94 </div><!--header-->
95 <div·class="contents">95 <div·class="contents">
  
96 <p><code>#include·&lt;<a·class="el"·href="a00848_source.html">glComputeEvaluator.h</a>&gt;</code></p>96 <p><code>#include·&lt;<a·class="el"·href="a00833_source.html">glComputeEvaluator.h</a>&gt;</code></p>
97 <table·class="memberdecls">97 <table·class="memberdecls">
98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
99 Public·Types</h2></td></tr>99 Public·Types</h2></td></tr>
100 <tr·class="memitem:a2c24b70c9312d8dff3fecb9ddea52c44"><td·class="memItemLeft"·align="right"·valign="top">typedef·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01213.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a></td></tr>100 <tr·class="memitem:a2c24b70c9312d8dff3fecb9ddea52c44"><td·class="memItemLeft"·align="right"·valign="top">typedef·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01213.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a></td></tr>
101 <tr·class="separator:a2c24b70c9312d8dff3fecb9ddea52c44"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:a2c24b70c9312d8dff3fecb9ddea52c44"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 </table><table·class="memberdecls">102 </table><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>
Offset 226, 29 lines modifiedOffset 226, 29 lines modified
226 <tr·class="separator:a719692669b13f988a0f61f4beacd79bb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>226 <tr·class="separator:a719692669b13f988a0f61f4beacd79bb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
227 <tr·class="memitem:ac6c93ad38a7902d0e5ec28ff3bf9e52e"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01213.html#ac6c93ad38a7902d0e5ec28ff3bf9e52e">Synchronize</a>·(void·*deviceContext)</td></tr>227 <tr·class="memitem:ac6c93ad38a7902d0e5ec28ff3bf9e52e"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01213.html#ac6c93ad38a7902d0e5ec28ff3bf9e52e">Synchronize</a>·(void·*deviceContext)</td></tr>
228 <tr·class="memdesc:ac6c93ad38a7902d0e5ec28ff3bf9e52e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Wait·the·dispatched·kernel·finishes.··<a·href="a01213.html#ac6c93ad38a7902d0e5ec28ff3bf9e52e">More...</a><br·/></td></tr>228 <tr·class="memdesc:ac6c93ad38a7902d0e5ec28ff3bf9e52e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Wait·the·dispatched·kernel·finishes.··<a·href="a01213.html#ac6c93ad38a7902d0e5ec28ff3bf9e52e">More...</a><br·/></td></tr>
229 <tr·class="separator:ac6c93ad38a7902d0e5ec28ff3bf9e52e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>229 <tr·class="separator:ac6c93ad38a7902d0e5ec28ff3bf9e52e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
230 </table>230 </table>
231 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>231 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
232 <div·class="textblock">232 <div·class="textblock">
233 <p·class="definition">Definition·at·line·<a·class="el"·href="a00848_source.html#l00096">96</a>·of·file·<a·class="el"·href="a00848_source.html">glComputeEvaluator.h</a>.</p>233 <p·class="definition">Definition·at·line·<a·class="el"·href="a00833_source.html#l00096">96</a>·of·file·<a·class="el"·href="a00833_source.html">glComputeEvaluator.h</a>.</p>
234 </div><h2·class="groupheader">Member·Typedef·Documentation</h2>234 </div><h2·class="groupheader">Member·Typedef·Documentation</h2>
235 <a·id="a2c24b70c9312d8dff3fecb9ddea52c44"·name="a2c24b70c9312d8dff3fecb9ddea52c44"></a>235 <a·id="a2c24b70c9312d8dff3fecb9ddea52c44"·name="a2c24b70c9312d8dff3fecb9ddea52c44"></a>
236 <h2·class="memtitle"><span·class="permalink"><a·href="#a2c24b70c9312d8dff3fecb9ddea52c44">&#9670;&nbsp;</a></span>Instantiatable</h2>236 <h2·class="memtitle"><span·class="permalink"><a·href="#a2c24b70c9312d8dff3fecb9ddea52c44">&#9670;&nbsp;</a></span>Instantiatable</h2>
  
237 <div·class="memitem">237 <div·class="memitem">
238 <div·class="memproto">238 <div·class="memproto">
239 ······<table·class="memname">239 ······<table·class="memname">
240 ········<tr>240 ········<tr>
241 ··········<td·class="memname">typedef·bool·<a·class="el"·href="a01213.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a></td>241 ··········<td·class="memname">typedef·bool·<a·class="el"·href="a01213.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a></td>
242 ········</tr>242 ········</tr>
243 ······</table>243 ······</table>
244 </div><div·class="memdoc">244 </div><div·class="memdoc">
  
245 <p·class="definition">Definition·at·line·<a·class="el"·href="a00848_source.html#l00098">98</a>·of·file·<a·class="el"·href="a00848_source.html">glComputeEvaluator.h</a>.</p>245 <p·class="definition">Definition·at·line·<a·class="el"·href="a00833_source.html#l00098">98</a>·of·file·<a·class="el"·href="a00833_source.html">glComputeEvaluator.h</a>.</p>
  
246 </div>246 </div>
247 </div>247 </div>
248 <h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>248 <h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
249 <a·id="a9fe54ab76e32fb2dc6f7cd631ce2e678"·name="a9fe54ab76e32fb2dc6f7cd631ce2e678"></a>249 <a·id="a9fe54ab76e32fb2dc6f7cd631ce2e678"·name="a9fe54ab76e32fb2dc6f7cd631ce2e678"></a>
250 <h2·class="memtitle"><span·class="permalink"><a·href="#a9fe54ab76e32fb2dc6f7cd631ce2e678">&#9670;&nbsp;</a></span>GLComputeEvaluator()</h2>250 <h2·class="memtitle"><span·class="permalink"><a·href="#a9fe54ab76e32fb2dc6f7cd631ce2e678">&#9670;&nbsp;</a></span>GLComputeEvaluator()</h2>
  
Offset 416, 15 lines modifiedOffset 416, 15 lines modified
416 ··</td>416 ··</td>
417 ··<td·class="mlabels-right">417 ··<td·class="mlabels-right">
418 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>418 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>
419 ··</tr>419 ··</tr>
420 </table>420 </table>
421 </div><div·class="memdoc">421 </div><div·class="memdoc">
  
422 <p·class="definition">Definition·at·line·<a·class="el"·href="a00848_source.html#l00111">111</a>·of·file·<a·class="el"·href="a00848_source.html">glComputeEvaluator.h</a>.</p>422 <p·class="definition">Definition·at·line·<a·class="el"·href="a00833_source.html#l00111">111</a>·of·file·<a·class="el"·href="a00833_source.html">glComputeEvaluator.h</a>.</p>
  
423 </div>423 </div>
424 </div>424 </div>
425 <a·id="ab4c3cfbc05a1b3c7e08aac8258e38139"·name="ab4c3cfbc05a1b3c7e08aac8258e38139"></a>425 <a·id="ab4c3cfbc05a1b3c7e08aac8258e38139"·name="ab4c3cfbc05a1b3c7e08aac8258e38139"></a>
426 <h2·class="memtitle"><span·class="permalink"><a·href="#ab4c3cfbc05a1b3c7e08aac8258e38139">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[2/2]</span></h2>426 <h2·class="memtitle"><span·class="permalink"><a·href="#ab4c3cfbc05a1b3c7e08aac8258e38139">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[2/2]</span></h2>
  
427 <div·class="memitem">427 <div·class="memitem">
Offset 472, 15 lines modifiedOffset 472, 15 lines modified
472 ··</td>472 ··</td>
473 ··<td·class="mlabels-right">473 ··<td·class="mlabels-right">
474 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>474 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>
475 ··</tr>475 ··</tr>
476 </table>476 </table>
477 </div><div·class="memdoc">477 </div><div·class="memdoc">
  
478 <p·class="definition">Definition·at·line·<a·class="el"·href="a00848_source.html#l00099">99</a>·of·file·<a·class="el"·href="a00848_source.html">glComputeEvaluator.h</a>.</p>478 <p·class="definition">Definition·at·line·<a·class="el"·href="a00833_source.html#l00099">99</a>·of·file·<a·class="el"·href="a00833_source.html">glComputeEvaluator.h</a>.</p>
  
479 </div>479 </div>
480 </div>480 </div>
481 <a·id="a2d1074f49212a9ae65161e9c957dbab7"·name="a2d1074f49212a9ae65161e9c957dbab7"></a>481 <a·id="a2d1074f49212a9ae65161e9c957dbab7"·name="a2d1074f49212a9ae65161e9c957dbab7"></a>
482 <h2·class="memtitle"><span·class="permalink"><a·href="#a2d1074f49212a9ae65161e9c957dbab7">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[1/8]</span></h2>482 <h2·class="memtitle"><span·class="permalink"><a·href="#a2d1074f49212a9ae65161e9c957dbab7">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[1/8]</span></h2>
  
483 <div·class="memitem">483 <div·class="memitem">
Offset 848, 15 lines modifiedOffset 848, 15 lines modified
848 ····<tr><td·class="paramname">numPatchCoords</td><td>number·of·patchCoords.</td></tr>848 ····<tr><td·class="paramname">numPatchCoords</td><td>number·of·patchCoords.</td></tr>
849 ····<tr><td·class="paramname">patchCoords</td><td>array·of·locations·to·be·evaluated.</td></tr>849 ····<tr><td·class="paramname">patchCoords</td><td>array·of·locations·to·be·evaluated.</td></tr>
850 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01229.html">GLPatchTable</a>·or·equivalent·</td></tr>850 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01229.html">GLPatchTable</a>·or·equivalent·</td></tr>
851 ··</table>851 ··</table>
852 ··</dd>852 ··</dd>
853 </dl>853 </dl>
  
854 <p·class="definition">Definition·at·line·<a·class="el"·href="a00848_source.html#l01071">1071</a>·of·file·<a·class="el"·href="a00848_source.html">glComputeEvaluator.h</a>.</p>854 <p·class="definition">Definition·at·line·<a·class="el"·href="a00833_source.html#l01071">1071</a>·of·file·<a·class="el"·href="a00833_source.html">glComputeEvaluator.h</a>.</p>
  
855 </div>855 </div>
856 </div>856 </div>
857 <a·id="af806842b89f37a3cd5e153ed67c926ec"·name="af806842b89f37a3cd5e153ed67c926ec"></a>857 <a·id="af806842b89f37a3cd5e153ed67c926ec"·name="af806842b89f37a3cd5e153ed67c926ec"></a>
858 <h2·class="memtitle"><span·class="permalink"><a·href="#af806842b89f37a3cd5e153ed67c926ec">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[4/8]</span></h2>858 <h2·class="memtitle"><span·class="permalink"><a·href="#af806842b89f37a3cd5e153ed67c926ec">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[4/8]</span></h2>
  
859 <div·class="memitem">859 <div·class="memitem">
Offset 1014, 15 lines modifiedOffset 1014, 15 lines modified
1014 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01229.html">GLPatchTable</a>·or·equivalent</td></tr>1014 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01229.html">GLPatchTable</a>·or·equivalent</td></tr>
1015 ····<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>1015 ····<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>
1016 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·GLXFB·evaluator·</td></tr>1016 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·GLXFB·evaluator·</td></tr>
1017 ··</table>1017 ··</table>
1018 ··</dd>1018 ··</dd>
1019 </dl>1019 </dl>
  
1020 <p·class="definition">Definition·at·line·<a·class="el"·href="a00848_source.html#l00870">870</a>·of·file·<a·class="el"·href="a00848_source.html">glComputeEvaluator.h</a>.</p>1020 <p·class="definition">Definition·at·line·<a·class="el"·href="a00833_source.html#l00870">870</a>·of·file·<a·class="el"·href="a00833_source.html">glComputeEvaluator.h</a>.</p>
  
1021 </div>1021 </div>
1022 </div>1022 </div>
1023 <a·id="aa28dc7f2bd31f1cdac0013ad9de8f434"·name="aa28dc7f2bd31f1cdac0013ad9de8f434"></a>1023 <a·id="aa28dc7f2bd31f1cdac0013ad9de8f434"·name="aa28dc7f2bd31f1cdac0013ad9de8f434"></a>
1024 <h2·class="memtitle"><span·class="permalink"><a·href="#aa28dc7f2bd31f1cdac0013ad9de8f434">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[5/8]</span></h2>1024 <h2·class="memtitle"><span·class="permalink"><a·href="#aa28dc7f2bd31f1cdac0013ad9de8f434">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[5/8]</span></h2>
  
1025 <div·class="memitem">1025 <div·class="memitem">
Offset 1124, 15 lines modifiedOffset 1124, 15 lines modified
1124 ····<tr><td·class="paramname">numPatchCoords</td><td>number·of·patchCoords.</td></tr>1124 ····<tr><td·class="paramname">numPatchCoords</td><td>number·of·patchCoords.</td></tr>
1125 ····<tr><td·class="paramname">patchCoords</td><td>array·of·locations·to·be·evaluated.</td></tr>1125 ····<tr><td·class="paramname">patchCoords</td><td>array·of·locations·to·be·evaluated.</td></tr>
1126 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01229.html">GLPatchTable</a>·or·equivalent·</td></tr>1126 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01229.html">GLPatchTable</a>·or·equivalent·</td></tr>
1127 ··</table>1127 ··</table>
1128 ··</dd>1128 ··</dd>
1129 </dl>1129 </dl>
  
1130 <p·class="definition">Definition·at·line·<a·class="el"·href="a00848_source.html#l00997">997</a>·of·file·<a·class="el"·href="a00848_source.html">glComputeEvaluator.h</a>.</p>1130 <p·class="definition">Definition·at·line·<a·class="el"·href="a00833_source.html#l00997">997</a>·of·file·<a·class="el"·href="a00833_source.html">glComputeEvaluator.h</a>.</p>
  
1131 </div>1131 </div>
1132 </div>1132 </div>
1133 <a·id="a6a85616578cd5275f4a1d69f6db5ad3b"·name="a6a85616578cd5275f4a1d69f6db5ad3b"></a>1133 <a·id="a6a85616578cd5275f4a1d69f6db5ad3b"·name="a6a85616578cd5275f4a1d69f6db5ad3b"></a>
1134 <h2·class="memtitle"><span·class="permalink"><a·href="#a6a85616578cd5275f4a1d69f6db5ad3b">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[6/8]</span></h2>1134 <h2·class="memtitle"><span·class="permalink"><a·href="#a6a85616578cd5275f4a1d69f6db5ad3b">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[6/8]</span></h2>
  
1135 <div·class="memitem">1135 <div·class="memitem">
Offset 1248, 15 lines modifiedOffset 1248, 15 lines modified
1248 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01229.html">GLPatchTable</a>·or·equivalent</td></tr>1248 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01229.html">GLPatchTable</a>·or·equivalent</td></tr>
Max diff block lines reached; 25271/34402 bytes (73.46%) of diff not shown.
6.32 KB
./usr/share/doc/opensubdiv/doxy_html/a01225.html
    
Offset 89, 15 lines modifiedOffset 89, 15 lines modified
89 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;89 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
90 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;90 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;
91 <a·href="a01222.html">List·of·all·members</a>··</div>91 <a·href="a01222.html">List·of·all·members</a>··</div>
92 ··<div·class="headertitle"><div·class="title">GLLegacyGregoryPatchTable·Class·Reference</div></div>92 ··<div·class="headertitle"><div·class="title">GLLegacyGregoryPatchTable·Class·Reference</div></div>
93 </div><!--header-->93 </div><!--header-->
94 <div·class="contents">94 <div·class="contents">
  
95 <p><code>#include·&lt;<a·class="el"·href="a00863_source.html">glLegacyGregoryPatchTable.h</a>&gt;</code></p>95 <p><code>#include·&lt;<a·class="el"·href="a00848_source.html">glLegacyGregoryPatchTable.h</a>&gt;</code></p>
96 <div·class="dynheader">96 <div·class="dynheader">
97 Inheritance·diagram·for·GLLegacyGregoryPatchTable:</div>97 Inheritance·diagram·for·GLLegacyGregoryPatchTable:</div>
98 <div·class="dyncontent">98 <div·class="dyncontent">
99 ·<div·class="center">99 ·<div·class="center">
100 ··<img·src="a01225.png"·alt=""/>100 ··<img·src="a01225.png"·alt=""/>
101 ·</div></div>101 ·</div></div>
102 <table·class="memberdecls">102 <table·class="memberdecls">
Offset 124, 15 lines modifiedOffset 124, 15 lines modified
124 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pro-methods"·name="pro-methods"></a>124 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pro-methods"·name="pro-methods"></a>
125 Protected·Member·Functions</h2></td></tr>125 Protected·Member·Functions</h2></td></tr>
126 <tr·class="memitem:a5b78188b846b316c5c0cdb42f4ee9563"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01225.html#a5b78188b846b316c5c0cdb42f4ee9563">GLLegacyGregoryPatchTable</a>·()</td></tr>126 <tr·class="memitem:a5b78188b846b316c5c0cdb42f4ee9563"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01225.html#a5b78188b846b316c5c0cdb42f4ee9563">GLLegacyGregoryPatchTable</a>·()</td></tr>
127 <tr·class="separator:a5b78188b846b316c5c0cdb42f4ee9563"><td·class="memSeparator"·colspan="2">&#160;</td></tr>127 <tr·class="separator:a5b78188b846b316c5c0cdb42f4ee9563"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
128 </table>128 </table>
129 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>129 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
130 <div·class="textblock">130 <div·class="textblock">
131 <p·class="definition">Definition·at·line·<a·class="el"·href="a00863_source.html#l00039">39</a>·of·file·<a·class="el"·href="a00863_source.html">glLegacyGregoryPatchTable.h</a>.</p>131 <p·class="definition">Definition·at·line·<a·class="el"·href="a00848_source.html#l00039">39</a>·of·file·<a·class="el"·href="a00848_source.html">glLegacyGregoryPatchTable.h</a>.</p>
132 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>132 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
133 <a·id="a51fd18f3671b7b6c473a039d75808067"·name="a51fd18f3671b7b6c473a039d75808067"></a>133 <a·id="a51fd18f3671b7b6c473a039d75808067"·name="a51fd18f3671b7b6c473a039d75808067"></a>
134 <h2·class="memtitle"><span·class="permalink"><a·href="#a51fd18f3671b7b6c473a039d75808067">&#9670;&nbsp;</a></span>~GLLegacyGregoryPatchTable()</h2>134 <h2·class="memtitle"><span·class="permalink"><a·href="#a51fd18f3671b7b6c473a039d75808067">&#9670;&nbsp;</a></span>~GLLegacyGregoryPatchTable()</h2>
  
135 <div·class="memitem">135 <div·class="memitem">
136 <div·class="memproto">136 <div·class="memproto">
137 ······<table·class="memname">137 ······<table·class="memname">
Offset 219, 15 lines modifiedOffset 219, 15 lines modified
219 ··</td>219 ··</td>
220 ··<td·class="mlabels-right">220 ··<td·class="mlabels-right">
221 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>221 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
222 ··</tr>222 ··</tr>
223 </table>223 </table>
224 </div><div·class="memdoc">224 </div><div·class="memdoc">
  
225 <p·class="definition">Definition·at·line·<a·class="el"·href="a00863_source.html#l00060">60</a>·of·file·<a·class="el"·href="a00863_source.html">glLegacyGregoryPatchTable.h</a>.</p>225 <p·class="definition">Definition·at·line·<a·class="el"·href="a00848_source.html#l00060">60</a>·of·file·<a·class="el"·href="a00848_source.html">glLegacyGregoryPatchTable.h</a>.</p>
  
226 </div>226 </div>
227 </div>227 </div>
228 <a·id="a4968ced94d61cc4d5e8f0e9883fd2116"·name="a4968ced94d61cc4d5e8f0e9883fd2116"></a>228 <a·id="a4968ced94d61cc4d5e8f0e9883fd2116"·name="a4968ced94d61cc4d5e8f0e9883fd2116"></a>
229 <h2·class="memtitle"><span·class="permalink"><a·href="#a4968ced94d61cc4d5e8f0e9883fd2116">&#9670;&nbsp;</a></span>GetQuadOffsetsTextureBuffer()</h2>229 <h2·class="memtitle"><span·class="permalink"><a·href="#a4968ced94d61cc4d5e8f0e9883fd2116">&#9670;&nbsp;</a></span>GetQuadOffsetsTextureBuffer()</h2>
  
230 <div·class="memitem">230 <div·class="memitem">
Offset 246, 15 lines modifiedOffset 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>··</td>248 <span·class="mlabels"><span·class="mlabel">inline</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="a00863_source.html#l00056">56</a>·of·file·<a·class="el"·href="a00863_source.html">glLegacyGregoryPatchTable.h</a>.</p>252 <p·class="definition">Definition·at·line·<a·class="el"·href="a00848_source.html#l00056">56</a>·of·file·<a·class="el"·href="a00848_source.html">glLegacyGregoryPatchTable.h</a>.</p>
  
253 </div>253 </div>
254 </div>254 </div>
255 <a·id="af81d48caf41d4a7e0c5ceb166d4de990"·name="af81d48caf41d4a7e0c5ceb166d4de990"></a>255 <a·id="af81d48caf41d4a7e0c5ceb166d4de990"·name="af81d48caf41d4a7e0c5ceb166d4de990"></a>
256 <h2·class="memtitle"><span·class="permalink"><a·href="#af81d48caf41d4a7e0c5ceb166d4de990">&#9670;&nbsp;</a></span>GetVertexTextureBuffer()</h2>256 <h2·class="memtitle"><span·class="permalink"><a·href="#af81d48caf41d4a7e0c5ceb166d4de990">&#9670;&nbsp;</a></span>GetVertexTextureBuffer()</h2>
  
257 <div·class="memitem">257 <div·class="memitem">
Offset 273, 15 lines modifiedOffset 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="a00863_source.html#l00048">48</a>·of·file·<a·class="el"·href="a00863_source.html">glLegacyGregoryPatchTable.h</a>.</p>279 <p·class="definition">Definition·at·line·<a·class="el"·href="a00848_source.html#l00048">48</a>·of·file·<a·class="el"·href="a00848_source.html">glLegacyGregoryPatchTable.h</a>.</p>
  
280 </div>280 </div>
281 </div>281 </div>
282 <a·id="a36f9d327f21d3dee80bb225000403cce"·name="a36f9d327f21d3dee80bb225000403cce"></a>282 <a·id="a36f9d327f21d3dee80bb225000403cce"·name="a36f9d327f21d3dee80bb225000403cce"></a>
283 <h2·class="memtitle"><span·class="permalink"><a·href="#a36f9d327f21d3dee80bb225000403cce">&#9670;&nbsp;</a></span>GetVertexValenceTextureBuffer()</h2>283 <h2·class="memtitle"><span·class="permalink"><a·href="#a36f9d327f21d3dee80bb225000403cce">&#9670;&nbsp;</a></span>GetVertexValenceTextureBuffer()</h2>
  
284 <div·class="memitem">284 <div·class="memitem">
Offset 300, 15 lines modifiedOffset 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="a00863_source.html#l00052">52</a>·of·file·<a·class="el"·href="a00863_source.html">glLegacyGregoryPatchTable.h</a>.</p>306 <p·class="definition">Definition·at·line·<a·class="el"·href="a00848_source.html#l00052">52</a>·of·file·<a·class="el"·href="a00848_source.html">glLegacyGregoryPatchTable.h</a>.</p>
  
307 </div>307 </div>
308 </div>308 </div>
309 <a·id="a733eda5d63a4d77324d7d50d704eaf3a"·name="a733eda5d63a4d77324d7d50d704eaf3a"></a>309 <a·id="a733eda5d63a4d77324d7d50d704eaf3a"·name="a733eda5d63a4d77324d7d50d704eaf3a"></a>
310 <h2·class="memtitle"><span·class="permalink"><a·href="#a733eda5d63a4d77324d7d50d704eaf3a">&#9670;&nbsp;</a></span>UpdateVertexBuffer()</h2>310 <h2·class="memtitle"><span·class="permalink"><a·href="#a733eda5d63a4d77324d7d50d704eaf3a">&#9670;&nbsp;</a></span>UpdateVertexBuffer()</h2>
  
311 <div·class="memitem">311 <div·class="memitem">
Offset 323, 15 lines modifiedOffset 323, 15 lines modified
323 ········</tr>323 ········</tr>
324 ······</table>324 ······</table>
325 </div><div·class="memdoc">325 </div><div·class="memdoc">
  
326 </div>326 </div>
327 </div>327 </div>
328 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>328 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
329 <li>opensubdiv/osd/<a·class="el"·href="a00863_source.html">glLegacyGregoryPatchTable.h</a></li>329 <li>opensubdiv/osd/<a·class="el"·href="a00848_source.html">glLegacyGregoryPatchTable.h</a></li>
330 </ul>330 </ul>
331 </div><!--·contents·-->331 </div><!--·contents·-->
332 </div><!--·doc-content·-->332 </div><!--·doc-content·-->
333 <!--·start·footer·part·-->333 <!--·start·footer·part·-->
334 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->334 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
335 ··<ul>335 ··<ul>
336 ····<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="a01225.html">GLLegacyGregoryPatchTable</a></li>336 ····<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="a01225.html">GLLegacyGregoryPatchTable</a></li>
25.2 KB
./usr/share/doc/opensubdiv/doxy_html/a01229.html
    
Offset 91, 15 lines modifiedOffset 91, 15 lines modified
91 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;91 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;
92 <a·href="#pro-attribs">Protected·Attributes</a>·&#124;92 <a·href="#pro-attribs">Protected·Attributes</a>·&#124;
93 <a·href="a01226.html">List·of·all·members</a>··</div>93 <a·href="a01226.html">List·of·all·members</a>··</div>
94 ··<div·class="headertitle"><div·class="title">GLPatchTable·Class·Reference</div></div>94 ··<div·class="headertitle"><div·class="title">GLPatchTable·Class·Reference</div></div>
95 </div><!--header-->95 </div><!--header-->
96 <div·class="contents">96 <div·class="contents">
  
97 <p><code>#include·&lt;<a·class="el"·href="a00866_source.html">glPatchTable.h</a>&gt;</code></p>97 <p><code>#include·&lt;<a·class="el"·href="a00842_source.html">glPatchTable.h</a>&gt;</code></p>
98 <div·class="dynheader">98 <div·class="dynheader">
99 Inheritance·diagram·for·GLPatchTable:</div>99 Inheritance·diagram·for·GLPatchTable:</div>
100 <div·class="dyncontent">100 <div·class="dyncontent">
101 ·<div·class="center">101 ·<div·class="center">
102 ··<img·src="a01229.png"·alt=""/>102 ··<img·src="a01229.png"·alt=""/>
103 ·</div></div>103 ·</div></div>
104 <table·class="memberdecls">104 <table·class="memberdecls">
Offset 194, 29 lines modifiedOffset 194, 29 lines modified
194 <tr·class="memitem:a2a8e1501f85608c6309e00955b6197dc"><td·class="memItemLeft"·align="right"·valign="top">std::vector&lt;·GLuint·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01229.html#a2a8e1501f85608c6309e00955b6197dc">_fvarParamBuffers</a></td></tr>194 <tr·class="memitem:a2a8e1501f85608c6309e00955b6197dc"><td·class="memItemLeft"·align="right"·valign="top">std::vector&lt;·GLuint·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01229.html#a2a8e1501f85608c6309e00955b6197dc">_fvarParamBuffers</a></td></tr>
195 <tr·class="separator:a2a8e1501f85608c6309e00955b6197dc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>195 <tr·class="separator:a2a8e1501f85608c6309e00955b6197dc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
196 <tr·class="memitem:a554c6f7c7544b621ca3f8f824cdc7e8e"><td·class="memItemLeft"·align="right"·valign="top">std::vector&lt;·GLuint·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01229.html#a554c6f7c7544b621ca3f8f824cdc7e8e">_fvarParamTextures</a></td></tr>196 <tr·class="memitem:a554c6f7c7544b621ca3f8f824cdc7e8e"><td·class="memItemLeft"·align="right"·valign="top">std::vector&lt;·GLuint·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01229.html#a554c6f7c7544b621ca3f8f824cdc7e8e">_fvarParamTextures</a></td></tr>
197 <tr·class="separator:a554c6f7c7544b621ca3f8f824cdc7e8e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>197 <tr·class="separator:a554c6f7c7544b621ca3f8f824cdc7e8e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
198 </table>198 </table>
199 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>199 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
200 <div·class="textblock">200 <div·class="textblock">
201 <p·class="definition">Definition·at·line·<a·class="el"·href="a00866_source.html#l00045">45</a>·of·file·<a·class="el"·href="a00866_source.html">glPatchTable.h</a>.</p>201 <p·class="definition">Definition·at·line·<a·class="el"·href="a00842_source.html#l00045">45</a>·of·file·<a·class="el"·href="a00842_source.html">glPatchTable.h</a>.</p>
202 </div><h2·class="groupheader">Member·Typedef·Documentation</h2>202 </div><h2·class="groupheader">Member·Typedef·Documentation</h2>
203 <a·id="a02af2ea2e9328a776b5b0bb3edf88864"·name="a02af2ea2e9328a776b5b0bb3edf88864"></a>203 <a·id="a02af2ea2e9328a776b5b0bb3edf88864"·name="a02af2ea2e9328a776b5b0bb3edf88864"></a>
204 <h2·class="memtitle"><span·class="permalink"><a·href="#a02af2ea2e9328a776b5b0bb3edf88864">&#9670;&nbsp;</a></span>VertexBufferBinding</h2>204 <h2·class="memtitle"><span·class="permalink"><a·href="#a02af2ea2e9328a776b5b0bb3edf88864">&#9670;&nbsp;</a></span>VertexBufferBinding</h2>
  
205 <div·class="memitem">205 <div·class="memitem">
206 <div·class="memproto">206 <div·class="memproto">
207 ······<table·class="memname">207 ······<table·class="memname">
208 ········<tr>208 ········<tr>
209 ··········<td·class="memname">typedef·GLuint·<a·class="el"·href="a01229.html#a02af2ea2e9328a776b5b0bb3edf88864">VertexBufferBinding</a></td>209 ··········<td·class="memname">typedef·GLuint·<a·class="el"·href="a01229.html#a02af2ea2e9328a776b5b0bb3edf88864">VertexBufferBinding</a></td>
210 ········</tr>210 ········</tr>
211 ······</table>211 ······</table>
212 </div><div·class="memdoc">212 </div><div·class="memdoc">
  
213 <p·class="definition">Definition·at·line·<a·class="el"·href="a00866_source.html#l00047">47</a>·of·file·<a·class="el"·href="a00866_source.html">glPatchTable.h</a>.</p>213 <p·class="definition">Definition·at·line·<a·class="el"·href="a00842_source.html#l00047">47</a>·of·file·<a·class="el"·href="a00842_source.html">glPatchTable.h</a>.</p>
  
214 </div>214 </div>
215 </div>215 </div>
216 <h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>216 <h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
217 <a·id="a27e3bbc29608fb5ded788e1a6d068da7"·name="a27e3bbc29608fb5ded788e1a6d068da7"></a>217 <a·id="a27e3bbc29608fb5ded788e1a6d068da7"·name="a27e3bbc29608fb5ded788e1a6d068da7"></a>
218 <h2·class="memtitle"><span·class="permalink"><a·href="#a27e3bbc29608fb5ded788e1a6d068da7">&#9670;&nbsp;</a></span>~GLPatchTable()</h2>218 <h2·class="memtitle"><span·class="permalink"><a·href="#a27e3bbc29608fb5ded788e1a6d068da7">&#9670;&nbsp;</a></span>~GLPatchTable()</h2>
  
Offset 344, 15 lines modifiedOffset 344, 15 lines modified
344 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>344 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
345 ··</tr>345 ··</tr>
346 </table>346 </table>
347 </div><div·class="memdoc">347 </div><div·class="memdoc">
  
348 <p>Returns·the·patch·arrays·for·face-varying·index·buffer·data.·</p>348 <p>Returns·the·patch·arrays·for·face-varying·index·buffer·data.·</p>
  
349 <p·class="definition">Definition·at·line·<a·class="el"·href="a00866_source.html#l00098">98</a>·of·file·<a·class="el"·href="a00866_source.html">glPatchTable.h</a>.</p>349 <p·class="definition">Definition·at·line·<a·class="el"·href="a00842_source.html#l00098">98</a>·of·file·<a·class="el"·href="a00842_source.html">glPatchTable.h</a>.</p>
  
350 </div>350 </div>
351 </div>351 </div>
352 <a·id="a2657089828a2062a96ae15b4ea2d9bbf"·name="a2657089828a2062a96ae15b4ea2d9bbf"></a>352 <a·id="a2657089828a2062a96ae15b4ea2d9bbf"·name="a2657089828a2062a96ae15b4ea2d9bbf"></a>
353 <h2·class="memtitle"><span·class="permalink"><a·href="#a2657089828a2062a96ae15b4ea2d9bbf">&#9670;&nbsp;</a></span>GetFVarPatchIndexBuffer()</h2>353 <h2·class="memtitle"><span·class="permalink"><a·href="#a2657089828a2062a96ae15b4ea2d9bbf">&#9670;&nbsp;</a></span>GetFVarPatchIndexBuffer()</h2>
  
354 <div·class="memitem">354 <div·class="memitem">
Offset 374, 15 lines modifiedOffset 374, 15 lines modified
374 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>374 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
375 ··</tr>375 ··</tr>
376 </table>376 </table>
377 </div><div·class="memdoc">377 </div><div·class="memdoc">
  
378 <p>Returns·the·GL·index·buffer·containing·face-varying·control·vertices.·</p>378 <p>Returns·the·GL·index·buffer·containing·face-varying·control·vertices.·</p>
  
379 <p·class="definition">Definition·at·line·<a·class="el"·href="a00866_source.html#l00103">103</a>·of·file·<a·class="el"·href="a00866_source.html">glPatchTable.h</a>.</p>379 <p·class="definition">Definition·at·line·<a·class="el"·href="a00842_source.html#l00103">103</a>·of·file·<a·class="el"·href="a00842_source.html">glPatchTable.h</a>.</p>
  
380 </div>380 </div>
381 </div>381 </div>
382 <a·id="a95e40964621a631c5accc1a6e9bc85c7"·name="a95e40964621a631c5accc1a6e9bc85c7"></a>382 <a·id="a95e40964621a631c5accc1a6e9bc85c7"·name="a95e40964621a631c5accc1a6e9bc85c7"></a>
383 <h2·class="memtitle"><span·class="permalink"><a·href="#a95e40964621a631c5accc1a6e9bc85c7">&#9670;&nbsp;</a></span>GetFVarPatchIndexTextureBuffer()</h2>383 <h2·class="memtitle"><span·class="permalink"><a·href="#a95e40964621a631c5accc1a6e9bc85c7">&#9670;&nbsp;</a></span>GetFVarPatchIndexTextureBuffer()</h2>
  
384 <div·class="memitem">384 <div·class="memitem">
Offset 404, 15 lines modifiedOffset 404, 15 lines modified
404 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>404 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
405 ··</tr>405 ··</tr>
406 </table>406 </table>
407 </div><div·class="memdoc">407 </div><div·class="memdoc">
  
408 <p>Returns·the·GL·texture·buffer·containing·face-varying·control·vertices.·</p>408 <p>Returns·the·GL·texture·buffer·containing·face-varying·control·vertices.·</p>
  
409 <p·class="definition">Definition·at·line·<a·class="el"·href="a00866_source.html#l00108">108</a>·of·file·<a·class="el"·href="a00866_source.html">glPatchTable.h</a>.</p>409 <p·class="definition">Definition·at·line·<a·class="el"·href="a00842_source.html#l00108">108</a>·of·file·<a·class="el"·href="a00842_source.html">glPatchTable.h</a>.</p>
  
410 </div>410 </div>
411 </div>411 </div>
412 <a·id="a6693fe16c1c27f92acdcd0716a6656e1"·name="a6693fe16c1c27f92acdcd0716a6656e1"></a>412 <a·id="a6693fe16c1c27f92acdcd0716a6656e1"·name="a6693fe16c1c27f92acdcd0716a6656e1"></a>
413 <h2·class="memtitle"><span·class="permalink"><a·href="#a6693fe16c1c27f92acdcd0716a6656e1">&#9670;&nbsp;</a></span>GetFVarPatchParamBuffer()</h2>413 <h2·class="memtitle"><span·class="permalink"><a·href="#a6693fe16c1c27f92acdcd0716a6656e1">&#9670;&nbsp;</a></span>GetFVarPatchParamBuffer()</h2>
  
414 <div·class="memitem">414 <div·class="memitem">
Offset 434, 15 lines modifiedOffset 434, 15 lines modified
434 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>434 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
435 ··</tr>435 ··</tr>
436 </table>436 </table>
437 </div><div·class="memdoc">437 </div><div·class="memdoc">
  
438 <p>Returns·the·GL·index·buffer·containing·face-varying·patch·params.·</p>438 <p>Returns·the·GL·index·buffer·containing·face-varying·patch·params.·</p>
  
439 <p·class="definition">Definition·at·line·<a·class="el"·href="a00866_source.html#l00113">113</a>·of·file·<a·class="el"·href="a00866_source.html">glPatchTable.h</a>.</p>439 <p·class="definition">Definition·at·line·<a·class="el"·href="a00842_source.html#l00113">113</a>·of·file·<a·class="el"·href="a00842_source.html">glPatchTable.h</a>.</p>
  
440 </div>440 </div>
441 </div>441 </div>
442 <a·id="aa0d257bdc8fd9e5180f9b210fdc50209"·name="aa0d257bdc8fd9e5180f9b210fdc50209"></a>442 <a·id="aa0d257bdc8fd9e5180f9b210fdc50209"·name="aa0d257bdc8fd9e5180f9b210fdc50209"></a>
443 <h2·class="memtitle"><span·class="permalink"><a·href="#aa0d257bdc8fd9e5180f9b210fdc50209">&#9670;&nbsp;</a></span>GetFVarPatchParamTextureBuffer()</h2>443 <h2·class="memtitle"><span·class="permalink"><a·href="#aa0d257bdc8fd9e5180f9b210fdc50209">&#9670;&nbsp;</a></span>GetFVarPatchParamTextureBuffer()</h2>
  
444 <div·class="memitem">444 <div·class="memitem">
Offset 464, 15 lines modifiedOffset 464, 15 lines modified
464 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>464 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
465 ··</tr>465 ··</tr>
466 </table>466 </table>
467 </div><div·class="memdoc">467 </div><div·class="memdoc">
  
468 <p>Returns·the·GL·texture·buffer·containing·face-varying·patch·params.·</p>468 <p>Returns·the·GL·texture·buffer·containing·face-varying·patch·params.·</p>
  
469 <p·class="definition">Definition·at·line·<a·class="el"·href="a00866_source.html#l00118">118</a>·of·file·<a·class="el"·href="a00866_source.html">glPatchTable.h</a>.</p>469 <p·class="definition">Definition·at·line·<a·class="el"·href="a00842_source.html#l00118">118</a>·of·file·<a·class="el"·href="a00842_source.html">glPatchTable.h</a>.</p>
  
470 </div>470 </div>
471 </div>471 </div>
472 <a·id="aa9be824a572029f3ec1e0c0d6cfecd77"·name="aa9be824a572029f3ec1e0c0d6cfecd77"></a>472 <a·id="aa9be824a572029f3ec1e0c0d6cfecd77"·name="aa9be824a572029f3ec1e0c0d6cfecd77"></a>
473 <h2·class="memtitle"><span·class="permalink"><a·href="#aa9be824a572029f3ec1e0c0d6cfecd77">&#9670;&nbsp;</a></span>GetNumFVarChannels()</h2>473 <h2·class="memtitle"><span·class="permalink"><a·href="#aa9be824a572029f3ec1e0c0d6cfecd77">&#9670;&nbsp;</a></span>GetNumFVarChannels()</h2>
  
474 <div·class="memitem">474 <div·class="memitem">
Offset 493, 15 lines modifiedOffset 493, 15 lines modified
493 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>493 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
Max diff block lines reached; 18185/25716 bytes (70.71%) of diff not shown.
4.21 KB
./usr/share/doc/opensubdiv/doxy_html/a01233.html
    
Offset 87, 15 lines modifiedOffset 87, 15 lines modified
87 ··<div·class="summary">87 ··<div·class="summary">
88 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;88 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
89 <a·href="a01230.html">List·of·all·members</a>··</div>89 <a·href="a01230.html">List·of·all·members</a>··</div>
90 ··<div·class="headertitle"><div·class="title">GLSLPatchShaderSource·Class·Reference</div></div>90 ··<div·class="headertitle"><div·class="title">GLSLPatchShaderSource·Class·Reference</div></div>
91 </div><!--header-->91 </div><!--header-->
92 <div·class="contents">92 <div·class="contents">
  
93 <p><code>#include·&lt;<a·class="el"·href="a00854_source.html">glslPatchShaderSource.h</a>&gt;</code></p>93 <p><code>#include·&lt;<a·class="el"·href="a00836_source.html">glslPatchShaderSource.h</a>&gt;</code></p>
94 <table·class="memberdecls">94 <table·class="memberdecls">
95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
96 Static·Public·Member·Functions</h2></td></tr>96 Static·Public·Member·Functions</h2></td></tr>
97 <tr·class="memitem:ad5f427d2655d384980715874209345e7"><td·class="memItemLeft"·align="right"·valign="top">static·std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01233.html#ad5f427d2655d384980715874209345e7">GetCommonShaderSource</a>·()</td></tr>97 <tr·class="memitem:ad5f427d2655d384980715874209345e7"><td·class="memItemLeft"·align="right"·valign="top">static·std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01233.html#ad5f427d2655d384980715874209345e7">GetCommonShaderSource</a>·()</td></tr>
98 <tr·class="separator:ad5f427d2655d384980715874209345e7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>98 <tr·class="separator:ad5f427d2655d384980715874209345e7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
99 <tr·class="memitem:ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d"><td·class="memItemLeft"·align="right"·valign="top">static·std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01233.html#ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d">GetPatchBasisShaderSource</a>·()</td></tr>99 <tr·class="memitem:ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d"><td·class="memItemLeft"·align="right"·valign="top">static·std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01233.html#ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d">GetPatchBasisShaderSource</a>·()</td></tr>
100 <tr·class="separator:ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 104, 15 lines modifiedOffset 104, 15 lines modified
104 <tr·class="memitem:afc38178f7de93f60d4f6c1072c33cc7e"><td·class="memItemLeft"·align="right"·valign="top">static·std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01233.html#afc38178f7de93f60d4f6c1072c33cc7e">GetTessControlShaderSource</a>·(<a·class="el"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type)</td></tr>104 <tr·class="memitem:afc38178f7de93f60d4f6c1072c33cc7e"><td·class="memItemLeft"·align="right"·valign="top">static·std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01233.html#afc38178f7de93f60d4f6c1072c33cc7e">GetTessControlShaderSource</a>·(<a·class="el"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type)</td></tr>
105 <tr·class="separator:afc38178f7de93f60d4f6c1072c33cc7e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>105 <tr·class="separator:afc38178f7de93f60d4f6c1072c33cc7e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 <tr·class="memitem:a57a46d6848317cc76a02bc166ee05c24"><td·class="memItemLeft"·align="right"·valign="top">static·std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01233.html#a57a46d6848317cc76a02bc166ee05c24">GetTessEvalShaderSource</a>·(<a·class="el"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type)</td></tr>106 <tr·class="memitem:a57a46d6848317cc76a02bc166ee05c24"><td·class="memItemLeft"·align="right"·valign="top">static·std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01233.html#a57a46d6848317cc76a02bc166ee05c24">GetTessEvalShaderSource</a>·(<a·class="el"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type)</td></tr>
107 <tr·class="separator:a57a46d6848317cc76a02bc166ee05c24"><td·class="memSeparator"·colspan="2">&#160;</td></tr>107 <tr·class="separator:a57a46d6848317cc76a02bc166ee05c24"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
108 </table>108 </table>
109 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>109 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
110 <div·class="textblock">110 <div·class="textblock">
111 <p·class="definition">Definition·at·line·<a·class="el"·href="a00854_source.html#l00037">37</a>·of·file·<a·class="el"·href="a00854_source.html">glslPatchShaderSource.h</a>.</p>111 <p·class="definition">Definition·at·line·<a·class="el"·href="a00836_source.html#l00037">37</a>·of·file·<a·class="el"·href="a00836_source.html">glslPatchShaderSource.h</a>.</p>
112 </div><h2·class="groupheader">Member·Function·Documentation</h2>112 </div><h2·class="groupheader">Member·Function·Documentation</h2>
113 <a·id="ad5f427d2655d384980715874209345e7"·name="ad5f427d2655d384980715874209345e7"></a>113 <a·id="ad5f427d2655d384980715874209345e7"·name="ad5f427d2655d384980715874209345e7"></a>
114 <h2·class="memtitle"><span·class="permalink"><a·href="#ad5f427d2655d384980715874209345e7">&#9670;&nbsp;</a></span>GetCommonShaderSource()</h2>114 <h2·class="memtitle"><span·class="permalink"><a·href="#ad5f427d2655d384980715874209345e7">&#9670;&nbsp;</a></span>GetCommonShaderSource()</h2>
  
115 <div·class="memitem">115 <div·class="memitem">
116 <div·class="memproto">116 <div·class="memproto">
117 <table·class="mlabels">117 <table·class="mlabels">
Offset 235, 15 lines modifiedOffset 235, 15 lines modified
235 ··</tr>235 ··</tr>
236 </table>236 </table>
237 </div><div·class="memdoc">237 </div><div·class="memdoc">
  
238 </div>238 </div>
239 </div>239 </div>
240 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>240 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
241 <li>opensubdiv/osd/<a·class="el"·href="a00854_source.html">glslPatchShaderSource.h</a></li>241 <li>opensubdiv/osd/<a·class="el"·href="a00836_source.html">glslPatchShaderSource.h</a></li>
242 </ul>242 </ul>
243 </div><!--·contents·-->243 </div><!--·contents·-->
244 </div><!--·doc-content·-->244 </div><!--·doc-content·-->
245 <!--·start·footer·part·-->245 <!--·start·footer·part·-->
246 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->246 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
247 ··<ul>247 ··<ul>
248 ····<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="a01233.html">GLSLPatchShaderSource</a></li>248 ····<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="a01233.html">GLSLPatchShaderSource</a></li>
4.08 KB
./usr/share/doc/opensubdiv/doxy_html/a01237.html
    
Offset 92, 15 lines modifiedOffset 92, 15 lines modified
92 ··<div·class="headertitle"><div·class="title">GLVertexBuffer·Class·Reference</div></div>92 ··<div·class="headertitle"><div·class="title">GLVertexBuffer·Class·Reference</div></div>
93 </div><!--header-->93 </div><!--header-->
94 <div·class="contents">94 <div·class="contents">
  
95 <p>Concrete·vertex·buffer·class·for·GLSL·subdivision·and·OpenGL·drawing.··95 <p>Concrete·vertex·buffer·class·for·GLSL·subdivision·and·OpenGL·drawing.··
96 ·<a·href="a01237.html#details">More...</a></p>96 ·<a·href="a01237.html#details">More...</a></p>
  
97 <p><code>#include·&lt;<a·class="el"·href="a00860_source.html">glVertexBuffer.h</a>&gt;</code></p>97 <p><code>#include·&lt;<a·class="el"·href="a00845_source.html">glVertexBuffer.h</a>&gt;</code></p>
98 <table·class="memberdecls">98 <table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
100 Public·Member·Functions</h2></td></tr>100 Public·Member·Functions</h2></td></tr>
101 <tr·class="memitem:a2629b06f77082d1c67c50b03be4e465a"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01237.html#a2629b06f77082d1c67c50b03be4e465a">~GLVertexBuffer</a>·()</td></tr>101 <tr·class="memitem:a2629b06f77082d1c67c50b03be4e465a"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01237.html#a2629b06f77082d1c67c50b03be4e465a">~GLVertexBuffer</a>·()</td></tr>
102 <tr·class="memdesc:a2629b06f77082d1c67c50b03be4e465a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Destructor.··<a·href="a01237.html#a2629b06f77082d1c67c50b03be4e465a">More...</a><br·/></td></tr>102 <tr·class="memdesc:a2629b06f77082d1c67c50b03be4e465a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Destructor.··<a·href="a01237.html#a2629b06f77082d1c67c50b03be4e465a">More...</a><br·/></td></tr>
103 <tr·class="separator:a2629b06f77082d1c67c50b03be4e465a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:a2629b06f77082d1c67c50b03be4e465a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 <tr·class="memitem:a96601a091f8831823c4dd72b6c962f1b"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01237.html#a96601a091f8831823c4dd72b6c962f1b">UpdateData</a>·(const·float·*src,·int·startVertex,·int·numVertices,·void·*deviceContext=NULL)</td></tr>104 <tr·class="memitem:a96601a091f8831823c4dd72b6c962f1b"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01237.html#a96601a091f8831823c4dd72b6c962f1b">UpdateData</a>·(const·float·*src,·int·startVertex,·int·numVertices,·void·*deviceContext=NULL)</td></tr>
Offset 129, 15 lines modifiedOffset 129, 15 lines modified
129 <tr·class="memitem:add23d9f5bbc918076d240287a9b3664f"><td·class="memItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01237.html#add23d9f5bbc918076d240287a9b3664f">allocate</a>·()</td></tr>129 <tr·class="memitem:add23d9f5bbc918076d240287a9b3664f"><td·class="memItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01237.html#add23d9f5bbc918076d240287a9b3664f">allocate</a>·()</td></tr>
130 <tr·class="separator:add23d9f5bbc918076d240287a9b3664f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>130 <tr·class="separator:add23d9f5bbc918076d240287a9b3664f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
131 </table>131 </table>
132 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>132 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
133 <div·class="textblock"><p·>Concrete·vertex·buffer·class·for·GLSL·subdivision·and·OpenGL·drawing.·</p>133 <div·class="textblock"><p·>Concrete·vertex·buffer·class·for·GLSL·subdivision·and·OpenGL·drawing.·</p>
134 <p·><a·class="el"·href="a01237.html"·title="Concrete·vertex·buffer·class·for·GLSL·subdivision·and·OpenGL·drawing.">GLVertexBuffer</a>·implements·GLVertexBufferInterface.·An·instance·of·this·buffer·class·can·be·passed·to·OsdGLComputeEvaluator.·</p>134 <p·><a·class="el"·href="a01237.html"·title="Concrete·vertex·buffer·class·for·GLSL·subdivision·and·OpenGL·drawing.">GLVertexBuffer</a>·implements·GLVertexBufferInterface.·An·instance·of·this·buffer·class·can·be·passed·to·OsdGLComputeEvaluator.·</p>
  
135 <p·class="definition">Definition·at·line·<a·class="el"·href="a00860_source.html#l00044">44</a>·of·file·<a·class="el"·href="a00860_source.html">glVertexBuffer.h</a>.</p>135 <p·class="definition">Definition·at·line·<a·class="el"·href="a00845_source.html#l00044">44</a>·of·file·<a·class="el"·href="a00845_source.html">glVertexBuffer.h</a>.</p>
136 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>136 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
137 <a·id="a2629b06f77082d1c67c50b03be4e465a"·name="a2629b06f77082d1c67c50b03be4e465a"></a>137 <a·id="a2629b06f77082d1c67c50b03be4e465a"·name="a2629b06f77082d1c67c50b03be4e465a"></a>
138 <h2·class="memtitle"><span·class="permalink"><a·href="#a2629b06f77082d1c67c50b03be4e465a">&#9670;&nbsp;</a></span>~GLVertexBuffer()</h2>138 <h2·class="memtitle"><span·class="permalink"><a·href="#a2629b06f77082d1c67c50b03be4e465a">&#9670;&nbsp;</a></span>~GLVertexBuffer()</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 359, 15 lines modifiedOffset 359, 15 lines modified
359 ······</table>359 ······</table>
360 </div><div·class="memdoc">360 </div><div·class="memdoc">
361 <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>361 <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>
  
362 </div>362 </div>
363 </div>363 </div>
364 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>364 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
365 <li>opensubdiv/osd/<a·class="el"·href="a00860_source.html">glVertexBuffer.h</a></li>365 <li>opensubdiv/osd/<a·class="el"·href="a00845_source.html">glVertexBuffer.h</a></li>
366 </ul>366 </ul>
367 </div><!--·contents·-->367 </div><!--·contents·-->
368 </div><!--·doc-content·-->368 </div><!--·doc-content·-->
369 <!--·start·footer·part·-->369 <!--·start·footer·part·-->
370 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->370 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
371 ··<ul>371 ··<ul>
372 ····<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="a01237.html">GLVertexBuffer</a></li>372 ····<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="a01237.html">GLVertexBuffer</a></li>
12.7 KB
./usr/share/doc/opensubdiv/doxy_html/a01241.html
    
Offset 91, 15 lines modifiedOffset 91, 15 lines modified
91 ··<div·class="headertitle"><div·class="title">GLStencilTableTBO·Class·Reference</div></div>91 ··<div·class="headertitle"><div·class="title">GLStencilTableTBO·Class·Reference</div></div>
92 </div><!--header-->92 </div><!--header-->
93 <div·class="contents">93 <div·class="contents">
  
94 <p>GL·TextureBuffer·stencil·table.··94 <p>GL·TextureBuffer·stencil·table.··
95 ·<a·href="a01241.html#details">More...</a></p>95 ·<a·href="a01241.html#details">More...</a></p>
  
96 <p><code>#include·&lt;<a·class="el"·href="a00851_source.html">glXFBEvaluator.h</a>&gt;</code></p>96 <p><code>#include·&lt;<a·class="el"·href="a00830_source.html">glXFBEvaluator.h</a>&gt;</code></p>
97 <table·class="memberdecls">97 <table·class="memberdecls">
98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
99 Public·Member·Functions</h2></td></tr>99 Public·Member·Functions</h2></td></tr>
100 <tr·class="memitem:abbba46ba67be00a0eac751e3e731db6e"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01241.html#abbba46ba67be00a0eac751e3e731db6e">GLStencilTableTBO</a>·(<a·class="el"·href="a01057.html">Far::StencilTable</a>·const·*stencilTable)</td></tr>100 <tr·class="memitem:abbba46ba67be00a0eac751e3e731db6e"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01241.html#abbba46ba67be00a0eac751e3e731db6e">GLStencilTableTBO</a>·(<a·class="el"·href="a01057.html">Far::StencilTable</a>·const·*stencilTable)</td></tr>
101 <tr·class="separator:abbba46ba67be00a0eac751e3e731db6e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:abbba46ba67be00a0eac751e3e731db6e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 <tr·class="memitem:ac74a769daf1fe45575a16b738bb761cd"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01241.html#ac74a769daf1fe45575a16b738bb761cd">GLStencilTableTBO</a>·(<a·class="el"·href="a01073.html">Far::LimitStencilTable</a>·const·*limitStencilTable)</td></tr>102 <tr·class="memitem:ac74a769daf1fe45575a16b738bb761cd"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01241.html#ac74a769daf1fe45575a16b738bb761cd">GLStencilTableTBO</a>·(<a·class="el"·href="a01073.html">Far::LimitStencilTable</a>·const·*limitStencilTable)</td></tr>
103 <tr·class="separator:ac74a769daf1fe45575a16b738bb761cd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:ac74a769daf1fe45575a16b738bb761cd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 134, 15 lines modifiedOffset 134, 15 lines modified
134 <tr·class="separator:ae38a4728f9debae7733ab48cfadd8312"><td·class="memSeparator"·colspan="2">&#160;</td></tr>134 <tr·class="separator:ae38a4728f9debae7733ab48cfadd8312"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
135 </table>135 </table>
136 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>136 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
137 <div·class="textblock"><p·>GL·TextureBuffer·stencil·table.·</p>137 <div·class="textblock"><p·>GL·TextureBuffer·stencil·table.·</p>
138 <p·>This·class·is·a·GL·Texture·Buffer·representation·of·<a·class="el"·href="a01057.html"·title="Stencil·table·class·wrapping·the·template·for·compatibility.">Far::StencilTable</a>.</p>138 <p·>This·class·is·a·GL·Texture·Buffer·representation·of·<a·class="el"·href="a01057.html"·title="Stencil·table·class·wrapping·the·template·for·compatibility.">Far::StencilTable</a>.</p>
139 <p·>GLSLTransformFeedback·consumes·this·table·to·apply·stencils·</p>139 <p·>GLSLTransformFeedback·consumes·this·table·to·apply·stencils·</p>
  
140 <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>140 <p·class="definition">Definition·at·line·<a·class="el"·href="a00830_source.html#l00052">52</a>·of·file·<a·class="el"·href="a00830_source.html">glXFBEvaluator.h</a>.</p>
141 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>141 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
142 <a·id="abbba46ba67be00a0eac751e3e731db6e"·name="abbba46ba67be00a0eac751e3e731db6e"></a>142 <a·id="abbba46ba67be00a0eac751e3e731db6e"·name="abbba46ba67be00a0eac751e3e731db6e"></a>
143 <h2·class="memtitle"><span·class="permalink"><a·href="#abbba46ba67be00a0eac751e3e731db6e">&#9670;&nbsp;</a></span>GLStencilTableTBO()·<span·class="overload">[1/2]</span></h2>143 <h2·class="memtitle"><span·class="permalink"><a·href="#abbba46ba67be00a0eac751e3e731db6e">&#9670;&nbsp;</a></span>GLStencilTableTBO()·<span·class="overload">[1/2]</span></h2>
  
144 <div·class="memitem">144 <div·class="memitem">
145 <div·class="memproto">145 <div·class="memproto">
146 <table·class="mlabels">146 <table·class="mlabels">
Offset 240, 15 lines modifiedOffset 240, 15 lines modified
240 ··</td>240 ··</td>
241 ··<td·class="mlabels-right">241 ··<td·class="mlabels-right">
242 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>242 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>
243 ··</tr>243 ··</tr>
244 </table>244 </table>
245 </div><div·class="memdoc">245 </div><div·class="memdoc">
  
246 <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>246 <p·class="definition">Definition·at·line·<a·class="el"·href="a00830_source.html#l00060">60</a>·of·file·<a·class="el"·href="a00830_source.html">glXFBEvaluator.h</a>.</p>
  
247 </div>247 </div>
248 </div>248 </div>
249 <a·id="a24a8210b637a5b0fca2b258de3b8b8a6"·name="a24a8210b637a5b0fca2b258de3b8b8a6"></a>249 <a·id="a24a8210b637a5b0fca2b258de3b8b8a6"·name="a24a8210b637a5b0fca2b258de3b8b8a6"></a>
250 <h2·class="memtitle"><span·class="permalink"><a·href="#a24a8210b637a5b0fca2b258de3b8b8a6">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[2/2]</span></h2>250 <h2·class="memtitle"><span·class="permalink"><a·href="#a24a8210b637a5b0fca2b258de3b8b8a6">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[2/2]</span></h2>
  
251 <div·class="memitem">251 <div·class="memitem">
Offset 278, 15 lines modifiedOffset 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="a00851_source.html#l00054">54</a>·of·file·<a·class="el"·href="a00851_source.html">glXFBEvaluator.h</a>.</p>284 <p·class="definition">Definition·at·line·<a·class="el"·href="a00830_source.html#l00054">54</a>·of·file·<a·class="el"·href="a00830_source.html">glXFBEvaluator.h</a>.</p>
  
285 </div>285 </div>
286 </div>286 </div>
287 <a·id="a70fdd6f46c3a89dd4627b67c9a37d02e"·name="a70fdd6f46c3a89dd4627b67c9a37d02e"></a>287 <a·id="a70fdd6f46c3a89dd4627b67c9a37d02e"·name="a70fdd6f46c3a89dd4627b67c9a37d02e"></a>
288 <h2·class="memtitle"><span·class="permalink"><a·href="#a70fdd6f46c3a89dd4627b67c9a37d02e">&#9670;&nbsp;</a></span>GetDuuWeightsTexture()</h2>288 <h2·class="memtitle"><span·class="permalink"><a·href="#a70fdd6f46c3a89dd4627b67c9a37d02e">&#9670;&nbsp;</a></span>GetDuuWeightsTexture()</h2>
  
289 <div·class="memitem">289 <div·class="memitem">
Offset 305, 15 lines modifiedOffset 305, 15 lines modified
305 ··</td>305 ··</td>
306 ··<td·class="mlabels-right">306 ··<td·class="mlabels-right">
307 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>307 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
308 ··</tr>308 ··</tr>
309 </table>309 </table>
310 </div><div·class="memdoc">310 </div><div·class="memdoc">
  
311 <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>311 <p·class="definition">Definition·at·line·<a·class="el"·href="a00830_source.html#l00078">78</a>·of·file·<a·class="el"·href="a00830_source.html">glXFBEvaluator.h</a>.</p>
  
312 </div>312 </div>
313 </div>313 </div>
314 <a·id="a6987f68e0e090437e6a28dadce50f566"·name="a6987f68e0e090437e6a28dadce50f566"></a>314 <a·id="a6987f68e0e090437e6a28dadce50f566"·name="a6987f68e0e090437e6a28dadce50f566"></a>
315 <h2·class="memtitle"><span·class="permalink"><a·href="#a6987f68e0e090437e6a28dadce50f566">&#9670;&nbsp;</a></span>GetDuvWeightsTexture()</h2>315 <h2·class="memtitle"><span·class="permalink"><a·href="#a6987f68e0e090437e6a28dadce50f566">&#9670;&nbsp;</a></span>GetDuvWeightsTexture()</h2>
  
316 <div·class="memitem">316 <div·class="memitem">
Offset 332, 15 lines modifiedOffset 332, 15 lines modified
332 ··</td>332 ··</td>
333 ··<td·class="mlabels-right">333 ··<td·class="mlabels-right">
334 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>334 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
335 ··</tr>335 ··</tr>
336 </table>336 </table>
337 </div><div·class="memdoc">337 </div><div·class="memdoc">
  
338 <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>338 <p·class="definition">Definition·at·line·<a·class="el"·href="a00830_source.html#l00079">79</a>·of·file·<a·class="el"·href="a00830_source.html">glXFBEvaluator.h</a>.</p>
  
339 </div>339 </div>
340 </div>340 </div>
341 <a·id="afd4ff3060d31d9650d6c2820d870fda8"·name="afd4ff3060d31d9650d6c2820d870fda8"></a>341 <a·id="afd4ff3060d31d9650d6c2820d870fda8"·name="afd4ff3060d31d9650d6c2820d870fda8"></a>
342 <h2·class="memtitle"><span·class="permalink"><a·href="#afd4ff3060d31d9650d6c2820d870fda8">&#9670;&nbsp;</a></span>GetDuWeightsTexture()</h2>342 <h2·class="memtitle"><span·class="permalink"><a·href="#afd4ff3060d31d9650d6c2820d870fda8">&#9670;&nbsp;</a></span>GetDuWeightsTexture()</h2>
  
343 <div·class="memitem">343 <div·class="memitem">
Offset 359, 15 lines modifiedOffset 359, 15 lines modified
359 ··</td>359 ··</td>
360 ··<td·class="mlabels-right">360 ··<td·class="mlabels-right">
361 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>361 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
362 ··</tr>362 ··</tr>
363 </table>363 </table>
364 </div><div·class="memdoc">364 </div><div·class="memdoc">
  
365 <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>365 <p·class="definition">Definition·at·line·<a·class="el"·href="a00830_source.html#l00076">76</a>·of·file·<a·class="el"·href="a00830_source.html">glXFBEvaluator.h</a>.</p>
  
366 </div>366 </div>
367 </div>367 </div>
368 <a·id="a5d98fa1e61dcd32b8deb16bc9cf04d52"·name="a5d98fa1e61dcd32b8deb16bc9cf04d52"></a>368 <a·id="a5d98fa1e61dcd32b8deb16bc9cf04d52"·name="a5d98fa1e61dcd32b8deb16bc9cf04d52"></a>
369 <h2·class="memtitle"><span·class="permalink"><a·href="#a5d98fa1e61dcd32b8deb16bc9cf04d52">&#9670;&nbsp;</a></span>GetDvvWeightsTexture()</h2>369 <h2·class="memtitle"><span·class="permalink"><a·href="#a5d98fa1e61dcd32b8deb16bc9cf04d52">&#9670;&nbsp;</a></span>GetDvvWeightsTexture()</h2>
  
370 <div·class="memitem">370 <div·class="memitem">
Offset 386, 15 lines modifiedOffset 386, 15 lines modified
386 ··</td>386 ··</td>
387 ··<td·class="mlabels-right">387 ··<td·class="mlabels-right">
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·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>392 <p·class="definition">Definition·at·line·<a·class="el"·href="a00830_source.html#l00080">80</a>·of·file·<a·class="el"·href="a00830_source.html">glXFBEvaluator.h</a>.</p>
  
393 </div>393 </div>
394 </div>394 </div>
395 <a·id="afb1cd9d41b168ceeadd4892bfb3d3f77"·name="afb1cd9d41b168ceeadd4892bfb3d3f77"></a>395 <a·id="afb1cd9d41b168ceeadd4892bfb3d3f77"·name="afb1cd9d41b168ceeadd4892bfb3d3f77"></a>
396 <h2·class="memtitle"><span·class="permalink"><a·href="#afb1cd9d41b168ceeadd4892bfb3d3f77">&#9670;&nbsp;</a></span>GetDvWeightsTexture()</h2>396 <h2·class="memtitle"><span·class="permalink"><a·href="#afb1cd9d41b168ceeadd4892bfb3d3f77">&#9670;&nbsp;</a></span>GetDvWeightsTexture()</h2>
  
397 <div·class="memitem">397 <div·class="memitem">
Max diff block lines reached; 5216/12938 bytes (40.32%) of diff not shown.
37.0 KB
./usr/share/doc/opensubdiv/doxy_html/a01245.html
    
Offset 90, 15 lines modifiedOffset 90, 15 lines modified
90 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;90 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
91 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;91 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
92 <a·href="a01242.html">List·of·all·members</a>··</div>92 <a·href="a01242.html">List·of·all·members</a>··</div>
93 ··<div·class="headertitle"><div·class="title">GLXFBEvaluator·Class·Reference</div></div>93 ··<div·class="headertitle"><div·class="title">GLXFBEvaluator·Class·Reference</div></div>
94 </div><!--header-->94 </div><!--header-->
95 <div·class="contents">95 <div·class="contents">
  
96 <p><code>#include·&lt;<a·class="el"·href="a00851_source.html">glXFBEvaluator.h</a>&gt;</code></p>96 <p><code>#include·&lt;<a·class="el"·href="a00830_source.html">glXFBEvaluator.h</a>&gt;</code></p>
97 <table·class="memberdecls">97 <table·class="memberdecls">
98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
99 Public·Types</h2></td></tr>99 Public·Types</h2></td></tr>
100 <tr·class="memitem:a2c24b70c9312d8dff3fecb9ddea52c44"><td·class="memItemLeft"·align="right"·valign="top">typedef·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01245.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a></td></tr>100 <tr·class="memitem:a2c24b70c9312d8dff3fecb9ddea52c44"><td·class="memItemLeft"·align="right"·valign="top">typedef·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01245.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a></td></tr>
101 <tr·class="separator:a2c24b70c9312d8dff3fecb9ddea52c44"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:a2c24b70c9312d8dff3fecb9ddea52c44"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 </table><table·class="memberdecls">102 </table><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>
Offset 240, 29 lines modifiedOffset 240, 29 lines modified
240 <tr·class="separator:afb7e2a0c3a861f3dcd410ba0d5b2046e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>240 <tr·class="separator:afb7e2a0c3a861f3dcd410ba0d5b2046e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
241 <tr·class="memitem:a631211712e30cb07dc6d6cc51bb1db15"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01245.html#a631211712e30cb07dc6d6cc51bb1db15">Synchronize</a>·(void·*kernel)</td></tr>241 <tr·class="memitem:a631211712e30cb07dc6d6cc51bb1db15"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01245.html#a631211712e30cb07dc6d6cc51bb1db15">Synchronize</a>·(void·*kernel)</td></tr>
242 <tr·class="memdesc:a631211712e30cb07dc6d6cc51bb1db15"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Wait·the·dispatched·kernel·finishes.··<a·href="a01245.html#a631211712e30cb07dc6d6cc51bb1db15">More...</a><br·/></td></tr>242 <tr·class="memdesc:a631211712e30cb07dc6d6cc51bb1db15"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Wait·the·dispatched·kernel·finishes.··<a·href="a01245.html#a631211712e30cb07dc6d6cc51bb1db15">More...</a><br·/></td></tr>
243 <tr·class="separator:a631211712e30cb07dc6d6cc51bb1db15"><td·class="memSeparator"·colspan="2">&#160;</td></tr>243 <tr·class="separator:a631211712e30cb07dc6d6cc51bb1db15"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
244 </table>244 </table>
245 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>245 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
246 <div·class="textblock">246 <div·class="textblock">
247 <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>247 <p·class="definition">Definition·at·line·<a·class="el"·href="a00830_source.html#l00098">98</a>·of·file·<a·class="el"·href="a00830_source.html">glXFBEvaluator.h</a>.</p>
248 </div><h2·class="groupheader">Member·Typedef·Documentation</h2>248 </div><h2·class="groupheader">Member·Typedef·Documentation</h2>
249 <a·id="a2c24b70c9312d8dff3fecb9ddea52c44"·name="a2c24b70c9312d8dff3fecb9ddea52c44"></a>249 <a·id="a2c24b70c9312d8dff3fecb9ddea52c44"·name="a2c24b70c9312d8dff3fecb9ddea52c44"></a>
250 <h2·class="memtitle"><span·class="permalink"><a·href="#a2c24b70c9312d8dff3fecb9ddea52c44">&#9670;&nbsp;</a></span>Instantiatable</h2>250 <h2·class="memtitle"><span·class="permalink"><a·href="#a2c24b70c9312d8dff3fecb9ddea52c44">&#9670;&nbsp;</a></span>Instantiatable</h2>
  
251 <div·class="memitem">251 <div·class="memitem">
252 <div·class="memproto">252 <div·class="memproto">
253 ······<table·class="memname">253 ······<table·class="memname">
254 ········<tr>254 ········<tr>
255 ··········<td·class="memname">typedef·bool·<a·class="el"·href="a01245.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a></td>255 ··········<td·class="memname">typedef·bool·<a·class="el"·href="a01245.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a></td>
256 ········</tr>256 ········</tr>
257 ······</table>257 ······</table>
258 </div><div·class="memdoc">258 </div><div·class="memdoc">
  
259 <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>259 <p·class="definition">Definition·at·line·<a·class="el"·href="a00830_source.html#l00100">100</a>·of·file·<a·class="el"·href="a00830_source.html">glXFBEvaluator.h</a>.</p>
  
260 </div>260 </div>
261 </div>261 </div>
262 <h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>262 <h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
263 <a·id="a1932f725b28e271ab11ca768ba3bb01e"·name="a1932f725b28e271ab11ca768ba3bb01e"></a>263 <a·id="a1932f725b28e271ab11ca768ba3bb01e"·name="a1932f725b28e271ab11ca768ba3bb01e"></a>
264 <h2·class="memtitle"><span·class="permalink"><a·href="#a1932f725b28e271ab11ca768ba3bb01e">&#9670;&nbsp;</a></span>GLXFBEvaluator()</h2>264 <h2·class="memtitle"><span·class="permalink"><a·href="#a1932f725b28e271ab11ca768ba3bb01e">&#9670;&nbsp;</a></span>GLXFBEvaluator()</h2>
  
Offset 414, 15 lines modifiedOffset 414, 15 lines modified
414 ··</td>414 ··</td>
415 ··<td·class="mlabels-right">415 ··<td·class="mlabels-right">
416 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>416 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>
417 ··</tr>417 ··</tr>
418 </table>418 </table>
419 </div><div·class="memdoc">419 </div><div·class="memdoc">
  
420 <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>420 <p·class="definition">Definition·at·line·<a·class="el"·href="a00830_source.html#l00126">126</a>·of·file·<a·class="el"·href="a00830_source.html">glXFBEvaluator.h</a>.</p>
  
421 </div>421 </div>
422 </div>422 </div>
423 <a·id="a3a08d0f058b0d8dde7c853734ee446c7"·name="a3a08d0f058b0d8dde7c853734ee446c7"></a>423 <a·id="a3a08d0f058b0d8dde7c853734ee446c7"·name="a3a08d0f058b0d8dde7c853734ee446c7"></a>
424 <h2·class="memtitle"><span·class="permalink"><a·href="#a3a08d0f058b0d8dde7c853734ee446c7">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[2/6]</span></h2>424 <h2·class="memtitle"><span·class="permalink"><a·href="#a3a08d0f058b0d8dde7c853734ee446c7">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[2/6]</span></h2>
  
425 <div·class="memitem">425 <div·class="memitem">
Offset 488, 15 lines modifiedOffset 488, 15 lines modified
488 ··</td>488 ··</td>
489 ··<td·class="mlabels-right">489 ··<td·class="mlabels-right">
490 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>490 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>
491 ··</tr>491 ··</tr>
492 </table>492 </table>
493 </div><div·class="memdoc">493 </div><div·class="memdoc">
  
494 <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>494 <p·class="definition">Definition·at·line·<a·class="el"·href="a00830_source.html#l00170">170</a>·of·file·<a·class="el"·href="a00830_source.html">glXFBEvaluator.h</a>.</p>
  
495 </div>495 </div>
496 </div>496 </div>
497 <a·id="a591dd44e4e7d35454ab63664150137a3"·name="a591dd44e4e7d35454ab63664150137a3"></a>497 <a·id="a591dd44e4e7d35454ab63664150137a3"·name="a591dd44e4e7d35454ab63664150137a3"></a>
498 <h2·class="memtitle"><span·class="permalink"><a·href="#a591dd44e4e7d35454ab63664150137a3">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[3/6]</span></h2>498 <h2·class="memtitle"><span·class="permalink"><a·href="#a591dd44e4e7d35454ab63664150137a3">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[3/6]</span></h2>
  
499 <div·class="memitem">499 <div·class="memitem">
Offset 564, 15 lines modifiedOffset 564, 15 lines modified
564 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>564 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>
565 ··</tr>565 ··</tr>
566 </table>566 </table>
567 </div><div·class="memdoc">567 </div><div·class="memdoc">
  
568 <p>Generic·creator·template.·</p>568 <p>Generic·creator·template.·</p>
  
569 <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>569 <p·class="definition">Definition·at·line·<a·class="el"·href="a00830_source.html#l00140">140</a>·of·file·<a·class="el"·href="a00830_source.html">glXFBEvaluator.h</a>.</p>
  
570 </div>570 </div>
571 </div>571 </div>
572 <a·id="aaf7aeae38dd52386c15108d7e94eb30f"·name="aaf7aeae38dd52386c15108d7e94eb30f"></a>572 <a·id="aaf7aeae38dd52386c15108d7e94eb30f"·name="aaf7aeae38dd52386c15108d7e94eb30f"></a>
573 <h2·class="memtitle"><span·class="permalink"><a·href="#aaf7aeae38dd52386c15108d7e94eb30f">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[4/6]</span></h2>573 <h2·class="memtitle"><span·class="permalink"><a·href="#aaf7aeae38dd52386c15108d7e94eb30f">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[4/6]</span></h2>
  
574 <div·class="memitem">574 <div·class="memitem">
Offset 640, 15 lines modifiedOffset 640, 15 lines modified
640 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>640 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>
641 ··</tr>641 ··</tr>
642 </table>642 </table>
643 </div><div·class="memdoc">643 </div><div·class="memdoc">
  
644 <p>Specialization·to·allow·creation·without·a·device·context.·</p>644 <p>Specialization·to·allow·creation·without·a·device·context.·</p>
  
645 <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>645 <p·class="definition">Definition·at·line·<a·class="el"·href="a00830_source.html#l00157">157</a>·of·file·<a·class="el"·href="a00830_source.html">glXFBEvaluator.h</a>.</p>
  
646 </div>646 </div>
647 </div>647 </div>
648 <a·id="a5be617906ad76ddcc4795dd6557a79f7"·name="a5be617906ad76ddcc4795dd6557a79f7"></a>648 <a·id="a5be617906ad76ddcc4795dd6557a79f7"·name="a5be617906ad76ddcc4795dd6557a79f7"></a>
649 <h2·class="memtitle"><span·class="permalink"><a·href="#a5be617906ad76ddcc4795dd6557a79f7">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[5/6]</span></h2>649 <h2·class="memtitle"><span·class="permalink"><a·href="#a5be617906ad76ddcc4795dd6557a79f7">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[5/6]</span></h2>
  
650 <div·class="memitem">650 <div·class="memitem">
Offset 698, 15 lines modifiedOffset 698, 15 lines modified
698 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>698 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>
699 ··</tr>699 ··</tr>
700 </table>700 </table>
701 </div><div·class="memdoc">701 </div><div·class="memdoc">
  
702 <p>Generic·creator·template.·</p>702 <p>Generic·creator·template.·</p>
  
703 <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>703 <p·class="definition">Definition·at·line·<a·class="el"·href="a00830_source.html#l00104">104</a>·of·file·<a·class="el"·href="a00830_source.html">glXFBEvaluator.h</a>.</p>
  
704 </div>704 </div>
705 </div>705 </div>
706 <a·id="a429f25fc87b709736f619fb76bd6c47f"·name="a429f25fc87b709736f619fb76bd6c47f"></a>706 <a·id="a429f25fc87b709736f619fb76bd6c47f"·name="a429f25fc87b709736f619fb76bd6c47f"></a>
707 <h2·class="memtitle"><span·class="permalink"><a·href="#a429f25fc87b709736f619fb76bd6c47f">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[6/6]</span></h2>707 <h2·class="memtitle"><span·class="permalink"><a·href="#a429f25fc87b709736f619fb76bd6c47f">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[6/6]</span></h2>
  
708 <div·class="memitem">708 <div·class="memitem">
Offset 756, 15 lines modifiedOffset 756, 15 lines modified
756 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>756 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>
Max diff block lines reached; 29670/37784 bytes (78.53%) of diff not shown.
4.21 KB
./usr/share/doc/opensubdiv/doxy_html/a01257.html
    
Offset 87, 15 lines modifiedOffset 87, 15 lines modified
87 ··<div·class="summary">87 ··<div·class="summary">
88 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;88 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
89 <a·href="a01254.html">List·of·all·members</a>··</div>89 <a·href="a01254.html">List·of·all·members</a>··</div>
90 ··<div·class="headertitle"><div·class="title">HLSLPatchShaderSource·Class·Reference</div></div>90 ··<div·class="headertitle"><div·class="title">HLSLPatchShaderSource·Class·Reference</div></div>
91 </div><!--header-->91 </div><!--header-->
92 <div·class="contents">92 <div·class="contents">
  
93 <p><code>#include·&lt;<a·class="el"·href="a00830_source.html">hlslPatchShaderSource.h</a>&gt;</code></p>93 <p><code>#include·&lt;<a·class="el"·href="a00809_source.html">hlslPatchShaderSource.h</a>&gt;</code></p>
94 <table·class="memberdecls">94 <table·class="memberdecls">
95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
96 Static·Public·Member·Functions</h2></td></tr>96 Static·Public·Member·Functions</h2></td></tr>
97 <tr·class="memitem:ad5f427d2655d384980715874209345e7"><td·class="memItemLeft"·align="right"·valign="top">static·std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01257.html#ad5f427d2655d384980715874209345e7">GetCommonShaderSource</a>·()</td></tr>97 <tr·class="memitem:ad5f427d2655d384980715874209345e7"><td·class="memItemLeft"·align="right"·valign="top">static·std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01257.html#ad5f427d2655d384980715874209345e7">GetCommonShaderSource</a>·()</td></tr>
98 <tr·class="separator:ad5f427d2655d384980715874209345e7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>98 <tr·class="separator:ad5f427d2655d384980715874209345e7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
99 <tr·class="memitem:ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d"><td·class="memItemLeft"·align="right"·valign="top">static·std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01257.html#ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d">GetPatchBasisShaderSource</a>·()</td></tr>99 <tr·class="memitem:ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d"><td·class="memItemLeft"·align="right"·valign="top">static·std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01257.html#ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d">GetPatchBasisShaderSource</a>·()</td></tr>
100 <tr·class="separator:ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 104, 15 lines modifiedOffset 104, 15 lines modified
104 <tr·class="memitem:a97a09fe0a378798cafdff72e115e373f"><td·class="memItemLeft"·align="right"·valign="top">static·std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01257.html#a97a09fe0a378798cafdff72e115e373f">GetHullShaderSource</a>·(<a·class="el"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type)</td></tr>104 <tr·class="memitem:a97a09fe0a378798cafdff72e115e373f"><td·class="memItemLeft"·align="right"·valign="top">static·std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01257.html#a97a09fe0a378798cafdff72e115e373f">GetHullShaderSource</a>·(<a·class="el"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type)</td></tr>
105 <tr·class="separator:a97a09fe0a378798cafdff72e115e373f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>105 <tr·class="separator:a97a09fe0a378798cafdff72e115e373f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 <tr·class="memitem:a733309309efe67ba5d1acd7d0a9ff6ca"><td·class="memItemLeft"·align="right"·valign="top">static·std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01257.html#a733309309efe67ba5d1acd7d0a9ff6ca">GetDomainShaderSource</a>·(<a·class="el"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type)</td></tr>106 <tr·class="memitem:a733309309efe67ba5d1acd7d0a9ff6ca"><td·class="memItemLeft"·align="right"·valign="top">static·std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01257.html#a733309309efe67ba5d1acd7d0a9ff6ca">GetDomainShaderSource</a>·(<a·class="el"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type)</td></tr>
107 <tr·class="separator:a733309309efe67ba5d1acd7d0a9ff6ca"><td·class="memSeparator"·colspan="2">&#160;</td></tr>107 <tr·class="separator:a733309309efe67ba5d1acd7d0a9ff6ca"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
108 </table>108 </table>
109 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>109 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
110 <div·class="textblock">110 <div·class="textblock">
111 <p·class="definition">Definition·at·line·<a·class="el"·href="a00830_source.html#l00037">37</a>·of·file·<a·class="el"·href="a00830_source.html">hlslPatchShaderSource.h</a>.</p>111 <p·class="definition">Definition·at·line·<a·class="el"·href="a00809_source.html#l00037">37</a>·of·file·<a·class="el"·href="a00809_source.html">hlslPatchShaderSource.h</a>.</p>
112 </div><h2·class="groupheader">Member·Function·Documentation</h2>112 </div><h2·class="groupheader">Member·Function·Documentation</h2>
113 <a·id="ad5f427d2655d384980715874209345e7"·name="ad5f427d2655d384980715874209345e7"></a>113 <a·id="ad5f427d2655d384980715874209345e7"·name="ad5f427d2655d384980715874209345e7"></a>
114 <h2·class="memtitle"><span·class="permalink"><a·href="#ad5f427d2655d384980715874209345e7">&#9670;&nbsp;</a></span>GetCommonShaderSource()</h2>114 <h2·class="memtitle"><span·class="permalink"><a·href="#ad5f427d2655d384980715874209345e7">&#9670;&nbsp;</a></span>GetCommonShaderSource()</h2>
  
115 <div·class="memitem">115 <div·class="memitem">
116 <div·class="memproto">116 <div·class="memproto">
117 <table·class="mlabels">117 <table·class="mlabels">
Offset 235, 15 lines modifiedOffset 235, 15 lines modified
235 ··</tr>235 ··</tr>
236 </table>236 </table>
237 </div><div·class="memdoc">237 </div><div·class="memdoc">
  
238 </div>238 </div>
239 </div>239 </div>
240 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>240 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
241 <li>opensubdiv/osd/<a·class="el"·href="a00830_source.html">hlslPatchShaderSource.h</a></li>241 <li>opensubdiv/osd/<a·class="el"·href="a00809_source.html">hlslPatchShaderSource.h</a></li>
242 </ul>242 </ul>
243 </div><!--·contents·-->243 </div><!--·contents·-->
244 </div><!--·doc-content·-->244 </div><!--·doc-content·-->
245 <!--·start·footer·part·-->245 <!--·start·footer·part·-->
246 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->246 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
247 ··<ul>247 ··<ul>
248 ····<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="a01257.html">HLSLPatchShaderSource</a></li>248 ····<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="a01257.html">HLSLPatchShaderSource</a></li>
8.66 KB
./usr/share/doc/opensubdiv/doxy_html/a01261.html
    
Offset 89, 15 lines modifiedOffset 89, 15 lines modified
89 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;89 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
90 <a·href="#pro-static-methods">Static·Protected·Member·Functions</a>·&#124;90 <a·href="#pro-static-methods">Static·Protected·Member·Functions</a>·&#124;
91 <a·href="a01258.html">List·of·all·members</a>··</div>91 <a·href="a01258.html">List·of·all·members</a>··</div>
92 ··<div·class="headertitle"><div·class="title">MeshInterface&lt;·PATCH_TABLE·&gt;·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div>92 ··<div·class="headertitle"><div·class="title">MeshInterface&lt;·PATCH_TABLE·&gt;·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div>
93 </div><!--header-->93 </div><!--header-->
94 <div·class="contents">94 <div·class="contents">
  
95 <p><code>#include·&lt;<a·class="el"·href="a00887_source.html">mesh.h</a>&gt;</code></p>95 <p><code>#include·&lt;<a·class="el"·href="a00869_source.html">mesh.h</a>&gt;</code></p>
96 <div·class="dynheader">96 <div·class="dynheader">
97 Inheritance·diagram·for·MeshInterface&lt;·PATCH_TABLE·&gt;:</div>97 Inheritance·diagram·for·MeshInterface&lt;·PATCH_TABLE·&gt;:</div>
98 <div·class="dyncontent">98 <div·class="dyncontent">
99 ·<div·class="center">99 ·<div·class="center">
100 ··<img·src="a01261.png"·usemap="#MeshInterface_3C_20PATCH_5FTABLE_20_3E_map"·alt=""/>100 ··<img·src="a01261.png"·usemap="#MeshInterface_3C_20PATCH_5FTABLE_20_3E_map"·alt=""/>
101 ··<map·id="MeshInterface_3C_20PATCH_5FTABLE_20_3E_map"·name="MeshInterface_3C_20PATCH_5FTABLE_20_3E_map">101 ··<map·id="MeshInterface_3C_20PATCH_5FTABLE_20_3E_map"·name="MeshInterface_3C_20PATCH_5FTABLE_20_3E_map">
102 <area·href="a01273.html"·alt="Mesh&lt;·VERTEX_BUFFER,·STENCIL_TABLE,·EVALUATOR,·PATCH_TABLE,·DEVICE_CONTEXT·&gt;"·shape="rect"·coords="0,56,579,80"/>102 <area·href="a01273.html"·alt="Mesh&lt;·VERTEX_BUFFER,·STENCIL_TABLE,·EVALUATOR,·PATCH_TABLE,·DEVICE_CONTEXT·&gt;"·shape="rect"·coords="0,56,579,80"/>
Offset 144, 29 lines modifiedOffset 144, 29 lines modified
144 <tr·class="separator:a51f237c3f08f6ddc2ea7ba5cb0d00b36"><td·class="memSeparator"·colspan="2">&#160;</td></tr>144 <tr·class="separator:a51f237c3f08f6ddc2ea7ba5cb0d00b36"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
145 <tr·class="memitem:a173851f742adc30ac139af96fe63732d"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01261.html#a173851f742adc30ac139af96fe63732d">refineMesh</a>·(<a·class="el"·href="a01113.html">Far::TopologyRefiner</a>·&amp;refiner,·int·level,·<a·class="el"·href="a00912.html#a85ba9df501aea9af1ec9da1558c255bc">MeshBitset</a>·bits)</td></tr>145 <tr·class="memitem:a173851f742adc30ac139af96fe63732d"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01261.html#a173851f742adc30ac139af96fe63732d">refineMesh</a>·(<a·class="el"·href="a01113.html">Far::TopologyRefiner</a>·&amp;refiner,·int·level,·<a·class="el"·href="a00912.html#a85ba9df501aea9af1ec9da1558c255bc">MeshBitset</a>·bits)</td></tr>
146 <tr·class="separator:a173851f742adc30ac139af96fe63732d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>146 <tr·class="separator:a173851f742adc30ac139af96fe63732d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
147 </table>147 </table>
148 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>148 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
149 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·PATCH_TABLE&gt;<br·/>149 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·PATCH_TABLE&gt;<br·/>
150 class·OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshInterface&lt;·PATCH_TABLE·&gt;</div>150 class·OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshInterface&lt;·PATCH_TABLE·&gt;</div>
151 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00068">68</a>·of·file·<a·class="el"·href="a00887_source.html">mesh.h</a>.</p>151 <p·class="definition">Definition·at·line·<a·class="el"·href="a00869_source.html#l00068">68</a>·of·file·<a·class="el"·href="a00869_source.html">mesh.h</a>.</p>
152 </div><h2·class="groupheader">Member·Typedef·Documentation</h2>152 </div><h2·class="groupheader">Member·Typedef·Documentation</h2>
153 <a·id="adf9352136d44e5999629c6b4530bf4e0"·name="adf9352136d44e5999629c6b4530bf4e0"></a>153 <a·id="adf9352136d44e5999629c6b4530bf4e0"·name="adf9352136d44e5999629c6b4530bf4e0"></a>
154 <h2·class="memtitle"><span·class="permalink"><a·href="#adf9352136d44e5999629c6b4530bf4e0">&#9670;&nbsp;</a></span>PatchTable</h2>154 <h2·class="memtitle"><span·class="permalink"><a·href="#adf9352136d44e5999629c6b4530bf4e0">&#9670;&nbsp;</a></span>PatchTable</h2>
  
155 <div·class="memitem">155 <div·class="memitem">
156 <div·class="memproto">156 <div·class="memproto">
157 ······<table·class="memname">157 ······<table·class="memname">
158 ········<tr>158 ········<tr>
159 ··········<td·class="memname">typedef·PATCH_TABLE·<a·class="el"·href="a01261.html#adf9352136d44e5999629c6b4530bf4e0">PatchTable</a></td>159 ··········<td·class="memname">typedef·PATCH_TABLE·<a·class="el"·href="a01261.html#adf9352136d44e5999629c6b4530bf4e0">PatchTable</a></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="a00887_source.html#l00070">70</a>·of·file·<a·class="el"·href="a00887_source.html">mesh.h</a>.</p>163 <p·class="definition">Definition·at·line·<a·class="el"·href="a00869_source.html#l00070">70</a>·of·file·<a·class="el"·href="a00869_source.html">mesh.h</a>.</p>
  
164 </div>164 </div>
165 </div>165 </div>
166 <a·id="a9cf40ecf1b9b5c29507fe92a03f37a3c"·name="a9cf40ecf1b9b5c29507fe92a03f37a3c"></a>166 <a·id="a9cf40ecf1b9b5c29507fe92a03f37a3c"·name="a9cf40ecf1b9b5c29507fe92a03f37a3c"></a>
167 <h2·class="memtitle"><span·class="permalink"><a·href="#a9cf40ecf1b9b5c29507fe92a03f37a3c">&#9670;&nbsp;</a></span>VertexBufferBinding</h2>167 <h2·class="memtitle"><span·class="permalink"><a·href="#a9cf40ecf1b9b5c29507fe92a03f37a3c">&#9670;&nbsp;</a></span>VertexBufferBinding</h2>
  
168 <div·class="memitem">168 <div·class="memitem">
Offset 174, 15 lines modifiedOffset 174, 15 lines modified
174 ······<table·class="memname">174 ······<table·class="memname">
175 ········<tr>175 ········<tr>
176 ··········<td·class="memname">typedef·PatchTable::VertexBufferBinding·<a·class="el"·href="a01261.html#a9cf40ecf1b9b5c29507fe92a03f37a3c">VertexBufferBinding</a></td>176 ··········<td·class="memname">typedef·PatchTable::VertexBufferBinding·<a·class="el"·href="a01261.html#a9cf40ecf1b9b5c29507fe92a03f37a3c">VertexBufferBinding</a></td>
177 ········</tr>177 ········</tr>
178 ······</table>178 ······</table>
179 </div><div·class="memdoc">179 </div><div·class="memdoc">
  
180 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00071">71</a>·of·file·<a·class="el"·href="a00887_source.html">mesh.h</a>.</p>180 <p·class="definition">Definition·at·line·<a·class="el"·href="a00869_source.html#l00071">71</a>·of·file·<a·class="el"·href="a00869_source.html">mesh.h</a>.</p>
  
181 </div>181 </div>
182 </div>182 </div>
183 <h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>183 <h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
184 <a·id="a97aeac9a21a88e08fc89852a92011bea"·name="a97aeac9a21a88e08fc89852a92011bea"></a>184 <a·id="a97aeac9a21a88e08fc89852a92011bea"·name="a97aeac9a21a88e08fc89852a92011bea"></a>
185 <h2·class="memtitle"><span·class="permalink"><a·href="#a97aeac9a21a88e08fc89852a92011bea">&#9670;&nbsp;</a></span>MeshInterface()</h2>185 <h2·class="memtitle"><span·class="permalink"><a·href="#a97aeac9a21a88e08fc89852a92011bea">&#9670;&nbsp;</a></span>MeshInterface()</h2>
  
Offset 202, 15 lines modifiedOffset 202, 15 lines modified
202 ··</td>202 ··</td>
203 ··<td·class="mlabels-right">203 ··<td·class="mlabels-right">
204 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>204 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
205 ··</tr>205 ··</tr>
206 </table>206 </table>
207 </div><div·class="memdoc">207 </div><div·class="memdoc">
  
208 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00074">74</a>·of·file·<a·class="el"·href="a00887_source.html">mesh.h</a>.</p>208 <p·class="definition">Definition·at·line·<a·class="el"·href="a00869_source.html#l00074">74</a>·of·file·<a·class="el"·href="a00869_source.html">mesh.h</a>.</p>
  
209 </div>209 </div>
210 </div>210 </div>
211 <a·id="a7ae07c3be3d1d28183ee669ab9739bf2"·name="a7ae07c3be3d1d28183ee669ab9739bf2"></a>211 <a·id="a7ae07c3be3d1d28183ee669ab9739bf2"·name="a7ae07c3be3d1d28183ee669ab9739bf2"></a>
212 <h2·class="memtitle"><span·class="permalink"><a·href="#a7ae07c3be3d1d28183ee669ab9739bf2">&#9670;&nbsp;</a></span>~MeshInterface()</h2>212 <h2·class="memtitle"><span·class="permalink"><a·href="#a7ae07c3be3d1d28183ee669ab9739bf2">&#9670;&nbsp;</a></span>~MeshInterface()</h2>
  
213 <div·class="memitem">213 <div·class="memitem">
Offset 229, 15 lines modifiedOffset 229, 15 lines modified
229 ··</td>229 ··</td>
230 ··<td·class="mlabels-right">230 ··<td·class="mlabels-right">
231 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">virtual</span></span>··</td>231 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">virtual</span></span>··</td>
232 ··</tr>232 ··</tr>
233 </table>233 </table>
234 </div><div·class="memdoc">234 </div><div·class="memdoc">
  
235 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00076">76</a>·of·file·<a·class="el"·href="a00887_source.html">mesh.h</a>.</p>235 <p·class="definition">Definition·at·line·<a·class="el"·href="a00869_source.html#l00076">76</a>·of·file·<a·class="el"·href="a00869_source.html">mesh.h</a>.</p>
  
236 </div>236 </div>
237 </div>237 </div>
238 <h2·class="groupheader">Member·Function·Documentation</h2>238 <h2·class="groupheader">Member·Function·Documentation</h2>
239 <a·id="abcdcb8fab7865dc196900b37c2e2d279"·name="abcdcb8fab7865dc196900b37c2e2d279"></a>239 <a·id="abcdcb8fab7865dc196900b37c2e2d279"·name="abcdcb8fab7865dc196900b37c2e2d279"></a>
240 <h2·class="memtitle"><span·class="permalink"><a·href="#abcdcb8fab7865dc196900b37c2e2d279">&#9670;&nbsp;</a></span>BindVaryingBuffer()</h2>240 <h2·class="memtitle"><span·class="permalink"><a·href="#abcdcb8fab7865dc196900b37c2e2d279">&#9670;&nbsp;</a></span>BindVaryingBuffer()</h2>
  
Offset 469, 15 lines modifiedOffset 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·class="mlabel">static</span><span·class="mlabel">protected</span></span>··</td>471 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span><span·class="mlabel">protected</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="a00887_source.html#l00101">101</a>·of·file·<a·class="el"·href="a00887_source.html">mesh.h</a>.</p>475 <p·class="definition">Definition·at·line·<a·class="el"·href="a00869_source.html#l00101">101</a>·of·file·<a·class="el"·href="a00869_source.html">mesh.h</a>.</p>
  
476 </div>476 </div>
477 </div>477 </div>
478 <a·id="a173851f742adc30ac139af96fe63732d"·name="a173851f742adc30ac139af96fe63732d"></a>478 <a·id="a173851f742adc30ac139af96fe63732d"·name="a173851f742adc30ac139af96fe63732d"></a>
479 <h2·class="memtitle"><span·class="permalink"><a·href="#a173851f742adc30ac139af96fe63732d">&#9670;&nbsp;</a></span>refineMesh()·<span·class="overload">[2/2]</span></h2>479 <h2·class="memtitle"><span·class="permalink"><a·href="#a173851f742adc30ac139af96fe63732d">&#9670;&nbsp;</a></span>refineMesh()·<span·class="overload">[2/2]</span></h2>
  
480 <div·class="memitem">480 <div·class="memitem">
Offset 513, 15 lines modifiedOffset 513, 15 lines modified
513 ··</td>513 ··</td>
514 ··<td·class="mlabels-right">514 ··<td·class="mlabels-right">
515 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span><span·class="mlabel">protected</span></span>··</td>515 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span><span·class="mlabel">protected</span></span>··</td>
516 ··</tr>516 ··</tr>
517 </table>517 </table>
518 </div><div·class="memdoc">518 </div><div·class="memdoc">
  
519 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00117">117</a>·of·file·<a·class="el"·href="a00887_source.html">mesh.h</a>.</p>519 <p·class="definition">Definition·at·line·<a·class="el"·href="a00869_source.html#l00117">117</a>·of·file·<a·class="el"·href="a00869_source.html">mesh.h</a>.</p>
  
520 </div>520 </div>
521 </div>521 </div>
522 <a·id="ae13c194d355f54c75f87897e3c5beb6b"·name="ae13c194d355f54c75f87897e3c5beb6b"></a>522 <a·id="ae13c194d355f54c75f87897e3c5beb6b"·name="ae13c194d355f54c75f87897e3c5beb6b"></a>
523 <h2·class="memtitle"><span·class="permalink"><a·href="#ae13c194d355f54c75f87897e3c5beb6b">&#9670;&nbsp;</a></span>Synchronize()</h2>523 <h2·class="memtitle"><span·class="permalink"><a·href="#ae13c194d355f54c75f87897e3c5beb6b">&#9670;&nbsp;</a></span>Synchronize()</h2>
  
524 <div·class="memitem">524 <div·class="memitem">
Offset 633, 15 lines modifiedOffset 633, 15 lines modified
633 </div><div·class="memdoc">633 </div><div·class="memdoc">
Max diff block lines reached; 905/8774 bytes (10.31%) of diff not shown.
7.66 KB
./usr/share/doc/opensubdiv/doxy_html/a01265.html
    
Offset 89, 15 lines modifiedOffset 89, 15 lines modified
89 <a·href="#pub-types">Public·Types</a>·&#124;89 <a·href="#pub-types">Public·Types</a>·&#124;
90 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;90 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
91 <a·href="a01262.html">List·of·all·members</a>··</div>91 <a·href="a01262.html">List·of·all·members</a>··</div>
92 ··<div·class="headertitle"><div·class="title">EvaluatorCacheT&lt;·EVALUATOR·&gt;·Class·Template·Reference</div></div>92 ··<div·class="headertitle"><div·class="title">EvaluatorCacheT&lt;·EVALUATOR·&gt;·Class·Template·Reference</div></div>
93 </div><!--header-->93 </div><!--header-->
94 <div·class="contents">94 <div·class="contents">
  
95 <p><code>#include·&lt;<a·class="el"·href="a00887_source.html">mesh.h</a>&gt;</code></p>95 <p><code>#include·&lt;<a·class="el"·href="a00869_source.html">mesh.h</a>&gt;</code></p>
96 <table·class="memberdecls">96 <table·class="memberdecls">
97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
98 Classes</h2></td></tr>98 Classes</h2></td></tr>
99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01269.html">Entry</a></td></tr>99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01269.html">Entry</a></td></tr>
100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 </table><table·class="memberdecls">101 </table><table·class="memberdecls">
102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
Offset 118, 29 lines modifiedOffset 118, 29 lines modified
118 <tr·class="memitem:a6026c1c3d9b42543c0ed159214f99cc2"><td·class="memTemplParams"·colspan="2">template&lt;typename·DEVICE_CONTEXT·&gt;·</td></tr>118 <tr·class="memitem:a6026c1c3d9b42543c0ed159214f99cc2"><td·class="memTemplParams"·colspan="2">template&lt;typename·DEVICE_CONTEXT·&gt;·</td></tr>
119 <tr·class="memitem:a6026c1c3d9b42543c0ed159214f99cc2"><td·class="memTemplItemLeft"·align="right"·valign="top">EVALUATOR·*&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01265.html#a6026c1c3d9b42543c0ed159214f99cc2">GetEvaluator</a>·(<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;srcDesc,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;dstDesc,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;duDesc,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;dvDesc,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;duuDesc,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;duvDesc,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;dvvDesc,·DEVICE_CONTEXT·*deviceContext)</td></tr>119 <tr·class="memitem:a6026c1c3d9b42543c0ed159214f99cc2"><td·class="memTemplItemLeft"·align="right"·valign="top">EVALUATOR·*&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01265.html#a6026c1c3d9b42543c0ed159214f99cc2">GetEvaluator</a>·(<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;srcDesc,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;dstDesc,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;duDesc,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;dvDesc,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;duuDesc,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;duvDesc,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;dvvDesc,·DEVICE_CONTEXT·*deviceContext)</td></tr>
120 <tr·class="separator:a6026c1c3d9b42543c0ed159214f99cc2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>120 <tr·class="separator:a6026c1c3d9b42543c0ed159214f99cc2"><td·class="memSeparator"·colspan="2">&#160;</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"><div·class="compoundTemplParams">template&lt;typename·EVALUATOR&gt;<br·/>123 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·EVALUATOR&gt;<br·/>
124 class·OpenSubdiv::OPENSUBDIV_VERSION::Osd::EvaluatorCacheT&lt;·EVALUATOR·&gt;</div>124 class·OpenSubdiv::OPENSUBDIV_VERSION::Osd::EvaluatorCacheT&lt;·EVALUATOR·&gt;</div>
125 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00186">186</a>·of·file·<a·class="el"·href="a00887_source.html">mesh.h</a>.</p>125 <p·class="definition">Definition·at·line·<a·class="el"·href="a00869_source.html#l00186">186</a>·of·file·<a·class="el"·href="a00869_source.html">mesh.h</a>.</p>
126 </div><h2·class="groupheader">Member·Typedef·Documentation</h2>126 </div><h2·class="groupheader">Member·Typedef·Documentation</h2>
127 <a·id="aa3bf448cf35c2b498ee29830343fe2de"·name="aa3bf448cf35c2b498ee29830343fe2de"></a>127 <a·id="aa3bf448cf35c2b498ee29830343fe2de"·name="aa3bf448cf35c2b498ee29830343fe2de"></a>
128 <h2·class="memtitle"><span·class="permalink"><a·href="#aa3bf448cf35c2b498ee29830343fe2de">&#9670;&nbsp;</a></span>Evaluators</h2>128 <h2·class="memtitle"><span·class="permalink"><a·href="#aa3bf448cf35c2b498ee29830343fe2de">&#9670;&nbsp;</a></span>Evaluators</h2>
  
129 <div·class="memitem">129 <div·class="memitem">
130 <div·class="memproto">130 <div·class="memproto">
131 ······<table·class="memname">131 ······<table·class="memname">
132 ········<tr>132 ········<tr>
133 ··········<td·class="memname">typedef·std::vector&lt;<a·class="el"·href="a01269.html">Entry</a>&gt;·<a·class="el"·href="a01265.html#aa3bf448cf35c2b498ee29830343fe2de">Evaluators</a></td>133 ··········<td·class="memname">typedef·std::vector&lt;<a·class="el"·href="a01269.html">Entry</a>&gt;·<a·class="el"·href="a01265.html#aa3bf448cf35c2b498ee29830343fe2de">Evaluators</a></td>
134 ········</tr>134 ········</tr>
135 ······</table>135 ······</table>
136 </div><div·class="memdoc">136 </div><div·class="memdoc">
  
137 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00225">225</a>·of·file·<a·class="el"·href="a00887_source.html">mesh.h</a>.</p>137 <p·class="definition">Definition·at·line·<a·class="el"·href="a00869_source.html#l00225">225</a>·of·file·<a·class="el"·href="a00869_source.html">mesh.h</a>.</p>
  
138 </div>138 </div>
139 </div>139 </div>
140 <h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>140 <h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
141 <a·id="a922392890afb6e4f8d4d08845244f145"·name="a922392890afb6e4f8d4d08845244f145"></a>141 <a·id="a922392890afb6e4f8d4d08845244f145"·name="a922392890afb6e4f8d4d08845244f145"></a>
142 <h2·class="memtitle"><span·class="permalink"><a·href="#a922392890afb6e4f8d4d08845244f145">&#9670;&nbsp;</a></span>~EvaluatorCacheT()</h2>142 <h2·class="memtitle"><span·class="permalink"><a·href="#a922392890afb6e4f8d4d08845244f145">&#9670;&nbsp;</a></span>~EvaluatorCacheT()</h2>
  
Offset 160, 15 lines modifiedOffset 160, 15 lines modified
160 ··</td>160 ··</td>
161 ··<td·class="mlabels-right">161 ··<td·class="mlabels-right">
162 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>162 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
163 ··</tr>163 ··</tr>
164 </table>164 </table>
165 </div><div·class="memdoc">165 </div><div·class="memdoc">
  
166 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00188">188</a>·of·file·<a·class="el"·href="a00887_source.html">mesh.h</a>.</p>166 <p·class="definition">Definition·at·line·<a·class="el"·href="a00869_source.html#l00188">188</a>·of·file·<a·class="el"·href="a00869_source.html">mesh.h</a>.</p>
  
167 </div>167 </div>
168 </div>168 </div>
169 <h2·class="groupheader">Member·Function·Documentation</h2>169 <h2·class="groupheader">Member·Function·Documentation</h2>
170 <a·id="a6026c1c3d9b42543c0ed159214f99cc2"·name="a6026c1c3d9b42543c0ed159214f99cc2"></a>170 <a·id="a6026c1c3d9b42543c0ed159214f99cc2"·name="a6026c1c3d9b42543c0ed159214f99cc2"></a>
171 <h2·class="memtitle"><span·class="permalink"><a·href="#a6026c1c3d9b42543c0ed159214f99cc2">&#9670;&nbsp;</a></span>GetEvaluator()·<span·class="overload">[1/3]</span></h2>171 <h2·class="memtitle"><span·class="permalink"><a·href="#a6026c1c3d9b42543c0ed159214f99cc2">&#9670;&nbsp;</a></span>GetEvaluator()·<span·class="overload">[1/3]</span></h2>
  
Offset 235, 15 lines modifiedOffset 235, 15 lines modified
235 ··</td>235 ··</td>
236 ··<td·class="mlabels-right">236 ··<td·class="mlabels-right">
237 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>237 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
238 ··</tr>238 ··</tr>
239 </table>239 </table>
240 </div><div·class="memdoc">240 </div><div·class="memdoc">
  
241 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00255">255</a>·of·file·<a·class="el"·href="a00887_source.html">mesh.h</a>.</p>241 <p·class="definition">Definition·at·line·<a·class="el"·href="a00869_source.html#l00255">255</a>·of·file·<a·class="el"·href="a00869_source.html">mesh.h</a>.</p>
  
242 </div>242 </div>
243 </div>243 </div>
244 <a·id="a323bd60a5b0a37389ea7990836f12e18"·name="a323bd60a5b0a37389ea7990836f12e18"></a>244 <a·id="a323bd60a5b0a37389ea7990836f12e18"·name="a323bd60a5b0a37389ea7990836f12e18"></a>
245 <h2·class="memtitle"><span·class="permalink"><a·href="#a323bd60a5b0a37389ea7990836f12e18">&#9670;&nbsp;</a></span>GetEvaluator()·<span·class="overload">[2/3]</span></h2>245 <h2·class="memtitle"><span·class="permalink"><a·href="#a323bd60a5b0a37389ea7990836f12e18">&#9670;&nbsp;</a></span>GetEvaluator()·<span·class="overload">[2/3]</span></h2>
  
246 <div·class="memitem">246 <div·class="memitem">
Offset 291, 15 lines modifiedOffset 291, 15 lines modified
291 ··</td>291 ··</td>
292 ··<td·class="mlabels-right">292 ··<td·class="mlabels-right">
293 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>293 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
294 ··</tr>294 ··</tr>
295 </table>295 </table>
296 </div><div·class="memdoc">296 </div><div·class="memdoc">
  
297 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00241">241</a>·of·file·<a·class="el"·href="a00887_source.html">mesh.h</a>.</p>297 <p·class="definition">Definition·at·line·<a·class="el"·href="a00869_source.html#l00241">241</a>·of·file·<a·class="el"·href="a00869_source.html">mesh.h</a>.</p>
  
298 </div>298 </div>
299 </div>299 </div>
300 <a·id="a7d2e3a44295a45db4d6cf935b53c3cbe"·name="a7d2e3a44295a45db4d6cf935b53c3cbe"></a>300 <a·id="a7d2e3a44295a45db4d6cf935b53c3cbe"·name="a7d2e3a44295a45db4d6cf935b53c3cbe"></a>
301 <h2·class="memtitle"><span·class="permalink"><a·href="#a7d2e3a44295a45db4d6cf935b53c3cbe">&#9670;&nbsp;</a></span>GetEvaluator()·<span·class="overload">[3/3]</span></h2>301 <h2·class="memtitle"><span·class="permalink"><a·href="#a7d2e3a44295a45db4d6cf935b53c3cbe">&#9670;&nbsp;</a></span>GetEvaluator()·<span·class="overload">[3/3]</span></h2>
  
302 <div·class="memitem">302 <div·class="memitem">
Offset 335, 20 lines modifiedOffset 335, 20 lines modified
335 ··</td>335 ··</td>
336 ··<td·class="mlabels-right">336 ··<td·class="mlabels-right">
337 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>337 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
338 ··</tr>338 ··</tr>
339 </table>339 </table>
340 </div><div·class="memdoc">340 </div><div·class="memdoc">
  
341 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00228">228</a>·of·file·<a·class="el"·href="a00887_source.html">mesh.h</a>.</p>341 <p·class="definition">Definition·at·line·<a·class="el"·href="a00869_source.html#l00228">228</a>·of·file·<a·class="el"·href="a00869_source.html">mesh.h</a>.</p>
  
342 </div>342 </div>
343 </div>343 </div>
344 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>344 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
345 <li>opensubdiv/osd/<a·class="el"·href="a00887_source.html">mesh.h</a></li>345 <li>opensubdiv/osd/<a·class="el"·href="a00869_source.html">mesh.h</a></li>
346 </ul>346 </ul>
347 </div><!--·contents·-->347 </div><!--·contents·-->
348 </div><!--·doc-content·-->348 </div><!--·doc-content·-->
349 <!--·start·footer·part·-->349 <!--·start·footer·part·-->
350 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->350 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
351 ··<ul>351 ··<ul>
352 ····<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="a01265.html">EvaluatorCacheT</a></li>352 ····<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="a01265.html">EvaluatorCacheT</a></li>
12.2 KB
./usr/share/doc/opensubdiv/doxy_html/a01269.html
    
Offset 88, 15 lines modifiedOffset 88, 15 lines modified
88 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;88 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
89 <a·href="#pub-attribs">Public·Attributes</a>·&#124;89 <a·href="#pub-attribs">Public·Attributes</a>·&#124;
90 <a·href="a01266.html">List·of·all·members</a>··</div>90 <a·href="a01266.html">List·of·all·members</a>··</div>
91 ··<div·class="headertitle"><div·class="title">EvaluatorCacheT&lt;·EVALUATOR·&gt;::Entry·Struct·Reference</div></div>91 ··<div·class="headertitle"><div·class="title">EvaluatorCacheT&lt;·EVALUATOR·&gt;::Entry·Struct·Reference</div></div>
92 </div><!--header-->92 </div><!--header-->
93 <div·class="contents">93 <div·class="contents">
  
94 <p><code>#include·&lt;<a·class="el"·href="a00887_source.html">mesh.h</a>&gt;</code></p>94 <p><code>#include·&lt;<a·class="el"·href="a00869_source.html">mesh.h</a>&gt;</code></p>
95 <table·class="memberdecls">95 <table·class="memberdecls">
96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
97 Public·Member·Functions</h2></td></tr>97 Public·Member·Functions</h2></td></tr>
98 <tr·class="memitem:ada6adfb697358377d8da9232690daae2"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01269.html#ada6adfb697358377d8da9232690daae2">Entry</a>·(<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;srcDescArg,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;dstDescArg,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;duDescArg,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;dvDescArg,·EVALUATOR·*evalArg)</td></tr>98 <tr·class="memitem:ada6adfb697358377d8da9232690daae2"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01269.html#ada6adfb697358377d8da9232690daae2">Entry</a>·(<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;srcDescArg,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;dstDescArg,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;duDescArg,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;dvDescArg,·EVALUATOR·*evalArg)</td></tr>
99 <tr·class="separator:ada6adfb697358377d8da9232690daae2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>99 <tr·class="separator:ada6adfb697358377d8da9232690daae2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
100 <tr·class="memitem:a0d596cc177157da972daa1a9911027a8"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01269.html#a0d596cc177157da972daa1a9911027a8">Entry</a>·(<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;srcDescArg,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;dstDescArg,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;duDescArg,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;dvDescArg,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;duuDescArg,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;duvDescArg,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;dvvDescArg,·EVALUATOR·*evalArg)</td></tr>100 <tr·class="memitem:a0d596cc177157da972daa1a9911027a8"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01269.html#a0d596cc177157da972daa1a9911027a8">Entry</a>·(<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;srcDescArg,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;dstDescArg,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;duDescArg,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;dvDescArg,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;duuDescArg,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;duvDescArg,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;dvvDescArg,·EVALUATOR·*evalArg)</td></tr>
101 <tr·class="separator:a0d596cc177157da972daa1a9911027a8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:a0d596cc177157da972daa1a9911027a8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 119, 15 lines modifiedOffset 119, 15 lines modified
119 <tr·class="separator:a1b564bc13c46807d779bd7e9a74a6e73"><td·class="memSeparator"·colspan="2">&#160;</td></tr>119 <tr·class="separator:a1b564bc13c46807d779bd7e9a74a6e73"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
120 <tr·class="memitem:a8fdf9373eaeffa18a4674b9316c12d23"><td·class="memItemLeft"·align="right"·valign="top">EVALUATOR·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01269.html#a8fdf9373eaeffa18a4674b9316c12d23">evaluator</a></td></tr>120 <tr·class="memitem:a8fdf9373eaeffa18a4674b9316c12d23"><td·class="memItemLeft"·align="right"·valign="top">EVALUATOR·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01269.html#a8fdf9373eaeffa18a4674b9316c12d23">evaluator</a></td></tr>
121 <tr·class="separator:a8fdf9373eaeffa18a4674b9316c12d23"><td·class="memSeparator"·colspan="2">&#160;</td></tr>121 <tr·class="separator:a8fdf9373eaeffa18a4674b9316c12d23"><td·class="memSeparator"·colspan="2">&#160;</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"><div·class="compoundTemplParams">template&lt;typename·EVALUATOR&gt;<br·/>124 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·EVALUATOR&gt;<br·/>
125 struct·OpenSubdiv::OPENSUBDIV_VERSION::Osd::EvaluatorCacheT&lt;·EVALUATOR·&gt;::Entry</div>125 struct·OpenSubdiv::OPENSUBDIV_VERSION::Osd::EvaluatorCacheT&lt;·EVALUATOR·&gt;::Entry</div>
126 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00196">196</a>·of·file·<a·class="el"·href="a00887_source.html">mesh.h</a>.</p>126 <p·class="definition">Definition·at·line·<a·class="el"·href="a00869_source.html#l00196">196</a>·of·file·<a·class="el"·href="a00869_source.html">mesh.h</a>.</p>
127 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>127 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
128 <a·id="ada6adfb697358377d8da9232690daae2"·name="ada6adfb697358377d8da9232690daae2"></a>128 <a·id="ada6adfb697358377d8da9232690daae2"·name="ada6adfb697358377d8da9232690daae2"></a>
129 <h2·class="memtitle"><span·class="permalink"><a·href="#ada6adfb697358377d8da9232690daae2">&#9670;&nbsp;</a></span>Entry()·<span·class="overload">[1/2]</span></h2>129 <h2·class="memtitle"><span·class="permalink"><a·href="#ada6adfb697358377d8da9232690daae2">&#9670;&nbsp;</a></span>Entry()·<span·class="overload">[1/2]</span></h2>
  
130 <div·class="memitem">130 <div·class="memitem">
131 <div·class="memproto">131 <div·class="memproto">
132 <table·class="mlabels">132 <table·class="mlabels">
Offset 173, 15 lines modifiedOffset 173, 15 lines modified
173 ··</td>173 ··</td>
174 ··<td·class="mlabels-right">174 ··<td·class="mlabels-right">
175 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>175 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
176 ··</tr>176 ··</tr>
177 </table>177 </table>
178 </div><div·class="memdoc">178 </div><div·class="memdoc">
  
179 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00197">197</a>·of·file·<a·class="el"·href="a00887_source.html">mesh.h</a>.</p>179 <p·class="definition">Definition·at·line·<a·class="el"·href="a00869_source.html#l00197">197</a>·of·file·<a·class="el"·href="a00869_source.html">mesh.h</a>.</p>
  
180 </div>180 </div>
181 </div>181 </div>
182 <a·id="a0d596cc177157da972daa1a9911027a8"·name="a0d596cc177157da972daa1a9911027a8"></a>182 <a·id="a0d596cc177157da972daa1a9911027a8"·name="a0d596cc177157da972daa1a9911027a8"></a>
183 <h2·class="memtitle"><span·class="permalink"><a·href="#a0d596cc177157da972daa1a9911027a8">&#9670;&nbsp;</a></span>Entry()·<span·class="overload">[2/2]</span></h2>183 <h2·class="memtitle"><span·class="permalink"><a·href="#a0d596cc177157da972daa1a9911027a8">&#9670;&nbsp;</a></span>Entry()·<span·class="overload">[2/2]</span></h2>
  
184 <div·class="memitem">184 <div·class="memitem">
Offset 247, 15 lines modifiedOffset 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>··</td>249 <span·class="mlabels"><span·class="mlabel">inline</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="a00887_source.html#l00207">207</a>·of·file·<a·class="el"·href="a00887_source.html">mesh.h</a>.</p>253 <p·class="definition">Definition·at·line·<a·class="el"·href="a00869_source.html#l00207">207</a>·of·file·<a·class="el"·href="a00869_source.html">mesh.h</a>.</p>
  
254 </div>254 </div>
255 </div>255 </div>
256 <h2·class="groupheader">Member·Data·Documentation</h2>256 <h2·class="groupheader">Member·Data·Documentation</h2>
257 <a·id="a463eaf3e8922e8aadc9e5eb0998067a9"·name="a463eaf3e8922e8aadc9e5eb0998067a9"></a>257 <a·id="a463eaf3e8922e8aadc9e5eb0998067a9"·name="a463eaf3e8922e8aadc9e5eb0998067a9"></a>
258 <h2·class="memtitle"><span·class="permalink"><a·href="#a463eaf3e8922e8aadc9e5eb0998067a9">&#9670;&nbsp;</a></span>dstDesc</h2>258 <h2·class="memtitle"><span·class="permalink"><a·href="#a463eaf3e8922e8aadc9e5eb0998067a9">&#9670;&nbsp;</a></span>dstDesc</h2>
  
Offset 264, 15 lines modifiedOffset 264, 15 lines modified
264 ······<table·class="memname">264 ······<table·class="memname">
265 ········<tr>265 ········<tr>
266 ··········<td·class="memname"><a·class="el"·href="a01133.html">BufferDescriptor</a>·dstDesc</td>266 ··········<td·class="memname"><a·class="el"·href="a01133.html">BufferDescriptor</a>·dstDesc</td>
267 ········</tr>267 ········</tr>
268 ······</table>268 ······</table>
269 </div><div·class="memdoc">269 </div><div·class="memdoc">
  
270 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00220">220</a>·of·file·<a·class="el"·href="a00887_source.html">mesh.h</a>.</p>270 <p·class="definition">Definition·at·line·<a·class="el"·href="a00869_source.html#l00220">220</a>·of·file·<a·class="el"·href="a00869_source.html">mesh.h</a>.</p>
  
271 </div>271 </div>
272 </div>272 </div>
273 <a·id="a598ff84099694191b9815ad4528750d6"·name="a598ff84099694191b9815ad4528750d6"></a>273 <a·id="a598ff84099694191b9815ad4528750d6"·name="a598ff84099694191b9815ad4528750d6"></a>
274 <h2·class="memtitle"><span·class="permalink"><a·href="#a598ff84099694191b9815ad4528750d6">&#9670;&nbsp;</a></span>duDesc</h2>274 <h2·class="memtitle"><span·class="permalink"><a·href="#a598ff84099694191b9815ad4528750d6">&#9670;&nbsp;</a></span>duDesc</h2>
  
275 <div·class="memitem">275 <div·class="memitem">
Offset 280, 15 lines modifiedOffset 280, 15 lines modified
280 ······<table·class="memname">280 ······<table·class="memname">
281 ········<tr>281 ········<tr>
282 ··········<td·class="memname"><a·class="el"·href="a01133.html">BufferDescriptor</a>·duDesc</td>282 ··········<td·class="memname"><a·class="el"·href="a01133.html">BufferDescriptor</a>·duDesc</td>
283 ········</tr>283 ········</tr>
284 ······</table>284 ······</table>
285 </div><div·class="memdoc">285 </div><div·class="memdoc">
  
286 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00221">221</a>·of·file·<a·class="el"·href="a00887_source.html">mesh.h</a>.</p>286 <p·class="definition">Definition·at·line·<a·class="el"·href="a00869_source.html#l00221">221</a>·of·file·<a·class="el"·href="a00869_source.html">mesh.h</a>.</p>
  
287 </div>287 </div>
288 </div>288 </div>
289 <a·id="a6f1841c958530d57dca2cf8e449623cc"·name="a6f1841c958530d57dca2cf8e449623cc"></a>289 <a·id="a6f1841c958530d57dca2cf8e449623cc"·name="a6f1841c958530d57dca2cf8e449623cc"></a>
290 <h2·class="memtitle"><span·class="permalink"><a·href="#a6f1841c958530d57dca2cf8e449623cc">&#9670;&nbsp;</a></span>duuDesc</h2>290 <h2·class="memtitle"><span·class="permalink"><a·href="#a6f1841c958530d57dca2cf8e449623cc">&#9670;&nbsp;</a></span>duuDesc</h2>
  
291 <div·class="memitem">291 <div·class="memitem">
Offset 296, 15 lines modifiedOffset 296, 15 lines modified
296 ······<table·class="memname">296 ······<table·class="memname">
297 ········<tr>297 ········<tr>
298 ··········<td·class="memname"><a·class="el"·href="a01133.html">BufferDescriptor</a>·duuDesc</td>298 ··········<td·class="memname"><a·class="el"·href="a01133.html">BufferDescriptor</a>·duuDesc</td>
299 ········</tr>299 ········</tr>
300 ······</table>300 ······</table>
301 </div><div·class="memdoc">301 </div><div·class="memdoc">
  
302 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00222">222</a>·of·file·<a·class="el"·href="a00887_source.html">mesh.h</a>.</p>302 <p·class="definition">Definition·at·line·<a·class="el"·href="a00869_source.html#l00222">222</a>·of·file·<a·class="el"·href="a00869_source.html">mesh.h</a>.</p>
  
303 </div>303 </div>
304 </div>304 </div>
305 <a·id="a32b5fd50dc24be2bdd0c0ce3a68c352e"·name="a32b5fd50dc24be2bdd0c0ce3a68c352e"></a>305 <a·id="a32b5fd50dc24be2bdd0c0ce3a68c352e"·name="a32b5fd50dc24be2bdd0c0ce3a68c352e"></a>
306 <h2·class="memtitle"><span·class="permalink"><a·href="#a32b5fd50dc24be2bdd0c0ce3a68c352e">&#9670;&nbsp;</a></span>duvDesc</h2>306 <h2·class="memtitle"><span·class="permalink"><a·href="#a32b5fd50dc24be2bdd0c0ce3a68c352e">&#9670;&nbsp;</a></span>duvDesc</h2>
  
307 <div·class="memitem">307 <div·class="memitem">
Offset 312, 15 lines modifiedOffset 312, 15 lines modified
312 ······<table·class="memname">312 ······<table·class="memname">
313 ········<tr>313 ········<tr>
314 ··········<td·class="memname"><a·class="el"·href="a01133.html">BufferDescriptor</a>·duvDesc</td>314 ··········<td·class="memname"><a·class="el"·href="a01133.html">BufferDescriptor</a>·duvDesc</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="a00887_source.html#l00222">222</a>·of·file·<a·class="el"·href="a00887_source.html">mesh.h</a>.</p>318 <p·class="definition">Definition·at·line·<a·class="el"·href="a00869_source.html#l00222">222</a>·of·file·<a·class="el"·href="a00869_source.html">mesh.h</a>.</p>
  
319 </div>319 </div>
320 </div>320 </div>
321 <a·id="ae8a207538288cc8048fab45cf824dc7e"·name="ae8a207538288cc8048fab45cf824dc7e"></a>321 <a·id="ae8a207538288cc8048fab45cf824dc7e"·name="ae8a207538288cc8048fab45cf824dc7e"></a>
322 <h2·class="memtitle"><span·class="permalink"><a·href="#ae8a207538288cc8048fab45cf824dc7e">&#9670;&nbsp;</a></span>dvDesc</h2>322 <h2·class="memtitle"><span·class="permalink"><a·href="#ae8a207538288cc8048fab45cf824dc7e">&#9670;&nbsp;</a></span>dvDesc</h2>
  
323 <div·class="memitem">323 <div·class="memitem">
Max diff block lines reached; 3707/12375 bytes (29.96%) of diff not shown.
22.3 KB
./usr/share/doc/opensubdiv/doxy_html/a01273.html
    
Offset 88, 15 lines modifiedOffset 88, 15 lines modified
88 <a·href="#pub-types">Public·Types</a>·&#124;88 <a·href="#pub-types">Public·Types</a>·&#124;
89 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;89 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
90 <a·href="a01270.html">List·of·all·members</a>··</div>90 <a·href="a01270.html">List·of·all·members</a>··</div>
91 ··<div·class="headertitle"><div·class="title">Mesh&lt;·VERTEX_BUFFER,·STENCIL_TABLE,·EVALUATOR,·PATCH_TABLE,·DEVICE_CONTEXT·&gt;·Class·Template·Reference</div></div>91 ··<div·class="headertitle"><div·class="title">Mesh&lt;·VERTEX_BUFFER,·STENCIL_TABLE,·EVALUATOR,·PATCH_TABLE,·DEVICE_CONTEXT·&gt;·Class·Template·Reference</div></div>
92 </div><!--header-->92 </div><!--header-->
93 <div·class="contents">93 <div·class="contents">
  
94 <p><code>#include·&lt;<a·class="el"·href="a00887_source.html">mesh.h</a>&gt;</code></p>94 <p><code>#include·&lt;<a·class="el"·href="a00869_source.html">mesh.h</a>&gt;</code></p>
95 <div·class="dynheader">95 <div·class="dynheader">
96 Inheritance·diagram·for·Mesh&lt;·VERTEX_BUFFER,·STENCIL_TABLE,·EVALUATOR,·PATCH_TABLE,·DEVICE_CONTEXT·&gt;:</div>96 Inheritance·diagram·for·Mesh&lt;·VERTEX_BUFFER,·STENCIL_TABLE,·EVALUATOR,·PATCH_TABLE,·DEVICE_CONTEXT·&gt;:</div>
97 <div·class="dyncontent">97 <div·class="dyncontent">
98 ·<div·class="center">98 ·<div·class="center">
99 ··<img·src="a01273.png"·usemap="#Mesh_3C_20VERTEX_5FBUFFER_2C_20STENCIL_5FTABLE_2C_20EVALUATOR_2C_20PATCH_5FTABLE_2C_20DEVICE_5FCONTEXT_20_3E_map"·alt=""/>99 ··<img·src="a01273.png"·usemap="#Mesh_3C_20VERTEX_5FBUFFER_2C_20STENCIL_5FTABLE_2C_20EVALUATOR_2C_20PATCH_5FTABLE_2C_20DEVICE_5FCONTEXT_20_3E_map"·alt=""/>
100 ··<map·id="Mesh_3C_20VERTEX_5FBUFFER_2C_20STENCIL_5FTABLE_2C_20EVALUATOR_2C_20PATCH_5FTABLE_2C_20DEVICE_5FCONTEXT_20_3E_map"·name="Mesh_3C_20VERTEX_5FBUFFER_2C_20STENCIL_5FTABLE_2C_20EVALUATOR_2C_20PATCH_5FTABLE_2C_20DEVICE_5FCONTEXT_20_3E_map">100 ··<map·id="Mesh_3C_20VERTEX_5FBUFFER_2C_20STENCIL_5FTABLE_2C_20EVALUATOR_2C_20PATCH_5FTABLE_2C_20DEVICE_5FCONTEXT_20_3E_map"·name="Mesh_3C_20VERTEX_5FBUFFER_2C_20STENCIL_5FTABLE_2C_20EVALUATOR_2C_20PATCH_5FTABLE_2C_20DEVICE_5FCONTEXT_20_3E_map">
101 <area·href="a01261.html"·alt="MeshInterface&lt;·PATCH_TABLE·&gt;"·shape="rect"·coords="0,0,579,24"/>101 <area·href="a01261.html"·alt="MeshInterface&lt;·PATCH_TABLE·&gt;"·shape="rect"·coords="0,0,579,24"/>
Offset 190, 29 lines modifiedOffset 190, 29 lines modified
190 <tr·class="separator:a51f237c3f08f6ddc2ea7ba5cb0d00b36·inherit·pro_static_methods_a01261"><td·class="memSeparator"·colspan="2">&#160;</td></tr>190 <tr·class="separator:a51f237c3f08f6ddc2ea7ba5cb0d00b36·inherit·pro_static_methods_a01261"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
191 <tr·class="memitem:a173851f742adc30ac139af96fe63732d·inherit·pro_static_methods_a01261"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01261.html#a173851f742adc30ac139af96fe63732d">refineMesh</a>·(<a·class="el"·href="a01113.html">Far::TopologyRefiner</a>·&amp;refiner,·int·level,·<a·class="el"·href="a00912.html#a85ba9df501aea9af1ec9da1558c255bc">MeshBitset</a>·bits)</td></tr>191 <tr·class="memitem:a173851f742adc30ac139af96fe63732d·inherit·pro_static_methods_a01261"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01261.html#a173851f742adc30ac139af96fe63732d">refineMesh</a>·(<a·class="el"·href="a01113.html">Far::TopologyRefiner</a>·&amp;refiner,·int·level,·<a·class="el"·href="a00912.html#a85ba9df501aea9af1ec9da1558c255bc">MeshBitset</a>·bits)</td></tr>
192 <tr·class="separator:a173851f742adc30ac139af96fe63732d·inherit·pro_static_methods_a01261"><td·class="memSeparator"·colspan="2">&#160;</td></tr>192 <tr·class="separator:a173851f742adc30ac139af96fe63732d·inherit·pro_static_methods_a01261"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
193 </table>193 </table>
194 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>194 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
195 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·VERTEX_BUFFER,·typename·STENCIL_TABLE,·typename·EVALUATOR,·typename·PATCH_TABLE,·typename·DEVICE_CONTEXT·=·void&gt;<br·/>195 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·VERTEX_BUFFER,·typename·STENCIL_TABLE,·typename·EVALUATOR,·typename·PATCH_TABLE,·typename·DEVICE_CONTEXT·=·void&gt;<br·/>
196 class·OpenSubdiv::OPENSUBDIV_VERSION::Osd::Mesh&lt;·VERTEX_BUFFER,·STENCIL_TABLE,·EVALUATOR,·PATCH_TABLE,·DEVICE_CONTEXT·&gt;</div>196 class·OpenSubdiv::OPENSUBDIV_VERSION::Osd::Mesh&lt;·VERTEX_BUFFER,·STENCIL_TABLE,·EVALUATOR,·PATCH_TABLE,·DEVICE_CONTEXT·&gt;</div>
197 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00418">418</a>·of·file·<a·class="el"·href="a00887_source.html">mesh.h</a>.</p>197 <p·class="definition">Definition·at·line·<a·class="el"·href="a00869_source.html#l00418">418</a>·of·file·<a·class="el"·href="a00869_source.html">mesh.h</a>.</p>
198 </div><h2·class="groupheader">Member·Typedef·Documentation</h2>198 </div><h2·class="groupheader">Member·Typedef·Documentation</h2>
199 <a·id="a3e2f358c45731eceb819ae70e7c8ca6e"·name="a3e2f358c45731eceb819ae70e7c8ca6e"></a>199 <a·id="a3e2f358c45731eceb819ae70e7c8ca6e"·name="a3e2f358c45731eceb819ae70e7c8ca6e"></a>
200 <h2·class="memtitle"><span·class="permalink"><a·href="#a3e2f358c45731eceb819ae70e7c8ca6e">&#9670;&nbsp;</a></span>DeviceContext</h2>200 <h2·class="memtitle"><span·class="permalink"><a·href="#a3e2f358c45731eceb819ae70e7c8ca6e">&#9670;&nbsp;</a></span>DeviceContext</h2>
  
201 <div·class="memitem">201 <div·class="memitem">
202 <div·class="memproto">202 <div·class="memproto">
203 ······<table·class="memname">203 ······<table·class="memname">
204 ········<tr>204 ········<tr>
205 ··········<td·class="memname">typedef·DEVICE_CONTEXT·<a·class="el"·href="a01273.html#a3e2f358c45731eceb819ae70e7c8ca6e">DeviceContext</a></td>205 ··········<td·class="memname">typedef·DEVICE_CONTEXT·<a·class="el"·href="a01273.html#a3e2f358c45731eceb819ae70e7c8ca6e">DeviceContext</a></td>
206 ········</tr>206 ········</tr>
207 ······</table>207 ······</table>
208 </div><div·class="memdoc">208 </div><div·class="memdoc">
  
209 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00424">424</a>·of·file·<a·class="el"·href="a00887_source.html">mesh.h</a>.</p>209 <p·class="definition">Definition·at·line·<a·class="el"·href="a00869_source.html#l00424">424</a>·of·file·<a·class="el"·href="a00869_source.html">mesh.h</a>.</p>
  
210 </div>210 </div>
211 </div>211 </div>
212 <a·id="a5613b23fcbadaf4ffe3dbe87c2d2e773"·name="a5613b23fcbadaf4ffe3dbe87c2d2e773"></a>212 <a·id="a5613b23fcbadaf4ffe3dbe87c2d2e773"·name="a5613b23fcbadaf4ffe3dbe87c2d2e773"></a>
213 <h2·class="memtitle"><span·class="permalink"><a·href="#a5613b23fcbadaf4ffe3dbe87c2d2e773">&#9670;&nbsp;</a></span>Evaluator</h2>213 <h2·class="memtitle"><span·class="permalink"><a·href="#a5613b23fcbadaf4ffe3dbe87c2d2e773">&#9670;&nbsp;</a></span>Evaluator</h2>
  
214 <div·class="memitem">214 <div·class="memitem">
Offset 220, 15 lines modifiedOffset 220, 15 lines modified
220 ······<table·class="memname">220 ······<table·class="memname">
221 ········<tr>221 ········<tr>
222 ··········<td·class="memname">typedef·EVALUATOR·<a·class="el"·href="a01273.html#a5613b23fcbadaf4ffe3dbe87c2d2e773">Evaluator</a></td>222 ··········<td·class="memname">typedef·EVALUATOR·<a·class="el"·href="a01273.html#a5613b23fcbadaf4ffe3dbe87c2d2e773">Evaluator</a></td>
223 ········</tr>223 ········</tr>
224 ······</table>224 ······</table>
225 </div><div·class="memdoc">225 </div><div·class="memdoc">
  
226 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00421">421</a>·of·file·<a·class="el"·href="a00887_source.html">mesh.h</a>.</p>226 <p·class="definition">Definition·at·line·<a·class="el"·href="a00869_source.html#l00421">421</a>·of·file·<a·class="el"·href="a00869_source.html">mesh.h</a>.</p>
  
227 </div>227 </div>
228 </div>228 </div>
229 <a·id="a81bf971c4b5d929fc29f37e38b519853"·name="a81bf971c4b5d929fc29f37e38b519853"></a>229 <a·id="a81bf971c4b5d929fc29f37e38b519853"·name="a81bf971c4b5d929fc29f37e38b519853"></a>
230 <h2·class="memtitle"><span·class="permalink"><a·href="#a81bf971c4b5d929fc29f37e38b519853">&#9670;&nbsp;</a></span>EvaluatorCache</h2>230 <h2·class="memtitle"><span·class="permalink"><a·href="#a81bf971c4b5d929fc29f37e38b519853">&#9670;&nbsp;</a></span>EvaluatorCache</h2>
  
231 <div·class="memitem">231 <div·class="memitem">
Offset 236, 15 lines modifiedOffset 236, 15 lines modified
236 ······<table·class="memname">236 ······<table·class="memname">
237 ········<tr>237 ········<tr>
238 ··········<td·class="memname">typedef·<a·class="el"·href="a01265.html">EvaluatorCacheT</a>&lt;<a·class="el"·href="a01273.html#a5613b23fcbadaf4ffe3dbe87c2d2e773">Evaluator</a>&gt;·<a·class="el"·href="a01273.html#a81bf971c4b5d929fc29f37e38b519853">EvaluatorCache</a></td>238 ··········<td·class="memname">typedef·<a·class="el"·href="a01265.html">EvaluatorCacheT</a>&lt;<a·class="el"·href="a01273.html#a5613b23fcbadaf4ffe3dbe87c2d2e773">Evaluator</a>&gt;·<a·class="el"·href="a01273.html#a81bf971c4b5d929fc29f37e38b519853">EvaluatorCache</a></td>
239 ········</tr>239 ········</tr>
240 ······</table>240 ······</table>
241 </div><div·class="memdoc">241 </div><div·class="memdoc">
  
242 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00425">425</a>·of·file·<a·class="el"·href="a00887_source.html">mesh.h</a>.</p>242 <p·class="definition">Definition·at·line·<a·class="el"·href="a00869_source.html#l00425">425</a>·of·file·<a·class="el"·href="a00869_source.html">mesh.h</a>.</p>
  
243 </div>243 </div>
244 </div>244 </div>
245 <a·id="adf9352136d44e5999629c6b4530bf4e0"·name="adf9352136d44e5999629c6b4530bf4e0"></a>245 <a·id="adf9352136d44e5999629c6b4530bf4e0"·name="adf9352136d44e5999629c6b4530bf4e0"></a>
246 <h2·class="memtitle"><span·class="permalink"><a·href="#adf9352136d44e5999629c6b4530bf4e0">&#9670;&nbsp;</a></span>PatchTable</h2>246 <h2·class="memtitle"><span·class="permalink"><a·href="#adf9352136d44e5999629c6b4530bf4e0">&#9670;&nbsp;</a></span>PatchTable</h2>
  
247 <div·class="memitem">247 <div·class="memitem">
Offset 252, 15 lines modifiedOffset 252, 15 lines modified
252 ······<table·class="memname">252 ······<table·class="memname">
253 ········<tr>253 ········<tr>
254 ··········<td·class="memname">typedef·PATCH_TABLE·<a·class="el"·href="a01273.html#adf9352136d44e5999629c6b4530bf4e0">PatchTable</a></td>254 ··········<td·class="memname">typedef·PATCH_TABLE·<a·class="el"·href="a01273.html#adf9352136d44e5999629c6b4530bf4e0">PatchTable</a></td>
255 ········</tr>255 ········</tr>
256 ······</table>256 ······</table>
257 </div><div·class="memdoc">257 </div><div·class="memdoc">
  
258 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00423">423</a>·of·file·<a·class="el"·href="a00887_source.html">mesh.h</a>.</p>258 <p·class="definition">Definition·at·line·<a·class="el"·href="a00869_source.html#l00423">423</a>·of·file·<a·class="el"·href="a00869_source.html">mesh.h</a>.</p>
  
259 </div>259 </div>
260 </div>260 </div>
261 <a·id="a6b90e8290c540c78bedd053e2cc42f31"·name="a6b90e8290c540c78bedd053e2cc42f31"></a>261 <a·id="a6b90e8290c540c78bedd053e2cc42f31"·name="a6b90e8290c540c78bedd053e2cc42f31"></a>
262 <h2·class="memtitle"><span·class="permalink"><a·href="#a6b90e8290c540c78bedd053e2cc42f31">&#9670;&nbsp;</a></span>StencilTable</h2>262 <h2·class="memtitle"><span·class="permalink"><a·href="#a6b90e8290c540c78bedd053e2cc42f31">&#9670;&nbsp;</a></span>StencilTable</h2>
  
263 <div·class="memitem">263 <div·class="memitem">
Offset 268, 15 lines modifiedOffset 268, 15 lines modified
268 ······<table·class="memname">268 ······<table·class="memname">
269 ········<tr>269 ········<tr>
270 ··········<td·class="memname">typedef·STENCIL_TABLE·<a·class="el"·href="a01273.html#a6b90e8290c540c78bedd053e2cc42f31">StencilTable</a></td>270 ··········<td·class="memname">typedef·STENCIL_TABLE·<a·class="el"·href="a01273.html#a6b90e8290c540c78bedd053e2cc42f31">StencilTable</a></td>
271 ········</tr>271 ········</tr>
272 ······</table>272 ······</table>
273 </div><div·class="memdoc">273 </div><div·class="memdoc">
  
274 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00422">422</a>·of·file·<a·class="el"·href="a00887_source.html">mesh.h</a>.</p>274 <p·class="definition">Definition·at·line·<a·class="el"·href="a00869_source.html#l00422">422</a>·of·file·<a·class="el"·href="a00869_source.html">mesh.h</a>.</p>
  
275 </div>275 </div>
276 </div>276 </div>
277 <a·id="a722ca2b35d7001c0eeb6298f2c3704ca"·name="a722ca2b35d7001c0eeb6298f2c3704ca"></a>277 <a·id="a722ca2b35d7001c0eeb6298f2c3704ca"·name="a722ca2b35d7001c0eeb6298f2c3704ca"></a>
278 <h2·class="memtitle"><span·class="permalink"><a·href="#a722ca2b35d7001c0eeb6298f2c3704ca">&#9670;&nbsp;</a></span>VertexBuffer</h2>278 <h2·class="memtitle"><span·class="permalink"><a·href="#a722ca2b35d7001c0eeb6298f2c3704ca">&#9670;&nbsp;</a></span>VertexBuffer</h2>
  
279 <div·class="memitem">279 <div·class="memitem">
Offset 284, 15 lines modifiedOffset 284, 15 lines modified
284 ······<table·class="memname">284 ······<table·class="memname">
285 ········<tr>285 ········<tr>
286 ··········<td·class="memname">typedef·VERTEX_BUFFER·<a·class="el"·href="a01273.html#a722ca2b35d7001c0eeb6298f2c3704ca">VertexBuffer</a></td>286 ··········<td·class="memname">typedef·VERTEX_BUFFER·<a·class="el"·href="a01273.html#a722ca2b35d7001c0eeb6298f2c3704ca">VertexBuffer</a></td>
287 ········</tr>287 ········</tr>
288 ······</table>288 ······</table>
289 </div><div·class="memdoc">289 </div><div·class="memdoc">
  
290 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00420">420</a>·of·file·<a·class="el"·href="a00887_source.html">mesh.h</a>.</p>290 <p·class="definition">Definition·at·line·<a·class="el"·href="a00869_source.html#l00420">420</a>·of·file·<a·class="el"·href="a00869_source.html">mesh.h</a>.</p>
  
291 </div>291 </div>
292 </div>292 </div>
293 <a·id="a9cf40ecf1b9b5c29507fe92a03f37a3c"·name="a9cf40ecf1b9b5c29507fe92a03f37a3c"></a>293 <a·id="a9cf40ecf1b9b5c29507fe92a03f37a3c"·name="a9cf40ecf1b9b5c29507fe92a03f37a3c"></a>
294 <h2·class="memtitle"><span·class="permalink"><a·href="#a9cf40ecf1b9b5c29507fe92a03f37a3c">&#9670;&nbsp;</a></span>VertexBufferBinding</h2>294 <h2·class="memtitle"><span·class="permalink"><a·href="#a9cf40ecf1b9b5c29507fe92a03f37a3c">&#9670;&nbsp;</a></span>VertexBufferBinding</h2>
  
295 <div·class="memitem">295 <div·class="memitem">
Offset 300, 15 lines modifiedOffset 300, 15 lines modified
300 ······<table·class="memname">300 ······<table·class="memname">
Max diff block lines reached; 14321/22766 bytes (62.91%) of diff not shown.
4.25 KB
./usr/share/doc/opensubdiv/doxy_html/a01277.html
    
Offset 87, 40 lines modifiedOffset 87, 40 lines modified
87 ··<div·class="summary">87 ··<div·class="summary">
88 <a·href="#pub-attribs">Public·Attributes</a>·&#124;88 <a·href="#pub-attribs">Public·Attributes</a>·&#124;
89 <a·href="a01274.html">List·of·all·members</a>··</div>89 <a·href="a01274.html">List·of·all·members</a>··</div>
90 ··<div·class="headertitle"><div·class="title">MTLContext·Class·Reference</div></div>90 ··<div·class="headertitle"><div·class="title">MTLContext·Class·Reference</div></div>
91 </div><!--header-->91 </div><!--header-->
92 <div·class="contents">92 <div·class="contents">
  
93 <p><code>#include·&lt;<a·class="el"·href="a00806_source.html">mtlCommon.h</a>&gt;</code></p>93 <p><code>#include·&lt;<a·class="el"·href="a00788_source.html">mtlCommon.h</a>&gt;</code></p>
94 <table·class="memberdecls">94 <table·class="memberdecls">
95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a>95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a>
96 Public·Attributes</h2></td></tr>96 Public·Attributes</h2></td></tr>
97 <tr·class="memitem:a7d70f5acf4efd89092645b4c44e480cf"><td·class="memItemLeft"·align="right"·valign="top">id&lt;·MTLDevice·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01277.html#a7d70f5acf4efd89092645b4c44e480cf">device</a>·=·nullptr</td></tr>97 <tr·class="memitem:a7d70f5acf4efd89092645b4c44e480cf"><td·class="memItemLeft"·align="right"·valign="top">id&lt;·MTLDevice·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01277.html#a7d70f5acf4efd89092645b4c44e480cf">device</a>·=·nullptr</td></tr>
98 <tr·class="separator:a7d70f5acf4efd89092645b4c44e480cf"><td·class="memSeparator"·colspan="2">&#160;</td></tr>98 <tr·class="separator:a7d70f5acf4efd89092645b4c44e480cf"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
99 <tr·class="memitem:a66809eb79c7e79a491fd8c889465166b"><td·class="memItemLeft"·align="right"·valign="top">id&lt;·MTLCommandQueue·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01277.html#a66809eb79c7e79a491fd8c889465166b">commandQueue</a>·=·nullptr</td></tr>99 <tr·class="memitem:a66809eb79c7e79a491fd8c889465166b"><td·class="memItemLeft"·align="right"·valign="top">id&lt;·MTLCommandQueue·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01277.html#a66809eb79c7e79a491fd8c889465166b">commandQueue</a>·=·nullptr</td></tr>
100 <tr·class="separator:a66809eb79c7e79a491fd8c889465166b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:a66809eb79c7e79a491fd8c889465166b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 </table>101 </table>
102 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>102 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
103 <div·class="textblock">103 <div·class="textblock">
104 <p·class="definition">Definition·at·line·<a·class="el"·href="a00806_source.html#l00040">40</a>·of·file·<a·class="el"·href="a00806_source.html">mtlCommon.h</a>.</p>104 <p·class="definition">Definition·at·line·<a·class="el"·href="a00788_source.html#l00040">40</a>·of·file·<a·class="el"·href="a00788_source.html">mtlCommon.h</a>.</p>
105 </div><h2·class="groupheader">Member·Data·Documentation</h2>105 </div><h2·class="groupheader">Member·Data·Documentation</h2>
106 <a·id="a66809eb79c7e79a491fd8c889465166b"·name="a66809eb79c7e79a491fd8c889465166b"></a>106 <a·id="a66809eb79c7e79a491fd8c889465166b"·name="a66809eb79c7e79a491fd8c889465166b"></a>
107 <h2·class="memtitle"><span·class="permalink"><a·href="#a66809eb79c7e79a491fd8c889465166b">&#9670;&nbsp;</a></span>commandQueue</h2>107 <h2·class="memtitle"><span·class="permalink"><a·href="#a66809eb79c7e79a491fd8c889465166b">&#9670;&nbsp;</a></span>commandQueue</h2>
  
108 <div·class="memitem">108 <div·class="memitem">
109 <div·class="memproto">109 <div·class="memproto">
110 ······<table·class="memname">110 ······<table·class="memname">
111 ········<tr>111 ········<tr>
112 ··········<td·class="memname">id&lt;MTLCommandQueue&gt;·commandQueue·=·nullptr</td>112 ··········<td·class="memname">id&lt;MTLCommandQueue&gt;·commandQueue·=·nullptr</td>
113 ········</tr>113 ········</tr>
114 ······</table>114 ······</table>
115 </div><div·class="memdoc">115 </div><div·class="memdoc">
  
116 <p·class="definition">Definition·at·line·<a·class="el"·href="a00806_source.html#l00043">43</a>·of·file·<a·class="el"·href="a00806_source.html">mtlCommon.h</a>.</p>116 <p·class="definition">Definition·at·line·<a·class="el"·href="a00788_source.html#l00043">43</a>·of·file·<a·class="el"·href="a00788_source.html">mtlCommon.h</a>.</p>
  
117 </div>117 </div>
118 </div>118 </div>
119 <a·id="a7d70f5acf4efd89092645b4c44e480cf"·name="a7d70f5acf4efd89092645b4c44e480cf"></a>119 <a·id="a7d70f5acf4efd89092645b4c44e480cf"·name="a7d70f5acf4efd89092645b4c44e480cf"></a>
120 <h2·class="memtitle"><span·class="permalink"><a·href="#a7d70f5acf4efd89092645b4c44e480cf">&#9670;&nbsp;</a></span>device</h2>120 <h2·class="memtitle"><span·class="permalink"><a·href="#a7d70f5acf4efd89092645b4c44e480cf">&#9670;&nbsp;</a></span>device</h2>
  
121 <div·class="memitem">121 <div·class="memitem">
Offset 128, 20 lines modifiedOffset 128, 20 lines modified
128 ······<table·class="memname">128 ······<table·class="memname">
129 ········<tr>129 ········<tr>
130 ··········<td·class="memname">id&lt;MTLDevice&gt;·device·=·nullptr</td>130 ··········<td·class="memname">id&lt;MTLDevice&gt;·device·=·nullptr</td>
131 ········</tr>131 ········</tr>
132 ······</table>132 ······</table>
133 </div><div·class="memdoc">133 </div><div·class="memdoc">
  
134 <p·class="definition">Definition·at·line·<a·class="el"·href="a00806_source.html#l00042">42</a>·of·file·<a·class="el"·href="a00806_source.html">mtlCommon.h</a>.</p>134 <p·class="definition">Definition·at·line·<a·class="el"·href="a00788_source.html#l00042">42</a>·of·file·<a·class="el"·href="a00788_source.html">mtlCommon.h</a>.</p>
  
135 </div>135 </div>
136 </div>136 </div>
137 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>137 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
138 <li>opensubdiv/osd/<a·class="el"·href="a00806_source.html">mtlCommon.h</a></li>138 <li>opensubdiv/osd/<a·class="el"·href="a00788_source.html">mtlCommon.h</a></li>
139 </ul>139 </ul>
140 </div><!--·contents·-->140 </div><!--·contents·-->
141 </div><!--·doc-content·-->141 </div><!--·doc-content·-->
142 <!--·start·footer·part·-->142 <!--·start·footer·part·-->
143 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->143 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
144 ··<ul>144 ··<ul>
145 ····<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="a01277.html">MTLContext</a></li>145 ····<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="a01277.html">MTLContext</a></li>
12.5 KB
./usr/share/doc/opensubdiv/doxy_html/a01281.html
    
Offset 88, 15 lines modifiedOffset 88, 15 lines modified
88 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;88 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
89 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;89 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
90 <a·href="a01278.html">List·of·all·members</a>··</div>90 <a·href="a01278.html">List·of·all·members</a>··</div>
91 ··<div·class="headertitle"><div·class="title">MTLStencilTable·Class·Reference</div></div>91 ··<div·class="headertitle"><div·class="title">MTLStencilTable·Class·Reference</div></div>
92 </div><!--header-->92 </div><!--header-->
93 <div·class="contents">93 <div·class="contents">
  
94 <p><code>#include·&lt;<a·class="el"·href="a00821_source.html">mtlComputeEvaluator.h</a>&gt;</code></p>94 <p><code>#include·&lt;<a·class="el"·href="a00803_source.html">mtlComputeEvaluator.h</a>&gt;</code></p>
95 <table·class="memberdecls">95 <table·class="memberdecls">
96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
97 Public·Member·Functions</h2></td></tr>97 Public·Member·Functions</h2></td></tr>
98 <tr·class="memitem:a45e329ffe9fe4e32a1b21bfc89a6763f"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01281.html#a45e329ffe9fe4e32a1b21bfc89a6763f">MTLStencilTable</a>·(<a·class="el"·href="a01057.html">Far::StencilTable</a>·const·*stencilTable,·<a·class="el"·href="a01277.html">MTLContext</a>·*context)</td></tr>98 <tr·class="memitem:a45e329ffe9fe4e32a1b21bfc89a6763f"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01281.html#a45e329ffe9fe4e32a1b21bfc89a6763f">MTLStencilTable</a>·(<a·class="el"·href="a01057.html">Far::StencilTable</a>·const·*stencilTable,·<a·class="el"·href="a01277.html">MTLContext</a>·*context)</td></tr>
99 <tr·class="separator:a45e329ffe9fe4e32a1b21bfc89a6763f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>99 <tr·class="separator:a45e329ffe9fe4e32a1b21bfc89a6763f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
100 <tr·class="memitem:a015dc72c3360b4841ee2b3feb06c106f"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01281.html#a015dc72c3360b4841ee2b3feb06c106f">MTLStencilTable</a>·(<a·class="el"·href="a01073.html">Far::LimitStencilTable</a>·const·*stencilTable,·<a·class="el"·href="a01277.html">MTLContext</a>·*context)</td></tr>100 <tr·class="memitem:a015dc72c3360b4841ee2b3feb06c106f"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01281.html#a015dc72c3360b4841ee2b3feb06c106f">MTLStencilTable</a>·(<a·class="el"·href="a01073.html">Far::LimitStencilTable</a>·const·*stencilTable,·<a·class="el"·href="a01277.html">MTLContext</a>·*context)</td></tr>
101 <tr·class="separator:a015dc72c3360b4841ee2b3feb06c106f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:a015dc72c3360b4841ee2b3feb06c106f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 127, 15 lines modifiedOffset 127, 15 lines modified
127 Static·Public·Member·Functions</h2></td></tr>127 Static·Public·Member·Functions</h2></td></tr>
128 <tr·class="memitem:ad96fc1ad226b46fec987d3b131a87a90"><td·class="memTemplParams"·colspan="2">template&lt;typename·STENCIL_TABLE·,·typename·DEVICE_CONTEXT·&gt;·</td></tr>128 <tr·class="memitem:ad96fc1ad226b46fec987d3b131a87a90"><td·class="memTemplParams"·colspan="2">template&lt;typename·STENCIL_TABLE·,·typename·DEVICE_CONTEXT·&gt;·</td></tr>
129 <tr·class="memitem:ad96fc1ad226b46fec987d3b131a87a90"><td·class="memTemplItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a01281.html">MTLStencilTable</a>·*&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01281.html#ad96fc1ad226b46fec987d3b131a87a90">Create</a>·(STENCIL_TABLE·*stencilTable,·DEVICE_CONTEXT·context)</td></tr>129 <tr·class="memitem:ad96fc1ad226b46fec987d3b131a87a90"><td·class="memTemplItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a01281.html">MTLStencilTable</a>·*&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01281.html#ad96fc1ad226b46fec987d3b131a87a90">Create</a>·(STENCIL_TABLE·*stencilTable,·DEVICE_CONTEXT·context)</td></tr>
130 <tr·class="separator:ad96fc1ad226b46fec987d3b131a87a90"><td·class="memSeparator"·colspan="2">&#160;</td></tr>130 <tr·class="separator:ad96fc1ad226b46fec987d3b131a87a90"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
131 </table>131 </table>
132 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>132 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
133 <div·class="textblock">133 <div·class="textblock">
134 <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>134 <p·class="definition">Definition·at·line·<a·class="el"·href="a00803_source.html#l00050">50</a>·of·file·<a·class="el"·href="a00803_source.html">mtlComputeEvaluator.h</a>.</p>
135 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>135 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
136 <a·id="a45e329ffe9fe4e32a1b21bfc89a6763f"·name="a45e329ffe9fe4e32a1b21bfc89a6763f"></a>136 <a·id="a45e329ffe9fe4e32a1b21bfc89a6763f"·name="a45e329ffe9fe4e32a1b21bfc89a6763f"></a>
137 <h2·class="memtitle"><span·class="permalink"><a·href="#a45e329ffe9fe4e32a1b21bfc89a6763f">&#9670;&nbsp;</a></span>MTLStencilTable()·<span·class="overload">[1/2]</span></h2>137 <h2·class="memtitle"><span·class="permalink"><a·href="#a45e329ffe9fe4e32a1b21bfc89a6763f">&#9670;&nbsp;</a></span>MTLStencilTable()·<span·class="overload">[1/2]</span></h2>
  
138 <div·class="memitem">138 <div·class="memitem">
139 <div·class="memproto">139 <div·class="memproto">
140 ······<table·class="memname">140 ······<table·class="memname">
Offset 237, 15 lines modifiedOffset 237, 15 lines modified
237 ··</td>237 ··</td>
238 ··<td·class="mlabels-right">238 ··<td·class="mlabels-right">
239 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>239 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>
240 ··</tr>240 ··</tr>
241 </table>241 </table>
242 </div><div·class="memdoc">242 </div><div·class="memdoc">
  
243 <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>243 <p·class="definition">Definition·at·line·<a·class="el"·href="a00803_source.html#l00054">54</a>·of·file·<a·class="el"·href="a00803_source.html">mtlComputeEvaluator.h</a>.</p>
  
244 </div>244 </div>
245 </div>245 </div>
246 <a·id="a4dec46cc7a06c6c1687109e48f04e085"·name="a4dec46cc7a06c6c1687109e48f04e085"></a>246 <a·id="a4dec46cc7a06c6c1687109e48f04e085"·name="a4dec46cc7a06c6c1687109e48f04e085"></a>
247 <h2·class="memtitle"><span·class="permalink"><a·href="#a4dec46cc7a06c6c1687109e48f04e085">&#9670;&nbsp;</a></span>GetDuuWeightsBuffer()</h2>247 <h2·class="memtitle"><span·class="permalink"><a·href="#a4dec46cc7a06c6c1687109e48f04e085">&#9670;&nbsp;</a></span>GetDuuWeightsBuffer()</h2>
  
248 <div·class="memitem">248 <div·class="memitem">
Offset 264, 15 lines modifiedOffset 264, 15 lines modified
264 ··</td>264 ··</td>
265 ··<td·class="mlabels-right">265 ··<td·class="mlabels-right">
266 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>266 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
267 ··</tr>267 ··</tr>
268 </table>268 </table>
269 </div><div·class="memdoc">269 </div><div·class="memdoc">
  
270 <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>270 <p·class="definition">Definition·at·line·<a·class="el"·href="a00803_source.html#l00071">71</a>·of·file·<a·class="el"·href="a00803_source.html">mtlComputeEvaluator.h</a>.</p>
  
271 </div>271 </div>
272 </div>272 </div>
273 <a·id="a6175e9daf70e8c27fb5122546df3fb1f"·name="a6175e9daf70e8c27fb5122546df3fb1f"></a>273 <a·id="a6175e9daf70e8c27fb5122546df3fb1f"·name="a6175e9daf70e8c27fb5122546df3fb1f"></a>
274 <h2·class="memtitle"><span·class="permalink"><a·href="#a6175e9daf70e8c27fb5122546df3fb1f">&#9670;&nbsp;</a></span>GetDuvWeightsBuffer()</h2>274 <h2·class="memtitle"><span·class="permalink"><a·href="#a6175e9daf70e8c27fb5122546df3fb1f">&#9670;&nbsp;</a></span>GetDuvWeightsBuffer()</h2>
  
275 <div·class="memitem">275 <div·class="memitem">
Offset 291, 15 lines modifiedOffset 291, 15 lines modified
291 ··</td>291 ··</td>
292 ··<td·class="mlabels-right">292 ··<td·class="mlabels-right">
293 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>293 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
294 ··</tr>294 ··</tr>
295 </table>295 </table>
296 </div><div·class="memdoc">296 </div><div·class="memdoc">
  
297 <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>297 <p·class="definition">Definition·at·line·<a·class="el"·href="a00803_source.html#l00072">72</a>·of·file·<a·class="el"·href="a00803_source.html">mtlComputeEvaluator.h</a>.</p>
  
298 </div>298 </div>
299 </div>299 </div>
300 <a·id="a13aa05ad0482bad5182feb3cd75b4168"·name="a13aa05ad0482bad5182feb3cd75b4168"></a>300 <a·id="a13aa05ad0482bad5182feb3cd75b4168"·name="a13aa05ad0482bad5182feb3cd75b4168"></a>
301 <h2·class="memtitle"><span·class="permalink"><a·href="#a13aa05ad0482bad5182feb3cd75b4168">&#9670;&nbsp;</a></span>GetDuWeightsBuffer()</h2>301 <h2·class="memtitle"><span·class="permalink"><a·href="#a13aa05ad0482bad5182feb3cd75b4168">&#9670;&nbsp;</a></span>GetDuWeightsBuffer()</h2>
  
302 <div·class="memitem">302 <div·class="memitem">
Offset 318, 15 lines modifiedOffset 318, 15 lines modified
318 ··</td>318 ··</td>
319 ··<td·class="mlabels-right">319 ··<td·class="mlabels-right">
320 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>320 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
321 ··</tr>321 ··</tr>
322 </table>322 </table>
323 </div><div·class="memdoc">323 </div><div·class="memdoc">
  
324 <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>324 <p·class="definition">Definition·at·line·<a·class="el"·href="a00803_source.html#l00069">69</a>·of·file·<a·class="el"·href="a00803_source.html">mtlComputeEvaluator.h</a>.</p>
  
325 </div>325 </div>
326 </div>326 </div>
327 <a·id="a2f1e271aba868c291f9e0a9e9d1ace47"·name="a2f1e271aba868c291f9e0a9e9d1ace47"></a>327 <a·id="a2f1e271aba868c291f9e0a9e9d1ace47"·name="a2f1e271aba868c291f9e0a9e9d1ace47"></a>
328 <h2·class="memtitle"><span·class="permalink"><a·href="#a2f1e271aba868c291f9e0a9e9d1ace47">&#9670;&nbsp;</a></span>GetDvvWeightsBuffer()</h2>328 <h2·class="memtitle"><span·class="permalink"><a·href="#a2f1e271aba868c291f9e0a9e9d1ace47">&#9670;&nbsp;</a></span>GetDvvWeightsBuffer()</h2>
  
329 <div·class="memitem">329 <div·class="memitem">
Offset 345, 15 lines modifiedOffset 345, 15 lines modified
345 ··</td>345 ··</td>
346 ··<td·class="mlabels-right">346 ··<td·class="mlabels-right">
347 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>347 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
348 ··</tr>348 ··</tr>
349 </table>349 </table>
350 </div><div·class="memdoc">350 </div><div·class="memdoc">
  
351 <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>351 <p·class="definition">Definition·at·line·<a·class="el"·href="a00803_source.html#l00073">73</a>·of·file·<a·class="el"·href="a00803_source.html">mtlComputeEvaluator.h</a>.</p>
  
352 </div>352 </div>
353 </div>353 </div>
354 <a·id="ae7df9ee000b676b2afb8b2979c006494"·name="ae7df9ee000b676b2afb8b2979c006494"></a>354 <a·id="ae7df9ee000b676b2afb8b2979c006494"·name="ae7df9ee000b676b2afb8b2979c006494"></a>
355 <h2·class="memtitle"><span·class="permalink"><a·href="#ae7df9ee000b676b2afb8b2979c006494">&#9670;&nbsp;</a></span>GetDvWeightsBuffer()</h2>355 <h2·class="memtitle"><span·class="permalink"><a·href="#ae7df9ee000b676b2afb8b2979c006494">&#9670;&nbsp;</a></span>GetDvWeightsBuffer()</h2>
  
356 <div·class="memitem">356 <div·class="memitem">
Offset 372, 15 lines modifiedOffset 372, 15 lines modified
372 ··</td>372 ··</td>
373 ··<td·class="mlabels-right">373 ··<td·class="mlabels-right">
374 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>374 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
375 ··</tr>375 ··</tr>
376 </table>376 </table>
377 </div><div·class="memdoc">377 </div><div·class="memdoc">
  
378 <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>378 <p·class="definition">Definition·at·line·<a·class="el"·href="a00803_source.html#l00070">70</a>·of·file·<a·class="el"·href="a00803_source.html">mtlComputeEvaluator.h</a>.</p>
  
379 </div>379 </div>
380 </div>380 </div>
381 <a·id="a860a80d6ea4ec9aec06280c39376683c"·name="a860a80d6ea4ec9aec06280c39376683c"></a>381 <a·id="a860a80d6ea4ec9aec06280c39376683c"·name="a860a80d6ea4ec9aec06280c39376683c"></a>
382 <h2·class="memtitle"><span·class="permalink"><a·href="#a860a80d6ea4ec9aec06280c39376683c">&#9670;&nbsp;</a></span>GetIndicesBuffer()</h2>382 <h2·class="memtitle"><span·class="permalink"><a·href="#a860a80d6ea4ec9aec06280c39376683c">&#9670;&nbsp;</a></span>GetIndicesBuffer()</h2>
  
383 <div·class="memitem">383 <div·class="memitem">
Max diff block lines reached; 4477/12713 bytes (35.22%) of diff not shown.
32.7 KB
./usr/share/doc/opensubdiv/doxy_html/a01285.html
    
Offset 89, 15 lines modifiedOffset 89, 15 lines modified
89 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;89 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
90 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;90 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
91 <a·href="a01282.html">List·of·all·members</a>··</div>91 <a·href="a01282.html">List·of·all·members</a>··</div>
92 ··<div·class="headertitle"><div·class="title">MTLComputeEvaluator·Class·Reference</div></div>92 ··<div·class="headertitle"><div·class="title">MTLComputeEvaluator·Class·Reference</div></div>
93 </div><!--header-->93 </div><!--header-->
94 <div·class="contents">94 <div·class="contents">
  
95 <p><code>#include·&lt;<a·class="el"·href="a00821_source.html">mtlComputeEvaluator.h</a>&gt;</code></p>95 <p><code>#include·&lt;<a·class="el"·href="a00803_source.html">mtlComputeEvaluator.h</a>&gt;</code></p>
96 <table·class="memberdecls">96 <table·class="memberdecls">
97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
98 Public·Types</h2></td></tr>98 Public·Types</h2></td></tr>
99 <tr·class="memitem:a2c24b70c9312d8dff3fecb9ddea52c44"><td·class="memItemLeft"·align="right"·valign="top">typedef·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01285.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a></td></tr>99 <tr·class="memitem:a2c24b70c9312d8dff3fecb9ddea52c44"><td·class="memItemLeft"·align="right"·valign="top">typedef·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01285.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a></td></tr>
100 <tr·class="separator:a2c24b70c9312d8dff3fecb9ddea52c44"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:a2c24b70c9312d8dff3fecb9ddea52c44"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 </table><table·class="memberdecls">101 </table><table·class="memberdecls">
102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
Offset 224, 29 lines modifiedOffset 224, 29 lines modified
224 <tr·class="separator:a0b18216ba91299d39434a936ff58309b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>224 <tr·class="separator:a0b18216ba91299d39434a936ff58309b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
225 <tr·class="memitem:a7e02041f843415c1056ea2ca3f7d0b62"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01285.html#a7e02041f843415c1056ea2ca3f7d0b62">Synchronize</a>·(<a·class="el"·href="a01277.html">MTLContext</a>·*context)</td></tr>225 <tr·class="memitem:a7e02041f843415c1056ea2ca3f7d0b62"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01285.html#a7e02041f843415c1056ea2ca3f7d0b62">Synchronize</a>·(<a·class="el"·href="a01277.html">MTLContext</a>·*context)</td></tr>
226 <tr·class="memdesc:a7e02041f843415c1056ea2ca3f7d0b62"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Wait·for·the·dispatched·kernel·to·finish.··<a·href="a01285.html#a7e02041f843415c1056ea2ca3f7d0b62">More...</a><br·/></td></tr>226 <tr·class="memdesc:a7e02041f843415c1056ea2ca3f7d0b62"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Wait·for·the·dispatched·kernel·to·finish.··<a·href="a01285.html#a7e02041f843415c1056ea2ca3f7d0b62">More...</a><br·/></td></tr>
227 <tr·class="separator:a7e02041f843415c1056ea2ca3f7d0b62"><td·class="memSeparator"·colspan="2">&#160;</td></tr>227 <tr·class="separator:a7e02041f843415c1056ea2ca3f7d0b62"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
228 </table>228 </table>
229 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>229 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
230 <div·class="textblock">230 <div·class="textblock">
231 <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>231 <p·class="definition">Definition·at·line·<a·class="el"·href="a00803_source.html#l00091">91</a>·of·file·<a·class="el"·href="a00803_source.html">mtlComputeEvaluator.h</a>.</p>
232 </div><h2·class="groupheader">Member·Typedef·Documentation</h2>232 </div><h2·class="groupheader">Member·Typedef·Documentation</h2>
233 <a·id="a2c24b70c9312d8dff3fecb9ddea52c44"·name="a2c24b70c9312d8dff3fecb9ddea52c44"></a>233 <a·id="a2c24b70c9312d8dff3fecb9ddea52c44"·name="a2c24b70c9312d8dff3fecb9ddea52c44"></a>
234 <h2·class="memtitle"><span·class="permalink"><a·href="#a2c24b70c9312d8dff3fecb9ddea52c44">&#9670;&nbsp;</a></span>Instantiatable</h2>234 <h2·class="memtitle"><span·class="permalink"><a·href="#a2c24b70c9312d8dff3fecb9ddea52c44">&#9670;&nbsp;</a></span>Instantiatable</h2>
  
235 <div·class="memitem">235 <div·class="memitem">
236 <div·class="memproto">236 <div·class="memproto">
237 ······<table·class="memname">237 ······<table·class="memname">
238 ········<tr>238 ········<tr>
239 ··········<td·class="memname">typedef·bool·<a·class="el"·href="a01285.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a></td>239 ··········<td·class="memname">typedef·bool·<a·class="el"·href="a01285.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a></td>
240 ········</tr>240 ········</tr>
241 ······</table>241 ······</table>
242 </div><div·class="memdoc">242 </div><div·class="memdoc">
  
243 <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>243 <p·class="definition">Definition·at·line·<a·class="el"·href="a00803_source.html#l00094">94</a>·of·file·<a·class="el"·href="a00803_source.html">mtlComputeEvaluator.h</a>.</p>
  
244 </div>244 </div>
245 </div>245 </div>
246 <h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>246 <h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
247 <a·id="a10015b2c4f90f3a11e60cc88dcbb9d6b"·name="a10015b2c4f90f3a11e60cc88dcbb9d6b"></a>247 <a·id="a10015b2c4f90f3a11e60cc88dcbb9d6b"·name="a10015b2c4f90f3a11e60cc88dcbb9d6b"></a>
248 <h2·class="memtitle"><span·class="permalink"><a·href="#a10015b2c4f90f3a11e60cc88dcbb9d6b">&#9670;&nbsp;</a></span>MTLComputeEvaluator()</h2>248 <h2·class="memtitle"><span·class="permalink"><a·href="#a10015b2c4f90f3a11e60cc88dcbb9d6b">&#9670;&nbsp;</a></span>MTLComputeEvaluator()</h2>
  
Offset 868, 15 lines modifiedOffset 868, 15 lines modified
868 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01297.html">MTLPatchTable</a>·or·equivalent</td></tr>868 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01297.html">MTLPatchTable</a>·or·equivalent</td></tr>
869 ····<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>869 ····<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>
870 ····<tr><td·class="paramname">context</td><td>used·to·obtain·the·MTLDevice·object·and·command·queue·to·obtain·command·buffers·from.·</td></tr>870 ····<tr><td·class="paramname">context</td><td>used·to·obtain·the·MTLDevice·object·and·command·queue·to·obtain·command·buffers·from.·</td></tr>
871 ··</table>871 ··</table>
872 ··</dd>872 ··</dd>
873 </dl>873 </dl>
  
874 <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>874 <p·class="definition">Definition·at·line·<a·class="el"·href="a00803_source.html#l00889">889</a>·of·file·<a·class="el"·href="a00803_source.html">mtlComputeEvaluator.h</a>.</p>
  
875 </div>875 </div>
876 </div>876 </div>
877 <a·id="add1df0176df3d03028f001f041f26d5c"·name="add1df0176df3d03028f001f041f26d5c"></a>877 <a·id="add1df0176df3d03028f001f041f26d5c"·name="add1df0176df3d03028f001f041f26d5c"></a>
878 <h2·class="memtitle"><span·class="permalink"><a·href="#add1df0176df3d03028f001f041f26d5c">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[4/8]</span></h2>878 <h2·class="memtitle"><span·class="permalink"><a·href="#add1df0176df3d03028f001f041f26d5c">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[4/8]</span></h2>
  
879 <div·class="memitem">879 <div·class="memitem">
Offset 1027, 15 lines modifiedOffset 1027, 15 lines modified
1027 ····<tr><td·class="paramname">patchCoords</td><td>array·of·locations·to·be·evaluated.</td></tr>1027 ····<tr><td·class="paramname">patchCoords</td><td>array·of·locations·to·be·evaluated.</td></tr>
1028 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01297.html">MTLPatchTable</a>·or·equivalent</td></tr>1028 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01297.html">MTLPatchTable</a>·or·equivalent</td></tr>
1029 ····<tr><td·class="paramname">context</td><td>used·to·obtain·the·MTLDevice·object·and·command·queue·to·obtain·command·buffers·from.·</td></tr>1029 ····<tr><td·class="paramname">context</td><td>used·to·obtain·the·MTLDevice·object·and·command·queue·to·obtain·command·buffers·from.·</td></tr>
1030 ··</table>1030 ··</table>
1031 ··</dd>1031 ··</dd>
1032 </dl>1032 </dl>
  
1033 <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>1033 <p·class="definition">Definition·at·line·<a·class="el"·href="a00803_source.html#l01104">1104</a>·of·file·<a·class="el"·href="a00803_source.html">mtlComputeEvaluator.h</a>.</p>
  
1034 </div>1034 </div>
1035 </div>1035 </div>
1036 <a·id="a04f16e003e67523aaa60a18a7104a83b"·name="a04f16e003e67523aaa60a18a7104a83b"></a>1036 <a·id="a04f16e003e67523aaa60a18a7104a83b"·name="a04f16e003e67523aaa60a18a7104a83b"></a>
1037 <h2·class="memtitle"><span·class="permalink"><a·href="#a04f16e003e67523aaa60a18a7104a83b">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[5/8]</span></h2>1037 <h2·class="memtitle"><span·class="permalink"><a·href="#a04f16e003e67523aaa60a18a7104a83b">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[5/8]</span></h2>
  
1038 <div·class="memitem">1038 <div·class="memitem">
Offset 1151, 15 lines modifiedOffset 1151, 15 lines modified
1151 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01297.html">MTLPatchTable</a>·or·equivalent</td></tr>1151 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01297.html">MTLPatchTable</a>·or·equivalent</td></tr>
1152 ····<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>1152 ····<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>
1153 ····<tr><td·class="paramname">context</td><td>used·to·obtain·the·MTLDevice·object·and·command·queue·to·obtain·command·buffers·from.·</td></tr>1153 ····<tr><td·class="paramname">context</td><td>used·to·obtain·the·MTLDevice·object·and·command·queue·to·obtain·command·buffers·from.·</td></tr>
1154 ··</table>1154 ··</table>
1155 ··</dd>1155 ··</dd>
1156 </dl>1156 </dl>
  
1157 <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>1157 <p·class="definition">Definition·at·line·<a·class="el"·href="a00803_source.html#l00786">786</a>·of·file·<a·class="el"·href="a00803_source.html">mtlComputeEvaluator.h</a>.</p>
  
1158 </div>1158 </div>
1159 </div>1159 </div>
1160 <a·id="ade51863a5d2d4b642f8c78b9e85faf38"·name="ade51863a5d2d4b642f8c78b9e85faf38"></a>1160 <a·id="ade51863a5d2d4b642f8c78b9e85faf38"·name="ade51863a5d2d4b642f8c78b9e85faf38"></a>
1161 <h2·class="memtitle"><span·class="permalink"><a·href="#ade51863a5d2d4b642f8c78b9e85faf38">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[6/8]</span></h2>1161 <h2·class="memtitle"><span·class="permalink"><a·href="#ade51863a5d2d4b642f8c78b9e85faf38">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[6/8]</span></h2>
  
1162 <div·class="memitem">1162 <div·class="memitem">
Offset 1268, 15 lines modifiedOffset 1268, 15 lines modified
1268 ····<tr><td·class="paramname">patchCoords</td><td>array·of·locations·to·be·evaluated.</td></tr>1268 ····<tr><td·class="paramname">patchCoords</td><td>array·of·locations·to·be·evaluated.</td></tr>
1269 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01297.html">MTLPatchTable</a>·or·equivalent</td></tr>1269 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01297.html">MTLPatchTable</a>·or·equivalent</td></tr>
1270 ····<tr><td·class="paramname">context</td><td>used·to·obtain·the·MTLDevice·object·and·command·queue·to·obtain·command·buffers·from.·</td></tr>1270 ····<tr><td·class="paramname">context</td><td>used·to·obtain·the·MTLDevice·object·and·command·queue·to·obtain·command·buffers·from.·</td></tr>
1271 ··</table>1271 ··</table>
1272 ··</dd>1272 ··</dd>
1273 </dl>1273 </dl>
  
1274 <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>1274 <p·class="definition">Definition·at·line·<a·class="el"·href="a00803_source.html#l01025">1025</a>·of·file·<a·class="el"·href="a00803_source.html">mtlComputeEvaluator.h</a>.</p>
  
1275 </div>1275 </div>
1276 </div>1276 </div>
1277 <a·id="a1e8b40a131056bb2e3868d4dd4a94ba6"·name="a1e8b40a131056bb2e3868d4dd4a94ba6"></a>1277 <a·id="a1e8b40a131056bb2e3868d4dd4a94ba6"·name="a1e8b40a131056bb2e3868d4dd4a94ba6"></a>
1278 <h2·class="memtitle"><span·class="permalink"><a·href="#a1e8b40a131056bb2e3868d4dd4a94ba6">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[7/8]</span></h2>1278 <h2·class="memtitle"><span·class="permalink"><a·href="#a1e8b40a131056bb2e3868d4dd4a94ba6">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[7/8]</span></h2>
  
1279 <div·class="memitem">1279 <div·class="memitem">
Offset 1367, 15 lines modifiedOffset 1367, 15 lines modified
1367 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01297.html">MTLPatchTable</a>·or·equivalent</td></tr>1367 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01297.html">MTLPatchTable</a>·or·equivalent</td></tr>
1368 ····<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>1368 ····<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>
1369 ····<tr><td·class="paramname">context</td><td>used·to·obtain·the·MTLDevice·object·and·command·queue·to·obtain·command·buffers·from.·</td></tr>1369 ····<tr><td·class="paramname">context</td><td>used·to·obtain·the·MTLDevice·object·and·command·queue·to·obtain·command·buffers·from.·</td></tr>
1370 ··</table>1370 ··</table>
1371 ··</dd>1371 ··</dd>
1372 </dl>1372 </dl>
  
1373 <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>1373 <p·class="definition">Definition·at·line·<a·class="el"·href="a00803_source.html#l00705">705</a>·of·file·<a·class="el"·href="a00803_source.html">mtlComputeEvaluator.h</a>.</p>
  
1374 </div>1374 </div>
1375 </div>1375 </div>
1376 <a·id="aab3cbda7289b76b077b371b92e9afaf3"·name="aab3cbda7289b76b077b371b92e9afaf3"></a>1376 <a·id="aab3cbda7289b76b077b371b92e9afaf3"·name="aab3cbda7289b76b077b371b92e9afaf3"></a>
1377 <h2·class="memtitle"><span·class="permalink"><a·href="#aab3cbda7289b76b077b371b92e9afaf3">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[8/8]</span></h2>1377 <h2·class="memtitle"><span·class="permalink"><a·href="#aab3cbda7289b76b077b371b92e9afaf3">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[8/8]</span></h2>
  
1378 <div·class="memitem">1378 <div·class="memitem">
Offset 1456, 15 lines modifiedOffset 1456, 15 lines modified
1456 ····<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="a01313.html"·title="Coordinates·set·on·a·patch·table.">PatchCoord</a>·struct·in·VBO.</td></tr>1456 ····<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="a01313.html"·title="Coordinates·set·on·a·patch·table.">PatchCoord</a>·struct·in·VBO.</td></tr>
Max diff block lines reached; 23313/33435 bytes (69.73%) of diff not shown.
7.73 KB
./usr/share/doc/opensubdiv/doxy_html/a01289.html
    
Offset 88, 15 lines modifiedOffset 88, 15 lines modified
88 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;88 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
89 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;89 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
90 <a·href="a01286.html">List·of·all·members</a>··</div>90 <a·href="a01286.html">List·of·all·members</a>··</div>
91 ··<div·class="headertitle"><div·class="title">MTLLegacyGregoryPatchTable·Class·Reference</div></div>91 ··<div·class="headertitle"><div·class="title">MTLLegacyGregoryPatchTable·Class·Reference</div></div>
92 </div><!--header-->92 </div><!--header-->
93 <div·class="contents">93 <div·class="contents">
  
94 <p><code>#include·&lt;<a·class="el"·href="a00818_source.html">mtlLegacyGregoryPatchTable.h</a>&gt;</code></p>94 <p><code>#include·&lt;<a·class="el"·href="a00800_source.html">mtlLegacyGregoryPatchTable.h</a>&gt;</code></p>
95 <div·class="dynheader">95 <div·class="dynheader">
96 Inheritance·diagram·for·MTLLegacyGregoryPatchTable:</div>96 Inheritance·diagram·for·MTLLegacyGregoryPatchTable:</div>
97 <div·class="dyncontent">97 <div·class="dyncontent">
98 ·<div·class="center">98 ·<div·class="center">
99 ··<img·src="a01289.png"·alt=""/>99 ··<img·src="a01289.png"·alt=""/>
100 ·</div></div>100 ·</div></div>
101 <table·class="memberdecls">101 <table·class="memberdecls">
Offset 121, 15 lines modifiedOffset 121, 15 lines modified
121 <tr·class="memitem:a25a5b8f002589cba7fd380492019ece8"><td·class="memTemplItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a01289.html">MTLLegacyGregoryPatchTable</a>·*&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01289.html#a25a5b8f002589cba7fd380492019ece8">Create</a>·(<a·class="el"·href="a00993.html">Far::PatchTable</a>·const·*farPatchTable,·DEVICE_CONTEXT·context)</td></tr>121 <tr·class="memitem:a25a5b8f002589cba7fd380492019ece8"><td·class="memTemplItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a01289.html">MTLLegacyGregoryPatchTable</a>·*&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01289.html#a25a5b8f002589cba7fd380492019ece8">Create</a>·(<a·class="el"·href="a00993.html">Far::PatchTable</a>·const·*farPatchTable,·DEVICE_CONTEXT·context)</td></tr>
122 <tr·class="separator:a25a5b8f002589cba7fd380492019ece8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>122 <tr·class="separator:a25a5b8f002589cba7fd380492019ece8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
123 <tr·class="memitem:ac51e7db7abdd0eaaca33d4947bbe41b4"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a01289.html">MTLLegacyGregoryPatchTable</a>·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01289.html#ac51e7db7abdd0eaaca33d4947bbe41b4">Create</a>·(<a·class="el"·href="a00993.html">Far::PatchTable</a>·const·*farPatchTable,·<a·class="el"·href="a01277.html">MTLContext</a>·*context)</td></tr>123 <tr·class="memitem:ac51e7db7abdd0eaaca33d4947bbe41b4"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a01289.html">MTLLegacyGregoryPatchTable</a>·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01289.html#ac51e7db7abdd0eaaca33d4947bbe41b4">Create</a>·(<a·class="el"·href="a00993.html">Far::PatchTable</a>·const·*farPatchTable,·<a·class="el"·href="a01277.html">MTLContext</a>·*context)</td></tr>
124 <tr·class="separator:ac51e7db7abdd0eaaca33d4947bbe41b4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>124 <tr·class="separator:ac51e7db7abdd0eaaca33d4947bbe41b4"><td·class="memSeparator"·colspan="2">&#160;</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">127 <div·class="textblock">
128 <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>128 <p·class="definition">Definition·at·line·<a·class="el"·href="a00800_source.html#l00041">41</a>·of·file·<a·class="el"·href="a00800_source.html">mtlLegacyGregoryPatchTable.h</a>.</p>
129 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>129 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
130 <a·id="aed8ca15f9dfcacfcfc31ab1227b61dcc"·name="aed8ca15f9dfcacfcfc31ab1227b61dcc"></a>130 <a·id="aed8ca15f9dfcacfcfc31ab1227b61dcc"·name="aed8ca15f9dfcacfcfc31ab1227b61dcc"></a>
131 <h2·class="memtitle"><span·class="permalink"><a·href="#aed8ca15f9dfcacfcfc31ab1227b61dcc">&#9670;&nbsp;</a></span>~MTLLegacyGregoryPatchTable()</h2>131 <h2·class="memtitle"><span·class="permalink"><a·href="#aed8ca15f9dfcacfcfc31ab1227b61dcc">&#9670;&nbsp;</a></span>~MTLLegacyGregoryPatchTable()</h2>
  
132 <div·class="memitem">132 <div·class="memitem">
133 <div·class="memproto">133 <div·class="memproto">
134 ······<table·class="memname">134 ······<table·class="memname">
Offset 175, 15 lines modifiedOffset 175, 15 lines modified
175 ··</td>175 ··</td>
176 ··<td·class="mlabels-right">176 ··<td·class="mlabels-right">
177 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>177 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>
178 ··</tr>178 ··</tr>
179 </table>179 </table>
180 </div><div·class="memdoc">180 </div><div·class="memdoc">
  
181 <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>181 <p·class="definition">Definition·at·line·<a·class="el"·href="a00800_source.html#l00048">48</a>·of·file·<a·class="el"·href="a00800_source.html">mtlLegacyGregoryPatchTable.h</a>.</p>
  
182 </div>182 </div>
183 </div>183 </div>
184 <a·id="ac51e7db7abdd0eaaca33d4947bbe41b4"·name="ac51e7db7abdd0eaaca33d4947bbe41b4"></a>184 <a·id="ac51e7db7abdd0eaaca33d4947bbe41b4"·name="ac51e7db7abdd0eaaca33d4947bbe41b4"></a>
185 <h2·class="memtitle"><span·class="permalink"><a·href="#ac51e7db7abdd0eaaca33d4947bbe41b4">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[2/2]</span></h2>185 <h2·class="memtitle"><span·class="permalink"><a·href="#ac51e7db7abdd0eaaca33d4947bbe41b4">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[2/2]</span></h2>
  
186 <div·class="memitem">186 <div·class="memitem">
Offset 239, 15 lines modifiedOffset 239, 15 lines modified
239 ··</td>239 ··</td>
240 ··<td·class="mlabels-right">240 ··<td·class="mlabels-right">
241 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>241 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
242 ··</tr>242 ··</tr>
243 </table>243 </table>
244 </div><div·class="memdoc">244 </div><div·class="memdoc">
  
245 <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>245 <p·class="definition">Definition·at·line·<a·class="el"·href="a00800_source.html#l00071">71</a>·of·file·<a·class="el"·href="a00800_source.html">mtlLegacyGregoryPatchTable.h</a>.</p>
  
246 </div>246 </div>
247 </div>247 </div>
248 <a·id="a846f5698d4874b41374c2ac6c52c3ea2"·name="a846f5698d4874b41374c2ac6c52c3ea2"></a>248 <a·id="a846f5698d4874b41374c2ac6c52c3ea2"·name="a846f5698d4874b41374c2ac6c52c3ea2"></a>
249 <h2·class="memtitle"><span·class="permalink"><a·href="#a846f5698d4874b41374c2ac6c52c3ea2">&#9670;&nbsp;</a></span>GetQuadOffsetsBuffer()</h2>249 <h2·class="memtitle"><span·class="permalink"><a·href="#a846f5698d4874b41374c2ac6c52c3ea2">&#9670;&nbsp;</a></span>GetQuadOffsetsBuffer()</h2>
  
250 <div·class="memitem">250 <div·class="memitem">
Offset 266, 15 lines modifiedOffset 266, 15 lines modified
266 ··</td>266 ··</td>
267 ··<td·class="mlabels-right">267 ··<td·class="mlabels-right">
268 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>268 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
269 ··</tr>269 ··</tr>
270 </table>270 </table>
271 </div><div·class="memdoc">271 </div><div·class="memdoc">
  
272 <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>272 <p·class="definition">Definition·at·line·<a·class="el"·href="a00800_source.html#l00066">66</a>·of·file·<a·class="el"·href="a00800_source.html">mtlLegacyGregoryPatchTable.h</a>.</p>
  
273 </div>273 </div>
274 </div>274 </div>
275 <a·id="afffd8d6da44d9c7113d9dc190eefdb3d"·name="afffd8d6da44d9c7113d9dc190eefdb3d"></a>275 <a·id="afffd8d6da44d9c7113d9dc190eefdb3d"·name="afffd8d6da44d9c7113d9dc190eefdb3d"></a>
276 <h2·class="memtitle"><span·class="permalink"><a·href="#afffd8d6da44d9c7113d9dc190eefdb3d">&#9670;&nbsp;</a></span>GetVertexBuffer()</h2>276 <h2·class="memtitle"><span·class="permalink"><a·href="#afffd8d6da44d9c7113d9dc190eefdb3d">&#9670;&nbsp;</a></span>GetVertexBuffer()</h2>
  
277 <div·class="memitem">277 <div·class="memitem">
Offset 293, 15 lines modifiedOffset 293, 15 lines modified
293 ··</td>293 ··</td>
294 ··<td·class="mlabels-right">294 ··<td·class="mlabels-right">
295 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>295 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
296 ··</tr>296 ··</tr>
297 </table>297 </table>
298 </div><div·class="memdoc">298 </div><div·class="memdoc">
  
299 <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>299 <p·class="definition">Definition·at·line·<a·class="el"·href="a00800_source.html#l00056">56</a>·of·file·<a·class="el"·href="a00800_source.html">mtlLegacyGregoryPatchTable.h</a>.</p>
  
300 </div>300 </div>
301 </div>301 </div>
302 <a·id="a7e1414cf8ab619f18f532b58f614b123"·name="a7e1414cf8ab619f18f532b58f614b123"></a>302 <a·id="a7e1414cf8ab619f18f532b58f614b123"·name="a7e1414cf8ab619f18f532b58f614b123"></a>
303 <h2·class="memtitle"><span·class="permalink"><a·href="#a7e1414cf8ab619f18f532b58f614b123">&#9670;&nbsp;</a></span>GetVertexValenceBuffer()</h2>303 <h2·class="memtitle"><span·class="permalink"><a·href="#a7e1414cf8ab619f18f532b58f614b123">&#9670;&nbsp;</a></span>GetVertexValenceBuffer()</h2>
  
304 <div·class="memitem">304 <div·class="memitem">
Offset 320, 15 lines modifiedOffset 320, 15 lines modified
320 ··</td>320 ··</td>
321 ··<td·class="mlabels-right">321 ··<td·class="mlabels-right">
322 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>322 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
323 ··</tr>323 ··</tr>
324 </table>324 </table>
325 </div><div·class="memdoc">325 </div><div·class="memdoc">
  
326 <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>326 <p·class="definition">Definition·at·line·<a·class="el"·href="a00800_source.html#l00061">61</a>·of·file·<a·class="el"·href="a00800_source.html">mtlLegacyGregoryPatchTable.h</a>.</p>
  
327 </div>327 </div>
328 </div>328 </div>
329 <a·id="ad922644c53b64f5b60565065f09cbd17"·name="ad922644c53b64f5b60565065f09cbd17"></a>329 <a·id="ad922644c53b64f5b60565065f09cbd17"·name="ad922644c53b64f5b60565065f09cbd17"></a>
330 <h2·class="memtitle"><span·class="permalink"><a·href="#ad922644c53b64f5b60565065f09cbd17">&#9670;&nbsp;</a></span>UpdateVertexBuffer()</h2>330 <h2·class="memtitle"><span·class="permalink"><a·href="#ad922644c53b64f5b60565065f09cbd17">&#9670;&nbsp;</a></span>UpdateVertexBuffer()</h2>
  
331 <div·class="memitem">331 <div·class="memitem">
Offset 365, 15 lines modifiedOffset 365, 15 lines modified
365 ········</tr>365 ········</tr>
366 ······</table>366 ······</table>
367 </div><div·class="memdoc">367 </div><div·class="memdoc">
  
368 </div>368 </div>
369 </div>369 </div>
370 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>370 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
371 <li>opensubdiv/osd/<a·class="el"·href="a00818_source.html">mtlLegacyGregoryPatchTable.h</a></li>371 <li>opensubdiv/osd/<a·class="el"·href="a00800_source.html">mtlLegacyGregoryPatchTable.h</a></li>
372 </ul>372 </ul>
373 </div><!--·contents·-->373 </div><!--·contents·-->
374 </div><!--·doc-content·-->374 </div><!--·doc-content·-->
375 <!--·start·footer·part·-->375 <!--·start·footer·part·-->
376 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->376 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
377 ··<ul>377 ··<ul>
378 ····<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="a01289.html">MTLLegacyGregoryPatchTable</a></li>378 ····<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="a01289.html">MTLLegacyGregoryPatchTable</a></li>
Max diff block lines reached; -1/7817 bytes (-0.01%) of diff not shown.
4.54 KB
./usr/share/doc/opensubdiv/doxy_html/a01293.html
    
Offset 87, 15 lines modifiedOffset 87, 15 lines modified
87 ··<div·class="summary">87 ··<div·class="summary">
88 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;88 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
89 <a·href="a01290.html">List·of·all·members</a>··</div>89 <a·href="a01290.html">List·of·all·members</a>··</div>
90 ··<div·class="headertitle"><div·class="title">MTLPatchShaderSource·Class·Reference</div></div>90 ··<div·class="headertitle"><div·class="title">MTLPatchShaderSource·Class·Reference</div></div>
91 </div><!--header-->91 </div><!--header-->
92 <div·class="contents">92 <div·class="contents">
  
93 <p><code>#include·&lt;<a·class="el"·href="a00812_source.html">mtlPatchShaderSource.h</a>&gt;</code></p>93 <p><code>#include·&lt;<a·class="el"·href="a00791_source.html">mtlPatchShaderSource.h</a>&gt;</code></p>
94 <table·class="memberdecls">94 <table·class="memberdecls">
95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
96 Static·Public·Member·Functions</h2></td></tr>96 Static·Public·Member·Functions</h2></td></tr>
97 <tr·class="memitem:ad5f427d2655d384980715874209345e7"><td·class="memItemLeft"·align="right"·valign="top">static·std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01293.html#ad5f427d2655d384980715874209345e7">GetCommonShaderSource</a>·()</td></tr>97 <tr·class="memitem:ad5f427d2655d384980715874209345e7"><td·class="memItemLeft"·align="right"·valign="top">static·std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01293.html#ad5f427d2655d384980715874209345e7">GetCommonShaderSource</a>·()</td></tr>
98 <tr·class="separator:ad5f427d2655d384980715874209345e7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>98 <tr·class="separator:ad5f427d2655d384980715874209345e7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
99 <tr·class="memitem:ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d"><td·class="memItemLeft"·align="right"·valign="top">static·std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01293.html#ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d">GetPatchBasisShaderSource</a>·()</td></tr>99 <tr·class="memitem:ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d"><td·class="memItemLeft"·align="right"·valign="top">static·std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01293.html#ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d">GetPatchBasisShaderSource</a>·()</td></tr>
100 <tr·class="separator:ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 111, 15 lines modifiedOffset 111, 15 lines modified
111 <tr·class="memitem:a55538e8657b191955044d983cf1b3649"><td·class="memItemLeft"·align="right"·valign="top">static·std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01293.html#a55538e8657b191955044d983cf1b3649">GetHullShaderSource</a>·(<a·class="el"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type,·<a·class="el"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·fvarType)</td></tr>111 <tr·class="memitem:a55538e8657b191955044d983cf1b3649"><td·class="memItemLeft"·align="right"·valign="top">static·std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01293.html#a55538e8657b191955044d983cf1b3649">GetHullShaderSource</a>·(<a·class="el"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type,·<a·class="el"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·fvarType)</td></tr>
112 <tr·class="separator:a55538e8657b191955044d983cf1b3649"><td·class="memSeparator"·colspan="2">&#160;</td></tr>112 <tr·class="separator:a55538e8657b191955044d983cf1b3649"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
113 <tr·class="memitem:a85470a02e193180c7d9c51b2d65962bb"><td·class="memItemLeft"·align="right"·valign="top">static·std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01293.html#a85470a02e193180c7d9c51b2d65962bb">GetDomainShaderSource</a>·(<a·class="el"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type,·<a·class="el"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·fvarType)</td></tr>113 <tr·class="memitem:a85470a02e193180c7d9c51b2d65962bb"><td·class="memItemLeft"·align="right"·valign="top">static·std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01293.html#a85470a02e193180c7d9c51b2d65962bb">GetDomainShaderSource</a>·(<a·class="el"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type,·<a·class="el"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·fvarType)</td></tr>
114 <tr·class="separator:a85470a02e193180c7d9c51b2d65962bb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>114 <tr·class="separator:a85470a02e193180c7d9c51b2d65962bb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
115 </table>115 </table>
116 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>116 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
117 <div·class="textblock">117 <div·class="textblock">
118 <p·class="definition">Definition·at·line·<a·class="el"·href="a00812_source.html#l00037">37</a>·of·file·<a·class="el"·href="a00812_source.html">mtlPatchShaderSource.h</a>.</p>118 <p·class="definition">Definition·at·line·<a·class="el"·href="a00791_source.html#l00037">37</a>·of·file·<a·class="el"·href="a00791_source.html">mtlPatchShaderSource.h</a>.</p>
119 </div><h2·class="groupheader">Member·Function·Documentation</h2>119 </div><h2·class="groupheader">Member·Function·Documentation</h2>
120 <a·id="ad5f427d2655d384980715874209345e7"·name="ad5f427d2655d384980715874209345e7"></a>120 <a·id="ad5f427d2655d384980715874209345e7"·name="ad5f427d2655d384980715874209345e7"></a>
121 <h2·class="memtitle"><span·class="permalink"><a·href="#ad5f427d2655d384980715874209345e7">&#9670;&nbsp;</a></span>GetCommonShaderSource()</h2>121 <h2·class="memtitle"><span·class="permalink"><a·href="#ad5f427d2655d384980715874209345e7">&#9670;&nbsp;</a></span>GetCommonShaderSource()</h2>
  
122 <div·class="memitem">122 <div·class="memitem">
123 <div·class="memproto">123 <div·class="memproto">
124 <table·class="mlabels">124 <table·class="mlabels">
Offset 353, 15 lines modifiedOffset 353, 15 lines modified
  
353 <p>Deprecated.·</p>353 <p>Deprecated.·</p>
354 <p·>These·methods·are·deprecated.·Clients·should·determine·the·patch·type·of·a·face-varying·patch·by·inspecting·the·face-varying·patch·array·descriptors.·</p>354 <p·>These·methods·are·deprecated.·Clients·should·determine·the·patch·type·of·a·face-varying·patch·by·inspecting·the·face-varying·patch·array·descriptors.·</p>
  
355 </div>355 </div>
356 </div>356 </div>
357 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>357 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
358 <li>opensubdiv/osd/<a·class="el"·href="a00812_source.html">mtlPatchShaderSource.h</a></li>358 <li>opensubdiv/osd/<a·class="el"·href="a00791_source.html">mtlPatchShaderSource.h</a></li>
359 </ul>359 </ul>
360 </div><!--·contents·-->360 </div><!--·contents·-->
361 </div><!--·doc-content·-->361 </div><!--·doc-content·-->
362 <!--·start·footer·part·-->362 <!--·start·footer·part·-->
363 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->363 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
364 ··<ul>364 ··<ul>
365 ····<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="a01293.html">MTLPatchShaderSource</a></li>365 ····<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="a01293.html">MTLPatchShaderSource</a></li>
17.8 KB
./usr/share/doc/opensubdiv/doxy_html/a01297.html
    
Offset 91, 15 lines modifiedOffset 91, 15 lines modified
91 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;91 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;
92 <a·href="#pro-attribs">Protected·Attributes</a>·&#124;92 <a·href="#pro-attribs">Protected·Attributes</a>·&#124;
93 <a·href="a01294.html">List·of·all·members</a>··</div>93 <a·href="a01294.html">List·of·all·members</a>··</div>
94 ··<div·class="headertitle"><div·class="title">MTLPatchTable·Class·Reference</div></div>94 ··<div·class="headertitle"><div·class="title">MTLPatchTable·Class·Reference</div></div>
95 </div><!--header-->95 </div><!--header-->
96 <div·class="contents">96 <div·class="contents">
  
97 <p><code>#include·&lt;<a·class="el"·href="a00815_source.html">mtlPatchTable.h</a>&gt;</code></p>97 <p><code>#include·&lt;<a·class="el"·href="a00797_source.html">mtlPatchTable.h</a>&gt;</code></p>
98 <div·class="dynheader">98 <div·class="dynheader">
99 Inheritance·diagram·for·MTLPatchTable:</div>99 Inheritance·diagram·for·MTLPatchTable:</div>
100 <div·class="dyncontent">100 <div·class="dyncontent">
101 ·<div·class="center">101 ·<div·class="center">
102 ··<img·src="a01297.png"·alt=""/>102 ··<img·src="a01297.png"·alt=""/>
103 ·</div></div>103 ·</div></div>
104 <table·class="memberdecls">104 <table·class="memberdecls">
Offset 163, 29 lines modifiedOffset 163, 29 lines modified
163 <tr·class="memitem:a39ae7f640465cdd116c1f87b81308fb5"><td·class="memItemLeft"·align="right"·valign="top">std::vector&lt;·id&lt;·MTLBuffer·&gt;·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01297.html#a39ae7f640465cdd116c1f87b81308fb5">_fvarIndexBuffers</a></td></tr>163 <tr·class="memitem:a39ae7f640465cdd116c1f87b81308fb5"><td·class="memItemLeft"·align="right"·valign="top">std::vector&lt;·id&lt;·MTLBuffer·&gt;·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01297.html#a39ae7f640465cdd116c1f87b81308fb5">_fvarIndexBuffers</a></td></tr>
164 <tr·class="separator:a39ae7f640465cdd116c1f87b81308fb5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>164 <tr·class="separator:a39ae7f640465cdd116c1f87b81308fb5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
165 <tr·class="memitem:abb2abbc1ce950284fa16f51583d0ab92"><td·class="memItemLeft"·align="right"·valign="top">std::vector&lt;·id&lt;·MTLBuffer·&gt;·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01297.html#abb2abbc1ce950284fa16f51583d0ab92">_fvarParamBuffers</a></td></tr>165 <tr·class="memitem:abb2abbc1ce950284fa16f51583d0ab92"><td·class="memItemLeft"·align="right"·valign="top">std::vector&lt;·id&lt;·MTLBuffer·&gt;·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01297.html#abb2abbc1ce950284fa16f51583d0ab92">_fvarParamBuffers</a></td></tr>
166 <tr·class="separator:abb2abbc1ce950284fa16f51583d0ab92"><td·class="memSeparator"·colspan="2">&#160;</td></tr>166 <tr·class="separator:abb2abbc1ce950284fa16f51583d0ab92"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
167 </table>167 </table>
168 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>168 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
169 <div·class="textblock">169 <div·class="textblock">
170 <p·class="definition">Definition·at·line·<a·class="el"·href="a00815_source.html#l00046">46</a>·of·file·<a·class="el"·href="a00815_source.html">mtlPatchTable.h</a>.</p>170 <p·class="definition">Definition·at·line·<a·class="el"·href="a00797_source.html#l00046">46</a>·of·file·<a·class="el"·href="a00797_source.html">mtlPatchTable.h</a>.</p>
171 </div><h2·class="groupheader">Member·Typedef·Documentation</h2>171 </div><h2·class="groupheader">Member·Typedef·Documentation</h2>
172 <a·id="aa00654dc321a5c8dc370a900b0f404da"·name="aa00654dc321a5c8dc370a900b0f404da"></a>172 <a·id="aa00654dc321a5c8dc370a900b0f404da"·name="aa00654dc321a5c8dc370a900b0f404da"></a>
173 <h2·class="memtitle"><span·class="permalink"><a·href="#aa00654dc321a5c8dc370a900b0f404da">&#9670;&nbsp;</a></span>VertexBufferBinding</h2>173 <h2·class="memtitle"><span·class="permalink"><a·href="#aa00654dc321a5c8dc370a900b0f404da">&#9670;&nbsp;</a></span>VertexBufferBinding</h2>
  
174 <div·class="memitem">174 <div·class="memitem">
175 <div·class="memproto">175 <div·class="memproto">
176 ······<table·class="memname">176 ······<table·class="memname">
177 ········<tr>177 ········<tr>
178 ··········<td·class="memname">typedef·id&lt;MTLBuffer&gt;·<a·class="el"·href="a01297.html#aa00654dc321a5c8dc370a900b0f404da">VertexBufferBinding</a></td>178 ··········<td·class="memname">typedef·id&lt;MTLBuffer&gt;·<a·class="el"·href="a01297.html#aa00654dc321a5c8dc370a900b0f404da">VertexBufferBinding</a></td>
179 ········</tr>179 ········</tr>
180 ······</table>180 ······</table>
181 </div><div·class="memdoc">181 </div><div·class="memdoc">
  
182 <p·class="definition">Definition·at·line·<a·class="el"·href="a00815_source.html#l00048">48</a>·of·file·<a·class="el"·href="a00815_source.html">mtlPatchTable.h</a>.</p>182 <p·class="definition">Definition·at·line·<a·class="el"·href="a00797_source.html#l00048">48</a>·of·file·<a·class="el"·href="a00797_source.html">mtlPatchTable.h</a>.</p>
  
183 </div>183 </div>
184 </div>184 </div>
185 <h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>185 <h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
186 <a·id="a3f197c2ae3862390d72e7443a2525187"·name="a3f197c2ae3862390d72e7443a2525187"></a>186 <a·id="a3f197c2ae3862390d72e7443a2525187"·name="a3f197c2ae3862390d72e7443a2525187"></a>
187 <h2·class="memtitle"><span·class="permalink"><a·href="#a3f197c2ae3862390d72e7443a2525187">&#9670;&nbsp;</a></span>MTLPatchTable()</h2>187 <h2·class="memtitle"><span·class="permalink"><a·href="#a3f197c2ae3862390d72e7443a2525187">&#9670;&nbsp;</a></span>MTLPatchTable()</h2>
  
Offset 287, 15 lines modifiedOffset 287, 15 lines modified
287 ··</td>287 ··</td>
288 ··<td·class="mlabels-right">288 ··<td·class="mlabels-right">
289 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>289 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>
290 ··</tr>290 ··</tr>
291 </table>291 </table>
292 </div><div·class="memdoc">292 </div><div·class="memdoc">
  
293 <p·class="definition">Definition·at·line·<a·class="el"·href="a00815_source.html#l00054">54</a>·of·file·<a·class="el"·href="a00815_source.html">mtlPatchTable.h</a>.</p>293 <p·class="definition">Definition·at·line·<a·class="el"·href="a00797_source.html#l00054">54</a>·of·file·<a·class="el"·href="a00797_source.html">mtlPatchTable.h</a>.</p>
  
294 </div>294 </div>
295 </div>295 </div>
296 <a·id="a24c34d2b403d22f2d3bcfdf6f5005ee4"·name="a24c34d2b403d22f2d3bcfdf6f5005ee4"></a>296 <a·id="a24c34d2b403d22f2d3bcfdf6f5005ee4"·name="a24c34d2b403d22f2d3bcfdf6f5005ee4"></a>
297 <h2·class="memtitle"><span·class="permalink"><a·href="#a24c34d2b403d22f2d3bcfdf6f5005ee4">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[2/2]</span></h2>297 <h2·class="memtitle"><span·class="permalink"><a·href="#a24c34d2b403d22f2d3bcfdf6f5005ee4">&#9670;&nbsp;</a></span>Create()·<span·class="overload">[2/2]</span></h2>
  
298 <div·class="memitem">298 <div·class="memitem">
Offset 351, 15 lines modifiedOffset 351, 15 lines modified
351 ··</td>351 ··</td>
352 ··<td·class="mlabels-right">352 ··<td·class="mlabels-right">
353 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>353 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
354 ··</tr>354 ··</tr>
355 </table>355 </table>
356 </div><div·class="memdoc">356 </div><div·class="memdoc">
  
357 <p·class="definition">Definition·at·line·<a·class="el"·href="a00815_source.html#l00069">69</a>·of·file·<a·class="el"·href="a00815_source.html">mtlPatchTable.h</a>.</p>357 <p·class="definition">Definition·at·line·<a·class="el"·href="a00797_source.html#l00069">69</a>·of·file·<a·class="el"·href="a00797_source.html">mtlPatchTable.h</a>.</p>
  
358 </div>358 </div>
359 </div>359 </div>
360 <a·id="ae4e03248b9615425f7719fde5890796c"·name="ae4e03248b9615425f7719fde5890796c"></a>360 <a·id="ae4e03248b9615425f7719fde5890796c"·name="ae4e03248b9615425f7719fde5890796c"></a>
361 <h2·class="memtitle"><span·class="permalink"><a·href="#ae4e03248b9615425f7719fde5890796c">&#9670;&nbsp;</a></span>GetFVarPatchIndexBuffer()</h2>361 <h2·class="memtitle"><span·class="permalink"><a·href="#ae4e03248b9615425f7719fde5890796c">&#9670;&nbsp;</a></span>GetFVarPatchIndexBuffer()</h2>
  
362 <div·class="memitem">362 <div·class="memitem">
Offset 379, 15 lines modifiedOffset 379, 15 lines modified
379 ··</td>379 ··</td>
380 ··<td·class="mlabels-right">380 ··<td·class="mlabels-right">
381 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>381 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
382 ··</tr>382 ··</tr>
383 </table>383 </table>
384 </div><div·class="memdoc">384 </div><div·class="memdoc">
  
385 <p·class="definition">Definition·at·line·<a·class="el"·href="a00815_source.html#l00070">70</a>·of·file·<a·class="el"·href="a00815_source.html">mtlPatchTable.h</a>.</p>385 <p·class="definition">Definition·at·line·<a·class="el"·href="a00797_source.html#l00070">70</a>·of·file·<a·class="el"·href="a00797_source.html">mtlPatchTable.h</a>.</p>
  
386 </div>386 </div>
387 </div>387 </div>
388 <a·id="a3d306565eb0af09fa64cabc6d72c6755"·name="a3d306565eb0af09fa64cabc6d72c6755"></a>388 <a·id="a3d306565eb0af09fa64cabc6d72c6755"·name="a3d306565eb0af09fa64cabc6d72c6755"></a>
389 <h2·class="memtitle"><span·class="permalink"><a·href="#a3d306565eb0af09fa64cabc6d72c6755">&#9670;&nbsp;</a></span>GetFVarPatchParamBuffer()</h2>389 <h2·class="memtitle"><span·class="permalink"><a·href="#a3d306565eb0af09fa64cabc6d72c6755">&#9670;&nbsp;</a></span>GetFVarPatchParamBuffer()</h2>
  
390 <div·class="memitem">390 <div·class="memitem">
Offset 407, 15 lines modifiedOffset 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>··</td>409 <span·class="mlabels"><span·class="mlabel">inline</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="a00815_source.html#l00071">71</a>·of·file·<a·class="el"·href="a00815_source.html">mtlPatchTable.h</a>.</p>413 <p·class="definition">Definition·at·line·<a·class="el"·href="a00797_source.html#l00071">71</a>·of·file·<a·class="el"·href="a00797_source.html">mtlPatchTable.h</a>.</p>
  
414 </div>414 </div>
415 </div>415 </div>
416 <a·id="aa9be824a572029f3ec1e0c0d6cfecd77"·name="aa9be824a572029f3ec1e0c0d6cfecd77"></a>416 <a·id="aa9be824a572029f3ec1e0c0d6cfecd77"·name="aa9be824a572029f3ec1e0c0d6cfecd77"></a>
417 <h2·class="memtitle"><span·class="permalink"><a·href="#aa9be824a572029f3ec1e0c0d6cfecd77">&#9670;&nbsp;</a></span>GetNumFVarChannels()</h2>417 <h2·class="memtitle"><span·class="permalink"><a·href="#aa9be824a572029f3ec1e0c0d6cfecd77">&#9670;&nbsp;</a></span>GetNumFVarChannels()</h2>
  
418 <div·class="memitem">418 <div·class="memitem">
Offset 434, 15 lines modifiedOffset 434, 15 lines modified
434 ··</td>434 ··</td>
435 ··<td·class="mlabels-right">435 ··<td·class="mlabels-right">
436 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>436 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
437 ··</tr>437 ··</tr>
438 </table>438 </table>
439 </div><div·class="memdoc">439 </div><div·class="memdoc">
  
440 <p·class="definition">Definition·at·line·<a·class="el"·href="a00815_source.html#l00068">68</a>·of·file·<a·class="el"·href="a00815_source.html">mtlPatchTable.h</a>.</p>440 <p·class="definition">Definition·at·line·<a·class="el"·href="a00797_source.html#l00068">68</a>·of·file·<a·class="el"·href="a00797_source.html">mtlPatchTable.h</a>.</p>
  
441 </div>441 </div>
442 </div>442 </div>
443 <a·id="a18e3d09b0c7b7552f8e419e36788166a"·name="a18e3d09b0c7b7552f8e419e36788166a"></a>443 <a·id="a18e3d09b0c7b7552f8e419e36788166a"·name="a18e3d09b0c7b7552f8e419e36788166a"></a>
444 <h2·class="memtitle"><span·class="permalink"><a·href="#a18e3d09b0c7b7552f8e419e36788166a">&#9670;&nbsp;</a></span>GetPatchArrays()</h2>444 <h2·class="memtitle"><span·class="permalink"><a·href="#a18e3d09b0c7b7552f8e419e36788166a">&#9670;&nbsp;</a></span>GetPatchArrays()</h2>
  
445 <div·class="memitem">445 <div·class="memitem">
Offset 461, 15 lines modifiedOffset 461, 15 lines modified
461 ··</td>461 ··</td>
Max diff block lines reached; 10764/18138 bytes (59.35%) of diff not shown.
6.42 KB
./usr/share/doc/opensubdiv/doxy_html/a01301.html
    
Offset 89, 15 lines modifiedOffset 89, 15 lines modified
89 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;89 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
90 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;90 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;
91 <a·href="a01298.html">List·of·all·members</a>··</div>91 <a·href="a01298.html">List·of·all·members</a>··</div>
92 ··<div·class="headertitle"><div·class="title">CPUMTLVertexBuffer·Class·Reference</div></div>92 ··<div·class="headertitle"><div·class="title">CPUMTLVertexBuffer·Class·Reference</div></div>
93 </div><!--header-->93 </div><!--header-->
94 <div·class="contents">94 <div·class="contents">
  
95 <p><code>#include·&lt;<a·class="el"·href="a00824_source.html">mtlVertexBuffer.h</a>&gt;</code></p>95 <p><code>#include·&lt;<a·class="el"·href="a00806_source.html">mtlVertexBuffer.h</a>&gt;</code></p>
96 <table·class="memberdecls">96 <table·class="memberdecls">
97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
98 Public·Member·Functions</h2></td></tr>98 Public·Member·Functions</h2></td></tr>
99 <tr·class="memitem:a892b78f6079decdbfa11a14db932c25f"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01301.html#a892b78f6079decdbfa11a14db932c25f">UpdateData</a>·(const·float·*src,·int·startVertex,·int·numVertices,·<a·class="el"·href="a01277.html">MTLContext</a>·*context)</td></tr>99 <tr·class="memitem:a892b78f6079decdbfa11a14db932c25f"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01301.html#a892b78f6079decdbfa11a14db932c25f">UpdateData</a>·(const·float·*src,·int·startVertex,·int·numVertices,·<a·class="el"·href="a01277.html">MTLContext</a>·*context)</td></tr>
100 <tr·class="separator:a892b78f6079decdbfa11a14db932c25f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:a892b78f6079decdbfa11a14db932c25f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 <tr·class="memitem:a77cee40767fd4936f20a8f9d9d9ea625"><td·class="memItemLeft"·align="right"·valign="top">int&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01301.html#a77cee40767fd4936f20a8f9d9d9ea625">GetNumElements</a>·()·const</td></tr>101 <tr·class="memitem:a77cee40767fd4936f20a8f9d9d9ea625"><td·class="memItemLeft"·align="right"·valign="top">int&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01301.html#a77cee40767fd4936f20a8f9d9d9ea625">GetNumElements</a>·()·const</td></tr>
102 <tr·class="separator:a77cee40767fd4936f20a8f9d9d9ea625"><td·class="memSeparator"·colspan="2">&#160;</td></tr>102 <tr·class="separator:a77cee40767fd4936f20a8f9d9d9ea625"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 120, 15 lines modifiedOffset 120, 15 lines modified
120 <tr·class="memitem:a1457f342bc3007386104aa3d29277a67"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01301.html#a1457f342bc3007386104aa3d29277a67">CPUMTLVertexBuffer</a>·(int·numElements,·int·numVertices)</td></tr>120 <tr·class="memitem:a1457f342bc3007386104aa3d29277a67"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01301.html#a1457f342bc3007386104aa3d29277a67">CPUMTLVertexBuffer</a>·(int·numElements,·int·numVertices)</td></tr>
121 <tr·class="separator:a1457f342bc3007386104aa3d29277a67"><td·class="memSeparator"·colspan="2">&#160;</td></tr>121 <tr·class="separator:a1457f342bc3007386104aa3d29277a67"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
122 <tr·class="memitem:ae765f2922a2e542bd85c1e0c0ae1d169"><td·class="memItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01301.html#ae765f2922a2e542bd85c1e0c0ae1d169">allocate</a>·(<a·class="el"·href="a01277.html">MTLContext</a>·*context)</td></tr>122 <tr·class="memitem:ae765f2922a2e542bd85c1e0c0ae1d169"><td·class="memItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01301.html#ae765f2922a2e542bd85c1e0c0ae1d169">allocate</a>·(<a·class="el"·href="a01277.html">MTLContext</a>·*context)</td></tr>
123 <tr·class="separator:ae765f2922a2e542bd85c1e0c0ae1d169"><td·class="memSeparator"·colspan="2">&#160;</td></tr>123 <tr·class="separator:ae765f2922a2e542bd85c1e0c0ae1d169"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
124 </table>124 </table>
125 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>125 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
126 <div·class="textblock">126 <div·class="textblock">
127 <p·class="definition">Definition·at·line·<a·class="el"·href="a00824_source.html#l00039">39</a>·of·file·<a·class="el"·href="a00824_source.html">mtlVertexBuffer.h</a>.</p>127 <p·class="definition">Definition·at·line·<a·class="el"·href="a00806_source.html#l00039">39</a>·of·file·<a·class="el"·href="a00806_source.html">mtlVertexBuffer.h</a>.</p>
128 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>128 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
129 <a·id="a1457f342bc3007386104aa3d29277a67"·name="a1457f342bc3007386104aa3d29277a67"></a>129 <a·id="a1457f342bc3007386104aa3d29277a67"·name="a1457f342bc3007386104aa3d29277a67"></a>
130 <h2·class="memtitle"><span·class="permalink"><a·href="#a1457f342bc3007386104aa3d29277a67">&#9670;&nbsp;</a></span>CPUMTLVertexBuffer()</h2>130 <h2·class="memtitle"><span·class="permalink"><a·href="#a1457f342bc3007386104aa3d29277a67">&#9670;&nbsp;</a></span>CPUMTLVertexBuffer()</h2>
  
131 <div·class="memitem">131 <div·class="memitem">
132 <div·class="memproto">132 <div·class="memproto">
133 <table·class="mlabels">133 <table·class="mlabels">
Offset 244, 15 lines modifiedOffset 244, 15 lines modified
244 ··</td>244 ··</td>
245 ··<td·class="mlabels-right">245 ··<td·class="mlabels-right">
246 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>246 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</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="a00824_source.html#l00058">58</a>·of·file·<a·class="el"·href="a00824_source.html">mtlVertexBuffer.h</a>.</p>250 <p·class="definition">Definition·at·line·<a·class="el"·href="a00806_source.html#l00058">58</a>·of·file·<a·class="el"·href="a00806_source.html">mtlVertexBuffer.h</a>.</p>
  
251 </div>251 </div>
252 </div>252 </div>
253 <a·id="a2d6cb1babaae310f9c4c7fb45e0d33bc"·name="a2d6cb1babaae310f9c4c7fb45e0d33bc"></a>253 <a·id="a2d6cb1babaae310f9c4c7fb45e0d33bc"·name="a2d6cb1babaae310f9c4c7fb45e0d33bc"></a>
254 <h2·class="memtitle"><span·class="permalink"><a·href="#a2d6cb1babaae310f9c4c7fb45e0d33bc">&#9670;&nbsp;</a></span>Create()</h2>254 <h2·class="memtitle"><span·class="permalink"><a·href="#a2d6cb1babaae310f9c4c7fb45e0d33bc">&#9670;&nbsp;</a></span>Create()</h2>
  
255 <div·class="memitem">255 <div·class="memitem">
Offset 313, 15 lines modifiedOffset 313, 15 lines modified
313 ··</td>313 ··</td>
314 ··<td·class="mlabels-right">314 ··<td·class="mlabels-right">
315 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>315 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
316 ··</tr>316 ··</tr>
317 </table>317 </table>
318 </div><div·class="memdoc">318 </div><div·class="memdoc">
  
319 <p·class="definition">Definition·at·line·<a·class="el"·href="a00824_source.html#l00045">45</a>·of·file·<a·class="el"·href="a00824_source.html">mtlVertexBuffer.h</a>.</p>319 <p·class="definition">Definition·at·line·<a·class="el"·href="a00806_source.html#l00045">45</a>·of·file·<a·class="el"·href="a00806_source.html">mtlVertexBuffer.h</a>.</p>
  
320 </div>320 </div>
321 </div>321 </div>
322 <a·id="aaf4a32b8a414eff77000c584c2015cb7"·name="aaf4a32b8a414eff77000c584c2015cb7"></a>322 <a·id="aaf4a32b8a414eff77000c584c2015cb7"·name="aaf4a32b8a414eff77000c584c2015cb7"></a>
323 <h2·class="memtitle"><span·class="permalink"><a·href="#aaf4a32b8a414eff77000c584c2015cb7">&#9670;&nbsp;</a></span>GetNumVertices()</h2>323 <h2·class="memtitle"><span·class="permalink"><a·href="#aaf4a32b8a414eff77000c584c2015cb7">&#9670;&nbsp;</a></span>GetNumVertices()</h2>
  
324 <div·class="memitem">324 <div·class="memitem">
Offset 340, 15 lines modifiedOffset 340, 15 lines modified
340 ··</td>340 ··</td>
341 ··<td·class="mlabels-right">341 ··<td·class="mlabels-right">
342 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>342 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
343 ··</tr>343 ··</tr>
344 </table>344 </table>
345 </div><div·class="memdoc">345 </div><div·class="memdoc">
  
346 <p·class="definition">Definition·at·line·<a·class="el"·href="a00824_source.html#l00050">50</a>·of·file·<a·class="el"·href="a00824_source.html">mtlVertexBuffer.h</a>.</p>346 <p·class="definition">Definition·at·line·<a·class="el"·href="a00806_source.html#l00050">50</a>·of·file·<a·class="el"·href="a00806_source.html">mtlVertexBuffer.h</a>.</p>
  
347 </div>347 </div>
348 </div>348 </div>
349 <a·id="a892b78f6079decdbfa11a14db932c25f"·name="a892b78f6079decdbfa11a14db932c25f"></a>349 <a·id="a892b78f6079decdbfa11a14db932c25f"·name="a892b78f6079decdbfa11a14db932c25f"></a>
350 <h2·class="memtitle"><span·class="permalink"><a·href="#a892b78f6079decdbfa11a14db932c25f">&#9670;&nbsp;</a></span>UpdateData()</h2>350 <h2·class="memtitle"><span·class="permalink"><a·href="#a892b78f6079decdbfa11a14db932c25f">&#9670;&nbsp;</a></span>UpdateData()</h2>
  
351 <div·class="memitem">351 <div·class="memitem">
Offset 385, 15 lines modifiedOffset 385, 15 lines modified
385 ········</tr>385 ········</tr>
386 ······</table>386 ······</table>
387 </div><div·class="memdoc">387 </div><div·class="memdoc">
  
388 </div>388 </div>
389 </div>389 </div>
390 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>390 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
391 <li>opensubdiv/osd/<a·class="el"·href="a00824_source.html">mtlVertexBuffer.h</a></li>391 <li>opensubdiv/osd/<a·class="el"·href="a00806_source.html">mtlVertexBuffer.h</a></li>
392 </ul>392 </ul>
393 </div><!--·contents·-->393 </div><!--·contents·-->
394 </div><!--·doc-content·-->394 </div><!--·doc-content·-->
395 <!--·start·footer·part·-->395 <!--·start·footer·part·-->
396 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->396 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
397 ··<ul>397 ··<ul>
398 ····<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="a01301.html">CPUMTLVertexBuffer</a></li>398 ····<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="a01301.html">CPUMTLVertexBuffer</a></li>
17.6 KB
./usr/share/doc/opensubdiv/doxy_html/a01305.html
    
Offset 87, 15 lines modifiedOffset 87, 15 lines modified
87 ··<div·class="summary">87 ··<div·class="summary">
88 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;88 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
89 <a·href="a01302.html">List·of·all·members</a>··</div>89 <a·href="a01302.html">List·of·all·members</a>··</div>
90 ··<div·class="headertitle"><div·class="title">OmpEvaluator·Class·Reference</div></div>90 ··<div·class="headertitle"><div·class="title">OmpEvaluator·Class·Reference</div></div>
91 </div><!--header-->91 </div><!--header-->
92 <div·class="contents">92 <div·class="contents">
  
93 <p><code>#include·&lt;<a·class="el"·href="a00881_source.html">ompEvaluator.h</a>&gt;</code></p>93 <p><code>#include·&lt;<a·class="el"·href="a00863_source.html">ompEvaluator.h</a>&gt;</code></p>
94 <table·class="memberdecls">94 <table·class="memberdecls">
95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
96 Static·Public·Member·Functions</h2></td></tr>96 Static·Public·Member·Functions</h2></td></tr>
97 <tr·class="memitem:a76ac331e29d26f25d0d807b74c1a838b"><td·class="memTemplParams"·colspan="2">template&lt;typename·SRC_BUFFER·,·typename·DST_BUFFER·,·typename·STENCIL_TABLE·&gt;·</td></tr>97 <tr·class="memitem:a76ac331e29d26f25d0d807b74c1a838b"><td·class="memTemplParams"·colspan="2">template&lt;typename·SRC_BUFFER·,·typename·DST_BUFFER·,·typename·STENCIL_TABLE·&gt;·</td></tr>
98 <tr·class="memitem:a76ac331e29d26f25d0d807b74c1a838b"><td·class="memTemplItemLeft"·align="right"·valign="top">static·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01305.html#a76ac331e29d26f25d0d807b74c1a838b">EvalStencils</a>·(SRC_BUFFER·*srcBuffer,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;srcDesc,·DST_BUFFER·*dstBuffer,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;dstDesc,·STENCIL_TABLE·const·*stencilTable,·const·<a·class="el"·href="a01305.html">OmpEvaluator</a>·*instance=NULL,·void·*deviceContext=NULL)</td></tr>98 <tr·class="memitem:a76ac331e29d26f25d0d807b74c1a838b"><td·class="memTemplItemLeft"·align="right"·valign="top">static·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01305.html#a76ac331e29d26f25d0d807b74c1a838b">EvalStencils</a>·(SRC_BUFFER·*srcBuffer,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;srcDesc,·DST_BUFFER·*dstBuffer,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;dstDesc,·STENCIL_TABLE·const·*stencilTable,·const·<a·class="el"·href="a01305.html">OmpEvaluator</a>·*instance=NULL,·void·*deviceContext=NULL)</td></tr>
99 <tr·class="memdesc:a76ac331e29d26f25d0d807b74c1a838b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Generic·static·eval·stencils·function.·This·function·has·a·same·signature·as·other·device·kernels·have·so·that·it·can·be·called·in·the·same·way·from·OsdMesh·template·interface.··<a·href="a01305.html#a76ac331e29d26f25d0d807b74c1a838b">More...</a><br·/></td></tr>99 <tr·class="memdesc:a76ac331e29d26f25d0d807b74c1a838b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Generic·static·eval·stencils·function.·This·function·has·a·same·signature·as·other·device·kernels·have·so·that·it·can·be·called·in·the·same·way·from·OsdMesh·template·interface.··<a·href="a01305.html#a76ac331e29d26f25d0d807b74c1a838b">More...</a><br·/></td></tr>
100 <tr·class="separator:a76ac331e29d26f25d0d807b74c1a838b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:a76ac331e29d26f25d0d807b74c1a838b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 164, 15 lines modifiedOffset 164, 15 lines modified
164 <tr·class="memitem:a9689407af718de4263562bb3a760c1dd"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01305.html#a9689407af718de4263562bb3a760c1dd">Synchronize</a>·(void·*deviceContext=NULL)</td></tr>164 <tr·class="memitem:a9689407af718de4263562bb3a760c1dd"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01305.html#a9689407af718de4263562bb3a760c1dd">Synchronize</a>·(void·*deviceContext=NULL)</td></tr>
165 <tr·class="separator:a9689407af718de4263562bb3a760c1dd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>165 <tr·class="separator:a9689407af718de4263562bb3a760c1dd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
166 <tr·class="memitem:ad58f2120e84fdd3f92d7cd861e97822d"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01305.html#ad58f2120e84fdd3f92d7cd861e97822d">SetNumThreads</a>·(int·numThreads)</td></tr>166 <tr·class="memitem:ad58f2120e84fdd3f92d7cd861e97822d"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01305.html#ad58f2120e84fdd3f92d7cd861e97822d">SetNumThreads</a>·(int·numThreads)</td></tr>
167 <tr·class="separator:ad58f2120e84fdd3f92d7cd861e97822d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>167 <tr·class="separator:ad58f2120e84fdd3f92d7cd861e97822d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
168 </table>168 </table>
169 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>169 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
170 <div·class="textblock">170 <div·class="textblock">
171 <p·class="definition">Definition·at·line·<a·class="el"·href="a00881_source.html#l00039">39</a>·of·file·<a·class="el"·href="a00881_source.html">ompEvaluator.h</a>.</p>171 <p·class="definition">Definition·at·line·<a·class="el"·href="a00863_source.html#l00039">39</a>·of·file·<a·class="el"·href="a00863_source.html">ompEvaluator.h</a>.</p>
172 </div><h2·class="groupheader">Member·Function·Documentation</h2>172 </div><h2·class="groupheader">Member·Function·Documentation</h2>
173 <a·id="a7b556148d6ef2e04fbe99677e3a87e91"·name="a7b556148d6ef2e04fbe99677e3a87e91"></a>173 <a·id="a7b556148d6ef2e04fbe99677e3a87e91"·name="a7b556148d6ef2e04fbe99677e3a87e91"></a>
174 <h2·class="memtitle"><span·class="permalink"><a·href="#a7b556148d6ef2e04fbe99677e3a87e91">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[1/6]</span></h2>174 <h2·class="memtitle"><span·class="permalink"><a·href="#a7b556148d6ef2e04fbe99677e3a87e91">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[1/6]</span></h2>
  
175 <div·class="memitem">175 <div·class="memitem">
176 <div·class="memproto">176 <div·class="memproto">
177 <table·class="mlabels">177 <table·class="mlabels">
Offset 708, 15 lines modifiedOffset 708, 15 lines modified
708 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01165.html"·title="Cpu·patch·table.">CpuPatchTable</a>·or·equivalent·XXX:·currently·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">Far::PatchTable</a>·can't·be·used·due·to·interface·mismatch</td></tr>708 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01165.html"·title="Cpu·patch·table.">CpuPatchTable</a>·or·equivalent·XXX:·currently·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">Far::PatchTable</a>·can't·be·used·due·to·interface·mismatch</td></tr>
709 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·omp·evaluator</td></tr>709 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·omp·evaluator</td></tr>
710 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·omp·evaluator·</td></tr>710 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·omp·evaluator·</td></tr>
711 ··</table>711 ··</table>
712 ··</dd>712 ··</dd>
713 </dl>713 </dl>
  
714 <p·class="definition">Definition·at·line·<a·class="el"·href="a00881_source.html#l00607">607</a>·of·file·<a·class="el"·href="a00881_source.html">ompEvaluator.h</a>.</p>714 <p·class="definition">Definition·at·line·<a·class="el"·href="a00863_source.html#l00607">607</a>·of·file·<a·class="el"·href="a00863_source.html">ompEvaluator.h</a>.</p>
  
715 </div>715 </div>
716 </div>716 </div>
717 <a·id="a8ec09b3a6962ce219f54fb5edec53640"·name="a8ec09b3a6962ce219f54fb5edec53640"></a>717 <a·id="a8ec09b3a6962ce219f54fb5edec53640"·name="a8ec09b3a6962ce219f54fb5edec53640"></a>
718 <h2·class="memtitle"><span·class="permalink"><a·href="#a8ec09b3a6962ce219f54fb5edec53640">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[5/6]</span></h2>718 <h2·class="memtitle"><span·class="permalink"><a·href="#a8ec09b3a6962ce219f54fb5edec53640">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[5/6]</span></h2>
  
719 <div·class="memitem">719 <div·class="memitem">
Offset 832, 15 lines modifiedOffset 832, 15 lines modified
832 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01165.html"·title="Cpu·patch·table.">CpuPatchTable</a>·or·equivalent·XXX:·currently·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">Far::PatchTable</a>·can't·be·used·due·to·interface·mismatch</td></tr>832 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01165.html"·title="Cpu·patch·table.">CpuPatchTable</a>·or·equivalent·XXX:·currently·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">Far::PatchTable</a>·can't·be·used·due·to·interface·mismatch</td></tr>
833 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·omp·evaluator</td></tr>833 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·omp·evaluator</td></tr>
834 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·omp·evaluator·</td></tr>834 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·omp·evaluator·</td></tr>
835 ··</table>835 ··</table>
836 ··</dd>836 ··</dd>
837 </dl>837 </dl>
  
838 <p·class="definition">Definition·at·line·<a·class="el"·href="a00881_source.html#l00517">517</a>·of·file·<a·class="el"·href="a00881_source.html">ompEvaluator.h</a>.</p>838 <p·class="definition">Definition·at·line·<a·class="el"·href="a00863_source.html#l00517">517</a>·of·file·<a·class="el"·href="a00863_source.html">ompEvaluator.h</a>.</p>
  
839 </div>839 </div>
840 </div>840 </div>
841 <a·id="abbbc45452da270eafbeb163a0e78df03"·name="abbbc45452da270eafbeb163a0e78df03"></a>841 <a·id="abbbc45452da270eafbeb163a0e78df03"·name="abbbc45452da270eafbeb163a0e78df03"></a>
842 <h2·class="memtitle"><span·class="permalink"><a·href="#abbbc45452da270eafbeb163a0e78df03">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[6/6]</span></h2>842 <h2·class="memtitle"><span·class="permalink"><a·href="#abbbc45452da270eafbeb163a0e78df03">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[6/6]</span></h2>
  
843 <div·class="memitem">843 <div·class="memitem">
Offset 931, 15 lines modifiedOffset 931, 15 lines modified
931 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01165.html"·title="Cpu·patch·table.">CpuPatchTable</a>·or·equivalent·XXX:·currently·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">Far::PatchTable</a>·can't·be·used·due·to·interface·mismatch</td></tr>931 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01165.html"·title="Cpu·patch·table.">CpuPatchTable</a>·or·equivalent·XXX:·currently·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">Far::PatchTable</a>·can't·be·used·due·to·interface·mismatch</td></tr>
932 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·omp·evaluator</td></tr>932 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·omp·evaluator</td></tr>
933 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·omp·evaluator·</td></tr>933 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·omp·evaluator·</td></tr>
934 ··</table>934 ··</table>
935 ··</dd>935 ··</dd>
936 </dl>936 </dl>
  
937 <p·class="definition">Definition·at·line·<a·class="el"·href="a00881_source.html#l00454">454</a>·of·file·<a·class="el"·href="a00881_source.html">ompEvaluator.h</a>.</p>937 <p·class="definition">Definition·at·line·<a·class="el"·href="a00863_source.html#l00454">454</a>·of·file·<a·class="el"·href="a00863_source.html">ompEvaluator.h</a>.</p>
  
938 </div>938 </div>
939 </div>939 </div>
940 <a·id="ae4eb5ea878fcae370e0e38dbad433a6a"·name="ae4eb5ea878fcae370e0e38dbad433a6a"></a>940 <a·id="ae4eb5ea878fcae370e0e38dbad433a6a"·name="ae4eb5ea878fcae370e0e38dbad433a6a"></a>
941 <h2·class="memtitle"><span·class="permalink"><a·href="#ae4eb5ea878fcae370e0e38dbad433a6a">&#9670;&nbsp;</a></span>EvalPatchesFaceVarying()·<span·class="overload">[1/3]</span></h2>941 <h2·class="memtitle"><span·class="permalink"><a·href="#ae4eb5ea878fcae370e0e38dbad433a6a">&#9670;&nbsp;</a></span>EvalPatchesFaceVarying()·<span·class="overload">[1/3]</span></h2>
  
942 <div·class="memitem">942 <div·class="memitem">
Offset 1104, 15 lines modifiedOffset 1104, 15 lines modified
1104 ····<tr><td·class="paramname">fvarChannel</td><td>face-varying·channel</td></tr>1104 ····<tr><td·class="paramname">fvarChannel</td><td>face-varying·channel</td></tr>
1105 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·omp·evaluator</td></tr>1105 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·omp·evaluator</td></tr>
1106 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·omp·evaluator·</td></tr>1106 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·omp·evaluator·</td></tr>
1107 ··</table>1107 ··</table>
1108 ··</dd>1108 ··</dd>
1109 </dl>1109 </dl>
  
1110 <p·class="definition">Definition·at·line·<a·class="el"·href="a00881_source.html#l01188">1188</a>·of·file·<a·class="el"·href="a00881_source.html">ompEvaluator.h</a>.</p>1110 <p·class="definition">Definition·at·line·<a·class="el"·href="a00863_source.html#l01188">1188</a>·of·file·<a·class="el"·href="a00863_source.html">ompEvaluator.h</a>.</p>
  
1111 </div>1111 </div>
1112 </div>1112 </div>
1113 <a·id="a708ed2ca5a7497a5679cd660546ec4da"·name="a708ed2ca5a7497a5679cd660546ec4da"></a>1113 <a·id="a708ed2ca5a7497a5679cd660546ec4da"·name="a708ed2ca5a7497a5679cd660546ec4da"></a>
1114 <h2·class="memtitle"><span·class="permalink"><a·href="#a708ed2ca5a7497a5679cd660546ec4da">&#9670;&nbsp;</a></span>EvalPatchesFaceVarying()·<span·class="overload">[2/3]</span></h2>1114 <h2·class="memtitle"><span·class="permalink"><a·href="#a708ed2ca5a7497a5679cd660546ec4da">&#9670;&nbsp;</a></span>EvalPatchesFaceVarying()·<span·class="overload">[2/3]</span></h2>
  
1115 <div·class="memitem">1115 <div·class="memitem">
Offset 1235, 15 lines modifiedOffset 1235, 15 lines modified
1235 ····<tr><td·class="paramname">fvarChannel</td><td>face-varying·channel</td></tr>1235 ····<tr><td·class="paramname">fvarChannel</td><td>face-varying·channel</td></tr>
1236 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·omp·evaluator</td></tr>1236 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·omp·evaluator</td></tr>
1237 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·omp·evaluator·</td></tr>1237 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·omp·evaluator·</td></tr>
1238 ··</table>1238 ··</table>
1239 ··</dd>1239 ··</dd>
1240 </dl>1240 </dl>
  
1241 <p·class="definition">Definition·at·line·<a·class="el"·href="a00881_source.html#l01100">1100</a>·of·file·<a·class="el"·href="a00881_source.html">ompEvaluator.h</a>.</p>1241 <p·class="definition">Definition·at·line·<a·class="el"·href="a00863_source.html#l01100">1100</a>·of·file·<a·class="el"·href="a00863_source.html">ompEvaluator.h</a>.</p>
  
1242 </div>1242 </div>
1243 </div>1243 </div>
1244 <a·id="a0fa8e0e28a0ceff063bd07e098abd645"·name="a0fa8e0e28a0ceff063bd07e098abd645"></a>1244 <a·id="a0fa8e0e28a0ceff063bd07e098abd645"·name="a0fa8e0e28a0ceff063bd07e098abd645"></a>
1245 <h2·class="memtitle"><span·class="permalink"><a·href="#a0fa8e0e28a0ceff063bd07e098abd645">&#9670;&nbsp;</a></span>EvalPatchesFaceVarying()·<span·class="overload">[3/3]</span></h2>1245 <h2·class="memtitle"><span·class="permalink"><a·href="#a0fa8e0e28a0ceff063bd07e098abd645">&#9670;&nbsp;</a></span>EvalPatchesFaceVarying()·<span·class="overload">[3/3]</span></h2>
  
1246 <div·class="memitem">1246 <div·class="memitem">
Offset 1338, 15 lines modifiedOffset 1338, 15 lines modified
1338 ····<tr><td·class="paramname">fvarChannel</td><td>face-varying·channel</td></tr>1338 ····<tr><td·class="paramname">fvarChannel</td><td>face-varying·channel</td></tr>
1339 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·omp·evaluator</td></tr>1339 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·omp·evaluator</td></tr>
1340 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·omp·evaluator·</td></tr>1340 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·omp·evaluator·</td></tr>
1341 ··</table>1341 ··</table>
1342 ··</dd>1342 ··</dd>
1343 </dl>1343 </dl>
  
1344 <p·class="definition">Definition·at·line·<a·class="el"·href="a00881_source.html#l01034">1034</a>·of·file·<a·class="el"·href="a00881_source.html">ompEvaluator.h</a>.</p>1344 <p·class="definition">Definition·at·line·<a·class="el"·href="a00863_source.html#l01034">1034</a>·of·file·<a·class="el"·href="a00863_source.html">ompEvaluator.h</a>.</p>
  
1345 </div>1345 </div>
1346 </div>1346 </div>
1347 <a·id="a5e2b53fce1097e9ec639828256aa44f1"·name="a5e2b53fce1097e9ec639828256aa44f1"></a>1347 <a·id="a5e2b53fce1097e9ec639828256aa44f1"·name="a5e2b53fce1097e9ec639828256aa44f1"></a>
1348 <h2·class="memtitle"><span·class="permalink"><a·href="#a5e2b53fce1097e9ec639828256aa44f1">&#9670;&nbsp;</a></span>EvalPatchesVarying()·<span·class="overload">[1/3]</span></h2>1348 <h2·class="memtitle"><span·class="permalink"><a·href="#a5e2b53fce1097e9ec639828256aa44f1">&#9670;&nbsp;</a></span>EvalPatchesVarying()·<span·class="overload">[1/3]</span></h2>
  
1349 <div·class="memitem">1349 <div·class="memitem">
Max diff block lines reached; 7752/17889 bytes (43.33%) of diff not shown.
17.6 KB
./usr/share/doc/opensubdiv/doxy_html/a01309.html
    
Offset 87, 15 lines modifiedOffset 87, 15 lines modified
87 ··<div·class="summary">87 ··<div·class="summary">
88 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;88 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
89 <a·href="a01306.html">List·of·all·members</a>··</div>89 <a·href="a01306.html">List·of·all·members</a>··</div>
90 ··<div·class="headertitle"><div·class="title">TbbEvaluator·Class·Reference</div></div>90 ··<div·class="headertitle"><div·class="title">TbbEvaluator·Class·Reference</div></div>
91 </div><!--header-->91 </div><!--header-->
92 <div·class="contents">92 <div·class="contents">
  
93 <p><code>#include·&lt;<a·class="el"·href="a00875_source.html">tbbEvaluator.h</a>&gt;</code></p>93 <p><code>#include·&lt;<a·class="el"·href="a00857_source.html">tbbEvaluator.h</a>&gt;</code></p>
94 <table·class="memberdecls">94 <table·class="memberdecls">
95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
96 Static·Public·Member·Functions</h2></td></tr>96 Static·Public·Member·Functions</h2></td></tr>
97 <tr·class="memitem:a1083776ed758e8a1ebd8915eb68c5010"><td·class="memTemplParams"·colspan="2">template&lt;typename·SRC_BUFFER·,·typename·DST_BUFFER·,·typename·STENCIL_TABLE·&gt;·</td></tr>97 <tr·class="memitem:a1083776ed758e8a1ebd8915eb68c5010"><td·class="memTemplParams"·colspan="2">template&lt;typename·SRC_BUFFER·,·typename·DST_BUFFER·,·typename·STENCIL_TABLE·&gt;·</td></tr>
98 <tr·class="memitem:a1083776ed758e8a1ebd8915eb68c5010"><td·class="memTemplItemLeft"·align="right"·valign="top">static·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01309.html#a1083776ed758e8a1ebd8915eb68c5010">EvalStencils</a>·(SRC_BUFFER·*srcBuffer,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;srcDesc,·DST_BUFFER·*dstBuffer,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;dstDesc,·STENCIL_TABLE·const·*stencilTable,·<a·class="el"·href="a01309.html">TbbEvaluator</a>·const·*instance=NULL,·void·*deviceContext=NULL)</td></tr>98 <tr·class="memitem:a1083776ed758e8a1ebd8915eb68c5010"><td·class="memTemplItemLeft"·align="right"·valign="top">static·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01309.html#a1083776ed758e8a1ebd8915eb68c5010">EvalStencils</a>·(SRC_BUFFER·*srcBuffer,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;srcDesc,·DST_BUFFER·*dstBuffer,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&amp;dstDesc,·STENCIL_TABLE·const·*stencilTable,·<a·class="el"·href="a01309.html">TbbEvaluator</a>·const·*instance=NULL,·void·*deviceContext=NULL)</td></tr>
99 <tr·class="memdesc:a1083776ed758e8a1ebd8915eb68c5010"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Generic·static·eval·stencils·function.·This·function·has·a·same·signature·as·other·device·kernels·have·so·that·it·can·be·called·in·the·same·way·from·OsdMesh·template·interface.··<a·href="a01309.html#a1083776ed758e8a1ebd8915eb68c5010">More...</a><br·/></td></tr>99 <tr·class="memdesc:a1083776ed758e8a1ebd8915eb68c5010"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Generic·static·eval·stencils·function.·This·function·has·a·same·signature·as·other·device·kernels·have·so·that·it·can·be·called·in·the·same·way·from·OsdMesh·template·interface.··<a·href="a01309.html#a1083776ed758e8a1ebd8915eb68c5010">More...</a><br·/></td></tr>
100 <tr·class="separator:a1083776ed758e8a1ebd8915eb68c5010"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:a1083776ed758e8a1ebd8915eb68c5010"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 166, 15 lines modifiedOffset 166, 15 lines modified
166 <tr·class="separator:a9689407af718de4263562bb3a760c1dd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>166 <tr·class="separator:a9689407af718de4263562bb3a760c1dd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
167 <tr·class="memitem:ad58f2120e84fdd3f92d7cd861e97822d"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01309.html#ad58f2120e84fdd3f92d7cd861e97822d">SetNumThreads</a>·(int·numThreads)</td></tr>167 <tr·class="memitem:ad58f2120e84fdd3f92d7cd861e97822d"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01309.html#ad58f2120e84fdd3f92d7cd861e97822d">SetNumThreads</a>·(int·numThreads)</td></tr>
168 <tr·class="memdesc:ad58f2120e84fdd3f92d7cd861e97822d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">initialize·tbb·task·schedular·(optional:·client·may·use·tbb::task_scheduler_init)··<a·href="a01309.html#ad58f2120e84fdd3f92d7cd861e97822d">More...</a><br·/></td></tr>168 <tr·class="memdesc:ad58f2120e84fdd3f92d7cd861e97822d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">initialize·tbb·task·schedular·(optional:·client·may·use·tbb::task_scheduler_init)··<a·href="a01309.html#ad58f2120e84fdd3f92d7cd861e97822d">More...</a><br·/></td></tr>
169 <tr·class="separator:ad58f2120e84fdd3f92d7cd861e97822d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>169 <tr·class="separator:ad58f2120e84fdd3f92d7cd861e97822d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
170 </table>170 </table>
171 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>171 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
172 <div·class="textblock">172 <div·class="textblock">
173 <p·class="definition">Definition·at·line·<a·class="el"·href="a00875_source.html#l00039">39</a>·of·file·<a·class="el"·href="a00875_source.html">tbbEvaluator.h</a>.</p>173 <p·class="definition">Definition·at·line·<a·class="el"·href="a00857_source.html#l00039">39</a>·of·file·<a·class="el"·href="a00857_source.html">tbbEvaluator.h</a>.</p>
174 </div><h2·class="groupheader">Member·Function·Documentation</h2>174 </div><h2·class="groupheader">Member·Function·Documentation</h2>
175 <a·id="a7b556148d6ef2e04fbe99677e3a87e91"·name="a7b556148d6ef2e04fbe99677e3a87e91"></a>175 <a·id="a7b556148d6ef2e04fbe99677e3a87e91"·name="a7b556148d6ef2e04fbe99677e3a87e91"></a>
176 <h2·class="memtitle"><span·class="permalink"><a·href="#a7b556148d6ef2e04fbe99677e3a87e91">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[1/6]</span></h2>176 <h2·class="memtitle"><span·class="permalink"><a·href="#a7b556148d6ef2e04fbe99677e3a87e91">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[1/6]</span></h2>
  
177 <div·class="memitem">177 <div·class="memitem">
178 <div·class="memproto">178 <div·class="memproto">
179 <table·class="mlabels">179 <table·class="mlabels">
Offset 710, 15 lines modifiedOffset 710, 15 lines modified
710 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01165.html"·title="Cpu·patch·table.">CpuPatchTable</a>·or·equivalent·XXX:·currently·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">Far::PatchTable</a>·can't·be·used·due·to·interface·mismatch</td></tr>710 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01165.html"·title="Cpu·patch·table.">CpuPatchTable</a>·or·equivalent·XXX:·currently·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">Far::PatchTable</a>·can't·be·used·due·to·interface·mismatch</td></tr>
711 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cpu·evaluator</td></tr>711 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cpu·evaluator</td></tr>
712 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cpu·evaluator·</td></tr>712 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cpu·evaluator·</td></tr>
713 ··</table>713 ··</table>
714 ··</dd>714 ··</dd>
715 </dl>715 </dl>
  
716 <p·class="definition">Definition·at·line·<a·class="el"·href="a00875_source.html#l00607">607</a>·of·file·<a·class="el"·href="a00875_source.html">tbbEvaluator.h</a>.</p>716 <p·class="definition">Definition·at·line·<a·class="el"·href="a00857_source.html#l00607">607</a>·of·file·<a·class="el"·href="a00857_source.html">tbbEvaluator.h</a>.</p>
  
717 </div>717 </div>
718 </div>718 </div>
719 <a·id="ab78e3701e650dfc99c2beb39c7e611a4"·name="ab78e3701e650dfc99c2beb39c7e611a4"></a>719 <a·id="ab78e3701e650dfc99c2beb39c7e611a4"·name="ab78e3701e650dfc99c2beb39c7e611a4"></a>
720 <h2·class="memtitle"><span·class="permalink"><a·href="#ab78e3701e650dfc99c2beb39c7e611a4">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[5/6]</span></h2>720 <h2·class="memtitle"><span·class="permalink"><a·href="#ab78e3701e650dfc99c2beb39c7e611a4">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[5/6]</span></h2>
  
721 <div·class="memitem">721 <div·class="memitem">
Offset 834, 15 lines modifiedOffset 834, 15 lines modified
834 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01165.html"·title="Cpu·patch·table.">CpuPatchTable</a>·or·equivalent·XXX:·currently·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">Far::PatchTable</a>·can't·be·used·due·to·interface·mismatch</td></tr>834 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01165.html"·title="Cpu·patch·table.">CpuPatchTable</a>·or·equivalent·XXX:·currently·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">Far::PatchTable</a>·can't·be·used·due·to·interface·mismatch</td></tr>
835 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cpu·evaluator</td></tr>835 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cpu·evaluator</td></tr>
836 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cpu·evaluator·</td></tr>836 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cpu·evaluator·</td></tr>
837 ··</table>837 ··</table>
838 ··</dd>838 ··</dd>
839 </dl>839 </dl>
  
840 <p·class="definition">Definition·at·line·<a·class="el"·href="a00875_source.html#l00517">517</a>·of·file·<a·class="el"·href="a00875_source.html">tbbEvaluator.h</a>.</p>840 <p·class="definition">Definition·at·line·<a·class="el"·href="a00857_source.html#l00517">517</a>·of·file·<a·class="el"·href="a00857_source.html">tbbEvaluator.h</a>.</p>
  
841 </div>841 </div>
842 </div>842 </div>
843 <a·id="a16b9e4c7e07040ae42e3d49454393f5f"·name="a16b9e4c7e07040ae42e3d49454393f5f"></a>843 <a·id="a16b9e4c7e07040ae42e3d49454393f5f"·name="a16b9e4c7e07040ae42e3d49454393f5f"></a>
844 <h2·class="memtitle"><span·class="permalink"><a·href="#a16b9e4c7e07040ae42e3d49454393f5f">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[6/6]</span></h2>844 <h2·class="memtitle"><span·class="permalink"><a·href="#a16b9e4c7e07040ae42e3d49454393f5f">&#9670;&nbsp;</a></span>EvalPatches()·<span·class="overload">[6/6]</span></h2>
  
845 <div·class="memitem">845 <div·class="memitem">
Offset 933, 15 lines modifiedOffset 933, 15 lines modified
933 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01165.html"·title="Cpu·patch·table.">CpuPatchTable</a>·or·equivalent·XXX:·currently·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">Far::PatchTable</a>·can't·be·used·due·to·interface·mismatch</td></tr>933 ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01165.html"·title="Cpu·patch·table.">CpuPatchTable</a>·or·equivalent·XXX:·currently·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">Far::PatchTable</a>·can't·be·used·due·to·interface·mismatch</td></tr>
934 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cpu·evaluator</td></tr>934 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cpu·evaluator</td></tr>
935 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cpu·evaluator·</td></tr>935 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cpu·evaluator·</td></tr>
936 ··</table>936 ··</table>
937 ··</dd>937 ··</dd>
938 </dl>938 </dl>
  
939 <p·class="definition">Definition·at·line·<a·class="el"·href="a00875_source.html#l00454">454</a>·of·file·<a·class="el"·href="a00875_source.html">tbbEvaluator.h</a>.</p>939 <p·class="definition">Definition·at·line·<a·class="el"·href="a00857_source.html#l00454">454</a>·of·file·<a·class="el"·href="a00857_source.html">tbbEvaluator.h</a>.</p>
  
940 </div>940 </div>
941 </div>941 </div>
942 <a·id="af8ac6af5dd3993a38da263eec54d83b0"·name="af8ac6af5dd3993a38da263eec54d83b0"></a>942 <a·id="af8ac6af5dd3993a38da263eec54d83b0"·name="af8ac6af5dd3993a38da263eec54d83b0"></a>
943 <h2·class="memtitle"><span·class="permalink"><a·href="#af8ac6af5dd3993a38da263eec54d83b0">&#9670;&nbsp;</a></span>EvalPatchesFaceVarying()·<span·class="overload">[1/3]</span></h2>943 <h2·class="memtitle"><span·class="permalink"><a·href="#af8ac6af5dd3993a38da263eec54d83b0">&#9670;&nbsp;</a></span>EvalPatchesFaceVarying()·<span·class="overload">[1/3]</span></h2>
  
944 <div·class="memitem">944 <div·class="memitem">
Offset 1106, 15 lines modifiedOffset 1106, 15 lines modified
1106 ····<tr><td·class="paramname">fvarChannel</td><td>face-varying·channel</td></tr>1106 ····<tr><td·class="paramname">fvarChannel</td><td>face-varying·channel</td></tr>
1107 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cpu·evaluator</td></tr>1107 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cpu·evaluator</td></tr>
1108 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cpu·evaluator·</td></tr>1108 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cpu·evaluator·</td></tr>
1109 ··</table>1109 ··</table>
1110 ··</dd>1110 ··</dd>
1111 </dl>1111 </dl>
  
1112 <p·class="definition">Definition·at·line·<a·class="el"·href="a00875_source.html#l01188">1188</a>·of·file·<a·class="el"·href="a00875_source.html">tbbEvaluator.h</a>.</p>1112 <p·class="definition">Definition·at·line·<a·class="el"·href="a00857_source.html#l01188">1188</a>·of·file·<a·class="el"·href="a00857_source.html">tbbEvaluator.h</a>.</p>
  
1113 </div>1113 </div>
1114 </div>1114 </div>
1115 <a·id="aaa27f47cddc2a42796014b8da00633fd"·name="aaa27f47cddc2a42796014b8da00633fd"></a>1115 <a·id="aaa27f47cddc2a42796014b8da00633fd"·name="aaa27f47cddc2a42796014b8da00633fd"></a>
1116 <h2·class="memtitle"><span·class="permalink"><a·href="#aaa27f47cddc2a42796014b8da00633fd">&#9670;&nbsp;</a></span>EvalPatchesFaceVarying()·<span·class="overload">[2/3]</span></h2>1116 <h2·class="memtitle"><span·class="permalink"><a·href="#aaa27f47cddc2a42796014b8da00633fd">&#9670;&nbsp;</a></span>EvalPatchesFaceVarying()·<span·class="overload">[2/3]</span></h2>
  
1117 <div·class="memitem">1117 <div·class="memitem">
Offset 1237, 15 lines modifiedOffset 1237, 15 lines modified
1237 ····<tr><td·class="paramname">fvarChannel</td><td>face-varying·channel</td></tr>1237 ····<tr><td·class="paramname">fvarChannel</td><td>face-varying·channel</td></tr>
1238 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cpu·evaluator</td></tr>1238 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cpu·evaluator</td></tr>
1239 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cpu·evaluator·</td></tr>1239 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cpu·evaluator·</td></tr>
1240 ··</table>1240 ··</table>
1241 ··</dd>1241 ··</dd>
1242 </dl>1242 </dl>
  
1243 <p·class="definition">Definition·at·line·<a·class="el"·href="a00875_source.html#l01100">1100</a>·of·file·<a·class="el"·href="a00875_source.html">tbbEvaluator.h</a>.</p>1243 <p·class="definition">Definition·at·line·<a·class="el"·href="a00857_source.html#l01100">1100</a>·of·file·<a·class="el"·href="a00857_source.html">tbbEvaluator.h</a>.</p>
  
1244 </div>1244 </div>
1245 </div>1245 </div>
1246 <a·id="abeb5f95d1536bd3a7cadf440c2db96af"·name="abeb5f95d1536bd3a7cadf440c2db96af"></a>1246 <a·id="abeb5f95d1536bd3a7cadf440c2db96af"·name="abeb5f95d1536bd3a7cadf440c2db96af"></a>
1247 <h2·class="memtitle"><span·class="permalink"><a·href="#abeb5f95d1536bd3a7cadf440c2db96af">&#9670;&nbsp;</a></span>EvalPatchesFaceVarying()·<span·class="overload">[3/3]</span></h2>1247 <h2·class="memtitle"><span·class="permalink"><a·href="#abeb5f95d1536bd3a7cadf440c2db96af">&#9670;&nbsp;</a></span>EvalPatchesFaceVarying()·<span·class="overload">[3/3]</span></h2>
  
1248 <div·class="memitem">1248 <div·class="memitem">
Offset 1340, 15 lines modifiedOffset 1340, 15 lines modified
1340 ····<tr><td·class="paramname">fvarChannel</td><td>face-varying·channel</td></tr>1340 ····<tr><td·class="paramname">fvarChannel</td><td>face-varying·channel</td></tr>
1341 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cpu·evaluator</td></tr>1341 ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cpu·evaluator</td></tr>
1342 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cpu·evaluator·</td></tr>1342 ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cpu·evaluator·</td></tr>
1343 ··</table>1343 ··</table>
1344 ··</dd>1344 ··</dd>
1345 </dl>1345 </dl>
  
1346 <p·class="definition">Definition·at·line·<a·class="el"·href="a00875_source.html#l01034">1034</a>·of·file·<a·class="el"·href="a00875_source.html">tbbEvaluator.h</a>.</p>1346 <p·class="definition">Definition·at·line·<a·class="el"·href="a00857_source.html#l01034">1034</a>·of·file·<a·class="el"·href="a00857_source.html">tbbEvaluator.h</a>.</p>
  
1347 </div>1347 </div>
1348 </div>1348 </div>
1349 <a·id="aa3171fe53d673ceca93eb75372c3d7c4"·name="aa3171fe53d673ceca93eb75372c3d7c4"></a>1349 <a·id="aa3171fe53d673ceca93eb75372c3d7c4"·name="aa3171fe53d673ceca93eb75372c3d7c4"></a>
1350 <h2·class="memtitle"><span·class="permalink"><a·href="#aa3171fe53d673ceca93eb75372c3d7c4">&#9670;&nbsp;</a></span>EvalPatchesVarying()·<span·class="overload">[1/3]</span></h2>1350 <h2·class="memtitle"><span·class="permalink"><a·href="#aa3171fe53d673ceca93eb75372c3d7c4">&#9670;&nbsp;</a></span>EvalPatchesVarying()·<span·class="overload">[1/3]</span></h2>
  
1351 <div·class="memitem">1351 <div·class="memitem">
Max diff block lines reached; 7752/17878 bytes (43.36%) of diff not shown.
19.7 KB
./usr/share/doc/opensubdiv/doxy_html/a01325.html
    
Offset 94, 15 lines modifiedOffset 94, 15 lines modified
94 ··<div·class="headertitle"><div·class="title">Crease·Class·Reference</div></div>94 ··<div·class="headertitle"><div·class="title">Crease·Class·Reference</div></div>
95 </div><!--header-->95 </div><!--header-->
96 <div·class="contents">96 <div·class="contents">
  
97 <p>Types,·constants·and·utilities·related·to·semi-sharp·creasing·&ndash;·whose·implementation·is·independent·of·the·subdivision·scheme.··97 <p>Types,·constants·and·utilities·related·to·semi-sharp·creasing·&ndash;·whose·implementation·is·independent·of·the·subdivision·scheme.··
98 ·<a·href="a01325.html#details">More...</a></p>98 ·<a·href="a01325.html#details">More...</a></p>
  
99 <p><code>#include·&lt;<a·class="el"·href="a00776_source.html">crease.h</a>&gt;</code></p>99 <p><code>#include·&lt;<a·class="el"·href="a00896_source.html">crease.h</a>&gt;</code></p>
100 <table·class="memberdecls">100 <table·class="memberdecls">
101 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>101 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
102 Public·Types</h2></td></tr>102 Public·Types</h2></td></tr>
103 <tr·class="memitem:a11fcd51ef86118f65e603c1474377a78"><td·class="memItemLeft"·align="right"·valign="top">enum·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78">Rule</a>·{·<br·/>103 <tr·class="memitem:a11fcd51ef86118f65e603c1474377a78"><td·class="memItemLeft"·align="right"·valign="top">enum·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78">Rule</a>·{·<br·/>
104 &#160;&#160;<a·class="el"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78ab299aefb26013a79d52191a7887fea53">RULE_UNKNOWN</a>·=·0104 &#160;&#160;<a·class="el"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78ab299aefb26013a79d52191a7887fea53">RULE_UNKNOWN</a>·=·0
105 ,·<br·/>105 ,·<br·/>
106 &#160;&#160;<a·class="el"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78a61d137f866997ed3693e3fcad76def5f">RULE_SMOOTH</a>·=·(1·&lt;&lt;·0)106 &#160;&#160;<a·class="el"·href="a01325.html#a11fcd51ef86118f65e603c1474377a78a61d137f866997ed3693e3fcad76def5f">RULE_SMOOTH</a>·=·(1·&lt;&lt;·0)
Offset 173, 15 lines modifiedOffset 173, 15 lines modified
173 </table>173 </table>
174 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>174 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
175 <div·class="textblock"><p·>Types,·constants·and·utilities·related·to·semi-sharp·creasing·&ndash;·whose·implementation·is·independent·of·the·subdivision·scheme.·</p>175 <div·class="textblock"><p·>Types,·constants·and·utilities·related·to·semi-sharp·creasing·&ndash;·whose·implementation·is·independent·of·the·subdivision·scheme.·</p>
176 <p·><a·class="el"·href="a01325.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·&ndash;·typically·sharpness·values·and·associated·interpolation·weights.·An·instance·of·<a·class="el"·href="a01325.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>176 <p·><a·class="el"·href="a01325.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·&ndash;·typically·sharpness·values·and·associated·interpolation·weights.·An·instance·of·<a·class="el"·href="a01325.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>
177 <p·>The·<a·class="el"·href="a01325.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>177 <p·>The·<a·class="el"·href="a01325.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>
178 <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·&ndash;·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>178 <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·&ndash;·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>
  
179 <p·class="definition">Definition·at·line·<a·class="el"·href="a00776_source.html#l00062">62</a>·of·file·<a·class="el"·href="a00776_source.html">crease.h</a>.</p>179 <p·class="definition">Definition·at·line·<a·class="el"·href="a00896_source.html#l00062">62</a>·of·file·<a·class="el"·href="a00896_source.html">crease.h</a>.</p>
180 </div><h2·class="groupheader">Member·Enumeration·Documentation</h2>180 </div><h2·class="groupheader">Member·Enumeration·Documentation</h2>
181 <a·id="a11fcd51ef86118f65e603c1474377a78"·name="a11fcd51ef86118f65e603c1474377a78"></a>181 <a·id="a11fcd51ef86118f65e603c1474377a78"·name="a11fcd51ef86118f65e603c1474377a78"></a>
182 <h2·class="memtitle"><span·class="permalink"><a·href="#a11fcd51ef86118f65e603c1474377a78">&#9670;&nbsp;</a></span>Rule</h2>182 <h2·class="memtitle"><span·class="permalink"><a·href="#a11fcd51ef86118f65e603c1474377a78">&#9670;&nbsp;</a></span>Rule</h2>
  
183 <div·class="memitem">183 <div·class="memitem">
184 <div·class="memproto">184 <div·class="memproto">
185 ······<table·class="memname">185 ······<table·class="memname">
Offset 195, 15 lines modifiedOffset 195, 15 lines modified
195 <tr><th·colspan="2">Enumerator</th></tr><tr><td·class="fieldname"><a·id="a11fcd51ef86118f65e603c1474377a78ab299aefb26013a79d52191a7887fea53"·name="a11fcd51ef86118f65e603c1474377a78ab299aefb26013a79d52191a7887fea53"></a>RULE_UNKNOWN&#160;</td><td·class="fielddoc"></td></tr>195 <tr><th·colspan="2">Enumerator</th></tr><tr><td·class="fieldname"><a·id="a11fcd51ef86118f65e603c1474377a78ab299aefb26013a79d52191a7887fea53"·name="a11fcd51ef86118f65e603c1474377a78ab299aefb26013a79d52191a7887fea53"></a>RULE_UNKNOWN&#160;</td><td·class="fielddoc"></td></tr>
196 <tr><td·class="fieldname"><a·id="a11fcd51ef86118f65e603c1474377a78a61d137f866997ed3693e3fcad76def5f"·name="a11fcd51ef86118f65e603c1474377a78a61d137f866997ed3693e3fcad76def5f"></a>RULE_SMOOTH&#160;</td><td·class="fielddoc"></td></tr>196 <tr><td·class="fieldname"><a·id="a11fcd51ef86118f65e603c1474377a78a61d137f866997ed3693e3fcad76def5f"·name="a11fcd51ef86118f65e603c1474377a78a61d137f866997ed3693e3fcad76def5f"></a>RULE_SMOOTH&#160;</td><td·class="fielddoc"></td></tr>
197 <tr><td·class="fieldname"><a·id="a11fcd51ef86118f65e603c1474377a78a43469c29d8579a63bc1d6247d2624799"·name="a11fcd51ef86118f65e603c1474377a78a43469c29d8579a63bc1d6247d2624799"></a>RULE_DART&#160;</td><td·class="fielddoc"></td></tr>197 <tr><td·class="fieldname"><a·id="a11fcd51ef86118f65e603c1474377a78a43469c29d8579a63bc1d6247d2624799"·name="a11fcd51ef86118f65e603c1474377a78a43469c29d8579a63bc1d6247d2624799"></a>RULE_DART&#160;</td><td·class="fielddoc"></td></tr>
198 <tr><td·class="fieldname"><a·id="a11fcd51ef86118f65e603c1474377a78a966fa1ae8aeb8587c498cf6a92cc3335"·name="a11fcd51ef86118f65e603c1474377a78a966fa1ae8aeb8587c498cf6a92cc3335"></a>RULE_CREASE&#160;</td><td·class="fielddoc"></td></tr>198 <tr><td·class="fieldname"><a·id="a11fcd51ef86118f65e603c1474377a78a966fa1ae8aeb8587c498cf6a92cc3335"·name="a11fcd51ef86118f65e603c1474377a78a966fa1ae8aeb8587c498cf6a92cc3335"></a>RULE_CREASE&#160;</td><td·class="fielddoc"></td></tr>
199 <tr><td·class="fieldname"><a·id="a11fcd51ef86118f65e603c1474377a78a27ed0595212af48db763e461bfdc29ef"·name="a11fcd51ef86118f65e603c1474377a78a27ed0595212af48db763e461bfdc29ef"></a>RULE_CORNER&#160;</td><td·class="fielddoc"></td></tr>199 <tr><td·class="fieldname"><a·id="a11fcd51ef86118f65e603c1474377a78a27ed0595212af48db763e461bfdc29ef"·name="a11fcd51ef86118f65e603c1474377a78a27ed0595212af48db763e461bfdc29ef"></a>RULE_CORNER&#160;</td><td·class="fielddoc"></td></tr>
200 </table>200 </table>
  
201 <p·class="definition">Definition·at·line·<a·class="el"·href="a00776_source.html#l00082">82</a>·of·file·<a·class="el"·href="a00776_source.html">crease.h</a>.</p>201 <p·class="definition">Definition·at·line·<a·class="el"·href="a00896_source.html#l00082">82</a>·of·file·<a·class="el"·href="a00896_source.html">crease.h</a>.</p>
  
202 </div>202 </div>
203 </div>203 </div>
204 <h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>204 <h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
205 <a·id="a9659c3f2c73b80d9dc22763a6054079b"·name="a9659c3f2c73b80d9dc22763a6054079b"></a>205 <a·id="a9659c3f2c73b80d9dc22763a6054079b"·name="a9659c3f2c73b80d9dc22763a6054079b"></a>
206 <h2·class="memtitle"><span·class="permalink"><a·href="#a9659c3f2c73b80d9dc22763a6054079b">&#9670;&nbsp;</a></span>Crease()·<span·class="overload">[1/2]</span></h2>206 <h2·class="memtitle"><span·class="permalink"><a·href="#a9659c3f2c73b80d9dc22763a6054079b">&#9670;&nbsp;</a></span>Crease()·<span·class="overload">[1/2]</span></h2>
  
Offset 223, 15 lines modifiedOffset 223, 15 lines modified
223 ··</td>223 ··</td>
224 ··<td·class="mlabels-right">224 ··<td·class="mlabels-right">
225 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>225 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
226 ··</tr>226 ··</tr>
227 </table>227 </table>
228 </div><div·class="memdoc">228 </div><div·class="memdoc">
  
229 <p·class="definition">Definition·at·line·<a·class="el"·href="a00776_source.html#l00091">91</a>·of·file·<a·class="el"·href="a00776_source.html">crease.h</a>.</p>229 <p·class="definition">Definition·at·line·<a·class="el"·href="a00896_source.html#l00091">91</a>·of·file·<a·class="el"·href="a00896_source.html">crease.h</a>.</p>
  
230 </div>230 </div>
231 </div>231 </div>
232 <a·id="a75d5d7e54170ccf6481932916e0fa9c1"·name="a75d5d7e54170ccf6481932916e0fa9c1"></a>232 <a·id="a75d5d7e54170ccf6481932916e0fa9c1"·name="a75d5d7e54170ccf6481932916e0fa9c1"></a>
233 <h2·class="memtitle"><span·class="permalink"><a·href="#a75d5d7e54170ccf6481932916e0fa9c1">&#9670;&nbsp;</a></span>Crease()·<span·class="overload">[2/2]</span></h2>233 <h2·class="memtitle"><span·class="permalink"><a·href="#a75d5d7e54170ccf6481932916e0fa9c1">&#9670;&nbsp;</a></span>Crease()·<span·class="overload">[2/2]</span></h2>
  
234 <div·class="memitem">234 <div·class="memitem">
Offset 251, 15 lines modifiedOffset 251, 15 lines modified
251 ··</td>251 ··</td>
252 ··<td·class="mlabels-right">252 ··<td·class="mlabels-right">
253 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>253 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
254 ··</tr>254 ··</tr>
255 </table>255 </table>
256 </div><div·class="memdoc">256 </div><div·class="memdoc">
  
257 <p·class="definition">Definition·at·line·<a·class="el"·href="a00776_source.html#l00092">92</a>·of·file·<a·class="el"·href="a00776_source.html">crease.h</a>.</p>257 <p·class="definition">Definition·at·line·<a·class="el"·href="a00896_source.html#l00092">92</a>·of·file·<a·class="el"·href="a00896_source.html">crease.h</a>.</p>
  
258 </div>258 </div>
259 </div>259 </div>
260 <a·id="af6737d6f9be18766c7a993cc9da108a8"·name="af6737d6f9be18766c7a993cc9da108a8"></a>260 <a·id="af6737d6f9be18766c7a993cc9da108a8"·name="af6737d6f9be18766c7a993cc9da108a8"></a>
261 <h2·class="memtitle"><span·class="permalink"><a·href="#af6737d6f9be18766c7a993cc9da108a8">&#9670;&nbsp;</a></span>~Crease()</h2>261 <h2·class="memtitle"><span·class="permalink"><a·href="#af6737d6f9be18766c7a993cc9da108a8">&#9670;&nbsp;</a></span>~Crease()</h2>
  
262 <div·class="memitem">262 <div·class="memitem">
Offset 278, 15 lines modifiedOffset 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>··</td>280 <span·class="mlabels"><span·class="mlabel">inline</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="a00776_source.html#l00093">93</a>·of·file·<a·class="el"·href="a00776_source.html">crease.h</a>.</p>284 <p·class="definition">Definition·at·line·<a·class="el"·href="a00896_source.html#l00093">93</a>·of·file·<a·class="el"·href="a00896_source.html">crease.h</a>.</p>
  
285 </div>285 </div>
286 </div>286 </div>
287 <h2·class="groupheader">Member·Function·Documentation</h2>287 <h2·class="groupheader">Member·Function·Documentation</h2>
288 <a·id="ab13f654f25ef7628396fd902291b8f96"·name="ab13f654f25ef7628396fd902291b8f96"></a>288 <a·id="ab13f654f25ef7628396fd902291b8f96"·name="ab13f654f25ef7628396fd902291b8f96"></a>
289 <h2·class="memtitle"><span·class="permalink"><a·href="#ab13f654f25ef7628396fd902291b8f96">&#9670;&nbsp;</a></span>ComputeFractionalWeightAtVertex()</h2>289 <h2·class="memtitle"><span·class="permalink"><a·href="#ab13f654f25ef7628396fd902291b8f96">&#9670;&nbsp;</a></span>ComputeFractionalWeightAtVertex()</h2>
  
Offset 355, 15 lines modifiedOffset 355, 15 lines modified
355 ··</td>355 ··</td>
356 ··<td·class="mlabels-right">356 ··<td·class="mlabels-right">
357 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td>357 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td>
358 ··</tr>358 ··</tr>
359 </table>359 </table>
360 </div><div·class="memdoc">360 </div><div·class="memdoc">
  
361 <p·class="definition">Definition·at·line·<a·class="el"·href="a00776_source.html#l00207">207</a>·of·file·<a·class="el"·href="a00776_source.html">crease.h</a>.</p>361 <p·class="definition">Definition·at·line·<a·class="el"·href="a00896_source.html#l00207">207</a>·of·file·<a·class="el"·href="a00896_source.html">crease.h</a>.</p>
  
362 </div>362 </div>
363 </div>363 </div>
364 <a·id="a41ebb75d28c5973328e0e3883495aeba"·name="a41ebb75d28c5973328e0e3883495aeba"></a>364 <a·id="a41ebb75d28c5973328e0e3883495aeba"·name="a41ebb75d28c5973328e0e3883495aeba"></a>
365 <h2·class="memtitle"><span·class="permalink"><a·href="#a41ebb75d28c5973328e0e3883495aeba">&#9670;&nbsp;</a></span>DetermineVertexVertexRule()·<span·class="overload">[1/2]</span></h2>365 <h2·class="memtitle"><span·class="permalink"><a·href="#a41ebb75d28c5973328e0e3883495aeba">&#9670;&nbsp;</a></span>DetermineVertexVertexRule()·<span·class="overload">[1/2]</span></h2>
  
366 <div·class="memitem">366 <div·class="memitem">
Offset 462, 15 lines modifiedOffset 462, 15 lines modified
462 ··</td>462 ··</td>
463 ··<td·class="mlabels-right">463 ··<td·class="mlabels-right">
464 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>464 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
465 ··</tr>465 ··</tr>
466 </table>466 </table>
467 </div><div·class="memdoc">467 </div><div·class="memdoc">
  
468 <p·class="definition">Definition·at·line·<a·class="el"·href="a00776_source.html#l00228">228</a>·of·file·<a·class="el"·href="a00776_source.html">crease.h</a>.</p>468 <p·class="definition">Definition·at·line·<a·class="el"·href="a00896_source.html#l00228">228</a>·of·file·<a·class="el"·href="a00896_source.html">crease.h</a>.</p>
  
469 </div>469 </div>
470 </div>470 </div>
471 <a·id="a0538e02ac31e9f1118abdd1f272e7982"·name="a0538e02ac31e9f1118abdd1f272e7982"></a>471 <a·id="a0538e02ac31e9f1118abdd1f272e7982"·name="a0538e02ac31e9f1118abdd1f272e7982"></a>
472 <h2·class="memtitle"><span·class="permalink"><a·href="#a0538e02ac31e9f1118abdd1f272e7982">&#9670;&nbsp;</a></span>IsInfinite()</h2>472 <h2·class="memtitle"><span·class="permalink"><a·href="#a0538e02ac31e9f1118abdd1f272e7982">&#9670;&nbsp;</a></span>IsInfinite()</h2>
  
473 <div·class="memitem">473 <div·class="memitem">
Max diff block lines reached; 10031/20118 bytes (49.86%) of diff not shown.
15.5 KB
./usr/share/doc/opensubdiv/doxy_html/a01329.html
    
Offset 91, 15 lines modifiedOffset 91, 15 lines modified
91 ··<div·class="headertitle"><div·class="title">Options·Class·Reference</div></div>91 ··<div·class="headertitle"><div·class="title">Options·Class·Reference</div></div>
92 </div><!--header-->92 </div><!--header-->
93 <div·class="contents">93 <div·class="contents">
  
94 <p>All·supported·options·applying·to·subdivision·scheme.··94 <p>All·supported·options·applying·to·subdivision·scheme.··
95 ·<a·href="a01329.html#details">More...</a></p>95 ·<a·href="a01329.html#details">More...</a></p>
  
96 <p><code>#include·&lt;<a·class="el"·href="a00770_source.html">options.h</a>&gt;</code></p>96 <p><code>#include·&lt;<a·class="el"·href="a00890_source.html">options.h</a>&gt;</code></p>
97 <table·class="memberdecls">97 <table·class="memberdecls">
98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
99 Public·Types</h2></td></tr>99 Public·Types</h2></td></tr>
100 <tr·class="memitem:acbf78f1a6abfc8db080ef7fb3c3f417e"><td·class="memItemLeft"·align="right"·valign="top">enum·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01329.html#acbf78f1a6abfc8db080ef7fb3c3f417e">VtxBoundaryInterpolation</a>·{·<br·/>100 <tr·class="memitem:acbf78f1a6abfc8db080ef7fb3c3f417e"><td·class="memItemLeft"·align="right"·valign="top">enum·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01329.html#acbf78f1a6abfc8db080ef7fb3c3f417e">VtxBoundaryInterpolation</a>·{·<br·/>
101 &#160;&#160;<a·class="el"·href="a01329.html#acbf78f1a6abfc8db080ef7fb3c3f417ea5d15ed470f1f0ecce0549282de54a3ba">VTX_BOUNDARY_NONE</a>·=·0101 &#160;&#160;<a·class="el"·href="a01329.html#acbf78f1a6abfc8db080ef7fb3c3f417ea5d15ed470f1f0ecce0549282de54a3ba">VTX_BOUNDARY_NONE</a>·=·0
102 ,·<br·/>102 ,·<br·/>
103 &#160;&#160;<a·class="el"·href="a01329.html#acbf78f1a6abfc8db080ef7fb3c3f417ea9240987283549b42eeb262f088b68fdf">VTX_BOUNDARY_EDGE_ONLY</a>103 &#160;&#160;<a·class="el"·href="a01329.html#acbf78f1a6abfc8db080ef7fb3c3f417ea9240987283549b42eeb262f088b68fdf">VTX_BOUNDARY_EDGE_ONLY</a>
Offset 168, 15 lines modifiedOffset 168, 15 lines modified
168 <tr·class="separator:a4a4af2e71173f0acc6f26b139ebaa592"><td·class="memSeparator"·colspan="2">&#160;</td></tr>168 <tr·class="separator:a4a4af2e71173f0acc6f26b139ebaa592"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
169 </table>169 </table>
170 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>170 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
171 <div·class="textblock"><p·>All·supported·options·applying·to·subdivision·scheme.·</p>171 <div·class="textblock"><p·>All·supported·options·applying·to·subdivision·scheme.·</p>
172 <p·>The·<a·class="el"·href="a01329.html"·title="All·supported·options·applying·to·subdivision·scheme.">Options</a>·class·contains·all·supported·options·that·can·be·applied·to·a·subdivision·scheme·to·affect·the·shape·of·the·limit·surface.·These·differ·from·approximations·that·may·be·applied·at·a·higher·level,·i.e.·options·to·limit·the·level·of·feature·adaptive·subdivision,·options·to·ignore·fractional·creasing,·or·creasing·entirely,·etc.·These·options·define·the·shape·of·a·particular·limit·surface,·including·the·"shape"·of·primitive·variable·data·associated·with·it.</p>172 <p·>The·<a·class="el"·href="a01329.html"·title="All·supported·options·applying·to·subdivision·scheme.">Options</a>·class·contains·all·supported·options·that·can·be·applied·to·a·subdivision·scheme·to·affect·the·shape·of·the·limit·surface.·These·differ·from·approximations·that·may·be·applied·at·a·higher·level,·i.e.·options·to·limit·the·level·of·feature·adaptive·subdivision,·options·to·ignore·fractional·creasing,·or·creasing·entirely,·etc.·These·options·define·the·shape·of·a·particular·limit·surface,·including·the·"shape"·of·primitive·variable·data·associated·with·it.</p>
173 <p·>The·intent·is·that·these·sets·of·options·be·defined·at·a·high·level·and·propagated·into·the·lowest-level·computation·in·support·of·each·subdivision·scheme.·Ideally·it·remains·a·set·of·bit-fields·(essentially·an·int)·and·so·remains·light·weight·and·easily·passed·around·by·value.·</p>173 <p·>The·intent·is·that·these·sets·of·options·be·defined·at·a·high·level·and·propagated·into·the·lowest-level·computation·in·support·of·each·subdivision·scheme.·Ideally·it·remains·a·set·of·bit-fields·(essentially·an·int)·and·so·remains·light·weight·and·easily·passed·around·by·value.·</p>
  
174 <p·class="definition">Definition·at·line·<a·class="el"·href="a00770_source.html#l00051">51</a>·of·file·<a·class="el"·href="a00770_source.html">options.h</a>.</p>174 <p·class="definition">Definition·at·line·<a·class="el"·href="a00890_source.html#l00051">51</a>·of·file·<a·class="el"·href="a00890_source.html">options.h</a>.</p>
175 </div><h2·class="groupheader">Member·Enumeration·Documentation</h2>175 </div><h2·class="groupheader">Member·Enumeration·Documentation</h2>
176 <a·id="a16ec522dc0398bf1435a912cd669ffb0"·name="a16ec522dc0398bf1435a912cd669ffb0"></a>176 <a·id="a16ec522dc0398bf1435a912cd669ffb0"·name="a16ec522dc0398bf1435a912cd669ffb0"></a>
177 <h2·class="memtitle"><span·class="permalink"><a·href="#a16ec522dc0398bf1435a912cd669ffb0">&#9670;&nbsp;</a></span>CreasingMethod</h2>177 <h2·class="memtitle"><span·class="permalink"><a·href="#a16ec522dc0398bf1435a912cd669ffb0">&#9670;&nbsp;</a></span>CreasingMethod</h2>
  
178 <div·class="memitem">178 <div·class="memitem">
179 <div·class="memproto">179 <div·class="memproto">
180 ······<table·class="memname">180 ······<table·class="memname">
Offset 188, 15 lines modifiedOffset 188, 15 lines modified
188 <table·class="fieldtable">188 <table·class="fieldtable">
189 <tr><th·colspan="2">Enumerator</th></tr><tr><td·class="fieldname"><a·id="a16ec522dc0398bf1435a912cd669ffb0a10f2956db48d2975424be2e52ebd544d"·name="a16ec522dc0398bf1435a912cd669ffb0a10f2956db48d2975424be2e52ebd544d"></a>CREASE_UNIFORM&#160;</td><td·class="fielddoc"><p·>Catmark·rule.·</p>189 <tr><th·colspan="2">Enumerator</th></tr><tr><td·class="fieldname"><a·id="a16ec522dc0398bf1435a912cd669ffb0a10f2956db48d2975424be2e52ebd544d"·name="a16ec522dc0398bf1435a912cd669ffb0a10f2956db48d2975424be2e52ebd544d"></a>CREASE_UNIFORM&#160;</td><td·class="fielddoc"><p·>Catmark·rule.·</p>
190 </td></tr>190 </td></tr>
191 <tr><td·class="fieldname"><a·id="a16ec522dc0398bf1435a912cd669ffb0a1e31a583663dd65a7b2feffeb24268b5"·name="a16ec522dc0398bf1435a912cd669ffb0a1e31a583663dd65a7b2feffeb24268b5"></a>CREASE_CHAIKIN&#160;</td><td·class="fielddoc"><p·>Chaikin·rule.·</p>191 <tr><td·class="fieldname"><a·id="a16ec522dc0398bf1435a912cd669ffb0a1e31a583663dd65a7b2feffeb24268b5"·name="a16ec522dc0398bf1435a912cd669ffb0a1e31a583663dd65a7b2feffeb24268b5"></a>CREASE_CHAIKIN&#160;</td><td·class="fielddoc"><p·>Chaikin·rule.·</p>
192 </td></tr>192 </td></tr>
193 </table>193 </table>
  
194 <p·class="definition">Definition·at·line·<a·class="el"·href="a00770_source.html#l00068">68</a>·of·file·<a·class="el"·href="a00770_source.html">options.h</a>.</p>194 <p·class="definition">Definition·at·line·<a·class="el"·href="a00890_source.html#l00068">68</a>·of·file·<a·class="el"·href="a00890_source.html">options.h</a>.</p>
  
195 </div>195 </div>
196 </div>196 </div>
197 <a·id="a5b87eaca6ca0833462c9d4ad84df167b"·name="a5b87eaca6ca0833462c9d4ad84df167b"></a>197 <a·id="a5b87eaca6ca0833462c9d4ad84df167b"·name="a5b87eaca6ca0833462c9d4ad84df167b"></a>
198 <h2·class="memtitle"><span·class="permalink"><a·href="#a5b87eaca6ca0833462c9d4ad84df167b">&#9670;&nbsp;</a></span>FVarLinearInterpolation</h2>198 <h2·class="memtitle"><span·class="permalink"><a·href="#a5b87eaca6ca0833462c9d4ad84df167b">&#9670;&nbsp;</a></span>FVarLinearInterpolation</h2>
  
199 <div·class="memitem">199 <div·class="memitem">
Offset 218, 15 lines modifiedOffset 218, 15 lines modified
218 </td></tr>218 </td></tr>
219 <tr><td·class="fieldname"><a·id="a5b87eaca6ca0833462c9d4ad84df167ba60007144d7e8d50ed9f907badecf8ea1"·name="a5b87eaca6ca0833462c9d4ad84df167ba60007144d7e8d50ed9f907badecf8ea1"></a>FVAR_LINEAR_BOUNDARIES&#160;</td><td·class="fielddoc"><p·>sharpen·all·boundaries·("always·sharp")·</p>219 <tr><td·class="fieldname"><a·id="a5b87eaca6ca0833462c9d4ad84df167ba60007144d7e8d50ed9f907badecf8ea1"·name="a5b87eaca6ca0833462c9d4ad84df167ba60007144d7e8d50ed9f907badecf8ea1"></a>FVAR_LINEAR_BOUNDARIES&#160;</td><td·class="fielddoc"><p·>sharpen·all·boundaries·("always·sharp")·</p>
220 </td></tr>220 </td></tr>
221 <tr><td·class="fieldname"><a·id="a5b87eaca6ca0833462c9d4ad84df167ba8d4df083104973fad1479109988e0387"·name="a5b87eaca6ca0833462c9d4ad84df167ba8d4df083104973fad1479109988e0387"></a>FVAR_LINEAR_ALL&#160;</td><td·class="fielddoc"><p·>bilinear·interpolation·("bilinear")·</p>221 <tr><td·class="fieldname"><a·id="a5b87eaca6ca0833462c9d4ad84df167ba8d4df083104973fad1479109988e0387"·name="a5b87eaca6ca0833462c9d4ad84df167ba8d4df083104973fad1479109988e0387"></a>FVAR_LINEAR_ALL&#160;</td><td·class="fielddoc"><p·>bilinear·interpolation·("bilinear")·</p>
222 </td></tr>222 </td></tr>
223 </table>223 </table>
  
224 <p·class="definition">Definition·at·line·<a·class="el"·href="a00770_source.html#l00060">60</a>·of·file·<a·class="el"·href="a00770_source.html">options.h</a>.</p>224 <p·class="definition">Definition·at·line·<a·class="el"·href="a00890_source.html#l00060">60</a>·of·file·<a·class="el"·href="a00890_source.html">options.h</a>.</p>
  
225 </div>225 </div>
226 </div>226 </div>
227 <a·id="a10fe8c2b78e5c59377614876a362c38b"·name="a10fe8c2b78e5c59377614876a362c38b"></a>227 <a·id="a10fe8c2b78e5c59377614876a362c38b"·name="a10fe8c2b78e5c59377614876a362c38b"></a>
228 <h2·class="memtitle"><span·class="permalink"><a·href="#a10fe8c2b78e5c59377614876a362c38b">&#9670;&nbsp;</a></span>TriangleSubdivision</h2>228 <h2·class="memtitle"><span·class="permalink"><a·href="#a10fe8c2b78e5c59377614876a362c38b">&#9670;&nbsp;</a></span>TriangleSubdivision</h2>
  
229 <div·class="memitem">229 <div·class="memitem">
Offset 240, 15 lines modifiedOffset 240, 15 lines modified
240 <table·class="fieldtable">240 <table·class="fieldtable">
241 <tr><th·colspan="2">Enumerator</th></tr><tr><td·class="fieldname"><a·id="a10fe8c2b78e5c59377614876a362c38ba2dd7b5ddb5288776e48d86049e56e730"·name="a10fe8c2b78e5c59377614876a362c38ba2dd7b5ddb5288776e48d86049e56e730"></a>TRI_SUB_CATMARK&#160;</td><td·class="fielddoc"><p·>Catmark·weights·(Catmark·scheme·only)·</p>241 <tr><th·colspan="2">Enumerator</th></tr><tr><td·class="fieldname"><a·id="a10fe8c2b78e5c59377614876a362c38ba2dd7b5ddb5288776e48d86049e56e730"·name="a10fe8c2b78e5c59377614876a362c38ba2dd7b5ddb5288776e48d86049e56e730"></a>TRI_SUB_CATMARK&#160;</td><td·class="fielddoc"><p·>Catmark·weights·(Catmark·scheme·only)·</p>
242 </td></tr>242 </td></tr>
243 <tr><td·class="fieldname"><a·id="a10fe8c2b78e5c59377614876a362c38baf222ead5fa4875f2ea2794c2d765a87d"·name="a10fe8c2b78e5c59377614876a362c38baf222ead5fa4875f2ea2794c2d765a87d"></a>TRI_SUB_SMOOTH&#160;</td><td·class="fielddoc"><p·>"smooth·triangle"·weights·(Catmark·scheme·only)·</p>243 <tr><td·class="fieldname"><a·id="a10fe8c2b78e5c59377614876a362c38baf222ead5fa4875f2ea2794c2d765a87d"·name="a10fe8c2b78e5c59377614876a362c38baf222ead5fa4875f2ea2794c2d765a87d"></a>TRI_SUB_SMOOTH&#160;</td><td·class="fielddoc"><p·>"smooth·triangle"·weights·(Catmark·scheme·only)·</p>
244 </td></tr>244 </td></tr>
245 </table>245 </table>
  
246 <p·class="definition">Definition·at·line·<a·class="el"·href="a00770_source.html#l00072">72</a>·of·file·<a·class="el"·href="a00770_source.html">options.h</a>.</p>246 <p·class="definition">Definition·at·line·<a·class="el"·href="a00890_source.html#l00072">72</a>·of·file·<a·class="el"·href="a00890_source.html">options.h</a>.</p>
  
247 </div>247 </div>
248 </div>248 </div>
249 <a·id="acbf78f1a6abfc8db080ef7fb3c3f417e"·name="acbf78f1a6abfc8db080ef7fb3c3f417e"></a>249 <a·id="acbf78f1a6abfc8db080ef7fb3c3f417e"·name="acbf78f1a6abfc8db080ef7fb3c3f417e"></a>
250 <h2·class="memtitle"><span·class="permalink"><a·href="#acbf78f1a6abfc8db080ef7fb3c3f417e">&#9670;&nbsp;</a></span>VtxBoundaryInterpolation</h2>250 <h2·class="memtitle"><span·class="permalink"><a·href="#acbf78f1a6abfc8db080ef7fb3c3f417e">&#9670;&nbsp;</a></span>VtxBoundaryInterpolation</h2>
  
251 <div·class="memitem">251 <div·class="memitem">
Offset 264, 15 lines modifiedOffset 264, 15 lines modified
264 </td></tr>264 </td></tr>
265 <tr><td·class="fieldname"><a·id="acbf78f1a6abfc8db080ef7fb3c3f417ea9240987283549b42eeb262f088b68fdf"·name="acbf78f1a6abfc8db080ef7fb3c3f417ea9240987283549b42eeb262f088b68fdf"></a>VTX_BOUNDARY_EDGE_ONLY&#160;</td><td·class="fielddoc"><p·>all·boundary·edges·sharpened·and·interpolated·</p>265 <tr><td·class="fieldname"><a·id="acbf78f1a6abfc8db080ef7fb3c3f417ea9240987283549b42eeb262f088b68fdf"·name="acbf78f1a6abfc8db080ef7fb3c3f417ea9240987283549b42eeb262f088b68fdf"></a>VTX_BOUNDARY_EDGE_ONLY&#160;</td><td·class="fielddoc"><p·>all·boundary·edges·sharpened·and·interpolated·</p>
266 </td></tr>266 </td></tr>
267 <tr><td·class="fieldname"><a·id="acbf78f1a6abfc8db080ef7fb3c3f417eac6e5f52f358d3b6d62cc2b708a5a8757"·name="acbf78f1a6abfc8db080ef7fb3c3f417eac6e5f52f358d3b6d62cc2b708a5a8757"></a>VTX_BOUNDARY_EDGE_AND_CORNER&#160;</td><td·class="fielddoc"><p·>all·boundary·edges·and·corner·vertices·sharpened·and·interpolated·</p>267 <tr><td·class="fieldname"><a·id="acbf78f1a6abfc8db080ef7fb3c3f417eac6e5f52f358d3b6d62cc2b708a5a8757"·name="acbf78f1a6abfc8db080ef7fb3c3f417eac6e5f52f358d3b6d62cc2b708a5a8757"></a>VTX_BOUNDARY_EDGE_AND_CORNER&#160;</td><td·class="fielddoc"><p·>all·boundary·edges·and·corner·vertices·sharpened·and·interpolated·</p>
268 </td></tr>268 </td></tr>
269 </table>269 </table>
  
270 <p·class="definition">Definition·at·line·<a·class="el"·href="a00770_source.html#l00053">53</a>·of·file·<a·class="el"·href="a00770_source.html">options.h</a>.</p>270 <p·class="definition">Definition·at·line·<a·class="el"·href="a00890_source.html#l00053">53</a>·of·file·<a·class="el"·href="a00890_source.html">options.h</a>.</p>
  
271 </div>271 </div>
272 </div>272 </div>
273 <h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>273 <h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
274 <a·id="a28d39a844c3a37ab61d32ab7c6352f09"·name="a28d39a844c3a37ab61d32ab7c6352f09"></a>274 <a·id="a28d39a844c3a37ab61d32ab7c6352f09"·name="a28d39a844c3a37ab61d32ab7c6352f09"></a>
275 <h2·class="memtitle"><span·class="permalink"><a·href="#a28d39a844c3a37ab61d32ab7c6352f09">&#9670;&nbsp;</a></span>Options()</h2>275 <h2·class="memtitle"><span·class="permalink"><a·href="#a28d39a844c3a37ab61d32ab7c6352f09">&#9670;&nbsp;</a></span>Options()</h2>
  
Offset 292, 15 lines modifiedOffset 292, 15 lines modified
292 ··</td>292 ··</td>
293 ··<td·class="mlabels-right">293 ··<td·class="mlabels-right">
294 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>294 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
295 ··</tr>295 ··</tr>
296 </table>296 </table>
297 </div><div·class="memdoc">297 </div><div·class="memdoc">
  
298 <p·class="definition">Definition·at·line·<a·class="el"·href="a00770_source.html#l00079">79</a>·of·file·<a·class="el"·href="a00770_source.html">options.h</a>.</p>298 <p·class="definition">Definition·at·line·<a·class="el"·href="a00890_source.html#l00079">79</a>·of·file·<a·class="el"·href="a00890_source.html">options.h</a>.</p>
  
299 </div>299 </div>
300 </div>300 </div>
301 <h2·class="groupheader">Member·Function·Documentation</h2>301 <h2·class="groupheader">Member·Function·Documentation</h2>
302 <a·id="a17dfce050325c0054b6e2fa422cb62b1"·name="a17dfce050325c0054b6e2fa422cb62b1"></a>302 <a·id="a17dfce050325c0054b6e2fa422cb62b1"·name="a17dfce050325c0054b6e2fa422cb62b1"></a>
303 <h2·class="memtitle"><span·class="permalink"><a·href="#a17dfce050325c0054b6e2fa422cb62b1">&#9670;&nbsp;</a></span>GetCreasingMethod()</h2>303 <h2·class="memtitle"><span·class="permalink"><a·href="#a17dfce050325c0054b6e2fa422cb62b1">&#9670;&nbsp;</a></span>GetCreasingMethod()</h2>
  
Offset 322, 15 lines modifiedOffset 322, 15 lines modified
322 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>322 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
323 ··</tr>323 ··</tr>
324 </table>324 </table>
325 </div><div·class="memdoc">325 </div><div·class="memdoc">
  
326 <p>Get·edge·crease·rule.·</p>326 <p>Get·edge·crease·rule.·</p>
  
327 <p·class="definition">Definition·at·line·<a·class="el"·href="a00770_source.html#l00101">101</a>·of·file·<a·class="el"·href="a00770_source.html">options.h</a>.</p>327 <p·class="definition">Definition·at·line·<a·class="el"·href="a00890_source.html#l00101">101</a>·of·file·<a·class="el"·href="a00890_source.html">options.h</a>.</p>
  
328 </div>328 </div>
329 </div>329 </div>
330 <a·id="acab24306782f101827103b87bbe4b8dd"·name="acab24306782f101827103b87bbe4b8dd"></a>330 <a·id="acab24306782f101827103b87bbe4b8dd"·name="acab24306782f101827103b87bbe4b8dd"></a>
331 <h2·class="memtitle"><span·class="permalink"><a·href="#acab24306782f101827103b87bbe4b8dd">&#9670;&nbsp;</a></span>GetFVarLinearInterpolation()</h2>331 <h2·class="memtitle"><span·class="permalink"><a·href="#acab24306782f101827103b87bbe4b8dd">&#9670;&nbsp;</a></span>GetFVarLinearInterpolation()</h2>
  
332 <div·class="memitem">332 <div·class="memitem">
Max diff block lines reached; 6042/15756 bytes (38.35%) of diff not shown.
50.1 KB
./usr/share/doc/opensubdiv/doxy_html/a01333.html
    
Offset 94, 15 lines modifiedOffset 94, 15 lines modified
94 </div><!--header-->94 </div><!--header-->
95 <div·class="contents">95 <div·class="contents">
  
96 <p><a·class="el"·href="a01333.html"·title="Scheme·is·a·class·template·which·provides·all·implementation·for·the·subdivision·schemes·supported·by...">Scheme</a>·is·a·class·template·which·provides·all·implementation·for·the·subdivision·schemes·supported·by·<a·class="el"·href="a00905.html">OpenSubdiv</a>·through·specializations·of·the·methods·of·each.·An·instance·of·Scheme&lt;SCHEME_TYPE&gt;·includes·a·set·of·<a·class="el"·href="a01329.html"·title="All·supported·options·applying·to·subdivision·scheme.">Options</a>·that·will·dictate·the·variable·aspects·of·its·behavior.·<br··/>96 <p><a·class="el"·href="a01333.html"·title="Scheme·is·a·class·template·which·provides·all·implementation·for·the·subdivision·schemes·supported·by...">Scheme</a>·is·a·class·template·which·provides·all·implementation·for·the·subdivision·schemes·supported·by·<a·class="el"·href="a00905.html">OpenSubdiv</a>·through·specializations·of·the·methods·of·each.·An·instance·of·Scheme&lt;SCHEME_TYPE&gt;·includes·a·set·of·<a·class="el"·href="a01329.html"·title="All·supported·options·applying·to·subdivision·scheme.">Options</a>·that·will·dictate·the·variable·aspects·of·its·behavior.·<br··/>
97 ··97 ··
98 ·<a·href="a01333.html#details">More...</a></p>98 ·<a·href="a01333.html#details">More...</a></p>
  
99 <p><code>#include·&lt;<a·class="el"·href="a00773_source.html">scheme.h</a>&gt;</code></p>99 <p><code>#include·&lt;<a·class="el"·href="a00887_source.html">scheme.h</a>&gt;</code></p>
100 <table·class="memberdecls">100 <table·class="memberdecls">
101 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>101 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
102 Classes</h2></td></tr>102 Classes</h2></td></tr>
103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01337.html">LocalMask</a></td></tr>103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01337.html">LocalMask</a></td></tr>
104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
105 </table><table·class="memberdecls">105 </table><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>
Offset 266, 15 lines modifiedOffset 266, 15 lines modified
266 <div·class="textblock"><div·class="compoundTemplParams">template&lt;<a·class="el"·href="a00913.html#aa3daa2f428c6be2b1cb394f3a525833d">SchemeType</a>·SCHEME_TYPE&gt;<br·/>266 <div·class="textblock"><div·class="compoundTemplParams">template&lt;<a·class="el"·href="a00913.html#aa3daa2f428c6be2b1cb394f3a525833d">SchemeType</a>·SCHEME_TYPE&gt;<br·/>
267 class·OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Scheme&lt;·SCHEME_TYPE·&gt;</div><p·><a·class="el"·href="a01333.html"·title="Scheme·is·a·class·template·which·provides·all·implementation·for·the·subdivision·schemes·supported·by...">Scheme</a>·is·a·class·template·which·provides·all·implementation·for·the·subdivision·schemes·supported·by·<a·class="el"·href="a00905.html">OpenSubdiv</a>·through·specializations·of·the·methods·of·each.·An·instance·of·Scheme&lt;SCHEME_TYPE&gt;·includes·a·set·of·<a·class="el"·href="a01329.html"·title="All·supported·options·applying·to·subdivision·scheme.">Options</a>·that·will·dictate·the·variable·aspects·of·its·behavior.·<br··/>267 class·OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Scheme&lt;·SCHEME_TYPE·&gt;</div><p·><a·class="el"·href="a01333.html"·title="Scheme·is·a·class·template·which·provides·all·implementation·for·the·subdivision·schemes·supported·by...">Scheme</a>·is·a·class·template·which·provides·all·implementation·for·the·subdivision·schemes·supported·by·<a·class="el"·href="a00905.html">OpenSubdiv</a>·through·specializations·of·the·methods·of·each.·An·instance·of·Scheme&lt;SCHEME_TYPE&gt;·includes·a·set·of·<a·class="el"·href="a01329.html"·title="All·supported·options·applying·to·subdivision·scheme.">Options</a>·that·will·dictate·the·variable·aspects·of·its·behavior.·<br··/>
268 ·</p>268 ·</p>
269 <p·>The·primary·purpose·of·<a·class="el"·href="a01333.html"·title="Scheme·is·a·class·template·which·provides·all·implementation·for·the·subdivision·schemes·supported·by...">Scheme</a>·is·to·provide·the·mask·weights·for·vertices·generated·by·subdivision.·Methods·to·determine·the·masks·are·given·topological·neighborhoods·from·which·to·compute·the·appropriate·weights·for·neighboring·components.·While·these·neighborhoods·may·require·sharpness·values·for·creasing,·the·computation·of·subdivided·crease·values·is·independent·of·the·scheme·type·and·is·also·made·available·through·the·<a·class="el"·href="a01325.html"·title="Types,·constants·and·utilities·related·to·semi-sharp·creasing··whose·implementation·is·independent·o...">Crease</a>·class.</p>269 <p·>The·primary·purpose·of·<a·class="el"·href="a01333.html"·title="Scheme·is·a·class·template·which·provides·all·implementation·for·the·subdivision·schemes·supported·by...">Scheme</a>·is·to·provide·the·mask·weights·for·vertices·generated·by·subdivision.·Methods·to·determine·the·masks·are·given·topological·neighborhoods·from·which·to·compute·the·appropriate·weights·for·neighboring·components.·While·these·neighborhoods·may·require·sharpness·values·for·creasing,·the·computation·of·subdivided·crease·values·is·independent·of·the·scheme·type·and·is·also·made·available·through·the·<a·class="el"·href="a01325.html"·title="Types,·constants·and·utilities·related·to·semi-sharp·creasing··whose·implementation·is·independent·o...">Crease</a>·class.</p>
270 <p·>Mask·queries·are·assisted·by·two·utility·classes·&ndash;·a·Neighborhood·class·defining·the·set·of·relevant·data·in·the·topological·neighborhood·of·the·vertex·being·subdivided,·and·a·Mask·class·into·which·the·associated·mask·weights·will·be·stored.·Depending·on·where·and·how·these·queries·are·used,·more·or·less·information·may·be·available.·See·the·details·of·the·Neighborhood·classes·as·appropriate·initialization·of·them·is·critical.·It·is·generally·best·to·initialize·them·with·what·data·is·known·and·accessible·for·immediate·and·efficient·retrieval,·but·subclasses·can·be·created·to·gather·it·lazily·if·desired.·<br··/>270 <p·>Mask·queries·are·assisted·by·two·utility·classes·&ndash;·a·Neighborhood·class·defining·the·set·of·relevant·data·in·the·topological·neighborhood·of·the·vertex·being·subdivided,·and·a·Mask·class·into·which·the·associated·mask·weights·will·be·stored.·Depending·on·where·and·how·these·queries·are·used,·more·or·less·information·may·be·available.·See·the·details·of·the·Neighborhood·classes·as·appropriate·initialization·of·them·is·critical.·It·is·generally·best·to·initialize·them·with·what·data·is·known·and·accessible·for·immediate·and·efficient·retrieval,·but·subclasses·can·be·created·to·gather·it·lazily·if·desired.·<br··/>
271 ·</p>271 ·</p>
  
272 <p·class="definition">Definition·at·line·<a·class="el"·href="a00773_source.html#l00066">66</a>·of·file·<a·class="el"·href="a00773_source.html">scheme.h</a>.</p>272 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00066">66</a>·of·file·<a·class="el"·href="a00887_source.html">scheme.h</a>.</p>
273 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>273 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
274 <a·id="a5c142c4d9c6f3be66bd018713591ffcb"·name="a5c142c4d9c6f3be66bd018713591ffcb"></a>274 <a·id="a5c142c4d9c6f3be66bd018713591ffcb"·name="a5c142c4d9c6f3be66bd018713591ffcb"></a>
275 <h2·class="memtitle"><span·class="permalink"><a·href="#a5c142c4d9c6f3be66bd018713591ffcb">&#9670;&nbsp;</a></span>Scheme()·<span·class="overload">[1/2]</span></h2>275 <h2·class="memtitle"><span·class="permalink"><a·href="#a5c142c4d9c6f3be66bd018713591ffcb">&#9670;&nbsp;</a></span>Scheme()·<span·class="overload">[1/2]</span></h2>
  
276 <div·class="memitem">276 <div·class="memitem">
277 <div·class="memproto">277 <div·class="memproto">
278 <table·class="mlabels">278 <table·class="mlabels">
Offset 291, 15 lines modifiedOffset 291, 15 lines modified
291 ··</td>291 ··</td>
292 ··<td·class="mlabels-right">292 ··<td·class="mlabels-right">
293 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>293 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
294 ··</tr>294 ··</tr>
295 </table>295 </table>
296 </div><div·class="memdoc">296 </div><div·class="memdoc">
  
297 <p·class="definition">Definition·at·line·<a·class="el"·href="a00773_source.html#l00070">70</a>·of·file·<a·class="el"·href="a00773_source.html">scheme.h</a>.</p>297 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00070">70</a>·of·file·<a·class="el"·href="a00887_source.html">scheme.h</a>.</p>
  
298 </div>298 </div>
299 </div>299 </div>
300 <a·id="add94f921c43fa14d886adfbcdcc00211"·name="add94f921c43fa14d886adfbcdcc00211"></a>300 <a·id="add94f921c43fa14d886adfbcdcc00211"·name="add94f921c43fa14d886adfbcdcc00211"></a>
301 <h2·class="memtitle"><span·class="permalink"><a·href="#add94f921c43fa14d886adfbcdcc00211">&#9670;&nbsp;</a></span>Scheme()·<span·class="overload">[2/2]</span></h2>301 <h2·class="memtitle"><span·class="permalink"><a·href="#add94f921c43fa14d886adfbcdcc00211">&#9670;&nbsp;</a></span>Scheme()·<span·class="overload">[2/2]</span></h2>
  
302 <div·class="memitem">302 <div·class="memitem">
Offset 319, 15 lines modifiedOffset 319, 15 lines modified
319 ··</td>319 ··</td>
320 ··<td·class="mlabels-right">320 ··<td·class="mlabels-right">
321 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>321 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
322 ··</tr>322 ··</tr>
323 </table>323 </table>
324 </div><div·class="memdoc">324 </div><div·class="memdoc">
  
325 <p·class="definition">Definition·at·line·<a·class="el"·href="a00773_source.html#l00072">72</a>·of·file·<a·class="el"·href="a00773_source.html">scheme.h</a>.</p>325 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00072">72</a>·of·file·<a·class="el"·href="a00887_source.html">scheme.h</a>.</p>
  
326 </div>326 </div>
327 </div>327 </div>
328 <h2·class="groupheader">Member·Function·Documentation</h2>328 <h2·class="groupheader">Member·Function·Documentation</h2>
329 <a·id="ab38c56ce6121aed94f2796bf5df894be"·name="ab38c56ce6121aed94f2796bf5df894be"></a>329 <a·id="ab38c56ce6121aed94f2796bf5df894be"·name="ab38c56ce6121aed94f2796bf5df894be"></a>
330 <h2·class="memtitle"><span·class="permalink"><a·href="#ab38c56ce6121aed94f2796bf5df894be">&#9670;&nbsp;</a></span>assignCornerLimitMask()·<span·class="overload">[1/4]</span></h2>330 <h2·class="memtitle"><span·class="permalink"><a·href="#ab38c56ce6121aed94f2796bf5df894be">&#9670;&nbsp;</a></span>assignCornerLimitMask()·<span·class="overload">[1/4]</span></h2>
  
Offset 358, 15 lines modifiedOffset 358, 15 lines modified
358 ··</td>358 ··</td>
359 ··<td·class="mlabels-right">359 ··<td·class="mlabels-right">
360 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td>360 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td>
361 ··</tr>361 ··</tr>
362 </table>362 </table>
363 </div><div·class="memdoc">363 </div><div·class="memdoc">
  
364 <p·class="definition">Definition·at·line·<a·class="el"·href="a00785_source.html#l00084">84</a>·of·file·<a·class="el"·href="a00785_source.html">bilinearScheme.h</a>.</p>364 <p·class="definition">Definition·at·line·<a·class="el"·href="a00899_source.html#l00084">84</a>·of·file·<a·class="el"·href="a00899_source.html">bilinearScheme.h</a>.</p>
  
365 </div>365 </div>
366 </div>366 </div>
367 <a·id="ab38c56ce6121aed94f2796bf5df894be"·name="ab38c56ce6121aed94f2796bf5df894be"></a>367 <a·id="ab38c56ce6121aed94f2796bf5df894be"·name="ab38c56ce6121aed94f2796bf5df894be"></a>
368 <h2·class="memtitle"><span·class="permalink"><a·href="#ab38c56ce6121aed94f2796bf5df894be">&#9670;&nbsp;</a></span>assignCornerLimitMask()·<span·class="overload">[2/4]</span></h2>368 <h2·class="memtitle"><span·class="permalink"><a·href="#ab38c56ce6121aed94f2796bf5df894be">&#9670;&nbsp;</a></span>assignCornerLimitMask()·<span·class="overload">[2/4]</span></h2>
  
369 <div·class="memitem">369 <div·class="memitem">
Offset 396, 15 lines modifiedOffset 396, 15 lines modified
396 ··</td>396 ··</td>
397 ··<td·class="mlabels-right">397 ··<td·class="mlabels-right">
398 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td>398 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td>
399 ··</tr>399 ··</tr>
400 </table>400 </table>
401 </div><div·class="memdoc">401 </div><div·class="memdoc">
  
402 <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>402 <p·class="definition">Definition·at·line·<a·class="el"·href="a00902_source.html#l00208">208</a>·of·file·<a·class="el"·href="a00902_source.html">catmarkScheme.h</a>.</p>
  
403 </div>403 </div>
404 </div>404 </div>
405 <a·id="ab38c56ce6121aed94f2796bf5df894be"·name="ab38c56ce6121aed94f2796bf5df894be"></a>405 <a·id="ab38c56ce6121aed94f2796bf5df894be"·name="ab38c56ce6121aed94f2796bf5df894be"></a>
406 <h2·class="memtitle"><span·class="permalink"><a·href="#ab38c56ce6121aed94f2796bf5df894be">&#9670;&nbsp;</a></span>assignCornerLimitMask()·<span·class="overload">[3/4]</span></h2>406 <h2·class="memtitle"><span·class="permalink"><a·href="#ab38c56ce6121aed94f2796bf5df894be">&#9670;&nbsp;</a></span>assignCornerLimitMask()·<span·class="overload">[3/4]</span></h2>
  
407 <div·class="memitem">407 <div·class="memitem">
Offset 434, 15 lines modifiedOffset 434, 15 lines modified
434 ··</td>434 ··</td>
435 ··<td·class="mlabels-right">435 ··<td·class="mlabels-right">
436 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td>436 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td>
437 ··</tr>437 ··</tr>
438 </table>438 </table>
439 </div><div·class="memdoc">439 </div><div·class="memdoc">
  
440 <p·class="definition">Definition·at·line·<a·class="el"·href="a00779_source.html#l00223">223</a>·of·file·<a·class="el"·href="a00779_source.html">loopScheme.h</a>.</p>440 <p·class="definition">Definition·at·line·<a·class="el"·href="a00893_source.html#l00223">223</a>·of·file·<a·class="el"·href="a00893_source.html">loopScheme.h</a>.</p>
  
441 </div>441 </div>
442 </div>442 </div>
443 <a·id="aa2821d365ea8135d6316c0f926f87ccb"·name="aa2821d365ea8135d6316c0f926f87ccb"></a>443 <a·id="aa2821d365ea8135d6316c0f926f87ccb"·name="aa2821d365ea8135d6316c0f926f87ccb"></a>
444 <h2·class="memtitle"><span·class="permalink"><a·href="#aa2821d365ea8135d6316c0f926f87ccb">&#9670;&nbsp;</a></span>assignCornerLimitMask()·<span·class="overload">[4/4]</span></h2>444 <h2·class="memtitle"><span·class="permalink"><a·href="#aa2821d365ea8135d6316c0f926f87ccb">&#9670;&nbsp;</a></span>assignCornerLimitMask()·<span·class="overload">[4/4]</span></h2>
  
445 <div·class="memitem">445 <div·class="memitem">
Offset 514, 15 lines modifiedOffset 514, 15 lines modified
514 ··</td>514 ··</td>
515 ··<td·class="mlabels-right">515 ··<td·class="mlabels-right">
516 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td>516 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td>
517 ··</tr>517 ··</tr>
518 </table>518 </table>
519 </div><div·class="memdoc">519 </div><div·class="memdoc">
  
520 <p·class="definition">Definition·at·line·<a·class="el"·href="a00785_source.html#l00118">118</a>·of·file·<a·class="el"·href="a00785_source.html">bilinearScheme.h</a>.</p>520 <p·class="definition">Definition·at·line·<a·class="el"·href="a00899_source.html#l00118">118</a>·of·file·<a·class="el"·href="a00899_source.html">bilinearScheme.h</a>.</p>
  
521 </div>521 </div>
522 </div>522 </div>
523 <a·id="ae9ee7f11f51ec6ff8c43ab0729454b54"·name="ae9ee7f11f51ec6ff8c43ab0729454b54"></a>523 <a·id="ae9ee7f11f51ec6ff8c43ab0729454b54"·name="ae9ee7f11f51ec6ff8c43ab0729454b54"></a>
524 <h2·class="memtitle"><span·class="permalink"><a·href="#ae9ee7f11f51ec6ff8c43ab0729454b54">&#9670;&nbsp;</a></span>assignCornerLimitTangentMasks()·<span·class="overload">[2/4]</span></h2>524 <h2·class="memtitle"><span·class="permalink"><a·href="#ae9ee7f11f51ec6ff8c43ab0729454b54">&#9670;&nbsp;</a></span>assignCornerLimitTangentMasks()·<span·class="overload">[2/4]</span></h2>
  
525 <div·class="memitem">525 <div·class="memitem">
Max diff block lines reached; 41613/51219 bytes (81.25%) of diff not shown.
17.5 KB
./usr/share/doc/opensubdiv/doxy_html/a01337.html
    
Offset 88, 15 lines modifiedOffset 88, 15 lines modified
88 <a·href="#pub-types">Public·Types</a>·&#124;88 <a·href="#pub-types">Public·Types</a>·&#124;
89 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;89 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
90 <a·href="a01334.html">List·of·all·members</a>··</div>90 <a·href="a01334.html">List·of·all·members</a>··</div>
91 ··<div·class="headertitle"><div·class="title">Scheme&lt;·SCHEME_TYPE·&gt;::LocalMask&lt;·WEIGHT·&gt;·Class·Template·Reference</div></div>91 ··<div·class="headertitle"><div·class="title">Scheme&lt;·SCHEME_TYPE·&gt;::LocalMask&lt;·WEIGHT·&gt;·Class·Template·Reference</div></div>
92 </div><!--header-->92 </div><!--header-->
93 <div·class="contents">93 <div·class="contents">
  
94 <p><code>#include·&lt;<a·class="el"·href="a00773_source.html">scheme.h</a>&gt;</code></p>94 <p><code>#include·&lt;<a·class="el"·href="a00887_source.html">scheme.h</a>&gt;</code></p>
95 <table·class="memberdecls">95 <table·class="memberdecls">
96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
97 Public·Types</h2></td></tr>97 Public·Types</h2></td></tr>
98 <tr·class="memitem:a173e98e0d1b3d15f5c3ad436d0fed401"><td·class="memItemLeft"·align="right"·valign="top">typedef·WEIGHT&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01337.html#a173e98e0d1b3d15f5c3ad436d0fed401">Weight</a></td></tr>98 <tr·class="memitem:a173e98e0d1b3d15f5c3ad436d0fed401"><td·class="memItemLeft"·align="right"·valign="top">typedef·WEIGHT&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01337.html#a173e98e0d1b3d15f5c3ad436d0fed401">Weight</a></td></tr>
99 <tr·class="separator:a173e98e0d1b3d15f5c3ad436d0fed401"><td·class="memSeparator"·colspan="2">&#160;</td></tr>99 <tr·class="separator:a173e98e0d1b3d15f5c3ad436d0fed401"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
100 </table><table·class="memberdecls">100 </table><table·class="memberdecls">
101 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>101 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
Offset 137, 29 lines modifiedOffset 137, 29 lines modified
137 <tr·class="memitem:a5ed800e9d702f57ae978fe60ba2a37dc"><td·class="memTemplItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01337.html#a5ed800e9d702f57ae978fe60ba2a37dc">CombineVertexVertexMasks</a>·(<a·class="el"·href="a01337.html#a173e98e0d1b3d15f5c3ad436d0fed401">Weight</a>·thisCoeff,·<a·class="el"·href="a01337.html#a173e98e0d1b3d15f5c3ad436d0fed401">Weight</a>·dstCoeff,·USER_MASK·&amp;dst)·const</td></tr>137 <tr·class="memitem:a5ed800e9d702f57ae978fe60ba2a37dc"><td·class="memTemplItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01337.html#a5ed800e9d702f57ae978fe60ba2a37dc">CombineVertexVertexMasks</a>·(<a·class="el"·href="a01337.html#a173e98e0d1b3d15f5c3ad436d0fed401">Weight</a>·thisCoeff,·<a·class="el"·href="a01337.html#a173e98e0d1b3d15f5c3ad436d0fed401">Weight</a>·dstCoeff,·USER_MASK·&amp;dst)·const</td></tr>
138 <tr·class="separator:a5ed800e9d702f57ae978fe60ba2a37dc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>138 <tr·class="separator:a5ed800e9d702f57ae978fe60ba2a37dc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
139 </table>139 </table>
140 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>140 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
141 <div·class="textblock"><div·class="compoundTemplParams">template&lt;<a·class="el"·href="a00913.html#aa3daa2f428c6be2b1cb394f3a525833d">SchemeType</a>·SCHEME_TYPE&gt;<br·/>141 <div·class="textblock"><div·class="compoundTemplParams">template&lt;<a·class="el"·href="a00913.html#aa3daa2f428c6be2b1cb394f3a525833d">SchemeType</a>·SCHEME_TYPE&gt;<br·/>
142 template&lt;typename·WEIGHT&gt;<br·/>142 template&lt;typename·WEIGHT&gt;<br·/>
143 class·OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Scheme&lt;·SCHEME_TYPE·&gt;::LocalMask&lt;·WEIGHT·&gt;</div>143 class·OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Scheme&lt;·SCHEME_TYPE·&gt;::LocalMask&lt;·WEIGHT·&gt;</div>
144 <p·class="definition">Definition·at·line·<a·class="el"·href="a00773_source.html#l00209">209</a>·of·file·<a·class="el"·href="a00773_source.html">scheme.h</a>.</p>144 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00209">209</a>·of·file·<a·class="el"·href="a00887_source.html">scheme.h</a>.</p>
145 </div><h2·class="groupheader">Member·Typedef·Documentation</h2>145 </div><h2·class="groupheader">Member·Typedef·Documentation</h2>
146 <a·id="a173e98e0d1b3d15f5c3ad436d0fed401"·name="a173e98e0d1b3d15f5c3ad436d0fed401"></a>146 <a·id="a173e98e0d1b3d15f5c3ad436d0fed401"·name="a173e98e0d1b3d15f5c3ad436d0fed401"></a>
147 <h2·class="memtitle"><span·class="permalink"><a·href="#a173e98e0d1b3d15f5c3ad436d0fed401">&#9670;&nbsp;</a></span>Weight</h2>147 <h2·class="memtitle"><span·class="permalink"><a·href="#a173e98e0d1b3d15f5c3ad436d0fed401">&#9670;&nbsp;</a></span>Weight</h2>
  
148 <div·class="memitem">148 <div·class="memitem">
149 <div·class="memproto">149 <div·class="memproto">
150 ······<table·class="memname">150 ······<table·class="memname">
151 ········<tr>151 ········<tr>
152 ··········<td·class="memname">typedef·WEIGHT·<a·class="el"·href="a01337.html#a173e98e0d1b3d15f5c3ad436d0fed401">Weight</a></td>152 ··········<td·class="memname">typedef·WEIGHT·<a·class="el"·href="a01337.html#a173e98e0d1b3d15f5c3ad436d0fed401">Weight</a></td>
153 ········</tr>153 ········</tr>
154 ······</table>154 ······</table>
155 </div><div·class="memdoc">155 </div><div·class="memdoc">
  
156 <p·class="definition">Definition·at·line·<a·class="el"·href="a00773_source.html#l00212">212</a>·of·file·<a·class="el"·href="a00773_source.html">scheme.h</a>.</p>156 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00212">212</a>·of·file·<a·class="el"·href="a00887_source.html">scheme.h</a>.</p>
  
157 </div>157 </div>
158 </div>158 </div>
159 <h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>159 <h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
160 <a·id="ac4b4c55fb24da95f154f4a9f517db079"·name="ac4b4c55fb24da95f154f4a9f517db079"></a>160 <a·id="ac4b4c55fb24da95f154f4a9f517db079"·name="ac4b4c55fb24da95f154f4a9f517db079"></a>
161 <h2·class="memtitle"><span·class="permalink"><a·href="#ac4b4c55fb24da95f154f4a9f517db079">&#9670;&nbsp;</a></span>LocalMask()</h2>161 <h2·class="memtitle"><span·class="permalink"><a·href="#ac4b4c55fb24da95f154f4a9f517db079">&#9670;&nbsp;</a></span>LocalMask()</h2>
  
Offset 196, 15 lines modifiedOffset 196, 15 lines modified
196 ··</td>196 ··</td>
197 ··<td·class="mlabels-right">197 ··<td·class="mlabels-right">
198 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>198 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
199 ··</tr>199 ··</tr>
200 </table>200 </table>
201 </div><div·class="memdoc">201 </div><div·class="memdoc">
  
202 <p·class="definition">Definition·at·line·<a·class="el"·href="a00773_source.html#l00215">215</a>·of·file·<a·class="el"·href="a00773_source.html">scheme.h</a>.</p>202 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00215">215</a>·of·file·<a·class="el"·href="a00887_source.html">scheme.h</a>.</p>
  
203 </div>203 </div>
204 </div>204 </div>
205 <a·id="af542937da6050342cb6d9c042e4b8952"·name="af542937da6050342cb6d9c042e4b8952"></a>205 <a·id="af542937da6050342cb6d9c042e4b8952"·name="af542937da6050342cb6d9c042e4b8952"></a>
206 <h2·class="memtitle"><span·class="permalink"><a·href="#af542937da6050342cb6d9c042e4b8952">&#9670;&nbsp;</a></span>~LocalMask()</h2>206 <h2·class="memtitle"><span·class="permalink"><a·href="#af542937da6050342cb6d9c042e4b8952">&#9670;&nbsp;</a></span>~LocalMask()</h2>
  
207 <div·class="memitem">207 <div·class="memitem">
Offset 223, 15 lines modifiedOffset 223, 15 lines modified
223 ··</td>223 ··</td>
224 ··<td·class="mlabels-right">224 ··<td·class="mlabels-right">
225 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>225 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
226 ··</tr>226 ··</tr>
227 </table>227 </table>
228 </div><div·class="memdoc">228 </div><div·class="memdoc">
  
229 <p·class="definition">Definition·at·line·<a·class="el"·href="a00773_source.html#l00216">216</a>·of·file·<a·class="el"·href="a00773_source.html">scheme.h</a>.</p>229 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00216">216</a>·of·file·<a·class="el"·href="a00887_source.html">scheme.h</a>.</p>
  
230 </div>230 </div>
231 </div>231 </div>
232 <h2·class="groupheader">Member·Function·Documentation</h2>232 <h2·class="groupheader">Member·Function·Documentation</h2>
233 <a·id="a3519e5e05631026fad94c7616f5e0e67"·name="a3519e5e05631026fad94c7616f5e0e67"></a>233 <a·id="a3519e5e05631026fad94c7616f5e0e67"·name="a3519e5e05631026fad94c7616f5e0e67"></a>
234 <h2·class="memtitle"><span·class="permalink"><a·href="#a3519e5e05631026fad94c7616f5e0e67">&#9670;&nbsp;</a></span>AreFaceWeightsForFaceCenters()</h2>234 <h2·class="memtitle"><span·class="permalink"><a·href="#a3519e5e05631026fad94c7616f5e0e67">&#9670;&nbsp;</a></span>AreFaceWeightsForFaceCenters()</h2>
  
Offset 251, 15 lines modifiedOffset 251, 15 lines modified
251 ··</td>251 ··</td>
252 ··<td·class="mlabels-right">252 ··<td·class="mlabels-right">
253 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>253 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
254 ··</tr>254 ··</tr>
255 </table>255 </table>
256 </div><div·class="memdoc">256 </div><div·class="memdoc">
  
257 <p·class="definition">Definition·at·line·<a·class="el"·href="a00773_source.html#l00239">239</a>·of·file·<a·class="el"·href="a00773_source.html">scheme.h</a>.</p>257 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00239">239</a>·of·file·<a·class="el"·href="a00887_source.html">scheme.h</a>.</p>
  
258 </div>258 </div>
259 </div>259 </div>
260 <a·id="a5ed800e9d702f57ae978fe60ba2a37dc"·name="a5ed800e9d702f57ae978fe60ba2a37dc"></a>260 <a·id="a5ed800e9d702f57ae978fe60ba2a37dc"·name="a5ed800e9d702f57ae978fe60ba2a37dc"></a>
261 <h2·class="memtitle"><span·class="permalink"><a·href="#a5ed800e9d702f57ae978fe60ba2a37dc">&#9670;&nbsp;</a></span>CombineVertexVertexMasks()</h2>261 <h2·class="memtitle"><span·class="permalink"><a·href="#a5ed800e9d702f57ae978fe60ba2a37dc">&#9670;&nbsp;</a></span>CombineVertexVertexMasks()</h2>
  
262 <div·class="memitem">262 <div·class="memitem">
Offset 295, 15 lines modifiedOffset 295, 15 lines modified
295 ··</td>295 ··</td>
296 ··<td·class="mlabels-right">296 ··<td·class="mlabels-right">
297 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>297 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
298 ··</tr>298 ··</tr>
299 </table>299 </table>
300 </div><div·class="memdoc">300 </div><div·class="memdoc">
  
301 <p·class="definition">Definition·at·line·<a·class="el"·href="a00773_source.html#l00249">249</a>·of·file·<a·class="el"·href="a00773_source.html">scheme.h</a>.</p>301 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00249">249</a>·of·file·<a·class="el"·href="a00887_source.html">scheme.h</a>.</p>
  
302 </div>302 </div>
303 </div>303 </div>
304 <a·id="a533dba32a946854c3f25e27b521ef7df"·name="a533dba32a946854c3f25e27b521ef7df"></a>304 <a·id="a533dba32a946854c3f25e27b521ef7df"·name="a533dba32a946854c3f25e27b521ef7df"></a>
305 <h2·class="memtitle"><span·class="permalink"><a·href="#a533dba32a946854c3f25e27b521ef7df">&#9670;&nbsp;</a></span>EdgeWeight()·<span·class="overload">[1/2]</span></h2>305 <h2·class="memtitle"><span·class="permalink"><a·href="#a533dba32a946854c3f25e27b521ef7df">&#9670;&nbsp;</a></span>EdgeWeight()·<span·class="overload">[1/2]</span></h2>
  
306 <div·class="memitem">306 <div·class="memitem">
Offset 323, 15 lines modifiedOffset 323, 15 lines modified
323 ··</td>323 ··</td>
324 ··<td·class="mlabels-right">324 ··<td·class="mlabels-right">
325 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>325 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
326 ··</tr>326 ··</tr>
327 </table>327 </table>
328 </div><div·class="memdoc">328 </div><div·class="memdoc">
  
329 <p·class="definition">Definition·at·line·<a·class="el"·href="a00773_source.html#l00236">236</a>·of·file·<a·class="el"·href="a00773_source.html">scheme.h</a>.</p>329 <p·class="definition">Definition·at·line·<a·class="el"·href="a00887_source.html#l00236">236</a>·of·file·<a·class="el"·href="a00887_source.html">scheme.h</a>.</p>
  
330 </div>330 </div>
331 </div>331 </div>
332 <a·id="a4db932a8a33fd0622c7d01167eb14b52"·name="a4db932a8a33fd0622c7d01167eb14b52"></a>332 <a·id="a4db932a8a33fd0622c7d01167eb14b52"·name="a4db932a8a33fd0622c7d01167eb14b52"></a>
333 <h2·class="memtitle"><span·class="permalink"><a·href="#a4db932a8a33fd0622c7d01167eb14b52">&#9670;&nbsp;</a></span>EdgeWeight()·<span·class="overload">[2/2]</span></h2>333 <h2·class="memtitle"><span·class="permalink"><a·href="#a4db932a8a33fd0622c7d01167eb14b52">&#9670;&nbsp;</a></span>EdgeWeight()·<span·class="overload">[2/2]</span></h2>
  
334 <div·class="memitem">334 <div·class="memitem">
Offset 351, 15 lines modifiedOffset 351, 15 lines modified
351 ··</td>351 ··</td>
Max diff block lines reached; 9957/17803 bytes (55.93%) of diff not shown.
1.13 KB
./usr/share/doc/opensubdiv/doxy_html/a01481.html
    
Offset 88, 15 lines modifiedOffset 88, 15 lines modified
88 <a·href="#nested-classes">Classes</a>·&#124;88 <a·href="#nested-classes">Classes</a>·&#124;
89 <a·href="#namespaces">Namespaces</a>·&#124;89 <a·href="#namespaces">Namespaces</a>·&#124;
90 <a·href="#typedef-members">Typedefs</a>··</div>90 <a·href="#typedef-members">Typedefs</a>··</div>
91 ··<div·class="headertitle"><div·class="title">types.h·File·Reference</div></div>91 ··<div·class="headertitle"><div·class="title">types.h·File·Reference</div></div>
92 </div><!--header-->92 </div><!--header-->
93 <div·class="contents">93 <div·class="contents">
94 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>94 <div·class="textblock"><code>#include·&quot;../version.h&quot;</code><br·/>
95 <code>#include·&quot;<a·class="el"·href="a00731_source.html">../far/patchTable.h</a>&quot;</code><br·/>95 <code>#include·&quot;<a·class="el"·href="a00734_source.html">../far/patchTable.h</a>&quot;</code><br·/>
96 <code>#include·&lt;algorithm&gt;</code><br·/>96 <code>#include·&lt;algorithm&gt;</code><br·/>
97 </div>97 </div>
98 <p><a·href="a01481_source.html">Go·to·the·source·code·of·this·file.</a></p>98 <p><a·href="a01481_source.html">Go·to·the·source·code·of·this·file.</a></p>
99 <table·class="memberdecls">99 <table·class="memberdecls">
100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
101 Classes</h2></td></tr>101 Classes</h2></td></tr>
102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01313.html">PatchCoord</a></td></tr>102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01313.html">PatchCoord</a></td></tr>
7.56 KB
./usr/share/doc/opensubdiv/doxy_html/a01481_source.html
    
Offset 220, 18 lines modifiedOffset 220, 18 lines modified
220 <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>220 <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>
221 <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>221 <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>
222 <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&lt;·PatchParam·&gt;·PatchParamVector</div><div·class="ttdef"><b>Definition:</b>·<a·href="a01481_source.html#l00133">types.h:133</a></div></div>222 <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&lt;·PatchParam·&gt;·PatchParamVector</div><div·class="ttdef"><b>Definition:</b>·<a·href="a01481_source.html#l00133">types.h:133</a></div></div>
223 <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&lt;·PatchArray·&gt;·PatchArrayVector</div><div·class="ttdef"><b>Definition:</b>·<a·href="a01481_source.html#l00132">types.h:132</a></div></div>223 <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&lt;·PatchArray·&gt;·PatchArrayVector</div><div·class="ttdef"><b>Definition:</b>·<a·href="a01481_source.html#l00132">types.h:132</a></div></div>
224 <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>224 <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>
225 <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>225 <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>
226 <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>226 <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>
227 <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>227 <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="a00734_source.html#l00060">patchTable.h:60</a></div></div>
228 <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>228 <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="a00734_source.html#l00068">patchTable.h:68</a></div></div>
229 <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>229 <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="a00734_source.html#l00067">patchTable.h:67</a></div></div>
230 <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>230 <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="a00734_source.html#l00069">patchTable.h:69</a></div></div>
231 <div·class="ttc"·id="aa01313_html"><div·class="ttname"><a·href="a01313.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="a01481_source.html#l00042">types.h:42</a></div></div>231 <div·class="ttc"·id="aa01313_html"><div·class="ttname"><a·href="a01313.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="a01481_source.html#l00042">types.h:42</a></div></div>
232 <div·class="ttc"·id="aa01313_html_a06ae6afa9ea8e2028021f8ee3f28b824"><div·class="ttname"><a·href="a01313.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="a01481_source.html#l00062">types.h:62</a></div></div>232 <div·class="ttc"·id="aa01313_html_a06ae6afa9ea8e2028021f8ee3f28b824"><div·class="ttname"><a·href="a01313.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="a01481_source.html#l00062">types.h:62</a></div></div>
233 <div·class="ttc"·id="aa01313_html_a5e6a814c3f060dc9575af4082f4d905e"><div·class="ttname"><a·href="a01313.html#a5e6a814c3f060dc9575af4082f4d905e">OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchCoord::PatchCoord</a></div><div·class="ttdeci">PatchCoord()</div><div·class="ttdef"><b>Definition:</b>·<a·href="a01481_source.html#l00056">types.h:56</a></div></div>233 <div·class="ttc"·id="aa01313_html_a5e6a814c3f060dc9575af4082f4d905e"><div·class="ttname"><a·href="a01313.html#a5e6a814c3f060dc9575af4082f4d905e">OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchCoord::PatchCoord</a></div><div·class="ttdeci">PatchCoord()</div><div·class="ttdef"><b>Definition:</b>·<a·href="a01481_source.html#l00056">types.h:56</a></div></div>
234 <div·class="ttc"·id="aa01313_html_a874f74a4dc1c9a0cd9c6e0d79c298f55"><div·class="ttname"><a·href="a01313.html#a874f74a4dc1c9a0cd9c6e0d79c298f55">OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchCoord::s</a></div><div·class="ttdeci">float·s</div><div·class="ttdef"><b>Definition:</b>·<a·href="a01481_source.html#l00063">types.h:63</a></div></div>234 <div·class="ttc"·id="aa01313_html_a874f74a4dc1c9a0cd9c6e0d79c298f55"><div·class="ttname"><a·href="a01313.html#a874f74a4dc1c9a0cd9c6e0d79c298f55">OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchCoord::s</a></div><div·class="ttdeci">float·s</div><div·class="ttdef"><b>Definition:</b>·<a·href="a01481_source.html#l00063">types.h:63</a></div></div>
235 <div·class="ttc"·id="aa01313_html_abe64006c4fe55b720f483bd7711bf216"><div·class="ttname"><a·href="a01313.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="a01481_source.html#l00053">types.h:53</a></div></div>235 <div·class="ttc"·id="aa01313_html_abe64006c4fe55b720f483bd7711bf216"><div·class="ttname"><a·href="a01313.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="a01481_source.html#l00053">types.h:53</a></div></div>
236 <div·class="ttc"·id="aa01313_html_afea36502e9d227ff62c5fb2719a246f2"><div·class="ttname"><a·href="a01313.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="a01481_source.html#l00063">types.h:63</a></div></div>236 <div·class="ttc"·id="aa01313_html_afea36502e9d227ff62c5fb2719a246f2"><div·class="ttname"><a·href="a01313.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="a01481_source.html#l00063">types.h:63</a></div></div>
237 <div·class="ttc"·id="aa01317_html"><div·class="ttname"><a·href="a01317.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchArray</a></div><div·class="ttdef"><b>Definition:</b>·<a·href="a01481_source.html#l00066">types.h:66</a></div></div>237 <div·class="ttc"·id="aa01317_html"><div·class="ttname"><a·href="a01317.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchArray</a></div><div·class="ttdef"><b>Definition:</b>·<a·href="a01481_source.html#l00066">types.h:66</a></div></div>
21.7 KB
./usr/share/doc/opensubdiv/doxy_html/dir_2483050b711c1829a6434006d0beb10c.html
    
Offset 86, 91 lines modifiedOffset 86, 91 lines modified
86 <div·class="header">86 <div·class="header">
87 ··<div·class="headertitle"><div·class="title">osd·Directory·Reference</div></div>87 ··<div·class="headertitle"><div·class="title">osd·Directory·Reference</div></div>
88 </div><!--header-->88 </div><!--header-->
89 <div·class="contents">89 <div·class="contents">
90 <table·class="memberdecls">90 <table·class="memberdecls">
91 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>91 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>
92 Files</h2></td></tr>92 Files</h2></td></tr>
93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00899.html">bufferDescriptor.h</a>·<a·href="a00899_source.html">[code]</a></td></tr>93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00881.html">bufferDescriptor.h</a>·<a·href="a00881_source.html">[code]</a></td></tr>
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00803.html">clEvaluator.h</a>·<a·href="a00803_source.html">[code]</a></td></tr>95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00785.html">clEvaluator.h</a>·<a·href="a00785_source.html">[code]</a></td></tr>
96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00800.html">clPatchTable.h</a>·<a·href="a00800_source.html">[code]</a></td></tr>97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00782.html">clPatchTable.h</a>·<a·href="a00782_source.html">[code]</a></td></tr>
98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00797.html">clVertexBuffer.h</a>·<a·href="a00797_source.html">[code]</a></td></tr>99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00779.html">clVertexBuffer.h</a>·<a·href="a00779_source.html">[code]</a></td></tr>
100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00845.html">cpuD3D11VertexBuffer.h</a>·<a·href="a00845_source.html">[code]</a></td></tr>101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00824.html">cpuD3D11VertexBuffer.h</a>·<a·href="a00824_source.html">[code]</a></td></tr>
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00896.html">cpuEvaluator.h</a>·<a·href="a00896_source.html">[code]</a></td></tr>103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00878.html">cpuEvaluator.h</a>·<a·href="a00878_source.html">[code]</a></td></tr>
104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
105 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00869.html">cpuGLVertexBuffer.h</a>·<a·href="a00869_source.html">[code]</a></td></tr>105 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00851.html">cpuGLVertexBuffer.h</a>·<a·href="a00851_source.html">[code]</a></td></tr>
106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
107 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00893.html">cpuPatchTable.h</a>·<a·href="a00893_source.html">[code]</a></td></tr>107 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00872.html">cpuPatchTable.h</a>·<a·href="a00872_source.html">[code]</a></td></tr>
108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
109 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00890.html">cpuVertexBuffer.h</a>·<a·href="a00890_source.html">[code]</a></td></tr>109 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00875.html">cpuVertexBuffer.h</a>·<a·href="a00875_source.html">[code]</a></td></tr>
110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
111 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00791.html">cudaEvaluator.h</a>·<a·href="a00791_source.html">[code]</a></td></tr>111 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00773.html">cudaEvaluator.h</a>·<a·href="a00773_source.html">[code]</a></td></tr>
112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
113 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00788.html">cudaPatchTable.h</a>·<a·href="a00788_source.html">[code]</a></td></tr>113 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00770.html">cudaPatchTable.h</a>·<a·href="a00770_source.html">[code]</a></td></tr>
114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
115 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00902.html">cudaVertexBuffer.h</a>·<a·href="a00902_source.html">[code]</a></td></tr>115 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00884.html">cudaVertexBuffer.h</a>·<a·href="a00884_source.html">[code]</a></td></tr>
116 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>116 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
117 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00842.html">d3d11ComputeEvaluator.h</a>·<a·href="a00842_source.html">[code]</a></td></tr>117 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00827.html">d3d11ComputeEvaluator.h</a>·<a·href="a00827_source.html">[code]</a></td></tr>
118 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>118 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
119 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00839.html">d3d11LegacyGregoryPatchTable.h</a>·<a·href="a00839_source.html">[code]</a></td></tr>119 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00821.html">d3d11LegacyGregoryPatchTable.h</a>·<a·href="a00821_source.html">[code]</a></td></tr>
120 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>120 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
121 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00827.html">d3d11Mesh.h</a>·<a·href="a00827_source.html">[code]</a></td></tr>121 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00812.html">d3d11Mesh.h</a>·<a·href="a00812_source.html">[code]</a></td></tr>
122 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>122 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
123 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00836.html">d3d11PatchTable.h</a>·<a·href="a00836_source.html">[code]</a></td></tr>123 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00818.html">d3d11PatchTable.h</a>·<a·href="a00818_source.html">[code]</a></td></tr>
124 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>124 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
125 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00833.html">d3d11VertexBuffer.h</a>·<a·href="a00833_source.html">[code]</a></td></tr>125 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00815.html">d3d11VertexBuffer.h</a>·<a·href="a00815_source.html">[code]</a></td></tr>
126 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>126 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
127 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00848.html">glComputeEvaluator.h</a>·<a·href="a00848_source.html">[code]</a></td></tr>127 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00833.html">glComputeEvaluator.h</a>·<a·href="a00833_source.html">[code]</a></td></tr>
128 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>128 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
129 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00863.html">glLegacyGregoryPatchTable.h</a>·<a·href="a00863_source.html">[code]</a></td></tr>129 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00848.html">glLegacyGregoryPatchTable.h</a>·<a·href="a00848_source.html">[code]</a></td></tr>
130 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>130 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
131 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00857.html">glMesh.h</a>·<a·href="a00857_source.html">[code]</a></td></tr>131 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00839.html">glMesh.h</a>·<a·href="a00839_source.html">[code]</a></td></tr>
132 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>132 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
133 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00866.html">glPatchTable.h</a>·<a·href="a00866_source.html">[code]</a></td></tr>133 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00842.html">glPatchTable.h</a>·<a·href="a00842_source.html">[code]</a></td></tr>
134 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>134 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
135 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00854.html">glslPatchShaderSource.h</a>·<a·href="a00854_source.html">[code]</a></td></tr>135 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00836.html">glslPatchShaderSource.h</a>·<a·href="a00836_source.html">[code]</a></td></tr>
136 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>136 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
137 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00860.html">glVertexBuffer.h</a>·<a·href="a00860_source.html">[code]</a></td></tr>137 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00845.html">glVertexBuffer.h</a>·<a·href="a00845_source.html">[code]</a></td></tr>
138 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>138 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
139 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00851.html">glXFBEvaluator.h</a>·<a·href="a00851_source.html">[code]</a></td></tr>139 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00830.html">glXFBEvaluator.h</a>·<a·href="a00830_source.html">[code]</a></td></tr>
140 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>140 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
141 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00830.html">hlslPatchShaderSource.h</a>·<a·href="a00830_source.html">[code]</a></td></tr>141 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00809.html">hlslPatchShaderSource.h</a>·<a·href="a00809_source.html">[code]</a></td></tr>
142 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>142 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
143 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00887.html">mesh.h</a>·<a·href="a00887_source.html">[code]</a></td></tr>143 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00869.html">mesh.h</a>·<a·href="a00869_source.html">[code]</a></td></tr>
144 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>144 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
145 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00806.html">mtlCommon.h</a>·<a·href="a00806_source.html">[code]</a></td></tr>145 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00788.html">mtlCommon.h</a>·<a·href="a00788_source.html">[code]</a></td></tr>
146 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>146 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
147 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00821.html">mtlComputeEvaluator.h</a>·<a·href="a00821_source.html">[code]</a></td></tr>147 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00803.html">mtlComputeEvaluator.h</a>·<a·href="a00803_source.html">[code]</a></td></tr>
148 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>148 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
149 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00818.html">mtlLegacyGregoryPatchTable.h</a>·<a·href="a00818_source.html">[code]</a></td></tr>149 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00800.html">mtlLegacyGregoryPatchTable.h</a>·<a·href="a00800_source.html">[code]</a></td></tr>
150 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>150 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
151 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00809.html">mtlMesh.h</a>·<a·href="a00809_source.html">[code]</a></td></tr>151 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00794.html">mtlMesh.h</a>·<a·href="a00794_source.html">[code]</a></td></tr>
152 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>152 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
153 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00812.html">mtlPatchShaderSource.h</a>·<a·href="a00812_source.html">[code]</a></td></tr>153 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00791.html">mtlPatchShaderSource.h</a>·<a·href="a00791_source.html">[code]</a></td></tr>
154 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>154 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
155 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00815.html">mtlPatchTable.h</a>·<a·href="a00815_source.html">[code]</a></td></tr>155 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00797.html">mtlPatchTable.h</a>·<a·href="a00797_source.html">[code]</a></td></tr>
156 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>156 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
157 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00824.html">mtlVertexBuffer.h</a>·<a·href="a00824_source.html">[code]</a></td></tr>157 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00806.html">mtlVertexBuffer.h</a>·<a·href="a00806_source.html">[code]</a></td></tr>
158 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>158 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
159 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00881.html">ompEvaluator.h</a>·<a·href="a00881_source.html">[code]</a></td></tr>159 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00863.html">ompEvaluator.h</a>·<a·href="a00863_source.html">[code]</a></td></tr>
160 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>160 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
161 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00878.html">ompKernel.h</a>·<a·href="a00878_source.html">[code]</a></td></tr>161 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00860.html">ompKernel.h</a>·<a·href="a00860_source.html">[code]</a></td></tr>
162 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>162 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
163 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00794.html">opencl.h</a>·<a·href="a00794_source.html">[code]</a></td></tr>163 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00776.html">opencl.h</a>·<a·href="a00776_source.html">[code]</a></td></tr>
164 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>164 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
165 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00884.html">opengl.h</a>·<a·href="a00884_source.html">[code]</a></td></tr>165 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00866.html">opengl.h</a>·<a·href="a00866_source.html">[code]</a></td></tr>
166 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>166 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
167 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00875.html">tbbEvaluator.h</a>·<a·href="a00875_source.html">[code]</a></td></tr>167 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00857.html">tbbEvaluator.h</a>·<a·href="a00857_source.html">[code]</a></td></tr>
168 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>168 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
169 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00872.html">tbbKernel.h</a>·<a·href="a00872_source.html">[code]</a></td></tr>169 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00854.html">tbbKernel.h</a>·<a·href="a00854_source.html">[code]</a></td></tr>
170 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>170 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
171 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01481.html">types.h</a>·<a·href="a01481_source.html">[code]</a></td></tr>171 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01481.html">types.h</a>·<a·href="a01481_source.html">[code]</a></td></tr>
172 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>172 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
173 </table>173 </table>
174 </div><!--·contents·-->174 </div><!--·contents·-->
175 </div><!--·doc-content·-->175 </div><!--·doc-content·-->
176 <!--·start·footer·part·-->176 <!--·start·footer·part·-->
4.26 KB
./usr/share/doc/opensubdiv/doxy_html/dir_2483050b711c1829a6434006d0beb10c.js
4.11 KB
js-beautify {}
    
Offset 1, 42 lines modifiedOffset 1, 42 lines modified
1 var·dir_2483050b711c1829a6434006d0beb10c·=·[1 var·dir_2483050b711c1829a6434006d0beb10c·=·[
2 ····["bufferDescriptor.h",·"a00899.html",·"a00899"],2 ····["bufferDescriptor.h",·"a00881.html",·"a00881"],
3 ····["clEvaluator.h",·"a00803.html",·"a00803"],3 ····["clEvaluator.h",·"a00785.html",·"a00785"],
4 ····["clPatchTable.h",·"a00800.html",·"a00800"],4 ····["clPatchTable.h",·"a00782.html",·"a00782"],
5 ····["clVertexBuffer.h",·"a00797.html",·"a00797"],5 ····["clVertexBuffer.h",·"a00779.html",·"a00779"],
6 ····["cpuD3D11VertexBuffer.h",·"a00845.html",·"a00845"],6 ····["cpuD3D11VertexBuffer.h",·"a00824.html",·"a00824"],
7 ····["cpuEvaluator.h",·"a00896.html",·"a00896"],7 ····["cpuEvaluator.h",·"a00878.html",·"a00878"],
8 ····["cpuGLVertexBuffer.h",·"a00869.html",·"a00869"],8 ····["cpuGLVertexBuffer.h",·"a00851.html",·"a00851"],
9 ····["cpuPatchTable.h",·"a00893.html",·"a00893"],9 ····["cpuPatchTable.h",·"a00872.html",·"a00872"],
10 ····["cpuVertexBuffer.h",·"a00890.html",·"a00890"],10 ····["cpuVertexBuffer.h",·"a00875.html",·"a00875"],
11 ····["cudaEvaluator.h",·"a00791.html",·"a00791"],11 ····["cudaEvaluator.h",·"a00773.html",·"a00773"],
12 ····["cudaPatchTable.h",·"a00788.html",·"a00788"],12 ····["cudaPatchTable.h",·"a00770.html",·"a00770"],
13 ····["cudaVertexBuffer.h",·"a00902.html",·"a00902"],13 ····["cudaVertexBuffer.h",·"a00884.html",·"a00884"],
14 ····["d3d11ComputeEvaluator.h",·"a00842.html",·"a00842"],14 ····["d3d11ComputeEvaluator.h",·"a00827.html",·"a00827"],
15 ····["d3d11LegacyGregoryPatchTable.h",·"a00839.html",·"a00839"],15 ····["d3d11LegacyGregoryPatchTable.h",·"a00821.html",·"a00821"],
16 ····["d3d11Mesh.h",·"a00827.html",·"a00827"],16 ····["d3d11Mesh.h",·"a00812.html",·"a00812"],
17 ····["d3d11PatchTable.h",·"a00836.html",·"a00836"],17 ····["d3d11PatchTable.h",·"a00818.html",·"a00818"],
18 ····["d3d11VertexBuffer.h",·"a00833.html",·"a00833"],18 ····["d3d11VertexBuffer.h",·"a00815.html",·"a00815"],
19 ····["glComputeEvaluator.h",·"a00848.html",·"a00848"],19 ····["glComputeEvaluator.h",·"a00833.html",·"a00833"],
20 ····["glLegacyGregoryPatchTable.h",·"a00863.html",·"a00863"],20 ····["glLegacyGregoryPatchTable.h",·"a00848.html",·"a00848"],
21 ····["glMesh.h",·"a00857.html",·"a00857"],21 ····["glMesh.h",·"a00839.html",·"a00839"],
22 ····["glPatchTable.h",·"a00866.html",·"a00866"],22 ····["glPatchTable.h",·"a00842.html",·"a00842"],
23 ····["glslPatchShaderSource.h",·"a00854.html",·"a00854"],23 ····["glslPatchShaderSource.h",·"a00836.html",·"a00836"],
24 ····["glVertexBuffer.h",·"a00860.html",·"a00860"],24 ····["glVertexBuffer.h",·"a00845.html",·"a00845"],
25 ····["glXFBEvaluator.h",·"a00851.html",·"a00851"],25 ····["glXFBEvaluator.h",·"a00830.html",·"a00830"],
26 ····["hlslPatchShaderSource.h",·"a00830.html",·"a00830"],26 ····["hlslPatchShaderSource.h",·"a00809.html",·"a00809"],
27 ····["mesh.h",·"a00887.html",·"a00887"],27 ····["mesh.h",·"a00869.html",·"a00869"],
28 ····["mtlCommon.h",·"a00806.html",·"a00806"],28 ····["mtlCommon.h",·"a00788.html",·"a00788"],
29 ····["mtlComputeEvaluator.h",·"a00821.html",·"a00821"],29 ····["mtlComputeEvaluator.h",·"a00803.html",·"a00803"],
30 ····["mtlLegacyGregoryPatchTable.h",·"a00818.html",·"a00818"],30 ····["mtlLegacyGregoryPatchTable.h",·"a00800.html",·"a00800"],
31 ····["mtlMesh.h",·"a00809.html",·"a00809"],31 ····["mtlMesh.h",·"a00794.html",·"a00794"],
32 ····["mtlPatchShaderSource.h",·"a00812.html",·"a00812"],32 ····["mtlPatchShaderSource.h",·"a00791.html",·"a00791"],
33 ····["mtlPatchTable.h",·"a00815.html",·"a00815"],33 ····["mtlPatchTable.h",·"a00797.html",·"a00797"],
34 ····["mtlVertexBuffer.h",·"a00824.html",·"a00824"],34 ····["mtlVertexBuffer.h",·"a00806.html",·"a00806"],
35 ····["ompEvaluator.h",·"a00881.html",·"a00881"],35 ····["ompEvaluator.h",·"a00863.html",·"a00863"],
36 ····["ompKernel.h",·"a00878.html",·"a00878"],36 ····["ompKernel.h",·"a00860.html",·"a00860"],
37 ····["opencl.h",·"a00794.html",·null],37 ····["opencl.h",·"a00776.html",·null],
38 ····["opengl.h",·"a00884.html",·null],38 ····["opengl.h",·"a00866.html",·null],
39 ····["tbbEvaluator.h",·"a00875.html",·"a00875"],39 ····["tbbEvaluator.h",·"a00857.html",·"a00857"],
40 ····["tbbKernel.h",·"a00872.html",·"a00872"],40 ····["tbbKernel.h",·"a00854.html",·"a00854"],
41 ····["types.h",·"a01481.html",·"a01481"]41 ····["types.h",·"a01481.html",·"a01481"]
42 ];42 ];
5.66 KB
./usr/share/doc/opensubdiv/doxy_html/dir_7f420b72a822828cfa8b0561c695a5cc.html
    
Offset 90, 19 lines modifiedOffset 90, 19 lines modified
90 <table·class="memberdecls">90 <table·class="memberdecls">
91 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>91 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>
92 Files</h2></td></tr>92 Files</h2></td></tr>
93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00743.html">error.h</a>·<a·href="a00743_source.html">[code]</a></td></tr>93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00743.html">error.h</a>·<a·href="a00743_source.html">[code]</a></td></tr>
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00740.html">patchDescriptor.h</a>·<a·href="a00740_source.html">[code]</a></td></tr>95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00740.html">patchDescriptor.h</a>·<a·href="a00740_source.html">[code]</a></td></tr>
96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00734.html">patchMap.h</a>·<a·href="a00734_source.html">[code]</a></td></tr>97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00731.html">patchMap.h</a>·<a·href="a00731_source.html">[code]</a></td></tr>
98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00737.html">patchParam.h</a>·<a·href="a00737_source.html">[code]</a></td></tr>99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00737.html">patchParam.h</a>·<a·href="a00737_source.html">[code]</a></td></tr>
100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00731.html">patchTable.h</a>·<a·href="a00731_source.html">[code]</a></td></tr>101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00734.html">patchTable.h</a>·<a·href="a00734_source.html">[code]</a></td></tr>
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00728.html">patchTableFactory.h</a>·<a·href="a00728_source.html">[code]</a></td></tr>103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00728.html">patchTableFactory.h</a>·<a·href="a00728_source.html">[code]</a></td></tr>
104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
105 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00725.html">primvarRefiner.h</a>·<a·href="a00725_source.html">[code]</a></td></tr>105 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00725.html">primvarRefiner.h</a>·<a·href="a00725_source.html">[code]</a></td></tr>
106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
107 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00722.html">ptexIndices.h</a>·<a·href="a00722_source.html">[code]</a></td></tr>107 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00722.html">ptexIndices.h</a>·<a·href="a00722_source.html">[code]</a></td></tr>
108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 110, 17 lines modifiedOffset 110, 17 lines modified
110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
111 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00716.html">stencilTableFactory.h</a>·<a·href="a00716_source.html">[code]</a></td></tr>111 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00716.html">stencilTableFactory.h</a>·<a·href="a00716_source.html">[code]</a></td></tr>
112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
113 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00713.html">topologyDescriptor.h</a>·<a·href="a00713_source.html">[code]</a></td></tr>113 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00713.html">topologyDescriptor.h</a>·<a·href="a00713_source.html">[code]</a></td></tr>
114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
115 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00710.html">topologyLevel.h</a>·<a·href="a00710_source.html">[code]</a></td></tr>115 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00710.html">topologyLevel.h</a>·<a·href="a00710_source.html">[code]</a></td></tr>
116 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>116 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
117 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00704.html">topologyRefiner.h</a>·<a·href="a00704_source.html">[code]</a></td></tr>117 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00707.html">topologyRefiner.h</a>·<a·href="a00707_source.html">[code]</a></td></tr>
118 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>118 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
119 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00707.html">topologyRefinerFactory.h</a>·<a·href="a00707_source.html">[code]</a></td></tr>119 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00704.html">topologyRefinerFactory.h</a>·<a·href="a00704_source.html">[code]</a></td></tr>
120 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>120 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
121 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01478.html">types.h</a>·<a·href="a01478_source.html">[code]</a></td></tr>121 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01478.html">types.h</a>·<a·href="a01478_source.html">[code]</a></td></tr>
122 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>122 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
123 </table>123 </table>
124 </div><!--·contents·-->124 </div><!--·contents·-->
125 </div><!--·doc-content·-->125 </div><!--·doc-content·-->
126 <!--·start·footer·part·-->126 <!--·start·footer·part·-->
1.19 KB
./usr/share/doc/opensubdiv/doxy_html/dir_7f420b72a822828cfa8b0561c695a5cc.js
1.04 KB
js-beautify {}
    
Offset 1, 17 lines modifiedOffset 1, 17 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",·"a00734.html",·"a00734"],4 ····["patchMap.h",·"a00731.html",·"a00731"],
5 ····["patchParam.h",·"a00737.html",·"a00737"],5 ····["patchParam.h",·"a00737.html",·"a00737"],
6 ····["patchTable.h",·"a00731.html",·"a00731"],6 ····["patchTable.h",·"a00734.html",·"a00734"],
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"],
14 ····["topologyRefiner.h",·"a00704.html",·"a00704"],14 ····["topologyRefiner.h",·"a00707.html",·"a00707"],
15 ····["topologyRefinerFactory.h",·"a00707.html",·"a00707"],15 ····["topologyRefinerFactory.h",·"a00704.html",·"a00704"],
16 ····["types.h",·"a01478.html",·"a01478"]16 ····["types.h",·"a01478.html",·"a01478"]
17 ];17 ];
2.59 KB
./usr/share/doc/opensubdiv/doxy_html/dir_bd5473d7d5841d48919aaa9ad0cb1f9b.html
    
Offset 98, 17 lines modifiedOffset 98, 17 lines modified
98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00758.html">fvarRefinement.h</a>·<a·href="a00758_source.html">[code]</a></td></tr>99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00758.html">fvarRefinement.h</a>·<a·href="a00758_source.html">[code]</a></td></tr>
100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00755.html">level.h</a>·<a·href="a00755_source.html">[code]</a></td></tr>101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00755.html">level.h</a>·<a·href="a00755_source.html">[code]</a></td></tr>
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00752.html">refinement.h</a>·<a·href="a00752_source.html">[code]</a></td></tr>103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00752.html">refinement.h</a>·<a·href="a00752_source.html">[code]</a></td></tr>
104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
105 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00746.html">sparseSelector.h</a>·<a·href="a00746_source.html">[code]</a></td></tr>105 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00749.html">sparseSelector.h</a>·<a·href="a00749_source.html">[code]</a></td></tr>
106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
107 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00749.html">stackBuffer.h</a>·<a·href="a00749_source.html">[code]</a></td></tr>107 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00746.html">stackBuffer.h</a>·<a·href="a00746_source.html">[code]</a></td></tr>
108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
109 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01487.html">types.h</a>·<a·href="a01487_source.html">[code]</a></td></tr>109 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01487.html">types.h</a>·<a·href="a01487_source.html">[code]</a></td></tr>
110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
111 </table>111 </table>
112 </div><!--·contents·-->112 </div><!--·contents·-->
113 </div><!--·doc-content·-->113 </div><!--·doc-content·-->
114 <!--·start·footer·part·-->114 <!--·start·footer·part·-->
746 B
./usr/share/doc/opensubdiv/doxy_html/dir_bd5473d7d5841d48919aaa9ad0cb1f9b.js
594 B
js-beautify {}
    
Offset 1, 11 lines modifiedOffset 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",·"a00758.html",·null],5 ····["fvarRefinement.h",·"a00758.html",·null],
6 ····["level.h",·"a00755.html",·null],6 ····["level.h",·"a00755.html",·null],
7 ····["refinement.h",·"a00752.html",·null],7 ····["refinement.h",·"a00752.html",·null],
8 ····["sparseSelector.h",·"a00746.html",·null],8 ····["sparseSelector.h",·"a00749.html",·null],
9 ····["stackBuffer.h",·"a00749.html",·null],9 ····["stackBuffer.h",·"a00746.html",·null],
10 ····["types.h",·"a01487.html",·"a01487"]10 ····["types.h",·"a01487.html",·"a01487"]
11 ];11 ];
3.99 KB
./usr/share/doc/opensubdiv/doxy_html/dir_f61368944c63c2c1f8c69bc232e59c39.html
    
Offset 86, 25 lines modifiedOffset 86, 25 lines modified
86 <div·class="header">86 <div·class="header">
87 ··<div·class="headertitle"><div·class="title">sdc·Directory·Reference</div></div>87 ··<div·class="headertitle"><div·class="title">sdc·Directory·Reference</div></div>
88 </div><!--header-->88 </div><!--header-->
89 <div·class="contents">89 <div·class="contents">
90 <table·class="memberdecls">90 <table·class="memberdecls">
91 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>91 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>
92 Files</h2></td></tr>92 Files</h2></td></tr>
93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00785.html">bilinearScheme.h</a>·<a·href="a00785_source.html">[code]</a></td></tr>93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00899.html">bilinearScheme.h</a>·<a·href="a00899_source.html">[code]</a></td></tr>
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00782.html">catmarkScheme.h</a>·<a·href="a00782_source.html">[code]</a></td></tr>95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00902.html">catmarkScheme.h</a>·<a·href="a00902_source.html">[code]</a></td></tr>
96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00776.html">crease.h</a>·<a·href="a00776_source.html">[code]</a></td></tr>97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00896.html">crease.h</a>·<a·href="a00896_source.html">[code]</a></td></tr>
98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00779.html">loopScheme.h</a>·<a·href="a00779_source.html">[code]</a></td></tr>99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00893.html">loopScheme.h</a>·<a·href="a00893_source.html">[code]</a></td></tr>
100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00770.html">options.h</a>·<a·href="a00770_source.html">[code]</a></td></tr>101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00890.html">options.h</a>·<a·href="a00890_source.html">[code]</a></td></tr>
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00773.html">scheme.h</a>·<a·href="a00773_source.html">[code]</a></td></tr>103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00887.html">scheme.h</a>·<a·href="a00887_source.html">[code]</a></td></tr>
104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
105 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01484.html">types.h</a>·<a·href="a01484_source.html">[code]</a></td></tr>105 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01484.html">types.h</a>·<a·href="a01484_source.html">[code]</a></td></tr>
106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
107 </table>107 </table>
108 </div><!--·contents·-->108 </div><!--·contents·-->
109 </div><!--·doc-content·-->109 </div><!--·doc-content·-->
110 <!--·start·footer·part·-->110 <!--·start·footer·part·-->
832 B
./usr/share/doc/opensubdiv/doxy_html/dir_f61368944c63c2c1f8c69bc232e59c39.js
680 B
js-beautify {}
    
Offset 1, 9 lines modifiedOffset 1, 9 lines modified
1 var·dir_f61368944c63c2c1f8c69bc232e59c39·=·[1 var·dir_f61368944c63c2c1f8c69bc232e59c39·=·[
2 ····["bilinearScheme.h",·"a00785.html",·null],2 ····["bilinearScheme.h",·"a00899.html",·null],
3 ····["catmarkScheme.h",·"a00782.html",·null],3 ····["catmarkScheme.h",·"a00902.html",·null],
4 ····["crease.h",·"a00776.html",·"a00776"],4 ····["crease.h",·"a00896.html",·"a00896"],
5 ····["loopScheme.h",·"a00779.html",·null],5 ····["loopScheme.h",·"a00893.html",·null],
6 ····["options.h",·"a00770.html",·"a00770"],6 ····["options.h",·"a00890.html",·"a00890"],
7 ····["scheme.h",·"a00773.html",·"a00773"],7 ····["scheme.h",·"a00887.html",·"a00887"],
8 ····["types.h",·"a01484.html",·"a01484"]8 ····["types.h",·"a01484.html",·"a01484"]
9 ];9 ];
3.26 KB
./usr/share/doc/opensubdiv/doxy_html/dir_fa5edef2a780a73fbfb6a11f1af88ceb.html
    
Offset 96, 21 lines modifiedOffset 96, 21 lines modified
96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00692.html">refinerSurfaceFactory.h</a>·<a·href="a00692_source.html">[code]</a></td></tr>97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00692.html">refinerSurfaceFactory.h</a>·<a·href="a00692_source.html">[code]</a></td></tr>
98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00689.html">surface.h</a>·<a·href="a00689_source.html">[code]</a></td></tr>99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00689.html">surface.h</a>·<a·href="a00689_source.html">[code]</a></td></tr>
100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00686.html">surfaceFactory.h</a>·<a·href="a00686_source.html">[code]</a></td></tr>101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00686.html">surfaceFactory.h</a>·<a·href="a00686_source.html">[code]</a></td></tr>
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00677.html">surfaceFactoryCache.h</a>·<a·href="a00677_source.html">[code]</a></td></tr>103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00680.html">surfaceFactoryCache.h</a>·<a·href="a00680_source.html">[code]</a></td></tr>
104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
105 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00683.html">surfaceFactoryMeshAdapter.h</a>·<a·href="a00683_source.html">[code]</a></td></tr>105 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00683.html">surfaceFactoryMeshAdapter.h</a>·<a·href="a00683_source.html">[code]</a></td></tr>
106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
107 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00680.html">tessellation.h</a>·<a·href="a00680_source.html">[code]</a></td></tr>107 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00674.html">tessellation.h</a>·<a·href="a00674_source.html">[code]</a></td></tr>
108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
109 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00674.html">vertexDescriptor.h</a>·<a·href="a00674_source.html">[code]</a></td></tr>109 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00677.html">vertexDescriptor.h</a>·<a·href="a00677_source.html">[code]</a></td></tr>
110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
111 </table>111 </table>
112 </div><!--·contents·-->112 </div><!--·contents·-->
113 </div><!--·doc-content·-->113 </div><!--·doc-content·-->
114 <!--·start·footer·part·-->114 <!--·start·footer·part·-->
115 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->115 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
116 ··<ul>116 ··<ul>
885 B
./usr/share/doc/opensubdiv/doxy_html/dir_fa5edef2a780a73fbfb6a11f1af88ceb.js
733 B
js-beautify {}
    
Offset 1, 11 lines modifiedOffset 1, 11 lines modified
1 var·dir_fa5edef2a780a73fbfb6a11f1af88ceb·=·[1 var·dir_fa5edef2a780a73fbfb6a11f1af88ceb·=·[
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",·"a00677.html",·"a00677"],7 ····["surfaceFactoryCache.h",·"a00680.html",·"a00680"],
8 ····["surfaceFactoryMeshAdapter.h",·"a00683.html",·"a00683"],8 ····["surfaceFactoryMeshAdapter.h",·"a00683.html",·"a00683"],
9 ····["tessellation.h",·"a00680.html",·"a00680"],9 ····["tessellation.h",·"a00674.html",·"a00674"],
10 ····["vertexDescriptor.h",·"a00674.html",·"a00674"]10 ····["vertexDescriptor.h",·"a00677.html",·"a00677"]
11 ];11 ];
37.7 KB
./usr/share/doc/opensubdiv/doxy_html/files.html
    
Offset 92, 92 lines modifiedOffset 92, 92 lines modified
92 <tr·id="row_0_"·class="even"><td·class="entry"><span·style="width:0px;display:inline-block;">&#160;</span><span·id="arr_0_"·class="arrow"·onclick="toggleFolder('0_')">&#9660;</span><span·id="img_0_"·class="iconfopen"·onclick="toggleFolder('0_')">&#160;</span><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html"·target="_self">opensubdiv</a></td><td·class="desc"></td></tr>92 <tr·id="row_0_"·class="even"><td·class="entry"><span·style="width:0px;display:inline-block;">&#160;</span><span·id="arr_0_"·class="arrow"·onclick="toggleFolder('0_')">&#9660;</span><span·id="img_0_"·class="iconfopen"·onclick="toggleFolder('0_')">&#160;</span><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html"·target="_self">opensubdiv</a></td><td·class="desc"></td></tr>
93 <tr·id="row_0_0_"><td·class="entry"><span·style="width:16px;display:inline-block;">&#160;</span><span·id="arr_0_0_"·class="arrow"·onclick="toggleFolder('0_0_')">&#9660;</span><span·id="img_0_0_"·class="iconfopen"·onclick="toggleFolder('0_0_')">&#160;</span><a·class="el"·href="dir_fa5edef2a780a73fbfb6a11f1af88ceb.html"·target="_self">bfr</a></td><td·class="desc"></td></tr>93 <tr·id="row_0_0_"><td·class="entry"><span·style="width:16px;display:inline-block;">&#160;</span><span·id="arr_0_0_"·class="arrow"·onclick="toggleFolder('0_0_')">&#9660;</span><span·id="img_0_0_"·class="iconfopen"·onclick="toggleFolder('0_0_')">&#160;</span><a·class="el"·href="dir_fa5edef2a780a73fbfb6a11f1af88ceb.html"·target="_self">bfr</a></td><td·class="desc"></td></tr>
94 <tr·id="row_0_0_0_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>94 <tr·id="row_0_0_0_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>
95 <tr·id="row_0_0_1_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>95 <tr·id="row_0_0_1_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>
96 <tr·id="row_0_0_2_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>96 <tr·id="row_0_0_2_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>
97 <tr·id="row_0_0_3_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>97 <tr·id="row_0_0_3_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>
98 <tr·id="row_0_0_4_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>98 <tr·id="row_0_0_4_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>
99 <tr·id="row_0_0_5_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00677_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00677.html"·target="_self">surfaceFactoryCache.h</a></td><td·class="desc"></td></tr>99 <tr·id="row_0_0_5_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>
100 <tr·id="row_0_0_6_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>100 <tr·id="row_0_0_6_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>
101 <tr·id="row_0_0_7_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00680_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00680.html"·target="_self">tessellation.h</a></td><td·class="desc"></td></tr>101 <tr·id="row_0_0_7_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00674_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00674.html"·target="_self">tessellation.h</a></td><td·class="desc"></td></tr>
102 <tr·id="row_0_0_8_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>102 <tr·id="row_0_0_8_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00677_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00677.html"·target="_self">vertexDescriptor.h</a></td><td·class="desc"></td></tr>
103 <tr·id="row_0_1_"><td·class="entry"><span·style="width:16px;display:inline-block;">&#160;</span><span·id="arr_0_1_"·class="arrow"·onclick="toggleFolder('0_1_')">&#9660;</span><span·id="img_0_1_"·class="iconfopen"·onclick="toggleFolder('0_1_')">&#160;</span><a·class="el"·href="dir_7f420b72a822828cfa8b0561c695a5cc.html"·target="_self">far</a></td><td·class="desc"></td></tr>103 <tr·id="row_0_1_"><td·class="entry"><span·style="width:16px;display:inline-block;">&#160;</span><span·id="arr_0_1_"·class="arrow"·onclick="toggleFolder('0_1_')">&#9660;</span><span·id="img_0_1_"·class="iconfopen"·onclick="toggleFolder('0_1_')">&#160;</span><a·class="el"·href="dir_7f420b72a822828cfa8b0561c695a5cc.html"·target="_self">far</a></td><td·class="desc"></td></tr>
104 <tr·id="row_0_1_0_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>104 <tr·id="row_0_1_0_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>
105 <tr·id="row_0_1_1_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>105 <tr·id="row_0_1_1_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>
106 <tr·id="row_0_1_2_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>106 <tr·id="row_0_1_2_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00731_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00731.html"·target="_self">patchMap.h</a></td><td·class="desc"></td></tr>
107 <tr·id="row_0_1_3_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>107 <tr·id="row_0_1_3_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>
108 <tr·id="row_0_1_4_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>108 <tr·id="row_0_1_4_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00734_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00734.html"·target="_self">patchTable.h</a></td><td·class="desc"></td></tr>
109 <tr·id="row_0_1_5_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>109 <tr·id="row_0_1_5_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>
110 <tr·id="row_0_1_6_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>110 <tr·id="row_0_1_6_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>
111 <tr·id="row_0_1_7_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>111 <tr·id="row_0_1_7_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>
112 <tr·id="row_0_1_8_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>112 <tr·id="row_0_1_8_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>
113 <tr·id="row_0_1_9_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>113 <tr·id="row_0_1_9_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>
114 <tr·id="row_0_1_10_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>114 <tr·id="row_0_1_10_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>
115 <tr·id="row_0_1_11_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>115 <tr·id="row_0_1_11_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>
116 <tr·id="row_0_1_12_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00704_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00704.html"·target="_self">topologyRefiner.h</a></td><td·class="desc"></td></tr>116 <tr·id="row_0_1_12_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00707_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00707.html"·target="_self">topologyRefiner.h</a></td><td·class="desc"></td></tr>
117 <tr·id="row_0_1_13_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00707_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00707.html"·target="_self">topologyRefinerFactory.h</a></td><td·class="desc"></td></tr>117 <tr·id="row_0_1_13_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00704_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00704.html"·target="_self">topologyRefinerFactory.h</a></td><td·class="desc"></td></tr>
118 <tr·id="row_0_1_14_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a01478_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a01478.html"·target="_self">types.h</a></td><td·class="desc"></td></tr>118 <tr·id="row_0_1_14_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a01478_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a01478.html"·target="_self">types.h</a></td><td·class="desc"></td></tr>
119 <tr·id="row_0_2_"><td·class="entry"><span·style="width:16px;display:inline-block;">&#160;</span><span·id="arr_0_2_"·class="arrow"·onclick="toggleFolder('0_2_')">&#9660;</span><span·id="img_0_2_"·class="iconfopen"·onclick="toggleFolder('0_2_')">&#160;</span><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html"·target="_self">osd</a></td><td·class="desc"></td></tr>119 <tr·id="row_0_2_"><td·class="entry"><span·style="width:16px;display:inline-block;">&#160;</span><span·id="arr_0_2_"·class="arrow"·onclick="toggleFolder('0_2_')">&#9660;</span><span·id="img_0_2_"·class="iconfopen"·onclick="toggleFolder('0_2_')">&#160;</span><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html"·target="_self">osd</a></td><td·class="desc"></td></tr>
120 <tr·id="row_0_2_0_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00899_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00899.html"·target="_self">bufferDescriptor.h</a></td><td·class="desc"></td></tr>120 <tr·id="row_0_2_0_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00881_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00881.html"·target="_self">bufferDescriptor.h</a></td><td·class="desc"></td></tr>
121 <tr·id="row_0_2_1_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00803_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00803.html"·target="_self">clEvaluator.h</a></td><td·class="desc"></td></tr>121 <tr·id="row_0_2_1_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00785_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00785.html"·target="_self">clEvaluator.h</a></td><td·class="desc"></td></tr>
122 <tr·id="row_0_2_2_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00800_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00800.html"·target="_self">clPatchTable.h</a></td><td·class="desc"></td></tr>122 <tr·id="row_0_2_2_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00782_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00782.html"·target="_self">clPatchTable.h</a></td><td·class="desc"></td></tr>
123 <tr·id="row_0_2_3_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00797_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00797.html"·target="_self">clVertexBuffer.h</a></td><td·class="desc"></td></tr>123 <tr·id="row_0_2_3_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00779_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00779.html"·target="_self">clVertexBuffer.h</a></td><td·class="desc"></td></tr>
124 <tr·id="row_0_2_4_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00845_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00845.html"·target="_self">cpuD3D11VertexBuffer.h</a></td><td·class="desc"></td></tr>124 <tr·id="row_0_2_4_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00824_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00824.html"·target="_self">cpuD3D11VertexBuffer.h</a></td><td·class="desc"></td></tr>
125 <tr·id="row_0_2_5_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00896_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00896.html"·target="_self">cpuEvaluator.h</a></td><td·class="desc"></td></tr>125 <tr·id="row_0_2_5_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00878_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00878.html"·target="_self">cpuEvaluator.h</a></td><td·class="desc"></td></tr>
126 <tr·id="row_0_2_6_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00869_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00869.html"·target="_self">cpuGLVertexBuffer.h</a></td><td·class="desc"></td></tr>126 <tr·id="row_0_2_6_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00851_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00851.html"·target="_self">cpuGLVertexBuffer.h</a></td><td·class="desc"></td></tr>
127 <tr·id="row_0_2_7_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00893_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00893.html"·target="_self">cpuPatchTable.h</a></td><td·class="desc"></td></tr>127 <tr·id="row_0_2_7_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00872_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00872.html"·target="_self">cpuPatchTable.h</a></td><td·class="desc"></td></tr>
128 <tr·id="row_0_2_8_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>128 <tr·id="row_0_2_8_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00875_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00875.html"·target="_self">cpuVertexBuffer.h</a></td><td·class="desc"></td></tr>
129 <tr·id="row_0_2_9_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>129 <tr·id="row_0_2_9_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00773_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00773.html"·target="_self">cudaEvaluator.h</a></td><td·class="desc"></td></tr>
130 <tr·id="row_0_2_10_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>130 <tr·id="row_0_2_10_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00770_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00770.html"·target="_self">cudaPatchTable.h</a></td><td·class="desc"></td></tr>
131 <tr·id="row_0_2_11_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>131 <tr·id="row_0_2_11_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00884_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00884.html"·target="_self">cudaVertexBuffer.h</a></td><td·class="desc"></td></tr>
132 <tr·id="row_0_2_12_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>132 <tr·id="row_0_2_12_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00827_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00827.html"·target="_self">d3d11ComputeEvaluator.h</a></td><td·class="desc"></td></tr>
133 <tr·id="row_0_2_13_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>133 <tr·id="row_0_2_13_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00821_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00821.html"·target="_self">d3d11LegacyGregoryPatchTable.h</a></td><td·class="desc"></td></tr>
134 <tr·id="row_0_2_14_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00827_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00827.html"·target="_self">d3d11Mesh.h</a></td><td·class="desc"></td></tr>134 <tr·id="row_0_2_14_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00812_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00812.html"·target="_self">d3d11Mesh.h</a></td><td·class="desc"></td></tr>
135 <tr·id="row_0_2_15_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>135 <tr·id="row_0_2_15_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00818_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00818.html"·target="_self">d3d11PatchTable.h</a></td><td·class="desc"></td></tr>
136 <tr·id="row_0_2_16_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>136 <tr·id="row_0_2_16_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00815_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00815.html"·target="_self">d3d11VertexBuffer.h</a></td><td·class="desc"></td></tr>
137 <tr·id="row_0_2_17_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>137 <tr·id="row_0_2_17_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00833_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00833.html"·target="_self">glComputeEvaluator.h</a></td><td·class="desc"></td></tr>
138 <tr·id="row_0_2_18_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00863_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00863.html"·target="_self">glLegacyGregoryPatchTable.h</a></td><td·class="desc"></td></tr>138 <tr·id="row_0_2_18_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00848_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00848.html"·target="_self">glLegacyGregoryPatchTable.h</a></td><td·class="desc"></td></tr>
139 <tr·id="row_0_2_19_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00857_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00857.html"·target="_self">glMesh.h</a></td><td·class="desc"></td></tr>139 <tr·id="row_0_2_19_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00839_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00839.html"·target="_self">glMesh.h</a></td><td·class="desc"></td></tr>
140 <tr·id="row_0_2_20_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00866_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00866.html"·target="_self">glPatchTable.h</a></td><td·class="desc"></td></tr>140 <tr·id="row_0_2_20_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00842_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00842.html"·target="_self">glPatchTable.h</a></td><td·class="desc"></td></tr>
141 <tr·id="row_0_2_21_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00854_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00854.html"·target="_self">glslPatchShaderSource.h</a></td><td·class="desc"></td></tr>141 <tr·id="row_0_2_21_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00836_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00836.html"·target="_self">glslPatchShaderSource.h</a></td><td·class="desc"></td></tr>
142 <tr·id="row_0_2_22_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>142 <tr·id="row_0_2_22_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00845_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00845.html"·target="_self">glVertexBuffer.h</a></td><td·class="desc"></td></tr>
143 <tr·id="row_0_2_23_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>143 <tr·id="row_0_2_23_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00830_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00830.html"·target="_self">glXFBEvaluator.h</a></td><td·class="desc"></td></tr>
144 <tr·id="row_0_2_24_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00830_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00830.html"·target="_self">hlslPatchShaderSource.h</a></td><td·class="desc"></td></tr>144 <tr·id="row_0_2_24_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00809_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00809.html"·target="_self">hlslPatchShaderSource.h</a></td><td·class="desc"></td></tr>
145 <tr·id="row_0_2_25_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>145 <tr·id="row_0_2_25_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00869_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00869.html"·target="_self">mesh.h</a></td><td·class="desc"></td></tr>
146 <tr·id="row_0_2_26_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>146 <tr·id="row_0_2_26_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00788_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00788.html"·target="_self">mtlCommon.h</a></td><td·class="desc"></td></tr>
147 <tr·id="row_0_2_27_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>147 <tr·id="row_0_2_27_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00803_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00803.html"·target="_self">mtlComputeEvaluator.h</a></td><td·class="desc"></td></tr>
148 <tr·id="row_0_2_28_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>148 <tr·id="row_0_2_28_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00800_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00800.html"·target="_self">mtlLegacyGregoryPatchTable.h</a></td><td·class="desc"></td></tr>
149 <tr·id="row_0_2_29_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00809_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00809.html"·target="_self">mtlMesh.h</a></td><td·class="desc"></td></tr>149 <tr·id="row_0_2_29_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00794_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00794.html"·target="_self">mtlMesh.h</a></td><td·class="desc"></td></tr>
150 <tr·id="row_0_2_30_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00812_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00812.html"·target="_self">mtlPatchShaderSource.h</a></td><td·class="desc"></td></tr>150 <tr·id="row_0_2_30_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00791_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00791.html"·target="_self">mtlPatchShaderSource.h</a></td><td·class="desc"></td></tr>
151 <tr·id="row_0_2_31_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>151 <tr·id="row_0_2_31_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00797_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00797.html"·target="_self">mtlPatchTable.h</a></td><td·class="desc"></td></tr>
152 <tr·id="row_0_2_32_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>152 <tr·id="row_0_2_32_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00806_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00806.html"·target="_self">mtlVertexBuffer.h</a></td><td·class="desc"></td></tr>
153 <tr·id="row_0_2_33_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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> 
154 <tr·id="row_0_2_34_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>153 <tr·id="row_0_2_33_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00863_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00863.html"·target="_self">ompEvaluator.h</a></td><td·class="desc"></td></tr>
 154 <tr·id="row_0_2_34_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00860_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00860.html"·target="_self">ompKernel.h</a></td><td·class="desc"></td></tr>
155 <tr·id="row_0_2_35_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>155 <tr·id="row_0_2_35_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00776_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00776.html"·target="_self">opencl.h</a></td><td·class="desc"></td></tr>
156 <tr·id="row_0_2_36_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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> 
157 <tr·id="row_0_2_37_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>156 <tr·id="row_0_2_36_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00866_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00866.html"·target="_self">opengl.h</a></td><td·class="desc"></td></tr>
 157 <tr·id="row_0_2_37_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00857_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00857.html"·target="_self">tbbEvaluator.h</a></td><td·class="desc"></td></tr>
158 <tr·id="row_0_2_38_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>158 <tr·id="row_0_2_38_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00854_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00854.html"·target="_self">tbbKernel.h</a></td><td·class="desc"></td></tr>
159 <tr·id="row_0_2_39_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a01481_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a01481.html"·target="_self">types.h</a></td><td·class="desc"></td></tr>159 <tr·id="row_0_2_39_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a01481_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a01481.html"·target="_self">types.h</a></td><td·class="desc"></td></tr>
160 <tr·id="row_0_3_"·class="even"><td·class="entry"><span·style="width:16px;display:inline-block;">&#160;</span><span·id="arr_0_3_"·class="arrow"·onclick="toggleFolder('0_3_')">&#9660;</span><span·id="img_0_3_"·class="iconfopen"·onclick="toggleFolder('0_3_')">&#160;</span><a·class="el"·href="dir_f61368944c63c2c1f8c69bc232e59c39.html"·target="_self">sdc</a></td><td·class="desc"></td></tr>160 <tr·id="row_0_3_"·class="even"><td·class="entry"><span·style="width:16px;display:inline-block;">&#160;</span><span·id="arr_0_3_"·class="arrow"·onclick="toggleFolder('0_3_')">&#9660;</span><span·id="img_0_3_"·class="iconfopen"·onclick="toggleFolder('0_3_')">&#160;</span><a·class="el"·href="dir_f61368944c63c2c1f8c69bc232e59c39.html"·target="_self">sdc</a></td><td·class="desc"></td></tr>
161 <tr·id="row_0_3_0_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>161 <tr·id="row_0_3_0_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00899_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00899.html"·target="_self">bilinearScheme.h</a></td><td·class="desc"></td></tr>
162 <tr·id="row_0_3_1_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>162 <tr·id="row_0_3_1_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00902_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00902.html"·target="_self">catmarkScheme.h</a></td><td·class="desc"></td></tr>
163 <tr·id="row_0_3_2_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00776_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00776.html"·target="_self">crease.h</a></td><td·class="desc"></td></tr>163 <tr·id="row_0_3_2_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00896_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00896.html"·target="_self">crease.h</a></td><td·class="desc"></td></tr>
164 <tr·id="row_0_3_3_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00779_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00779.html"·target="_self">loopScheme.h</a></td><td·class="desc"></td></tr>164 <tr·id="row_0_3_3_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00893_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00893.html"·target="_self">loopScheme.h</a></td><td·class="desc"></td></tr>
165 <tr·id="row_0_3_4_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00770_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00770.html"·target="_self">options.h</a></td><td·class="desc"></td></tr>165 <tr·id="row_0_3_4_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00890_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00890.html"·target="_self">options.h</a></td><td·class="desc"></td></tr>
166 <tr·id="row_0_3_5_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00773_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00773.html"·target="_self">scheme.h</a></td><td·class="desc"></td></tr>166 <tr·id="row_0_3_5_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00887_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00887.html"·target="_self">scheme.h</a></td><td·class="desc"></td></tr>
167 <tr·id="row_0_3_6_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a01484_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a01484.html"·target="_self">types.h</a></td><td·class="desc"></td></tr>167 <tr·id="row_0_3_6_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a01484_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a01484.html"·target="_self">types.h</a></td><td·class="desc"></td></tr>
168 <tr·id="row_0_4_"·class="even"><td·class="entry"><span·style="width:16px;display:inline-block;">&#160;</span><span·id="arr_0_4_"·class="arrow"·onclick="toggleFolder('0_4_')">&#9660;</span><span·id="img_0_4_"·class="iconfopen"·onclick="toggleFolder('0_4_')">&#160;</span><a·class="el"·href="dir_bd5473d7d5841d48919aaa9ad0cb1f9b.html"·target="_self">vtr</a></td><td·class="desc"></td></tr>168 <tr·id="row_0_4_"·class="even"><td·class="entry"><span·style="width:16px;display:inline-block;">&#160;</span><span·id="arr_0_4_"·class="arrow"·onclick="toggleFolder('0_4_')">&#9660;</span><span·id="img_0_4_"·class="iconfopen"·onclick="toggleFolder('0_4_')">&#160;</span><a·class="el"·href="dir_bd5473d7d5841d48919aaa9ad0cb1f9b.html"·target="_self">vtr</a></td><td·class="desc"></td></tr>
169 <tr·id="row_0_4_0_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>169 <tr·id="row_0_4_0_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>
170 <tr·id="row_0_4_1_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>170 <tr·id="row_0_4_1_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>
171 <tr·id="row_0_4_2_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>171 <tr·id="row_0_4_2_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>
172 <tr·id="row_0_4_3_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>172 <tr·id="row_0_4_3_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>
173 <tr·id="row_0_4_4_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>173 <tr·id="row_0_4_4_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>
174 <tr·id="row_0_4_5_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00752_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00752.html"·target="_self">refinement.h</a></td><td·class="desc"></td></tr>174 <tr·id="row_0_4_5_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00752_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00752.html"·target="_self">refinement.h</a></td><td·class="desc"></td></tr>
175 <tr·id="row_0_4_6_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00746_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00746.html"·target="_self">sparseSelector.h</a></td><td·class="desc"></td></tr>175 <tr·id="row_0_4_6_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00749_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00749.html"·target="_self">sparseSelector.h</a></td><td·class="desc"></td></tr>
176 <tr·id="row_0_4_7_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00749_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00749.html"·target="_self">stackBuffer.h</a></td><td·class="desc"></td></tr>176 <tr·id="row_0_4_7_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</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>
177 <tr·id="row_0_4_8_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a01487_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a01487.html"·target="_self">types.h</a></td><td·class="desc"></td></tr>177 <tr·id="row_0_4_8_"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a01487_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a01487.html"·target="_self">types.h</a></td><td·class="desc"></td></tr>
178 </table>178 </table>
179 </div><!--·directory·-->179 </div><!--·directory·-->
180 </div><!--·contents·-->180 </div><!--·contents·-->
181 </div><!--·doc-content·-->181 </div><!--·doc-content·-->
182 <!--·start·footer·part·-->182 <!--·start·footer·part·-->
183 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->183 <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·-->
16.9 KB
./usr/share/doc/opensubdiv/doxy_html/navtreeindex0.js
16.8 KB
js-beautify {}
    
Offset 1, 48 lines modifiedOffset 1, 48 lines modified
1 var·NAVTREEINDEX0·=·{1 var·NAVTREEINDEX0·=·{
2 ····"a00674.html":·[2,·0,·0,·0,·8],2 ····"a00674.html":·[2,·0,·0,·0,·7],
3 ····"a00674_source.html":·[2,·0,·0,·0,·8],3 ····"a00674_source.html":·[2,·0,·0,·0,·7],
4 ····"a00677.html":·[2,·0,·0,·0,·5],4 ····"a00677.html":·[2,·0,·0,·0,·8],
5 ····"a00677_source.html":·[2,·0,·0,·0,·5],5 ····"a00677_source.html":·[2,·0,·0,·0,·8],
6 ····"a00680.html":·[2,·0,·0,·0,·7],6 ····"a00680.html":·[2,·0,·0,·0,·5],
7 ····"a00680_source.html":·[2,·0,·0,·0,·7],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],
13 ····"a00689_source.html":·[2,·0,·0,·0,·3],13 ····"a00689_source.html":·[2,·0,·0,·0,·3],
14 ····"a00692.html":·[2,·0,·0,·0,·2],14 ····"a00692.html":·[2,·0,·0,·0,·2],
15 ····"a00692_source.html":·[2,·0,·0,·0,·2],15 ····"a00692_source.html":·[2,·0,·0,·0,·2],
16 ····"a00695.html":·[2,·0,·0,·0,·1],16 ····"a00695.html":·[2,·0,·0,·0,·1],
17 ····"a00695_source.html":·[2,·0,·0,·0,·1],17 ····"a00695_source.html":·[2,·0,·0,·0,·1],
18 ····"a00698.html":·[2,·0,·0,·0,·0],18 ····"a00698.html":·[2,·0,·0,·0,·0],
19 ····"a00698_source.html":·[2,·0,·0,·0,·0],19 ····"a00698_source.html":·[2,·0,·0,·0,·0],
20 ····"a00704.html":·[2,·0,·0,·1,·12],20 ····"a00704.html":·[2,·0,·0,·1,·13],
21 ····"a00704_source.html":·[2,·0,·0,·1,·12],21 ····"a00704_source.html":·[2,·0,·0,·1,·13],
22 ····"a00707.html":·[2,·0,·0,·1,·13],22 ····"a00707.html":·[2,·0,·0,·1,·12],
23 ····"a00707_source.html":·[2,·0,·0,·1,·13],23 ····"a00707_source.html":·[2,·0,·0,·1,·12],
24 ····"a00710.html":·[2,·0,·0,·1,·11],24 ····"a00710.html":·[2,·0,·0,·1,·11],
25 ····"a00710_source.html":·[2,·0,·0,·1,·11],25 ····"a00710_source.html":·[2,·0,·0,·1,·11],
26 ····"a00713.html":·[2,·0,·0,·1,·10],26 ····"a00713.html":·[2,·0,·0,·1,·10],
27 ····"a00713_source.html":·[2,·0,·0,·1,·10],27 ····"a00713_source.html":·[2,·0,·0,·1,·10],
28 ····"a00716.html":·[2,·0,·0,·1,·9],28 ····"a00716.html":·[2,·0,·0,·1,·9],
29 ····"a00716_source.html":·[2,·0,·0,·1,·9],29 ····"a00716_source.html":·[2,·0,·0,·1,·9],
30 ····"a00719.html":·[2,·0,·0,·1,·8],30 ····"a00719.html":·[2,·0,·0,·1,·8],
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,·4],38 ····"a00731.html":·[2,·0,·0,·1,·2],
39 ····"a00731_source.html":·[2,·0,·0,·1,·4],39 ····"a00731_source.html":·[2,·0,·0,·1,·2],
40 ····"a00734.html":·[2,·0,·0,·1,·2],40 ····"a00734.html":·[2,·0,·0,·1,·4],
41 ····"a00734_source.html":·[2,·0,·0,·1,·2],41 ····"a00734_source.html":·[2,·0,·0,·1,·4],
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 57, 149 lines modifiedOffset 57, 149 lines modified
57 ····"a00743.html#ab0df38968e4f03a3f1f6d6df0f31f45a":·[2,·0,·0,·1,·0,·2],57 ····"a00743.html#ab0df38968e4f03a3f1f6d6df0f31f45a":·[2,·0,·0,·1,·0,·2],
58 ····"a00743.html#ab0df38968e4f03a3f1f6d6df0f31f45aa2a5bda2a3e25aa282462381f55284980":·[2,·0,·0,·1,·0,·2,·1],58 ····"a00743.html#ab0df38968e4f03a3f1f6d6df0f31f45aa2a5bda2a3e25aa282462381f55284980":·[2,·0,·0,·1,·0,·2,·1],
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,·6],64 ····"a00746.html":·[2,·0,·0,·4,·7],
65 ····"a00746_source.html":·[2,·0,·0,·4,·6],65 ····"a00746_source.html":·[2,·0,·0,·4,·7],
66 ····"a00749.html":·[2,·0,·0,·4,·7],66 ····"a00749.html":·[2,·0,·0,·4,·6],
67 ····"a00749_source.html":·[2,·0,·0,·4,·7],67 ····"a00749_source.html":·[2,·0,·0,·4,·6],
68 ····"a00752.html":·[2,·0,·0,·4,·5],68 ····"a00752.html":·[2,·0,·0,·4,·5],
69 ····"a00752_source.html":·[2,·0,·0,·4,·5],69 ····"a00752_source.html":·[2,·0,·0,·4,·5],
70 ····"a00755.html":·[2,·0,·0,·4,·4],70 ····"a00755.html":·[2,·0,·0,·4,·4],
71 ····"a00755_source.html":·[2,·0,·0,·4,·4],71 ····"a00755_source.html":·[2,·0,·0,·4,·4],
72 ····"a00758.html":·[2,·0,·0,·4,·3],72 ····"a00758.html":·[2,·0,·0,·4,·3],
73 ····"a00758_source.html":·[2,·0,·0,·4,·3],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,·4],80 ····"a00770.html":·[2,·0,·0,·2,·10],
81 ····"a00770_source.html":·[2,·0,·0,·3,·4],81 ····"a00770_source.html":·[2,·0,·0,·2,·10],
82 ····"a00773.html":·[2,·0,·0,·3,·5],82 ····"a00773.html":·[2,·0,·0,·2,·9],
83 ····"a00773_source.html":·[2,·0,·0,·3,·5],83 ····"a00773_source.html":·[2,·0,·0,·2,·9],
84 ····"a00776.html":·[2,·0,·0,·3,·2],84 ····"a00776.html":·[2,·0,·0,·2,·35],
85 ····"a00776_source.html":·[2,·0,·0,·3,·2],85 ····"a00776_source.html":·[2,·0,·0,·2,·35],
86 ····"a00779.html":·[2,·0,·0,·3,·3],86 ····"a00779.html":·[2,·0,·0,·2,·3],
87 ····"a00779_source.html":·[2,·0,·0,·3,·3],87 ····"a00779_source.html":·[2,·0,·0,·2,·3],
88 ····"a00782.html":·[2,·0,·0,·3,·1],88 ····"a00782.html":·[2,·0,·0,·2,·2],
89 ····"a00782_source.html":·[2,·0,·0,·3,·1],89 ····"a00782_source.html":·[2,·0,·0,·2,·2],
90 ····"a00785.html":·[2,·0,·0,·3,·0], 
91 ····"a00785_source.html":·[2,·0,·0,·3,·0], 
92 ····"a00788.html":·[2,·0,·0,·2,·10],90 ····"a00785.html":·[2,·0,·0,·2,·1],
93 ····"a00788_source.html":·[2,·0,·0,·2,·10],91 ····"a00785_source.html":·[2,·0,·0,·2,·1],
 92 ····"a00788.html":·[2,·0,·0,·2,·26],
 93 ····"a00788_source.html":·[2,·0,·0,·2,·26],
94 ····"a00791.html":·[2,·0,·0,·2,·9],94 ····"a00791.html":·[2,·0,·0,·2,·30],
95 ····"a00791_source.html":·[2,·0,·0,·2,·9],95 ····"a00791_source.html":·[2,·0,·0,·2,·30],
96 ····"a00794.html":·[2,·0,·0,·2,·35],96 ····"a00794.html":·[2,·0,·0,·2,·29],
 97 ····"a00794.html#aa41e5b43fe46eeb0f97ff6ebdb1935aa":·[2,·0,·0,·2,·29,·0],
97 ····"a00794_source.html":·[2,·0,·0,·2,·35],98 ····"a00794_source.html":·[2,·0,·0,·2,·29],
98 ····"a00797.html":·[2,·0,·0,·2,·3],99 ····"a00797.html":·[2,·0,·0,·2,·31],
99 ····"a00797_source.html":·[2,·0,·0,·2,·3],100 ····"a00797_source.html":·[2,·0,·0,·2,·31],
100 ····"a00800.html":·[2,·0,·0,·2,·2],101 ····"a00800.html":·[2,·0,·0,·2,·28],
101 ····"a00800_source.html":·[2,·0,·0,·2,·2],102 ····"a00800_source.html":·[2,·0,·0,·2,·28],
102 ····"a00803.html":·[2,·0,·0,·2,·1],103 ····"a00803.html":·[2,·0,·0,·2,·27],
103 ····"a00803_source.html":·[2,·0,·0,·2,·1],104 ····"a00803_source.html":·[2,·0,·0,·2,·27],
104 ····"a00806.html":·[2,·0,·0,·2,·26],105 ····"a00806.html":·[2,·0,·0,·2,·32],
105 ····"a00806_source.html":·[2,·0,·0,·2,·26],106 ····"a00806_source.html":·[2,·0,·0,·2,·32],
106 ····"a00809.html":·[2,·0,·0,·2,·29],107 ····"a00809.html":·[2,·0,·0,·2,·24],
107 ····"a00809.html#aa41e5b43fe46eeb0f97ff6ebdb1935aa":·[2,·0,·0,·2,·29,·0], 
108 ····"a00809_source.html":·[2,·0,·0,·2,·29],108 ····"a00809_source.html":·[2,·0,·0,·2,·24],
109 ····"a00812.html":·[2,·0,·0,·2,·30], 
110 ····"a00812_source.html":·[2,·0,·0,·2,·30], 
111 ····"a00815.html":·[2,·0,·0,·2,·31], 
112 ····"a00815_source.html":·[2,·0,·0,·2,·31], 
113 ····"a00818.html":·[2,·0,·0,·2,·28], 
114 ····"a00818_source.html":·[2,·0,·0,·2,·28], 
115 ····"a00821.html":·[2,·0,·0,·2,·27], 
116 ····"a00821_source.html":·[2,·0,·0,·2,·27], 
117 ····"a00824.html":·[2,·0,·0,·2,·32], 
118 ····"a00824_source.html":·[2,·0,·0,·2,·32], 
119 ····"a00827.html":·[2,·0,·0,·2,·14],109 ····"a00812.html":·[2,·0,·0,·2,·14],
120 ····"a00827.html#ae5c8e80d05d6eaee105d8eecfa9ab609":·[2,·0,·0,·2,·14,·0],110 ····"a00812.html#ae5c8e80d05d6eaee105d8eecfa9ab609":·[2,·0,·0,·2,·14,·0],
121 ····"a00827_source.html":·[2,·0,·0,·2,·14],111 ····"a00812_source.html":·[2,·0,·0,·2,·14],
122 ····"a00830.html":·[2,·0,·0,·2,·24], 
123 ····"a00830_source.html":·[2,·0,·0,·2,·24], 
124 ····"a00833.html":·[2,·0,·0,·2,·16],112 ····"a00815.html":·[2,·0,·0,·2,·16],
125 ····"a00833_source.html":·[2,·0,·0,·2,·16],113 ····"a00815_source.html":·[2,·0,·0,·2,·16],
126 ····"a00836.html":·[2,·0,·0,·2,·15],114 ····"a00818.html":·[2,·0,·0,·2,·15],
127 ····"a00836_source.html":·[2,·0,·0,·2,·15],115 ····"a00818_source.html":·[2,·0,·0,·2,·15],
128 ····"a00839.html":·[2,·0,·0,·2,·13],116 ····"a00821.html":·[2,·0,·0,·2,·13],
129 ····"a00839_source.html":·[2,·0,·0,·2,·13],117 ····"a00821_source.html":·[2,·0,·0,·2,·13],
 118 ····"a00824.html":·[2,·0,·0,·2,·4],
 119 ····"a00824_source.html":·[2,·0,·0,·2,·4],
Max diff block lines reached; 333/17142 bytes (1.94%) of diff not shown.
6.56 KB
./usr/share/doc/opensubdiv/doxy_html/navtreeindex1.js
6.46 KB
js-beautify {}
    
Offset 27, 70 lines modifiedOffset 27, 70 lines modified
27 ····"a00917.html":·[1,·0,·0,·0,·0,·0],27 ····"a00917.html":·[1,·0,·0,·0,·0,·0],
28 ····"a00921.html":·[0,·0,·0,·0,·0,·1],28 ····"a00921.html":·[0,·0,·0,·0,·0,·1],
29 ····"a00921.html":·[1,·0,·0,·0,·0,·1],29 ····"a00921.html":·[1,·0,·0,·0,·0,·1],
30 ····"a00921.html#a0381bb479d54363806267616b61c6ed3":·[0,·0,·0,·0,·0,·1,·12],30 ····"a00921.html#a0381bb479d54363806267616b61c6ed3":·[0,·0,·0,·0,·0,·1,·12],
31 ····"a00921.html#a0381bb479d54363806267616b61c6ed3":·[1,·0,·0,·0,·0,·1,·12],31 ····"a00921.html#a0381bb479d54363806267616b61c6ed3":·[1,·0,·0,·0,·0,·1,·12],
32 ····"a00921.html#a181e30653909f9d0e0afa92dd44d28ec":·[0,·0,·0,·0,·0,·1,·11],32 ····"a00921.html#a181e30653909f9d0e0afa92dd44d28ec":·[0,·0,·0,·0,·0,·1,·11],
33 ····"a00921.html#a181e30653909f9d0e0afa92dd44d28ec":·[1,·0,·0,·0,·0,·1,·11],33 ····"a00921.html#a181e30653909f9d0e0afa92dd44d28ec":·[1,·0,·0,·0,·0,·1,·11],
34 ····"a00921.html#a1d1cfd8ffb84e947f82999c682b666a7":·[1,·0,·0,·0,·0,·1,·0], 
35 ····"a00921.html#a1d1cfd8ffb84e947f82999c682b666a7":·[0,·0,·0,·0,·0,·1,·0],34 ····"a00921.html#a1d1cfd8ffb84e947f82999c682b666a7":·[0,·0,·0,·0,·0,·1,·0],
36 ····"a00921.html#a1d1cfd8ffb84e947f82999c682b666a7a7cbabd8b5f03feec7dda7f68118f0850":·[1,·0,·0,·0,·0,·1,·0,·2],35 ····"a00921.html#a1d1cfd8ffb84e947f82999c682b666a7":·[1,·0,·0,·0,·0,·1,·0],
37 ····"a00921.html#a1d1cfd8ffb84e947f82999c682b666a7a7cbabd8b5f03feec7dda7f68118f0850":·[0,·0,·0,·0,·0,·1,·0,·2],36 ····"a00921.html#a1d1cfd8ffb84e947f82999c682b666a7a7cbabd8b5f03feec7dda7f68118f0850":·[0,·0,·0,·0,·0,·1,·0,·2],
 37 ····"a00921.html#a1d1cfd8ffb84e947f82999c682b666a7a7cbabd8b5f03feec7dda7f68118f0850":·[1,·0,·0,·0,·0,·1,·0,·2],
38 ····"a00921.html#a1d1cfd8ffb84e947f82999c682b666a7acde3f260abb10fb9633e1ca01de9e78d":·[1,·0,·0,·0,·0,·1,·0,·1],38 ····"a00921.html#a1d1cfd8ffb84e947f82999c682b666a7acde3f260abb10fb9633e1ca01de9e78d":·[1,·0,·0,·0,·0,·1,·0,·1],
39 ····"a00921.html#a1d1cfd8ffb84e947f82999c682b666a7acde3f260abb10fb9633e1ca01de9e78d":·[0,·0,·0,·0,·0,·1,·0,·1],39 ····"a00921.html#a1d1cfd8ffb84e947f82999c682b666a7acde3f260abb10fb9633e1ca01de9e78d":·[0,·0,·0,·0,·0,·1,·0,·1],
40 ····"a00921.html#a1d1cfd8ffb84e947f82999c682b666a7ae1a12d53590e4fd25c9fd9006f19ab5c":·[1,·0,·0,·0,·0,·1,·0,·0],40 ····"a00921.html#a1d1cfd8ffb84e947f82999c682b666a7ae1a12d53590e4fd25c9fd9006f19ab5c":·[1,·0,·0,·0,·0,·1,·0,·0],
41 ····"a00921.html#a1d1cfd8ffb84e947f82999c682b666a7ae1a12d53590e4fd25c9fd9006f19ab5c":·[0,·0,·0,·0,·0,·1,·0,·0],41 ····"a00921.html#a1d1cfd8ffb84e947f82999c682b666a7ae1a12d53590e4fd25c9fd9006f19ab5c":·[0,·0,·0,·0,·0,·1,·0,·0],
42 ····"a00921.html#a301ad64c8ae0a3ba3af84377138a069f":·[1,·0,·0,·0,·0,·1,·1], 
43 ····"a00921.html#a301ad64c8ae0a3ba3af84377138a069f":·[0,·0,·0,·0,·0,·1,·1],42 ····"a00921.html#a301ad64c8ae0a3ba3af84377138a069f":·[0,·0,·0,·0,·0,·1,·1],
44 ····"a00921.html#a41cf5ce29cf0ef8f61e9bfe9b8c007f6":·[1,·0,·0,·0,·0,·1,·6],43 ····"a00921.html#a301ad64c8ae0a3ba3af84377138a069f":·[1,·0,·0,·0,·0,·1,·1],
45 ····"a00921.html#a41cf5ce29cf0ef8f61e9bfe9b8c007f6":·[0,·0,·0,·0,·0,·1,·6],44 ····"a00921.html#a41cf5ce29cf0ef8f61e9bfe9b8c007f6":·[0,·0,·0,·0,·0,·1,·6],
 45 ····"a00921.html#a41cf5ce29cf0ef8f61e9bfe9b8c007f6":·[1,·0,·0,·0,·0,·1,·6],
46 ····"a00921.html#a43caa8212032f3649809914cc0f57653":·[1,·0,·0,·0,·0,·1,·9],46 ····"a00921.html#a43caa8212032f3649809914cc0f57653":·[1,·0,·0,·0,·0,·1,·9],
47 ····"a00921.html#a43caa8212032f3649809914cc0f57653":·[0,·0,·0,·0,·0,·1,·9],47 ····"a00921.html#a43caa8212032f3649809914cc0f57653":·[0,·0,·0,·0,·0,·1,·9],
48 ····"a00921.html#a485decc00facb0972f8775a8a20851fa":·[1,·0,·0,·0,·0,·1,·13], 
49 ····"a00921.html#a485decc00facb0972f8775a8a20851fa":·[0,·0,·0,·0,·0,·1,·13],48 ····"a00921.html#a485decc00facb0972f8775a8a20851fa":·[0,·0,·0,·0,·0,·1,·13],
 49 ····"a00921.html#a485decc00facb0972f8775a8a20851fa":·[1,·0,·0,·0,·0,·1,·13],
50 ····"a00921.html#a4a581bbd4a90fe89f0c9210dede62c5f":·[0,·0,·0,·0,·0,·1,·4],50 ····"a00921.html#a4a581bbd4a90fe89f0c9210dede62c5f":·[0,·0,·0,·0,·0,·1,·4],
51 ····"a00921.html#a4a581bbd4a90fe89f0c9210dede62c5f":·[1,·0,·0,·0,·0,·1,·4],51 ····"a00921.html#a4a581bbd4a90fe89f0c9210dede62c5f":·[1,·0,·0,·0,·0,·1,·4],
52 ····"a00921.html#a64a4b29d36851a8d83be05af5b25f886":·[0,·0,·0,·0,·0,·1,·3],52 ····"a00921.html#a64a4b29d36851a8d83be05af5b25f886":·[0,·0,·0,·0,·0,·1,·3],
53 ····"a00921.html#a64a4b29d36851a8d83be05af5b25f886":·[1,·0,·0,·0,·0,·1,·3],53 ····"a00921.html#a64a4b29d36851a8d83be05af5b25f886":·[1,·0,·0,·0,·0,·1,·3],
54 ····"a00921.html#a8619f1774a47cdf85d93832261fe7d54":·[1,·0,·0,·0,·0,·1,·10],54 ····"a00921.html#a8619f1774a47cdf85d93832261fe7d54":·[1,·0,·0,·0,·0,·1,·10],
55 ····"a00921.html#a8619f1774a47cdf85d93832261fe7d54":·[0,·0,·0,·0,·0,·1,·10],55 ····"a00921.html#a8619f1774a47cdf85d93832261fe7d54":·[0,·0,·0,·0,·0,·1,·10],
56 ····"a00921.html#a9b6878c9cfa5f864aacae60e159451c8":·[1,·0,·0,·0,·0,·1,·7], 
57 ····"a00921.html#a9b6878c9cfa5f864aacae60e159451c8":·[0,·0,·0,·0,·0,·1,·7],56 ····"a00921.html#a9b6878c9cfa5f864aacae60e159451c8":·[0,·0,·0,·0,·0,·1,·7],
 57 ····"a00921.html#a9b6878c9cfa5f864aacae60e159451c8":·[1,·0,·0,·0,·0,·1,·7],
58 ····"a00921.html#a9cb32ed5657438f0a1b7f322b221dc75":·[0,·0,·0,·0,·0,·1,·14],58 ····"a00921.html#a9cb32ed5657438f0a1b7f322b221dc75":·[0,·0,·0,·0,·0,·1,·14],
59 ····"a00921.html#a9cb32ed5657438f0a1b7f322b221dc75":·[1,·0,·0,·0,·0,·1,·14],59 ····"a00921.html#a9cb32ed5657438f0a1b7f322b221dc75":·[1,·0,·0,·0,·0,·1,·14],
60 ····"a00921.html#aa7e0b89d67d34c1dd7a37cdce95f9e2c":·[0,·0,·0,·0,·0,·1,·2], 
61 ····"a00921.html#aa7e0b89d67d34c1dd7a37cdce95f9e2c":·[1,·0,·0,·0,·0,·1,·2],60 ····"a00921.html#aa7e0b89d67d34c1dd7a37cdce95f9e2c":·[1,·0,·0,·0,·0,·1,·2],
62 ····"a00921.html#ac532c4b500b1a85ea22217f2c65a70ed":·[0,·0,·0,·0,·0,·1,·16],61 ····"a00921.html#aa7e0b89d67d34c1dd7a37cdce95f9e2c":·[0,·0,·0,·0,·0,·1,·2],
63 ····"a00921.html#ac532c4b500b1a85ea22217f2c65a70ed":·[1,·0,·0,·0,·0,·1,·16],62 ····"a00921.html#ac532c4b500b1a85ea22217f2c65a70ed":·[1,·0,·0,·0,·0,·1,·16],
 63 ····"a00921.html#ac532c4b500b1a85ea22217f2c65a70ed":·[0,·0,·0,·0,·0,·1,·16],
64 ····"a00921.html#adc4cd156a8fdb843b0e233a922bb8a17":·[0,·0,·0,·0,·0,·1,·15],64 ····"a00921.html#adc4cd156a8fdb843b0e233a922bb8a17":·[0,·0,·0,·0,·0,·1,·15],
65 ····"a00921.html#adc4cd156a8fdb843b0e233a922bb8a17":·[1,·0,·0,·0,·0,·1,·15],65 ····"a00921.html#adc4cd156a8fdb843b0e233a922bb8a17":·[1,·0,·0,·0,·0,·1,·15],
66 ····"a00921.html#ae7ee02ea1bb1c8b1fff7793d51013bed":·[1,·0,·0,·0,·0,·1,·5], 
67 ····"a00921.html#ae7ee02ea1bb1c8b1fff7793d51013bed":·[0,·0,·0,·0,·0,·1,·5],66 ····"a00921.html#ae7ee02ea1bb1c8b1fff7793d51013bed":·[0,·0,·0,·0,·0,·1,·5],
68 ····"a00921.html#aed9d1936ffe46b9622ae31cb43233a2e":·[1,·0,·0,·0,·0,·1,·8],67 ····"a00921.html#ae7ee02ea1bb1c8b1fff7793d51013bed":·[1,·0,·0,·0,·0,·1,·5],
69 ····"a00921.html#aed9d1936ffe46b9622ae31cb43233a2e":·[0,·0,·0,·0,·0,·1,·8],68 ····"a00921.html#aed9d1936ffe46b9622ae31cb43233a2e":·[0,·0,·0,·0,·0,·1,·8],
70 ····"a00921.html#af488514a0e7868dd273ebe767420c416":·[0,·0,·0,·0,·0,·1,·17],69 ····"a00921.html#aed9d1936ffe46b9622ae31cb43233a2e":·[1,·0,·0,·0,·0,·1,·8],
71 ····"a00921.html#af488514a0e7868dd273ebe767420c416":·[1,·0,·0,·0,·0,·1,·17],70 ····"a00921.html#af488514a0e7868dd273ebe767420c416":·[1,·0,·0,·0,·0,·1,·17],
 71 ····"a00921.html#af488514a0e7868dd273ebe767420c416":·[0,·0,·0,·0,·0,·1,·17],
72 ····"a00925.html":·[0,·0,·0,·0,·0,·3],72 ····"a00925.html":·[0,·0,·0,·0,·0,·3],
73 ····"a00925.html":·[1,·0,·0,·0,·0,·3],73 ····"a00925.html":·[1,·0,·0,·0,·0,·3],
74 ····"a00925.html#a9920fb01c4b75c94a953a98008a4baba":·[0,·0,·0,·0,·0,·3,·3], 
75 ····"a00925.html#a9920fb01c4b75c94a953a98008a4baba":·[1,·0,·0,·0,·0,·3,·3],74 ····"a00925.html#a9920fb01c4b75c94a953a98008a4baba":·[1,·0,·0,·0,·0,·3,·3],
76 ····"a00925.html#aa9be824a572029f3ec1e0c0d6cfecd77":·[0,·0,·0,·0,·0,·3,·4],75 ····"a00925.html#a9920fb01c4b75c94a953a98008a4baba":·[0,·0,·0,·0,·0,·3,·3],
77 ····"a00925.html#aa9be824a572029f3ec1e0c0d6cfecd77":·[1,·0,·0,·0,·0,·3,·4],76 ····"a00925.html#aa9be824a572029f3ec1e0c0d6cfecd77":·[1,·0,·0,·0,·0,·3,·4],
78 ····"a00925.html#ab71a07bb9e45c564b8aabe091482414c":·[0,·0,·0,·0,·0,·3,·2],77 ····"a00925.html#aa9be824a572029f3ec1e0c0d6cfecd77":·[0,·0,·0,·0,·0,·3,·4],
79 ····"a00925.html#ab71a07bb9e45c564b8aabe091482414c":·[1,·0,·0,·0,·0,·3,·2],78 ····"a00925.html#ab71a07bb9e45c564b8aabe091482414c":·[1,·0,·0,·0,·0,·3,·2],
 79 ····"a00925.html#ab71a07bb9e45c564b8aabe091482414c":·[0,·0,·0,·0,·0,·3,·2],
80 ····"a00925.html#af1812d7cdae22188afec02034f1219cb":·[0,·0,·0,·0,·0,·3,·1],80 ····"a00925.html#af1812d7cdae22188afec02034f1219cb":·[0,·0,·0,·0,·0,·3,·1],
81 ····"a00925.html#af1812d7cdae22188afec02034f1219cb":·[1,·0,·0,·0,·0,·3,·1],81 ····"a00925.html#af1812d7cdae22188afec02034f1219cb":·[1,·0,·0,·0,·0,·3,·1],
82 ····"a00925.html#af457c931d6d611e35737454f2c483f84":·[0,·0,·0,·0,·0,·3,·0],82 ····"a00925.html#af457c931d6d611e35737454f2c483f84":·[0,·0,·0,·0,·0,·3,·0],
83 ····"a00925.html#af457c931d6d611e35737454f2c483f84":·[1,·0,·0,·0,·0,·3,·0],83 ····"a00925.html#af457c931d6d611e35737454f2c483f84":·[1,·0,·0,·0,·0,·3,·0],
84 ····"a00929.html":·[1,·0,·0,·0,·0,·2],84 ····"a00929.html":·[1,·0,·0,·0,·0,·2],
85 ····"a00929.html":·[0,·0,·0,·0,·0,·2],85 ····"a00929.html":·[0,·0,·0,·0,·0,·2],
86 ····"a00929.html#aaeb5db4a748ed56e042ab8c003faa8e9":·[0,·0,·0,·0,·0,·2,·1], 
87 ····"a00929.html#aaeb5db4a748ed56e042ab8c003faa8e9":·[1,·0,·0,·0,·0,·2,·1],86 ····"a00929.html#aaeb5db4a748ed56e042ab8c003faa8e9":·[1,·0,·0,·0,·0,·2,·1],
88 ····"a00929.html#af74dafe122d798d4069b675c52f6665a":·[0,·0,·0,·0,·0,·2,·0],87 ····"a00929.html#aaeb5db4a748ed56e042ab8c003faa8e9":·[0,·0,·0,·0,·0,·2,·1],
89 ····"a00929.html#af74dafe122d798d4069b675c52f6665a":·[1,·0,·0,·0,·0,·2,·0],88 ····"a00929.html#af74dafe122d798d4069b675c52f6665a":·[1,·0,·0,·0,·0,·2,·0],
 89 ····"a00929.html#af74dafe122d798d4069b675c52f6665a":·[0,·0,·0,·0,·0,·2,·0],
90 ····"a00933.html":·[0,·0,·0,·0,·0,·4],90 ····"a00933.html":·[0,·0,·0,·0,·0,·4],
91 ····"a00933.html":·[1,·0,·0,·0,·0,·4],91 ····"a00933.html":·[1,·0,·0,·0,·0,·4],
92 ····"a00933.html#a133ed4fbaddeb2a8036915b14cb21cff":·[1,·0,·0,·0,·0,·4,·20],92 ····"a00933.html#a133ed4fbaddeb2a8036915b14cb21cff":·[1,·0,·0,·0,·0,·4,·20],
93 ····"a00933.html#a133ed4fbaddeb2a8036915b14cb21cff":·[0,·0,·0,·0,·0,·4,·20],93 ····"a00933.html#a133ed4fbaddeb2a8036915b14cb21cff":·[0,·0,·0,·0,·0,·4,·20],
94 ····"a00933.html#a13d195e96314a82c23dc716c9500770a":·[0,·0,·0,·0,·0,·4,·12],94 ····"a00933.html#a13d195e96314a82c23dc716c9500770a":·[0,·0,·0,·0,·0,·4,·12],
95 ····"a00933.html#a13d195e96314a82c23dc716c9500770a":·[1,·0,·0,·0,·0,·4,·12],95 ····"a00933.html#a13d195e96314a82c23dc716c9500770a":·[1,·0,·0,·0,·0,·4,·12],
96 ····"a00933.html#a1563dc3496644c732d9644a1f7133d0e":·[0,·0,·0,·0,·0,·4,·11],96 ····"a00933.html#a1563dc3496644c732d9644a1f7133d0e":·[0,·0,·0,·0,·0,·4,·11],
6.38 KB
./usr/share/doc/opensubdiv/doxy_html/search/all_11.js
6.28 KB
js-beautify {}
    
Offset 2, 15 lines modifiedOffset 2, 15 lines modified
2 ····['s_0',·['s',·['../a01313.html#a874f74a4dc1c9a0cd9c6e0d79c298f55',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchCoord::s()'],2 ····['s_0',·['s',·['../a01313.html#a874f74a4dc1c9a0cd9c6e0d79c298f55',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchCoord::s()'],
3 ········['../a01085.html#a22a5e18d1aeafd28cdd38b543c50c688',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilTableFactoryReal::LocationArray::s()']3 ········['../a01085.html#a22a5e18d1aeafd28cdd38b543c50c688',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilTableFactoryReal::LocationArray::s()']
4 ····]],4 ····]],
5 ····['scheme_1',·['Scheme',·['../a01333.html',·1,·'Scheme&lt;·SCHEME_TYPE·&gt;'],5 ····['scheme_1',·['Scheme',·['../a01333.html',·1,·'Scheme&lt;·SCHEME_TYPE·&gt;'],
6 ········['../a01333.html#add94f921c43fa14d886adfbcdcc00211',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Scheme::Scheme(Options·const·&amp;options)'],6 ········['../a01333.html#add94f921c43fa14d886adfbcdcc00211',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Scheme::Scheme(Options·const·&amp;options)'],
7 ········['../a01333.html#a5c142c4d9c6f3be66bd018713591ffcb',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Scheme::Scheme()']7 ········['../a01333.html#a5c142c4d9c6f3be66bd018713591ffcb',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Scheme::Scheme()']
8 ····]],8 ····]],
9 ····['scheme_2eh_2',·['scheme.h',·['../a00773.html',·1,·'']]],9 ····['scheme_2eh_2',·['scheme.h',·['../a00887.html',·1,·'']]],
10 ····['scheme_5fbilinear_3',·['SCHEME_BILINEAR',·['../a00913.html#aa3daa2f428c6be2b1cb394f3a525833da02558f420bac2d6bd3f8411d4b3957a0',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc']]],10 ····['scheme_5fbilinear_3',·['SCHEME_BILINEAR',·['../a00913.html#aa3daa2f428c6be2b1cb394f3a525833da02558f420bac2d6bd3f8411d4b3957a0',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc']]],
11 ····['scheme_5fcatmark_4',·['SCHEME_CATMARK',·['../a00913.html#aa3daa2f428c6be2b1cb394f3a525833da29c9704ef8a61670dfc242b6e6b82a9f',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc']]],11 ····['scheme_5fcatmark_4',·['SCHEME_CATMARK',·['../a00913.html#aa3daa2f428c6be2b1cb394f3a525833da29c9704ef8a61670dfc242b6e6b82a9f',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc']]],
12 ····['scheme_5floop_5',·['SCHEME_LOOP',·['../a00913.html#aa3daa2f428c6be2b1cb394f3a525833da529a2651a5dcfac532e933ffefc36e99',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc']]],12 ····['scheme_5floop_5',·['SCHEME_LOOP',·['../a00913.html#aa3daa2f428c6be2b1cb394f3a525833da529a2651a5dcfac532e933ffefc36e99',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc']]],
13 ····['schemeoptions_6',·['schemeOptions',·['../a01129.html#a9ec2ab2b4bd49c6cf367dac80c8cbb94',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefinerFactory::Options']]],13 ····['schemeoptions_6',·['schemeOptions',·['../a01129.html#a9ec2ab2b4bd49c6cf367dac80c8cbb94',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefinerFactory::Options']]],
14 ····['schemetype_7',·['schemeType',·['../a01129.html#ab4a105466e7c764e3aabaa6c44c1eeb6',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefinerFactory::Options']]],14 ····['schemetype_7',·['schemeType',·['../a01129.html#ab4a105466e7c764e3aabaa6c44c1eeb6',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefinerFactory::Options']]],
15 ····['schemetype_8',·['SchemeType',·['../a00913.html#aa3daa2f428c6be2b1cb394f3a525833d',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc']]],15 ····['schemetype_8',·['SchemeType',·['../a00913.html#aa3daa2f428c6be2b1cb394f3a525833d',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc']]],
16 ····['schemetypetraits_9',·['SchemeTypeTraits',·['../a01341.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc']]],16 ····['schemetypetraits_9',·['SchemeTypeTraits',·['../a01341.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc']]],
Offset 76, 21 lines modifiedOffset 76, 21 lines modified
76 ····['shrinktofit_63',·['shrinkToFit',·['../a01053.html#a84fb9ead4f0f7458491b5d310592cea9',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableReal']]],76 ····['shrinktofit_63',·['shrinkToFit',·['../a01053.html#a84fb9ead4f0f7458491b5d310592cea9',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableReal']]],
77 ····['size_64',·['size',·['../a00937.html#a439227feff9d7f55384e8780cfc2eb82',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::PointDescriptor::size()'],77 ····['size_64',·['size',·['../a00937.html#a439227feff9d7f55384e8780cfc2eb82',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::PointDescriptor::size()'],
78 ········['../a01345.html#a60304b65bf89363bcc3165d3cde67f86',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Vtr::ConstArray::size()·const']78 ········['../a01345.html#a60304b65bf89363bcc3165d3cde67f86',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Vtr::ConstArray::size()·const']
79 ····]],79 ····]],
80 ····['size_5ftype_65',·['size_type',·['../a01345.html#aafd1e3ba4133ad908bdbc99c4b356e5f',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Vtr::ConstArray::size_type()'],80 ····['size_5ftype_65',·['size_type',·['../a01345.html#aafd1e3ba4133ad908bdbc99c4b356e5f',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Vtr::ConstArray::size_type()'],
81 ········['../a01349.html#aafd1e3ba4133ad908bdbc99c4b356e5f',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Vtr::Array::size_type()']81 ········['../a01349.html#aafd1e3ba4133ad908bdbc99c4b356e5f',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Vtr::Array::size_type()']
82 ····]],82 ····]],
83 ····['sparseselector_2eh_66',·['sparseSelector.h',·['../a00746.html',·1,·'']]],83 ····['sparseselector_2eh_66',·['sparseSelector.h',·['../a00749.html',·1,·'']]],
84 ····['split_67',·['Split',·['../a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887b',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc']]],84 ····['split_67',·['Split',·['../a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887b',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc']]],
85 ····['split_5fhybrid_68',·['SPLIT_HYBRID',·['../a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887ba6ebca125aa2292ebbdfd6539d3656d28',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc']]],85 ····['split_5fhybrid_68',·['SPLIT_HYBRID',·['../a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887ba6ebca125aa2292ebbdfd6539d3656d28',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc']]],
86 ····['split_5fto_5fquads_69',·['SPLIT_TO_QUADS',·['../a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887ba56eed514f6a5971f198c9e421054b513',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc']]],86 ····['split_5fto_5fquads_69',·['SPLIT_TO_QUADS',·['../a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887ba56eed514f6a5971f198c9e421054b513',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc']]],
87 ····['split_5fto_5ftris_70',·['SPLIT_TO_TRIS',·['../a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887ba31959b36c678fcb560f478ecb7c051f5',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc']]],87 ····['split_5fto_5ftris_70',·['SPLIT_TO_TRIS',·['../a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887ba31959b36c678fcb560f478ecb7c051f5',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc']]],
88 ····['srcdesc_71',·['srcDesc',·['../a01269.html#a5d0b0430c7584408dbcd788f52b80fd4',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::EvaluatorCacheT::Entry']]],88 ····['srcdesc_71',·['srcDesc',·['../a01269.html#a5d0b0430c7584408dbcd788f52b80fd4',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::EvaluatorCacheT::Entry']]],
89 ····['stackbuffer_2eh_72',·['stackBuffer.h',·['../a00749.html',·1,·'']]],89 ····['stackbuffer_2eh_72',·['stackBuffer.h',·['../a00746.html',·1,·'']]],
90 ····['stencil_73',·['Stencil',·['../a01049.html',·1,·'Stencil'],90 ····['stencil_73',·['Stencil',·['../a01049.html',·1,·'Stencil'],
91 ········['../a01049.html#af3b2d4f28b2b1edbb491db39b0658c2a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::Stencil::Stencil()'],91 ········['../a01049.html#af3b2d4f28b2b1edbb491db39b0658c2a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::Stencil::Stencil()'],
92 ········['../a01049.html#a540bd990ac7c5770b6f1a5eb5b58d874',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::Stencil::Stencil(BaseStencil·const·&amp;other)'],92 ········['../a01049.html#a540bd990ac7c5770b6f1a5eb5b58d874',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::Stencil::Stencil(BaseStencil·const·&amp;other)'],
93 ········['../a01049.html#a685b0ef36235914f7c10ff8f1169ade8',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::Stencil::Stencil(int·*size,·Index·*indices,·float·*weights)']93 ········['../a01049.html#a685b0ef36235914f7c10ff8f1169ade8',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::Stencil::Stencil(int·*size,·Index·*indices,·float·*weights)']
94 ····]],94 ····]],
95 ····['stencilreal_74',·['StencilReal',·['../a01045.html',·1,·'StencilReal&lt;·REAL·&gt;'],95 ····['stencilreal_74',·['StencilReal',·['../a01045.html',·1,·'StencilReal&lt;·REAL·&gt;'],
96 ········['../a01045.html#a698f69e8409658c6afaf5ea1ff0f15b8',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilReal::StencilReal(StencilReal·const·&amp;other)'],96 ········['../a01045.html#a698f69e8409658c6afaf5ea1ff0f15b8',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilReal::StencilReal(StencilReal·const·&amp;other)'],
Offset 138, 15 lines modifiedOffset 138, 15 lines modified
138 ········['../a00933.html#a3bdc23048cdd1242d0a429413fa89256',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::SurfaceFactory()']138 ········['../a00933.html#a3bdc23048cdd1242d0a429413fa89256',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::SurfaceFactory()']
139 ····]],139 ····]],
140 ····['surfacefactory_2eh_93',·['surfaceFactory.h',·['../a00686.html',·1,·'']]],140 ····['surfacefactory_2eh_93',·['surfaceFactory.h',·['../a00686.html',·1,·'']]],
141 ····['surfacefactorycache_94',·['SurfaceFactoryCache',·['../a00949.html',·1,·'SurfaceFactoryCache'],141 ····['surfacefactorycache_94',·['SurfaceFactoryCache',·['../a00949.html',·1,·'SurfaceFactoryCache'],
142 ········['../a00949.html#a3f63565868cb0b0871e2db37939ec0e2',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryCache::SurfaceFactoryCache()'],142 ········['../a00949.html#a3f63565868cb0b0871e2db37939ec0e2',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryCache::SurfaceFactoryCache()'],
143 ········['../a00949.html#a704742f6a7a07e766b5320c8d6f2f745',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryCache::SurfaceFactoryCache(SurfaceFactoryCache·const·&amp;)=delete']143 ········['../a00949.html#a704742f6a7a07e766b5320c8d6f2f745',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryCache::SurfaceFactoryCache(SurfaceFactoryCache·const·&amp;)=delete']
144 ····]],144 ····]],
145 ····['surfacefactorycache_2eh_95',·['surfaceFactoryCache.h',·['../a00677.html',·1,·'']]],145 ····['surfacefactorycache_2eh_95',·['surfaceFactoryCache.h',·['../a00680.html',·1,·'']]],
146 ····['surfacefactorycachethreaded_96',·['SurfaceFactoryCacheThreaded',·['../a00953.html',·1,·'SurfaceFactoryCacheThreaded&lt;·MUTEX_TYPE,·READ_LOCK_GUARD_TYPE,·WRITE_LOCK_GUARD_TYPE·&gt;'],146 ····['surfacefactorycachethreaded_96',·['SurfaceFactoryCacheThreaded',·['../a00953.html',·1,·'SurfaceFactoryCacheThreaded&lt;·MUTEX_TYPE,·READ_LOCK_GUARD_TYPE,·WRITE_LOCK_GUARD_TYPE·&gt;'],
147 ········['../a00953.html#a9e84b6f045809c700d7dc53c3a350afe',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryCacheThreaded::SurfaceFactoryCacheThreaded()']147 ········['../a00953.html#a9e84b6f045809c700d7dc53c3a350afe',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryCacheThreaded::SurfaceFactoryCacheThreaded()']
148 ····]],148 ····]],
149 ····['surfacefactorymeshadapter_97',·['SurfaceFactoryMeshAdapter',·['../a00957.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr']]],149 ····['surfacefactorymeshadapter_97',·['SurfaceFactoryMeshAdapter',·['../a00957.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr']]],
150 ····['surfacefactorymeshadapter_2eh_98',·['surfaceFactoryMeshAdapter.h',·['../a00683.html',·1,·'']]],150 ····['surfacefactorymeshadapter_2eh_98',·['surfaceFactoryMeshAdapter.h',·['../a00683.html',·1,·'']]],
151 ····['synchronize_99',·['Synchronize',·['../a01141.html#a0529a707250f9931f945ec49d4e428d2',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLEvaluator::Synchronize(cl_command_queue·queue)'],151 ····['synchronize_99',·['Synchronize',·['../a01141.html#a0529a707250f9931f945ec49d4e428d2',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLEvaluator::Synchronize(cl_command_queue·queue)'],
152 ········['../a01141.html#a7e77f811e9d48160701e705bb4300388',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLEvaluator::Synchronize(DEVICE_CONTEXT·deviceContext)'],152 ········['../a01141.html#a7e77f811e9d48160701e705bb4300388',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLEvaluator::Synchronize(DEVICE_CONTEXT·deviceContext)'],
6.56 KB
./usr/share/doc/opensubdiv/doxy_html/search/all_12.js
6.45 KB
js-beautify {}
    
Offset 6, 23 lines modifiedOffset 6, 23 lines modified
6 ········['../a00912.html#a20e08be34d6183b6943ed7a1586eca4a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::TbbEvalPatches(float·const·*src,·BufferDescriptor·const·&amp;srcDesc,·float·*dst,·BufferDescriptor·const·&amp;dstDesc,·float·*dstDu,·BufferDescriptor·const·&amp;dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&amp;dstDvDesc,·int·numPatchCoords,·const·PatchCoord·*patchCoords,·const·PatchArray·*patchArrayBuffer,·const·int·*patchIndexBuffer,·const·PatchParam·*patchParamBuffer)']6 ········['../a00912.html#a20e08be34d6183b6943ed7a1586eca4a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::TbbEvalPatches(float·const·*src,·BufferDescriptor·const·&amp;srcDesc,·float·*dst,·BufferDescriptor·const·&amp;dstDesc,·float·*dstDu,·BufferDescriptor·const·&amp;dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&amp;dstDvDesc,·int·numPatchCoords,·const·PatchCoord·*patchCoords,·const·PatchArray·*patchArrayBuffer,·const·int·*patchIndexBuffer,·const·PatchParam·*patchParamBuffer)']
7 ····]],7 ····]],
8 ····['tbbevalstencils_2',·['TbbEvalStencils',·['../a00912.html#aa65ed860a2fa5935d99129a898a8f0b6',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::TbbEvalStencils(float·const·*src,·BufferDescriptor·const·&amp;srcDesc,·float·*dst,·BufferDescriptor·const·&amp;dstDesc,·float·*dstDu,·BufferDescriptor·const·&amp;dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&amp;dstDvDesc,·float·*dstDuu,·BufferDescriptor·const·&amp;dstDuuDesc,·float·*dstDuv,·BufferDescriptor·const·&amp;dstDuvDesc,·float·*dstDvv,·BufferDescriptor·const·&amp;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·&amp;srcDesc,·float·*dst,·BufferDescriptor·const·&amp;dstDesc,·float·*dstDu,·BufferDescriptor·const·&amp;dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&amp;dstDvDesc,·float·*dstDuu,·BufferDescriptor·const·&amp;dstDuuDesc,·float·*dstDuv,·BufferDescriptor·const·&amp;dstDuvDesc,·float·*dstDvv,·BufferDescriptor·const·&amp;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·&amp;srcDesc,·float·*dst,·BufferDescriptor·const·&amp;dstDesc,·float·*dstDu,·BufferDescriptor·const·&amp;dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&amp;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·&amp;srcDesc,·float·*dst,·BufferDescriptor·const·&amp;dstDesc,·float·*dstDu,·BufferDescriptor·const·&amp;dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&amp;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·&amp;srcDesc,·float·*dst,·BufferDescriptor·const·&amp;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·&amp;srcDesc,·float·*dst,·BufferDescriptor·const·&amp;dstDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·int·start,·int·end)']
11 ····]],11 ····]],
12 ····['tbbevaluator_3',·['TbbEvaluator',·['../a01309.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],12 ····['tbbevaluator_3',·['TbbEvaluator',·['../a01309.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],
13 ····['tbbevaluator_2eh_4',·['tbbEvaluator.h',·['../a00875.html',·1,·'']]],13 ····['tbbevaluator_2eh_4',·['tbbEvaluator.h',·['../a00857.html',·1,·'']]],
14 ····['tbbkernel_2eh_5',·['tbbKernel.h',·['../a00872.html',·1,·'']]],14 ····['tbbkernel_2eh_5',·['tbbKernel.h',·['../a00854.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·&amp;)=delete'],16 ········['../a00961.html#ab03191ef31cf0d8b0bcc44f226804e87',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation::Tessellation(Tessellation·const·&amp;)=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·&amp;p,·int·numRates,·int·const·rates[],·Options·const·&amp;options=Options())'],18 ········['../a00961.html#a65ee652b3607c97bb2b04a64c55d7f99',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation::Tessellation(Parameterization·const·&amp;p,·int·numRates,·int·const·rates[],·Options·const·&amp;options=Options())'],
19 ········['../a00961.html#a7f0af117d53701f7ca6e3eb2368b89bb',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation::Tessellation(Parameterization·const·&amp;p,·int·uniformRate,·Options·const·&amp;options=Options())']19 ········['../a00961.html#a7f0af117d53701f7ca6e3eb2368b89bb',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation::Tessellation(Parameterization·const·&amp;p,·int·uniformRate,·Options·const·&amp;options=Options())']
20 ····]],20 ····]],
21 ····['tessellation_2eh_7',·['tessellation.h',·['../a00680.html',·1,·'']]],21 ····['tessellation_2eh_7',·['tessellation.h',·['../a00674.html',·1,·'']]],
22 ····['topologycallback_8',·['TopologyCallback',·['../a01125.html#a896a964625491e084b3d776acd10f053',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefinerFactoryBase']]],22 ····['topologycallback_8',·['TopologyCallback',·['../a01125.html#a896a964625491e084b3d776acd10f053',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefinerFactoryBase']]],
23 ····['topologydescriptor_9',·['TopologyDescriptor',·['../a01097.html',·1,·'TopologyDescriptor'],23 ····['topologydescriptor_9',·['TopologyDescriptor',·['../a01097.html',·1,·'TopologyDescriptor'],
24 ········['../a01097.html#a8209f1b69b0162ee2e7065d91088113d',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor::TopologyDescriptor()']24 ········['../a01097.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',·['../a01109.html#a5458be6ce3f2e63c8d8555f4ab3b2b62',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefinerFactory']]],27 ····['topologyerror_11',·['TopologyError',·['../a01109.html#a5458be6ce3f2e63c8d8555f4ab3b2b62',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefinerFactory']]],
28 ····['topologylevel_12',·['TopologyLevel',·['../a01105.html',·1,·'TopologyLevel'],28 ····['topologylevel_12',·['TopologyLevel',·['../a01105.html',·1,·'TopologyLevel'],
Offset 30, 19 lines modifiedOffset 30, 19 lines modified
30 ····]],30 ····]],
31 ····['topologylevel_2eh_13',·['topologyLevel.h',·['../a00710.html',·1,·'']]],31 ····['topologylevel_2eh_13',·['topologyLevel.h',·['../a00710.html',·1,·'']]],
32 ····['topologyrefiner_14',·['TopologyRefiner',·['../a01113.html',·1,·'TopologyRefiner'],32 ····['topologyrefiner_14',·['TopologyRefiner',·['../a01113.html',·1,·'TopologyRefiner'],
33 ········['../a01105.html#a094d2e51437ecd5ecc6a0cf2c4ce1e78',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyLevel::TopologyRefiner()'],33 ········['../a01105.html#a094d2e51437ecd5ecc6a0cf2c4ce1e78',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyLevel::TopologyRefiner()'],
34 ········['../a01113.html#a91353962838bff64448014136e0e11ff',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::TopologyRefiner(Sdc::SchemeType·type,·Sdc::Options·options=Sdc::Options())'],34 ········['../a01113.html#a91353962838bff64448014136e0e11ff',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::TopologyRefiner(Sdc::SchemeType·type,·Sdc::Options·options=Sdc::Options())'],
35 ········['../a01113.html#a13c709a24feeed80409924510e3efc5e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::TopologyRefiner(TopologyRefiner·const·&amp;source)']35 ········['../a01113.html#a13c709a24feeed80409924510e3efc5e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::TopologyRefiner(TopologyRefiner·const·&amp;source)']
36 ····]],36 ····]],
37 ····['topologyrefiner_2eh_15',·['topologyRefiner.h',·['../a00704.html',·1,·'']]],37 ····['topologyrefiner_2eh_15',·['topologyRefiner.h',·['../a00707.html',·1,·'']]],
38 ····['topologyrefinerfactory_16',·['TopologyRefinerFactory',·['../a01109.html',·1,·'TopologyRefinerFactory&lt;·MESH·&gt;'],38 ····['topologyrefinerfactory_16',·['TopologyRefinerFactory',·['../a01109.html',·1,·'TopologyRefinerFactory&lt;·MESH·&gt;'],
39 ········['../a01113.html#a7efec9ae15b61001dcf6a0de284914b7',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::TopologyRefinerFactory()']39 ········['../a01113.html#a7efec9ae15b61001dcf6a0de284914b7',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::TopologyRefinerFactory()']
40 ····]],40 ····]],
41 ····['topologyrefinerfactory_2eh_17',·['topologyRefinerFactory.h',·['../a00707.html',·1,·'']]],41 ····['topologyrefinerfactory_2eh_17',·['topologyRefinerFactory.h',·['../a00704.html',·1,·'']]],
42 ····['topologyrefinerfactorybase_18',·['TopologyRefinerFactoryBase',·['../a01125.html',·1,·'TopologyRefinerFactoryBase'],42 ····['topologyrefinerfactorybase_18',·['TopologyRefinerFactoryBase',·['../a01125.html',·1,·'TopologyRefinerFactoryBase'],
43 ········['../a01113.html#a7b09fef2ae2989a546c50a65add2091f',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::TopologyRefinerFactoryBase()']43 ········['../a01113.html#a7b09fef2ae2989a546c50a65add2091f',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::TopologyRefinerFactoryBase()']
44 ····]],44 ····]],
45 ····['transformfacetcoordindices_19',·['TransformFacetCoordIndices',·['../a00961.html#a621ab2f30043ff7f4ecdad9e64a73173',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation::TransformFacetCoordIndices(int·facetTuples[],·int·commonOffset)'],45 ····['transformfacetcoordindices_19',·['TransformFacetCoordIndices',·['../a00961.html#a621ab2f30043ff7f4ecdad9e64a73173',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation::TransformFacetCoordIndices(int·facetTuples[],·int·commonOffset)'],
46 ········['../a00961.html#a666de589b64bea493b1d23446a1ddb49',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation::TransformFacetCoordIndices(int·facetTuples[],·int·const·boundaryIndices[],·int·interiorOffset)'],46 ········['../a00961.html#a666de589b64bea493b1d23446a1ddb49',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation::TransformFacetCoordIndices(int·facetTuples[],·int·const·boundaryIndices[],·int·interiorOffset)'],
47 ········['../a00961.html#a2651a3405daf40d1ffbd47c57233d3c3',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation::TransformFacetCoordIndices(int·facetTuples[],·int·const·boundaryIndices[],·int·const·interiorIndices[])']47 ········['../a00961.html#a2651a3405daf40d1ffbd47c57233d3c3',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation::TransformFacetCoordIndices(int·facetTuples[],·int·const·boundaryIndices[],·int·const·interiorIndices[])']
48 ····]],48 ····]],
2.2 KB
./usr/share/doc/opensubdiv/doxy_html/search/all_14.js
2.1 KB
js-beautify {}
    
Offset 9, 15 lines modifiedOffset 9, 15 lines modified
9 ····['vertexbufferbinding_5',·['VertexBufferBinding',·['../a01201.html#a2d85a5ed6ddcef5023c9ef2e6fdd38a5',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11PatchTable::VertexBufferBinding()'],9 ····['vertexbufferbinding_5',·['VertexBufferBinding',·['../a01201.html#a2d85a5ed6ddcef5023c9ef2e6fdd38a5',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11PatchTable::VertexBufferBinding()'],
10 ········['../a01229.html#a02af2ea2e9328a776b5b0bb3edf88864',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLPatchTable::VertexBufferBinding()'],10 ········['../a01229.html#a02af2ea2e9328a776b5b0bb3edf88864',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLPatchTable::VertexBufferBinding()'],
11 ········['../a01261.html#a9cf40ecf1b9b5c29507fe92a03f37a3c',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshInterface::VertexBufferBinding()'],11 ········['../a01261.html#a9cf40ecf1b9b5c29507fe92a03f37a3c',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshInterface::VertexBufferBinding()'],
12 ········['../a01273.html#a9cf40ecf1b9b5c29507fe92a03f37a3c',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::Mesh::VertexBufferBinding()'],12 ········['../a01273.html#a9cf40ecf1b9b5c29507fe92a03f37a3c',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::Mesh::VertexBufferBinding()'],
13 ········['../a01297.html#aa00654dc321a5c8dc370a900b0f404da',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchTable::VertexBufferBinding()']13 ········['../a01297.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',·['../a00674.html',·1,·'']]],16 ····['vertexdescriptor_2eh_7',·['vertexDescriptor.h',·['../a00677.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',·['../a01337.html#aec5c2abfdfbde4dd934c061625994791',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Scheme::LocalMask::VertexWeight(int·index)·const'],18 ····['vertexweight_9',·['VertexWeight',·['../a01337.html#aec5c2abfdfbde4dd934c061625994791',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Scheme::LocalMask::VertexWeight(int·index)·const'],
19 ········['../a01337.html#a92e98987f9a4220b9edd041401c9ed76',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Scheme::LocalMask::VertexWeight(int·index)']19 ········['../a01337.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',·['../a01097.html#a3f2274c4d3dd54c4e24144e504972b34',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor']]],22 ····['vertindicesperface_11',·['vertIndicesPerFace',·['../a01097.html#a3f2274c4d3dd54c4e24144e504972b34',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor']]],
23 ····['vtx_5fboundary_5fedge_5fand_5fcorner_12',·['VTX_BOUNDARY_EDGE_AND_CORNER',·['../a01329.html#acbf78f1a6abfc8db080ef7fb3c3f417eac6e5f52f358d3b6d62cc2b708a5a8757',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Options']]],23 ····['vtx_5fboundary_5fedge_5fand_5fcorner_12',·['VTX_BOUNDARY_EDGE_AND_CORNER',·['../a01329.html#acbf78f1a6abfc8db080ef7fb3c3f417eac6e5f52f358d3b6d62cc2b708a5a8757',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Options']]],
2.7 KB
./usr/share/doc/opensubdiv/doxy_html/search/all_2.js
2.6 KB
js-beautify {}
    
Offset 4, 15 lines modifiedOffset 4, 15 lines modified
4 ····]],4 ····]],
5 ····['basetable_1',·['BaseTable',·['../a01057.html#a54f0bb223290a17a59f51f4cbcfbc2e2',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTable::BaseTable()'],5 ····['basetable_1',·['BaseTable',·['../a01057.html#a54f0bb223290a17a59f51f4cbcfbc2e2',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTable::BaseTable()'],
6 ········['../a01073.html#a13d2ee8ca9cdc9073905193ea1cefd95',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilTable::BaseTable()']6 ········['../a01073.html#a13d2ee8ca9cdc9073905193ea1cefd95',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilTable::BaseTable()']
7 ····]],7 ····]],
8 ····['begin_2',·['begin',·['../a01345.html#a29305669b60ca1680752e2fc3592ba99',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Vtr::ConstArray::begin()'],8 ····['begin_2',·['begin',·['../a01345.html#a29305669b60ca1680752e2fc3592ba99',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Vtr::ConstArray::begin()'],
9 ········['../a01349.html#ad69bd11391be1a1dba5c8202259664f8',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Vtr::Array::begin()']9 ········['../a01349.html#ad69bd11391be1a1dba5c8202259664f8',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Vtr::Array::begin()']
10 ····]],10 ····]],
11 ····['bilinearscheme_2eh_3',·['bilinearScheme.h',·['../a00785.html',·1,·'']]],11 ····['bilinearscheme_2eh_3',·['bilinearScheme.h',·['../a00899.html',·1,·'']]],
12 ····['bindclbuffer_4',·['BindCLBuffer',·['../a01149.html#ad9c25d5b96f9d5e971f677d32b406ec6',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLVertexBuffer']]],12 ····['bindclbuffer_4',·['BindCLBuffer',·['../a01149.html#ad9c25d5b96f9d5e971f677d32b406ec6',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLVertexBuffer']]],
13 ····['bindcpubuffer_5',·['BindCpuBuffer',·['../a01153.html#adf7a9df5d3fc4d803bf5f1f374d90274',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuD3D11VertexBuffer::BindCpuBuffer()'],13 ····['bindcpubuffer_5',·['BindCpuBuffer',·['../a01153.html#adf7a9df5d3fc4d803bf5f1f374d90274',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuD3D11VertexBuffer::BindCpuBuffer()'],
14 ········['../a01161.html#adf7a9df5d3fc4d803bf5f1f374d90274',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuGLVertexBuffer::BindCpuBuffer()'],14 ········['../a01161.html#adf7a9df5d3fc4d803bf5f1f374d90274',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuGLVertexBuffer::BindCpuBuffer()'],
15 ········['../a01169.html#adf7a9df5d3fc4d803bf5f1f374d90274',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuVertexBuffer::BindCpuBuffer()'],15 ········['../a01169.html#adf7a9df5d3fc4d803bf5f1f374d90274',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuVertexBuffer::BindCpuBuffer()'],
16 ········['../a01301.html#adf7a9df5d3fc4d803bf5f1f374d90274',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CPUMTLVertexBuffer::BindCpuBuffer()']16 ········['../a01301.html#adf7a9df5d3fc4d803bf5f1f374d90274',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CPUMTLVertexBuffer::BindCpuBuffer()']
17 ····]],17 ····]],
18 ····['bindcudabuffer_6',·['BindCudaBuffer',·['../a01185.html#a59eb144c23606529ba730ae15598af09',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaVertexBuffer']]],18 ····['bindcudabuffer_6',·['BindCudaBuffer',·['../a01185.html#a59eb144c23606529ba730ae15598af09',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaVertexBuffer']]],
Offset 35, 9 lines modifiedOffset 35, 9 lines modified
35 ····]],35 ····]],
36 ····['boundcontrolpoints_13',·['BoundControlPoints',·['../a00933.html#a22604a4489ed5fdedb0ef272de0fa637',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface']]],36 ····['boundcontrolpoints_13',·['BoundControlPoints',·['../a00933.html#a22604a4489ed5fdedb0ef272de0fa637',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface']]],
37 ····['boundcontrolpointsfrommesh_14',·['BoundControlPointsFromMesh',·['../a00933.html#a8df5cf06cea51aeb6419fd698651ae3b',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface']]],37 ····['boundcontrolpointsfrommesh_14',·['BoundControlPointsFromMesh',·['../a00933.html#a8df5cf06cea51aeb6419fd698651ae3b',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface']]],
38 ····['bufferdescriptor_15',·['BufferDescriptor',·['../a01133.html#a446218762f5de8c77d06ee61e14b6b61',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::BufferDescriptor::BufferDescriptor()'],38 ····['bufferdescriptor_15',·['BufferDescriptor',·['../a01133.html#a446218762f5de8c77d06ee61e14b6b61',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::BufferDescriptor::BufferDescriptor()'],
39 ········['../a01133.html#a958068066d1d10ae2a452ac57d9c0401',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::BufferDescriptor::BufferDescriptor(int·o,·int·l,·int·s)'],39 ········['../a01133.html#a958068066d1d10ae2a452ac57d9c0401',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::BufferDescriptor::BufferDescriptor(int·o,·int·l,·int·s)'],
40 ········['../a01133.html',·1,·'BufferDescriptor']40 ········['../a01133.html',·1,·'BufferDescriptor']
41 ····]],41 ····]],
42 ····['bufferdescriptor_2eh_16',·['bufferDescriptor.h',·['../a00899.html',·1,·'']]]42 ····['bufferdescriptor_2eh_16',·['bufferDescriptor.h',·['../a00881.html',·1,·'']]]
43 ];43 ];
11.3 KB
./usr/share/doc/opensubdiv/doxy_html/search/all_3.js
11.2 KB
js-beautify {}
    
Offset 1, 35 lines modifiedOffset 1, 35 lines modified
1 var·searchData·=·[1 var·searchData·=·[
2 ····['catmarkscheme_2eh_0',·['catmarkScheme.h',·['../a00782.html',·1,·'']]],2 ····['catmarkscheme_2eh_0',·['catmarkScheme.h',·['../a00902.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',·['../a01017.html#ac8bb3912a3ce86b15842e79d0b421204',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::PatchFaceTag']]],4 ····['clear_2',·['clear',·['../a01017.html#ac8bb3912a3ce86b15842e79d0b421204',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::PatchFaceTag']]],
5 ····['clear_3',·['Clear',·['../a01069.html#aa71d36872f416feaa853788a7a7a7ef8',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilTableReal::Clear()'],5 ····['clear_3',·['Clear',·['../a01069.html#aa71d36872f416feaa853788a7a7a7ef8',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilTableReal::Clear()'],
6 ········['../a01053.html#aa71d36872f416feaa853788a7a7a7ef8',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableReal::Clear()'],6 ········['../a01053.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 ····]],
10 ····['clearedgesharpness_4',·['ClearEdgeSharpness',·['../a00969.html#a831025d6d817c4afb1df7d5a705af378',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::VertexDescriptor']]],10 ····['clearedgesharpness_4',·['ClearEdgeSharpness',·['../a00969.html#a831025d6d817c4afb1df7d5a705af378',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::VertexDescriptor']]],
11 ····['clearincidentfacesizes_5',·['ClearIncidentFaceSizes',·['../a00969.html#a5c719e43580059139938a6ed0f851853',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::VertexDescriptor']]],11 ····['clearincidentfacesizes_5',·['ClearIncidentFaceSizes',·['../a00969.html#a5c719e43580059139938a6ed0f851853',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::VertexDescriptor']]],
12 ····['clearvertexsharpness_6',·['ClearVertexSharpness',·['../a00969.html#a68afc60df5a617f5d7e1580548b72f9b',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::VertexDescriptor']]],12 ····['clearvertexsharpness_6',·['ClearVertexSharpness',·['../a00969.html#a68afc60df5a617f5d7e1580548b72f9b',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::VertexDescriptor']]],
13 ····['clevaluator_7',·['CLEvaluator',·['../a01141.html#adbb0aafb7db3284f164499e8007c4cac',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLEvaluator::CLEvaluator()'],13 ····['clevaluator_7',·['CLEvaluator',·['../a01141.html#adbb0aafb7db3284f164499e8007c4cac',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLEvaluator::CLEvaluator()'],
14 ········['../a01141.html',·1,·'CLEvaluator']14 ········['../a01141.html',·1,·'CLEvaluator']
15 ····]],15 ····]],
16 ····['clevaluator_2eh_8',·['clEvaluator.h',·['../a00803.html',·1,·'']]],16 ····['clevaluator_2eh_8',·['clEvaluator.h',·['../a00785.html',·1,·'']]],
17 ····['clpatchtable_9',·['CLPatchTable',·['../a01145.html#ae69549a9493f9a51edfa7d11cec1d72f',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLPatchTable::CLPatchTable()'],17 ····['clpatchtable_9',·['CLPatchTable',·['../a01145.html#ae69549a9493f9a51edfa7d11cec1d72f',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLPatchTable::CLPatchTable()'],
18 ········['../a01145.html',·1,·'CLPatchTable']18 ········['../a01145.html',·1,·'CLPatchTable']
19 ····]],19 ····]],
20 ····['clpatchtable_2eh_10',·['clPatchTable.h',·['../a00800.html',·1,·'']]],20 ····['clpatchtable_2eh_10',·['clPatchTable.h',·['../a00782.html',·1,·'']]],
21 ····['clstenciltable_11',·['CLStencilTable',·['../a01137.html#af2994e79cf93c872e39659321750351a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLStencilTable::CLStencilTable(Far::LimitStencilTable·const·*limitStencilTable,·cl_context·clContext)'],21 ····['clstenciltable_11',·['CLStencilTable',·['../a01137.html#af2994e79cf93c872e39659321750351a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLStencilTable::CLStencilTable(Far::LimitStencilTable·const·*limitStencilTable,·cl_context·clContext)'],
22 ········['../a01137.html#a33ca6bb1dba9f8e390a58395d164431e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLStencilTable::CLStencilTable(Far::StencilTable·const·*stencilTable,·cl_context·clContext)'],22 ········['../a01137.html#a33ca6bb1dba9f8e390a58395d164431e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLStencilTable::CLStencilTable(Far::StencilTable·const·*stencilTable,·cl_context·clContext)'],
23 ········['../a01137.html',·1,·'CLStencilTable']23 ········['../a01137.html',·1,·'CLStencilTable']
24 ····]],24 ····]],
25 ····['clvertexbuffer_12',·['CLVertexBuffer',·['../a01149.html#a48e2b665b557d5f3f838bc552152160b',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLVertexBuffer::CLVertexBuffer()'],25 ····['clvertexbuffer_12',·['CLVertexBuffer',·['../a01149.html#a48e2b665b557d5f3f838bc552152160b',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLVertexBuffer::CLVertexBuffer()'],
26 ········['../a01149.html',·1,·'CLVertexBuffer']26 ········['../a01149.html',·1,·'CLVertexBuffer']
27 ····]],27 ····]],
28 ····['clvertexbuffer_2eh_13',·['clVertexBuffer.h',·['../a00797.html',·1,·'']]],28 ····['clvertexbuffer_2eh_13',·['clVertexBuffer.h',·['../a00779.html',·1,·'']]],
29 ····['combinevertexvertexmasks_14',·['CombineVertexVertexMasks',·['../a01337.html#a5ed800e9d702f57ae978fe60ba2a37dc',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Scheme::LocalMask']]],29 ····['combinevertexvertexmasks_14',·['CombineVertexVertexMasks',·['../a01337.html#a5ed800e9d702f57ae978fe60ba2a37dc',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Scheme::LocalMask']]],
30 ····['commandqueue_15',·['commandQueue',·['../a01277.html#a66809eb79c7e79a491fd8c889465166b',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLContext']]],30 ····['commandqueue_15',·['commandQueue',·['../a01277.html#a66809eb79c7e79a491fd8c889465166b',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLContext']]],
31 ····['compile_16',·['Compile',·['../a01141.html#ade1086349c1a452f60bcf281383ceec2',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLEvaluator::Compile()'],31 ····['compile_16',·['Compile',·['../a01141.html#ade1086349c1a452f60bcf281383ceec2',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLEvaluator::Compile()'],
32 ········['../a01193.html#a872e69a9fbf6f7b9f55112ecaf0c1b20',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11ComputeEvaluator::Compile()'],32 ········['../a01193.html#a872e69a9fbf6f7b9f55112ecaf0c1b20',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11ComputeEvaluator::Compile()'],
33 ········['../a01213.html#ade1086349c1a452f60bcf281383ceec2',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLComputeEvaluator::Compile()'],33 ········['../a01213.html#ade1086349c1a452f60bcf281383ceec2',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLComputeEvaluator::Compile()'],
34 ········['../a01285.html#af6645aabc094e7549c6899915ce34f67',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLComputeEvaluator::Compile()'],34 ········['../a01285.html#af6645aabc094e7549c6899915ce34f67',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLComputeEvaluator::Compile()'],
35 ········['../a01245.html#ade1086349c1a452f60bcf281383ceec2',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLXFBEvaluator::Compile()']35 ········['../a01245.html#ade1086349c1a452f60bcf281383ceec2',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLXFBEvaluator::Compile()']
Offset 77, 37 lines modifiedOffset 77, 37 lines modified
77 ····['converttocompatiblestenciltable_3c_20far_3a_3astenciltable_2c_20far_3a_3astenciltable_2c_20id3d11devicecontext_20_3e_42',·['convertToCompatibleStencilTable&lt;·Far::StencilTable,·Far::StencilTable,·ID3D11DeviceContext·&gt;',·['../a00912.html#ab5753a2b0a0995c8e2259d2c4765f7df',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],77 ····['converttocompatiblestenciltable_3c_20far_3a_3astenciltable_2c_20far_3a_3astenciltable_2c_20id3d11devicecontext_20_3e_42',·['convertToCompatibleStencilTable&lt;·Far::StencilTable,·Far::StencilTable,·ID3D11DeviceContext·&gt;',·['../a00912.html#ab5753a2b0a0995c8e2259d2c4765f7df',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],
78 ····['converttocompatiblestenciltable_3c_20far_3a_3astenciltable_2c_20far_3a_3astenciltable_2c_20void_20_3e_43',·['convertToCompatibleStencilTable&lt;·Far::StencilTable,·Far::StencilTable,·void·&gt;',·['../a00912.html#a33f9830228f847fae1c30c9dffe02b5a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],78 ····['converttocompatiblestenciltable_3c_20far_3a_3astenciltable_2c_20far_3a_3astenciltable_2c_20void_20_3e_43',·['convertToCompatibleStencilTable&lt;·Far::StencilTable,·Far::StencilTable,·void·&gt;',·['../a00912.html#a33f9830228f847fae1c30c9dffe02b5a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],
79 ····['cornervertexindices_44',·['cornerVertexIndices',·['../a01097.html#a3bf794743edda29fbee0653b65b75ba4',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor']]],79 ····['cornervertexindices_44',·['cornerVertexIndices',·['../a01097.html#a3bf794743edda29fbee0653b65b75ba4',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor']]],
80 ····['cornerweights_45',·['cornerWeights',·['../a01097.html#a6d938f6b0a9ff0fa377ef675aa2c7fda',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor']]],80 ····['cornerweights_45',·['cornerWeights',·['../a01097.html#a6d938f6b0a9ff0fa377ef675aa2c7fda',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor']]],
81 ····['cpud3d11vertexbuffer_46',·['CpuD3D11VertexBuffer',·['../a01153.html#a632143bc1ec4fbbca2148b0e9e87bc08',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuD3D11VertexBuffer::CpuD3D11VertexBuffer()'],81 ····['cpud3d11vertexbuffer_46',·['CpuD3D11VertexBuffer',·['../a01153.html#a632143bc1ec4fbbca2148b0e9e87bc08',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuD3D11VertexBuffer::CpuD3D11VertexBuffer()'],
82 ········['../a01153.html',·1,·'CpuD3D11VertexBuffer']82 ········['../a01153.html',·1,·'CpuD3D11VertexBuffer']
83 ····]],83 ····]],
84 ····['cpud3d11vertexbuffer_2eh_47',·['cpuD3D11VertexBuffer.h',·['../a00845.html',·1,·'']]],84 ····['cpud3d11vertexbuffer_2eh_47',·['cpuD3D11VertexBuffer.h',·['../a00824.html',·1,·'']]],
85 ····['cpuevaluator_48',·['CpuEvaluator',·['../a01157.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],85 ····['cpuevaluator_48',·['CpuEvaluator',·['../a01157.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],
86 ····['cpuevaluator_2eh_49',·['cpuEvaluator.h',·['../a00896.html',·1,·'']]],86 ····['cpuevaluator_2eh_49',·['cpuEvaluator.h',·['../a00878.html',·1,·'']]],
87 ····['cpuglvertexbuffer_50',·['CpuGLVertexBuffer',·['../a01161.html#a32dd2317d622c1b079e3219f97c86955',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuGLVertexBuffer::CpuGLVertexBuffer()'],87 ····['cpuglvertexbuffer_50',·['CpuGLVertexBuffer',·['../a01161.html#a32dd2317d622c1b079e3219f97c86955',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuGLVertexBuffer::CpuGLVertexBuffer()'],
88 ········['../a01161.html',·1,·'CpuGLVertexBuffer']88 ········['../a01161.html',·1,·'CpuGLVertexBuffer']
89 ····]],89 ····]],
90 ····['cpuglvertexbuffer_2eh_51',·['cpuGLVertexBuffer.h',·['../a00869.html',·1,·'']]],90 ····['cpuglvertexbuffer_2eh_51',·['cpuGLVertexBuffer.h',·['../a00851.html',·1,·'']]],
91 ····['cpumtlvertexbuffer_52',·['CPUMTLVertexBuffer',·['../a01301.html#a1457f342bc3007386104aa3d29277a67',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CPUMTLVertexBuffer::CPUMTLVertexBuffer()'],91 ····['cpumtlvertexbuffer_52',·['CPUMTLVertexBuffer',·['../a01301.html#a1457f342bc3007386104aa3d29277a67',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CPUMTLVertexBuffer::CPUMTLVertexBuffer()'],
92 ········['../a01301.html',·1,·'CPUMTLVertexBuffer']92 ········['../a01301.html',·1,·'CPUMTLVertexBuffer']
93 ····]],93 ····]],
94 ····['cpupatchtable_53',·['CpuPatchTable',·['../a01165.html#a3c19d1748852f36ba69a6557e5069e08',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuPatchTable::CpuPatchTable()'],94 ····['cpupatchtable_53',·['CpuPatchTable',·['../a01165.html#a3c19d1748852f36ba69a6557e5069e08',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuPatchTable::CpuPatchTable()'],
95 ········['../a01165.html',·1,·'CpuPatchTable']95 ········['../a01165.html',·1,·'CpuPatchTable']
96 ····]],96 ····]],
97 ····['cpupatchtable_2eh_54',·['cpuPatchTable.h',·['../a00893.html',·1,·'']]],97 ····['cpupatchtable_2eh_54',·['cpuPatchTable.h',·['../a00872.html',·1,·'']]],
98 ····['cpuvertexbuffer_55',·['CpuVertexBuffer',·['../a01169.html#afa9168f4f1f046aea4ff94933ac48972',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuVertexBuffer::CpuVertexBuffer()'],98 ····['cpuvertexbuffer_55',·['CpuVertexBuffer',·['../a01169.html#afa9168f4f1f046aea4ff94933ac48972',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuVertexBuffer::CpuVertexBuffer()'],
99 ········['../a01169.html',·1,·'CpuVertexBuffer']99 ········['../a01169.html',·1,·'CpuVertexBuffer']
100 ····]],100 ····]],
101 ····['cpuvertexbuffer_2eh_56',·['cpuVertexBuffer.h',·['../a00890.html',·1,·'']]],101 ····['cpuvertexbuffer_2eh_56',·['cpuVertexBuffer.h',·['../a00875.html',·1,·'']]],
102 ····['crease_57',·['Crease',·['../a01325.html#a9659c3f2c73b80d9dc22763a6054079b',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease::Crease()'],102 ····['crease_57',·['Crease',·['../a01325.html#a9659c3f2c73b80d9dc22763a6054079b',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease::Crease()'],
103 ········['../a01325.html#a75d5d7e54170ccf6481932916e0fa9c1',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease::Crease(Options·const·&amp;options)'],103 ········['../a01325.html#a75d5d7e54170ccf6481932916e0fa9c1',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease::Crease(Options·const·&amp;options)'],
104 ········['../a01325.html',·1,·'Crease']104 ········['../a01325.html',·1,·'Crease']
105 ····]],105 ····]],
106 ····['crease_2eh_58',·['crease.h',·['../a00776.html',·1,·'']]],106 ····['crease_2eh_58',·['crease.h',·['../a00896.html',·1,·'']]],
107 ····['crease_5fchaikin_59',·['CREASE_CHAIKIN',·['../a01329.html#a16ec522dc0398bf1435a912cd669ffb0a1e31a583663dd65a7b2feffeb24268b5',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Options']]],107 ····['crease_5fchaikin_59',·['CREASE_CHAIKIN',·['../a01329.html#a16ec522dc0398bf1435a912cd669ffb0a1e31a583663dd65a7b2feffeb24268b5',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Options']]],
108 ····['crease_5funiform_60',·['CREASE_UNIFORM',·['../a01329.html#a16ec522dc0398bf1435a912cd669ffb0a10f2956db48d2975424be2e52ebd544d',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Options']]],108 ····['crease_5funiform_60',·['CREASE_UNIFORM',·['../a01329.html#a16ec522dc0398bf1435a912cd669ffb0a10f2956db48d2975424be2e52ebd544d',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Options']]],
109 ····['creasevertexindexpairs_61',·['creaseVertexIndexPairs',·['../a01097.html#a411a2a927b0270c9e4753dc219763ba5',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor']]],109 ····['creasevertexindexpairs_61',·['creaseVertexIndexPairs',·['../a01097.html#a411a2a927b0270c9e4753dc219763ba5',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor']]],
110 ····['creaseweights_62',·['creaseWeights',·['../a01097.html#a8cd977015d3ffffc1146c5a4e17d65e0',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor']]],110 ····['creaseweights_62',·['creaseWeights',·['../a01097.html#a8cd977015d3ffffc1146c5a4e17d65e0',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor']]],
111 ····['creasingmethod_63',·['CreasingMethod',·['../a01329.html#a16ec522dc0398bf1435a912cd669ffb0',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Options']]],111 ····['creasingmethod_63',·['CreasingMethod',·['../a01329.html#a16ec522dc0398bf1435a912cd669ffb0',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Options']]],
112 ····['create_64',·['Create',·['../a01241.html#ae38a4728f9debae7733ab48cfadd8312',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLStencilTableTBO::Create(Far::LimitStencilTable·const·*limitStencilTable,·void·*deviceContext=NULL)'],112 ····['create_64',·['Create',·['../a01241.html#ae38a4728f9debae7733ab48cfadd8312',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLStencilTableTBO::Create(Far::LimitStencilTable·const·*limitStencilTable,·void·*deviceContext=NULL)'],
113 ········['../a01241.html#a24a8210b637a5b0fca2b258de3b8b8a6',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLStencilTableTBO::Create(Far::StencilTable·const·*stencilTable,·void·*deviceContext=NULL)'],113 ········['../a01241.html#a24a8210b637a5b0fca2b258de3b8b8a6',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLStencilTableTBO::Create(Far::StencilTable·const·*stencilTable,·void·*deviceContext=NULL)'],
Offset 174, 21 lines modifiedOffset 174, 21 lines modified
174 ····]],174 ····]],
175 ····['createfacevaryingsurface_66',·['CreateFaceVaryingSurface',·['../a00941.html#a67a5dcab87b052d231634dd9fcf5dee2',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactory::CreateFaceVaryingSurface(Index·faceIndex)·const'],175 ····['createfacevaryingsurface_66',·['CreateFaceVaryingSurface',·['../a00941.html#a67a5dcab87b052d231634dd9fcf5dee2',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactory::CreateFaceVaryingSurface(Index·faceIndex)·const'],
176 ········['../a00941.html#a59227e292ea63aa9641a090521cfd457',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactory::CreateFaceVaryingSurface(Index·faceIndex,·FVarID·id)·const']176 ········['../a00941.html#a59227e292ea63aa9641a090521cfd457',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactory::CreateFaceVaryingSurface(Index·faceIndex,·FVarID·id)·const']
177 ····]],177 ····]],
178 ····['createvaryingsurface_67',·['CreateVaryingSurface',·['../a00941.html#a81638f2ff6818fd96aa7cd1ad3ed0703',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactory']]],178 ····['createvaryingsurface_67',·['CreateVaryingSurface',·['../a00941.html#a81638f2ff6818fd96aa7cd1ad3ed0703',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactory']]],
179 ····['createvertexsurface_68',·['CreateVertexSurface',·['../a00941.html#a676cf019574c99fa77341ac09889192d',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactory']]],179 ····['createvertexsurface_68',·['CreateVertexSurface',·['../a00941.html#a676cf019574c99fa77341ac09889192d',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactory']]],
180 ····['cudaevaluator_69',·['CudaEvaluator',·['../a01177.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],180 ····['cudaevaluator_69',·['CudaEvaluator',·['../a01177.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],
181 ····['cudaevaluator_2eh_70',·['cudaEvaluator.h',·['../a00791.html',·1,·'']]],181 ····['cudaevaluator_2eh_70',·['cudaEvaluator.h',·['../a00773.html',·1,·'']]],
182 ····['cudapatchtable_71',·['CudaPatchTable',·['../a01181.html#aefa9c1a9175327a40e7cf46ed32ced2f',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaPatchTable::CudaPatchTable()'],182 ····['cudapatchtable_71',·['CudaPatchTable',·['../a01181.html#aefa9c1a9175327a40e7cf46ed32ced2f',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaPatchTable::CudaPatchTable()'],
183 ········['../a01181.html',·1,·'CudaPatchTable']183 ········['../a01181.html',·1,·'CudaPatchTable']
184 ····]],184 ····]],
185 ····['cudapatchtable_2eh_72',·['cudaPatchTable.h',·['../a00788.html',·1,·'']]],185 ····['cudapatchtable_2eh_72',·['cudaPatchTable.h',·['../a00770.html',·1,·'']]],
186 ····['cudastenciltable_73',·['CudaStencilTable',·['../a01173.html#a45150c630c07bbeabd4b91145cecf087',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaStencilTable::CudaStencilTable(Far::LimitStencilTable·const·*limitStencilTable)'],186 ····['cudastenciltable_73',·['CudaStencilTable',·['../a01173.html#a45150c630c07bbeabd4b91145cecf087',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaStencilTable::CudaStencilTable(Far::LimitStencilTable·const·*limitStencilTable)'],
187 ········['../a01173.html#af872fc469b3696a745d30d22c2b89c4c',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaStencilTable::CudaStencilTable(Far::StencilTable·const·*stencilTable)'],187 ········['../a01173.html#af872fc469b3696a745d30d22c2b89c4c',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaStencilTable::CudaStencilTable(Far::StencilTable·const·*stencilTable)'],
188 ········['../a01173.html',·1,·'CudaStencilTable']188 ········['../a01173.html',·1,·'CudaStencilTable']
189 ····]],189 ····]],
190 ····['cudavertexbuffer_74',·['CudaVertexBuffer',·['../a01185.html#af6cb32d896f7815cac1969c857845ba8',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaVertexBuffer::CudaVertexBuffer()'],190 ····['cudavertexbuffer_74',·['CudaVertexBuffer',·['../a01185.html#af6cb32d896f7815cac1969c857845ba8',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaVertexBuffer::CudaVertexBuffer()'],
191 ········['../a01185.html',·1,·'CudaVertexBuffer']191 ········['../a01185.html',·1,·'CudaVertexBuffer']
192 ····]],192 ····]],
193 ····['cudavertexbuffer_2eh_75',·['cudaVertexBuffer.h',·['../a00902.html',·1,·'']]]193 ····['cudavertexbuffer_2eh_75',·['cudaVertexBuffer.h',·['../a00884.html',·1,·'']]]
194 ];194 ];
3.49 KB
./usr/share/doc/opensubdiv/doxy_html/search/all_4.js
3.39 KB
js-beautify {}
    
Offset 1, 29 lines modifiedOffset 1, 29 lines modified
1 var·searchData·=·[1 var·searchData·=·[
2 ····['d3d11computeevaluator_0',·['D3D11ComputeEvaluator',·['../a01193.html#aa81511d3938d70d67a62217951cb8eb7',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11ComputeEvaluator::D3D11ComputeEvaluator()'],2 ····['d3d11computeevaluator_0',·['D3D11ComputeEvaluator',·['../a01193.html#aa81511d3938d70d67a62217951cb8eb7',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11ComputeEvaluator::D3D11ComputeEvaluator()'],
3 ········['../a01193.html',·1,·'D3D11ComputeEvaluator']3 ········['../a01193.html',·1,·'D3D11ComputeEvaluator']
4 ····]],4 ····]],
5 ····['d3d11computeevaluator_2eh_1',·['d3d11ComputeEvaluator.h',·['../a00842.html',·1,·'']]],5 ····['d3d11computeevaluator_2eh_1',·['d3d11ComputeEvaluator.h',·['../a00827.html',·1,·'']]],
6 ····['d3d11legacygregorypatchtable_2',·['D3D11LegacyGregoryPatchTable',·['../a01197.html#af138b4535e4db5f013225c5924e0b243',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11LegacyGregoryPatchTable::D3D11LegacyGregoryPatchTable()'],6 ····['d3d11legacygregorypatchtable_2',·['D3D11LegacyGregoryPatchTable',·['../a01197.html#af138b4535e4db5f013225c5924e0b243',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11LegacyGregoryPatchTable::D3D11LegacyGregoryPatchTable()'],
7 ········['../a01197.html',·1,·'D3D11LegacyGregoryPatchTable']7 ········['../a01197.html',·1,·'D3D11LegacyGregoryPatchTable']
8 ····]],8 ····]],
9 ····['d3d11legacygregorypatchtable_2eh_3',·['d3d11LegacyGregoryPatchTable.h',·['../a00839.html',·1,·'']]],9 ····['d3d11legacygregorypatchtable_2eh_3',·['d3d11LegacyGregoryPatchTable.h',·['../a00821.html',·1,·'']]],
10 ····['d3d11mesh_2eh_4',·['d3d11Mesh.h',·['../a00827.html',·1,·'']]],10 ····['d3d11mesh_2eh_4',·['d3d11Mesh.h',·['../a00812.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',·['../a01201.html#ac81ed5f09e3d3a2aae5a01802b343a6d',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11PatchTable::D3D11PatchTable()'],12 ····['d3d11patchtable_6',·['D3D11PatchTable',·['../a01201.html#ac81ed5f09e3d3a2aae5a01802b343a6d',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11PatchTable::D3D11PatchTable()'],
13 ········['../a01201.html',·1,·'D3D11PatchTable']13 ········['../a01201.html',·1,·'D3D11PatchTable']
14 ····]],14 ····]],
15 ····['d3d11patchtable_2eh_7',·['d3d11PatchTable.h',·['../a00836.html',·1,·'']]],15 ····['d3d11patchtable_2eh_7',·['d3d11PatchTable.h',·['../a00818.html',·1,·'']]],
16 ····['d3d11stenciltable_8',·['D3D11StencilTable',·['../a01189.html#a7e3a2f5c281c55308400138222797dbc',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11StencilTable::D3D11StencilTable()'],16 ····['d3d11stenciltable_8',·['D3D11StencilTable',·['../a01189.html#a7e3a2f5c281c55308400138222797dbc',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11StencilTable::D3D11StencilTable()'],
17 ········['../a01189.html',·1,·'D3D11StencilTable']17 ········['../a01189.html',·1,·'D3D11StencilTable']
18 ····]],18 ····]],
19 ····['d3d11vertexbuffer_9',·['D3D11VertexBuffer',·['../a01205.html#aacfe93ef7f7ede21dcf7088b62467742',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11VertexBuffer::D3D11VertexBuffer()'],19 ····['d3d11vertexbuffer_9',·['D3D11VertexBuffer',·['../a01205.html#aacfe93ef7f7ede21dcf7088b62467742',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11VertexBuffer::D3D11VertexBuffer()'],
20 ········['../a01205.html',·1,·'D3D11VertexBuffer']20 ········['../a01205.html',·1,·'D3D11VertexBuffer']
21 ····]],21 ····]],
22 ····['d3d11vertexbuffer_2eh_10',·['d3d11VertexBuffer.h',·['../a00833.html',·1,·'']]],22 ····['d3d11vertexbuffer_2eh_10',·['d3d11VertexBuffer.h',·['../a00815.html',·1,·'']]],
23 ····['decrementsharpness_11',·['decrementSharpness',·['../a01325.html#a453a232c0edcafd9d484197d46ed39ec',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease']]],23 ····['decrementsharpness_11',·['decrementSharpness',·['../a01325.html#a453a232c0edcafd9d484197d46ed39ec',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease']]],
24 ····['desc_12',·['desc',·['../a01317.html#ac84ff682fda703f1f552a05977050f20',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchArray']]],24 ····['desc_12',·['desc',·['../a01317.html#ac84ff682fda703f1f552a05977050f20',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchArray']]],
25 ····['determinevertexvertexrule_13',·['DetermineVertexVertexRule',·['../a01325.html#a41ebb75d28c5973328e0e3883495aeba',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease::DetermineVertexVertexRule(float·vertexSharpness,·int·incidentEdgeCount,·float·const·*incidentEdgeSharpness)·const'],25 ····['determinevertexvertexrule_13',·['DetermineVertexVertexRule',·['../a01325.html#a41ebb75d28c5973328e0e3883495aeba',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease::DetermineVertexVertexRule(float·vertexSharpness,·int·incidentEdgeCount,·float·const·*incidentEdgeSharpness)·const'],
26 ········['../a01325.html#a500fadaa8cec78ab9690ad7331dba3d6',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease::DetermineVertexVertexRule(float·vertexSharpness,·int·sharpEdgeCount)·const']26 ········['../a01325.html#a500fadaa8cec78ab9690ad7331dba3d6',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease::DetermineVertexVertexRule(float·vertexSharpness,·int·sharpEdgeCount)·const']
27 ····]],27 ····]],
28 ····['device_14',·['device',·['../a01277.html#a7d70f5acf4efd89092645b4c44e480cf',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLContext']]],28 ····['device_14',·['device',·['../a01277.html#a7d70f5acf4efd89092645b4c44e480cf',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLContext']]],
29 ····['devicecontext_15',·['DeviceContext',·['../a01273.html#a3e2f358c45731eceb819ae70e7c8ca6e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::Mesh']]],29 ····['devicecontext_15',·['DeviceContext',·['../a01273.html#a3e2f358c45731eceb819ae70e7c8ca6e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::Mesh']]],
4.97 KB
./usr/share/doc/opensubdiv/doxy_html/search/all_7.js
4.87 KB
js-beautify {}
    
Offset 519, 41 lines modifiedOffset 519, 41 lines modified
519 ········['../a01281.html#ab22907c9cfe58b82ddfcad8241304500',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLStencilTable::GetWeightsBuffer()']519 ········['../a01281.html#ab22907c9cfe58b82ddfcad8241304500',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLStencilTable::GetWeightsBuffer()']
520 ····]],520 ····]],
521 ····['getweightssrv_270',·['GetWeightsSRV',·['../a01189.html#ac3de1233503ee41bac41618702b4302c',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11StencilTable']]],521 ····['getweightssrv_270',·['GetWeightsSRV',·['../a01189.html#ac3de1233503ee41bac41618702b4302c',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11StencilTable']]],
522 ····['getweightstexture_271',·['GetWeightsTexture',·['../a01241.html#ad5f4a852f17762c50c5d3011b11155cb',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLStencilTableTBO']]],522 ····['getweightstexture_271',·['GetWeightsTexture',·['../a01241.html#ad5f4a852f17762c50c5d3011b11155cb',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLStencilTableTBO']]],
523 ····['glcomputeevaluator_272',·['GLComputeEvaluator',·['../a01213.html#a9fe54ab76e32fb2dc6f7cd631ce2e678',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLComputeEvaluator::GLComputeEvaluator()'],523 ····['glcomputeevaluator_272',·['GLComputeEvaluator',·['../a01213.html#a9fe54ab76e32fb2dc6f7cd631ce2e678',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLComputeEvaluator::GLComputeEvaluator()'],
524 ········['../a01213.html',·1,·'GLComputeEvaluator']524 ········['../a01213.html',·1,·'GLComputeEvaluator']
525 ····]],525 ····]],
526 ····['glcomputeevaluator_2eh_273',·['glComputeEvaluator.h',·['../a00848.html',·1,·'']]],526 ····['glcomputeevaluator_2eh_273',·['glComputeEvaluator.h',·['../a00833.html',·1,·'']]],
527 ····['gllegacygregorypatchtable_274',·['GLLegacyGregoryPatchTable',·['../a01225.html#a5b78188b846b316c5c0cdb42f4ee9563',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLLegacyGregoryPatchTable::GLLegacyGregoryPatchTable()'],527 ····['gllegacygregorypatchtable_274',·['GLLegacyGregoryPatchTable',·['../a01225.html#a5b78188b846b316c5c0cdb42f4ee9563',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLLegacyGregoryPatchTable::GLLegacyGregoryPatchTable()'],
528 ········['../a01225.html',·1,·'GLLegacyGregoryPatchTable']528 ········['../a01225.html',·1,·'GLLegacyGregoryPatchTable']
529 ····]],529 ····]],
530 ····['gllegacygregorypatchtable_2eh_275',·['glLegacyGregoryPatchTable.h',·['../a00863.html',·1,·'']]],530 ····['gllegacygregorypatchtable_2eh_275',·['glLegacyGregoryPatchTable.h',·['../a00848.html',·1,·'']]],
531 ····['glmesh_2eh_276',·['glMesh.h',·['../a00857.html',·1,·'']]],531 ····['glmesh_2eh_276',·['glMesh.h',·['../a00839.html',·1,·'']]],
532 ····['glmeshinterface_277',·['GLMeshInterface',·['../a00912.html#a7f9cf2b729178bdbb847fc4afd91af9e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],532 ····['glmeshinterface_277',·['GLMeshInterface',·['../a00912.html#a7f9cf2b729178bdbb847fc4afd91af9e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],
533 ····['glpatchtable_278',·['GLPatchTable',·['../a01229.html#a88c12681f62189c398c1d2dc32111264',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLPatchTable::GLPatchTable()'],533 ····['glpatchtable_278',·['GLPatchTable',·['../a01229.html#a88c12681f62189c398c1d2dc32111264',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLPatchTable::GLPatchTable()'],
534 ········['../a01229.html',·1,·'GLPatchTable']534 ········['../a01229.html',·1,·'GLPatchTable']
535 ····]],535 ····]],
536 ····['glpatchtable_2eh_279',·['glPatchTable.h',·['../a00866.html',·1,·'']]],536 ····['glpatchtable_2eh_279',·['glPatchTable.h',·['../a00842.html',·1,·'']]],
537 ····['glslpatchshadersource_280',·['GLSLPatchShaderSource',·['../a01233.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],537 ····['glslpatchshadersource_280',·['GLSLPatchShaderSource',·['../a01233.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],
538 ····['glslpatchshadersource_2eh_281',·['glslPatchShaderSource.h',·['../a00854.html',·1,·'']]],538 ····['glslpatchshadersource_2eh_281',·['glslPatchShaderSource.h',·['../a00836.html',·1,·'']]],
539 ····['glstenciltablessbo_282',·['GLStencilTableSSBO',·['../a01209.html#a27a911fea9736fbe935c0edc4de9b998',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLStencilTableSSBO::GLStencilTableSSBO(Far::LimitStencilTable·const·*limitStencilTable)'],539 ····['glstenciltablessbo_282',·['GLStencilTableSSBO',·['../a01209.html#a27a911fea9736fbe935c0edc4de9b998',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLStencilTableSSBO::GLStencilTableSSBO(Far::LimitStencilTable·const·*limitStencilTable)'],
540 ········['../a01209.html#aaacee6173a99bb3d7bbfb0a352ef9828',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLStencilTableSSBO::GLStencilTableSSBO(Far::StencilTable·const·*stencilTable)'],540 ········['../a01209.html#aaacee6173a99bb3d7bbfb0a352ef9828',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLStencilTableSSBO::GLStencilTableSSBO(Far::StencilTable·const·*stencilTable)'],
541 ········['../a01209.html',·1,·'GLStencilTableSSBO']541 ········['../a01209.html',·1,·'GLStencilTableSSBO']
542 ····]],542 ····]],
543 ····['glstenciltabletbo_283',·['GLStencilTableTBO',·['../a01241.html#abbba46ba67be00a0eac751e3e731db6e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLStencilTableTBO::GLStencilTableTBO(Far::StencilTable·const·*stencilTable)'],543 ····['glstenciltabletbo_283',·['GLStencilTableTBO',·['../a01241.html#abbba46ba67be00a0eac751e3e731db6e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLStencilTableTBO::GLStencilTableTBO(Far::StencilTable·const·*stencilTable)'],
544 ········['../a01241.html#ac74a769daf1fe45575a16b738bb761cd',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLStencilTableTBO::GLStencilTableTBO(Far::LimitStencilTable·const·*limitStencilTable)'],544 ········['../a01241.html#ac74a769daf1fe45575a16b738bb761cd',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLStencilTableTBO::GLStencilTableTBO(Far::LimitStencilTable·const·*limitStencilTable)'],
545 ········['../a01241.html',·1,·'GLStencilTableTBO']545 ········['../a01241.html',·1,·'GLStencilTableTBO']
546 ····]],546 ····]],
547 ····['glvertexbuffer_284',·['GLVertexBuffer',·['../a01237.html#aa6f38a53fba4a64d600b9c4695477049',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLVertexBuffer::GLVertexBuffer()'],547 ····['glvertexbuffer_284',·['GLVertexBuffer',·['../a01237.html#aa6f38a53fba4a64d600b9c4695477049',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLVertexBuffer::GLVertexBuffer()'],
548 ········['../a01237.html',·1,·'GLVertexBuffer']548 ········['../a01237.html',·1,·'GLVertexBuffer']
549 ····]],549 ····]],
550 ····['glvertexbuffer_2eh_285',·['glVertexBuffer.h',·['../a00860.html',·1,·'']]],550 ····['glvertexbuffer_2eh_285',·['glVertexBuffer.h',·['../a00845.html',·1,·'']]],
551 ····['glxfbevaluator_286',·['GLXFBEvaluator',·['../a01245.html#a1932f725b28e271ab11ca768ba3bb01e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLXFBEvaluator::GLXFBEvaluator()'],551 ····['glxfbevaluator_286',·['GLXFBEvaluator',·['../a01245.html#a1932f725b28e271ab11ca768ba3bb01e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLXFBEvaluator::GLXFBEvaluator()'],
552 ········['../a01245.html',·1,·'GLXFBEvaluator']552 ········['../a01245.html',·1,·'GLXFBEvaluator']
553 ····]],553 ····]],
554 ····['glxfbevaluator_2eh_287',·['glXFBEvaluator.h',·['../a00851.html',·1,·'']]],554 ····['glxfbevaluator_2eh_287',·['glXFBEvaluator.h',·['../a00830.html',·1,·'']]],
555 ····['gregory_288',·['GREGORY',·['../a00973.html#a1d1cfd8ffb84e947f82999c682b666a7ae765e809376e5557d348d3e991a7273e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor']]],555 ····['gregory_288',·['GREGORY',·['../a00973.html#a1d1cfd8ffb84e947f82999c682b666a7ae765e809376e5557d348d3e991a7273e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor']]],
556 ····['gregory_5fbasis_289',·['GREGORY_BASIS',·['../a00973.html#a1d1cfd8ffb84e947f82999c682b666a7ad7d1a88a40ae8938e07af7a7745054b0',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor']]],556 ····['gregory_5fbasis_289',·['GREGORY_BASIS',·['../a00973.html#a1d1cfd8ffb84e947f82999c682b666a7ad7d1a88a40ae8938e07af7a7745054b0',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor']]],
557 ····['gregory_5fboundary_290',·['GREGORY_BOUNDARY',·['../a00973.html#a1d1cfd8ffb84e947f82999c682b666a7ac4ae10df9c13e44880ca7be341e44f2a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor']]],557 ····['gregory_5fboundary_290',·['GREGORY_BOUNDARY',·['../a00973.html#a1d1cfd8ffb84e947f82999c682b666a7ac4ae10df9c13e44880ca7be341e44f2a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor']]],
558 ····['gregory_5ftriangle_291',·['GREGORY_TRIANGLE',·['../a00973.html#a1d1cfd8ffb84e947f82999c682b666a7a8bf2cfb939c78155cae7549621ea73f6',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor']]]558 ····['gregory_5ftriangle_291',·['GREGORY_TRIANGLE',·['../a00973.html#a1d1cfd8ffb84e947f82999c682b666a7a8bf2cfb939c78155cae7549621ea73f6',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor']]]
559 ];559 ];
1.53 KB
./usr/share/doc/opensubdiv/doxy_html/search/all_8.js
1.43 KB
js-beautify {}
    
Offset 3, 10 lines modifiedOffset 3, 10 lines modified
3 ····['handle_1',·['handle',·['../a01313.html#a06ae6afa9ea8e2028021f8ee3f28b824',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchCoord']]],3 ····['handle_1',·['handle',·['../a01313.html#a06ae6afa9ea8e2028021f8ee3f28b824',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchCoord']]],
4 ····['hasedgesharpness_2',·['HasEdgeSharpness',·['../a00969.html#a2c6d182581c88931784f62fe2b8ae666',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::VertexDescriptor']]],4 ····['hasedgesharpness_2',·['HasEdgeSharpness',·['../a00969.html#a2c6d182581c88931784f62fe2b8ae666',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::VertexDescriptor']]],
5 ····['hasholes_3',·['HasHoles',·['../a01113.html#a1b68f0501aabb94ba410e006181d2cc5',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner']]],5 ····['hasholes_3',·['HasHoles',·['../a01113.html#a1b68f0501aabb94ba410e006181d2cc5',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner']]],
6 ····['hasincidentfacesizes_4',·['HasIncidentFaceSizes',·['../a00969.html#ad56c50bc5582768806d7890c55b63141',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::VertexDescriptor']]],6 ····['hasincidentfacesizes_4',·['HasIncidentFaceSizes',·['../a00969.html#ad56c50bc5582768806d7890c55b63141',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::VertexDescriptor']]],
7 ····['hassubfaces_5',·['HasSubFaces',·['../a00921.html#adc4cd156a8fdb843b0e233a922bb8a17',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Parameterization']]],7 ····['hassubfaces_5',·['HasSubFaces',·['../a00921.html#adc4cd156a8fdb843b0e233a922bb8a17',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Parameterization']]],
8 ····['hasvertexsharpness_6',·['HasVertexSharpness',·['../a00969.html#a4f46be1cfd41b34d8808363c83e9ff56',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::VertexDescriptor']]],8 ····['hasvertexsharpness_6',·['HasVertexSharpness',·['../a00969.html#a4f46be1cfd41b34d8808363c83e9ff56',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::VertexDescriptor']]],
9 ····['hlslpatchshadersource_7',·['HLSLPatchShaderSource',·['../a01257.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],9 ····['hlslpatchshadersource_7',·['HLSLPatchShaderSource',·['../a01257.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],
10 ····['hlslpatchshadersource_2eh_8',·['hlslPatchShaderSource.h',·['../a00830.html',·1,·'']]],10 ····['hlslpatchshadersource_2eh_8',·['hlslPatchShaderSource.h',·['../a00809.html',·1,·'']]],
11 ····['holeindices_9',·['holeIndices',·['../a01097.html#a4fcd8e9a636d89045d364607f2b035a1',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor']]]11 ····['holeindices_9',·['holeIndices',·['../a01097.html#a4fcd8e9a636d89045d364607f2b035a1',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor']]]
12 ];12 ];
1.11 KB
./usr/share/doc/opensubdiv/doxy_html/search/all_a.js
1.0 KB
js-beautify {}
    
Offset 52, 9 lines modifiedOffset 52, 9 lines modified
52 ········['../a00993.html#af22fd3afdc99098cc89463f530de5011',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::LocalPointVaryingStencilPrecisionMatchesType()·const']52 ········['../a00993.html#af22fd3afdc99098cc89463f530de5011',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::LocalPointVaryingStencilPrecisionMatchesType()·const']
53 ····]],53 ····]],
54 ····['locationarray_23',·['LocationArray',·['../a01085.html#a23ed026fe98bd57164dbb601791f51fc',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilTableFactoryReal::LocationArray::LocationArray()'],54 ····['locationarray_23',·['LocationArray',·['../a01085.html#a23ed026fe98bd57164dbb601791f51fc',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilTableFactoryReal::LocationArray::LocationArray()'],
55 ········['../a01085.html',·1,·'LimitStencilTableFactoryReal&lt;·REAL·&gt;::LocationArray']55 ········['../a01085.html',·1,·'LimitStencilTableFactoryReal&lt;·REAL·&gt;::LocationArray']
56 ····]],56 ····]],
57 ····['locationarrayvec_24',·['LocationArrayVec',·['../a01041.html#a940880e2d35dea72f52db5bcdc9c94b7',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilTableFactoryReal']]],57 ····['locationarrayvec_24',·['LocationArrayVec',·['../a01041.html#a940880e2d35dea72f52db5bcdc9c94b7',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilTableFactoryReal']]],
58 ····['loop_25',·['LOOP',·['../a00973.html#a1d1cfd8ffb84e947f82999c682b666a7a61f7f1587bd5fe978d9ff3ece8d0624c',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor']]],58 ····['loop_25',·['LOOP',·['../a00973.html#a1d1cfd8ffb84e947f82999c682b666a7a61f7f1587bd5fe978d9ff3ece8d0624c',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor']]],
59 ····['loopscheme_2eh_26',·['loopScheme.h',·['../a00779.html',·1,·'']]]59 ····['loopscheme_2eh_26',·['loopScheme.h',·['../a00893.html',·1,·'']]]
60 ];60 ];
6.0 KB
./usr/share/doc/opensubdiv/doxy_html/search/all_b.js
5.9 KB
js-beautify {}
    
Offset 2, 15 lines modifiedOffset 2, 15 lines modified
2 ····['maxfacesize_0',·['MaxFaceSize',·['../a00917.html#a058dee146ff7dafb8d2b8cb0d09f5da8',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Limits']]],2 ····['maxfacesize_0',·['MaxFaceSize',·['../a00917.html#a058dee146ff7dafb8d2b8cb0d09f5da8',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Limits']]],
3 ····['maxisolationlevel_1',·['maxIsolationLevel',·['../a01013.html#a18b47b281350d10784fd4917be9019f1',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Options']]],3 ····['maxisolationlevel_1',·['maxIsolationLevel',·['../a01013.html#a18b47b281350d10784fd4917be9019f1',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Options']]],
4 ····['maxlevel_2',·['maxLevel',·['../a01077.html#a110477b0e61b09d8be1a472df34f6386',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactoryReal::Options']]],4 ····['maxlevel_2',·['maxLevel',·['../a01077.html#a110477b0e61b09d8be1a472df34f6386',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactoryReal::Options']]],
5 ····['maxvalence_3',·['MaxValence',·['../a00917.html#aca372fcd4c25aa589418934c5056b16c',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Limits']]],5 ····['maxvalence_3',·['MaxValence',·['../a00917.html#aca372fcd4c25aa589418934c5056b16c',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Limits']]],
6 ····['mesh_4',·['Mesh',·['../a01273.html#a69e70d7e23e9bd8bd8eb7b5f0589009f',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::Mesh::Mesh()'],6 ····['mesh_4',·['Mesh',·['../a01273.html#a69e70d7e23e9bd8bd8eb7b5f0589009f',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::Mesh::Mesh()'],
7 ········['../a01273.html',·1,·'Mesh&lt;·VERTEX_BUFFER,·STENCIL_TABLE,·EVALUATOR,·PATCH_TABLE,·DEVICE_CONTEXT·&gt;']7 ········['../a01273.html',·1,·'Mesh&lt;·VERTEX_BUFFER,·STENCIL_TABLE,·EVALUATOR,·PATCH_TABLE,·DEVICE_CONTEXT·&gt;']
8 ····]],8 ····]],
9 ····['mesh_2eh_5',·['mesh.h',·['../a00887.html',·1,·'']]],9 ····['mesh_2eh_5',·['mesh.h',·['../a00869.html',·1,·'']]],
10 ····['meshadaptive_6',·['MeshAdaptive',·['../a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492adef344bcbdd50a1a93136eb53183c718',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],10 ····['meshadaptive_6',·['MeshAdaptive',·['../a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492adef344bcbdd50a1a93136eb53183c718',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],
11 ····['meshbits_7',·['MeshBits',·['../a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],11 ····['meshbits_7',·['MeshBits',·['../a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],
12 ····['meshbitset_8',·['MeshBitset',·['../a00912.html#a85ba9df501aea9af1ec9da1558c255bc',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],12 ····['meshbitset_8',·['MeshBitset',·['../a00912.html#a85ba9df501aea9af1ec9da1558c255bc',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],
13 ····['meshendcapbilinearbasis_9',·['MeshEndCapBilinearBasis',·['../a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a4124233e4f787f999c7975afceab34f3',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],13 ····['meshendcapbilinearbasis_9',·['MeshEndCapBilinearBasis',·['../a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a4124233e4f787f999c7975afceab34f3',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],
14 ····['meshendcapbsplinebasis_10',·['MeshEndCapBSplineBasis',·['../a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492aa2f41b6ba0393698bb3af283283737f7',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],14 ····['meshendcapbsplinebasis_10',·['MeshEndCapBSplineBasis',·['../a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492aa2f41b6ba0393698bb3af283283737f7',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],
15 ····['meshendcapgregorybasis_11',·['MeshEndCapGregoryBasis',·['../a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492aa2878e1a215530f5f6fb89f1e06f91ee',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],15 ····['meshendcapgregorybasis_11',·['MeshEndCapGregoryBasis',·['../a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492aa2878e1a215530f5f6fb89f1e06f91ee',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],
16 ····['meshendcaplegacygregory_12',·['MeshEndCapLegacyGregory',·['../a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492aad7b3fb2be609abdbfafaf5b1c834158',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],16 ····['meshendcaplegacygregory_12',·['MeshEndCapLegacyGregory',·['../a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492aad7b3fb2be609abdbfafaf5b1c834158',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],
Offset 22, 29 lines modifiedOffset 22, 29 lines modified
22 ····['meshinterleavevarying_16',·['MeshInterleaveVarying',·['../a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a9313c644b9b2a998bcb55cfcc4582b1a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],22 ····['meshinterleavevarying_16',·['MeshInterleaveVarying',·['../a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a9313c644b9b2a998bcb55cfcc4582b1a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],
23 ····['meshuseinfsharppatch_17',·['MeshUseInfSharpPatch',·['../a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a8fab1b3018f94b5b2432c7435e795925',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],23 ····['meshuseinfsharppatch_17',·['MeshUseInfSharpPatch',·['../a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a8fab1b3018f94b5b2432c7435e795925',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],
24 ····['meshusesinglecreasepatch_18',·['MeshUseSingleCreasePatch',·['../a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a9058d69e1089fc77f1974a76c34e2071',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],24 ····['meshusesinglecreasepatch_18',·['MeshUseSingleCreasePatch',·['../a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492a9058d69e1089fc77f1974a76c34e2071',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],
25 ····['meshusesmoothcornerpatch_19',·['MeshUseSmoothCornerPatch',·['../a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492ab32b8ef595539e14041e2fb0e619e3f9',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],25 ····['meshusesmoothcornerpatch_19',·['MeshUseSmoothCornerPatch',·['../a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492ab32b8ef595539e14041e2fb0e619e3f9',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],
26 ····['mode_20',·['Mode',·['../a01037.html#a46c8a310cf4c094f8c80e1cb8dc1f911',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactoryReal::Mode()'],26 ····['mode_20',·['Mode',·['../a01037.html#a46c8a310cf4c094f8c80e1cb8dc1f911',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactoryReal::Mode()'],
27 ········['../a01041.html#a46c8a310cf4c094f8c80e1cb8dc1f911',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilTableFactoryReal::Mode()']27 ········['../a01041.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',·['../a00788.html',·1,·'']]],
30 ····['mtlcomputeevaluator_22',·['MTLComputeEvaluator',·['../a01285.html#a10015b2c4f90f3a11e60cc88dcbb9d6b',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLComputeEvaluator::MTLComputeEvaluator()'],30 ····['mtlcomputeevaluator_22',·['MTLComputeEvaluator',·['../a01285.html#a10015b2c4f90f3a11e60cc88dcbb9d6b',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLComputeEvaluator::MTLComputeEvaluator()'],
31 ········['../a01285.html',·1,·'MTLComputeEvaluator']31 ········['../a01285.html',·1,·'MTLComputeEvaluator']
32 ····]],32 ····]],
33 ····['mtlcomputeevaluator_2eh_23',·['mtlComputeEvaluator.h',·['../a00821.html',·1,·'']]],33 ····['mtlcomputeevaluator_2eh_23',·['mtlComputeEvaluator.h',·['../a00803.html',·1,·'']]],
34 ····['mtlcontext_24',·['MTLContext',·['../a01277.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],34 ····['mtlcontext_24',·['MTLContext',·['../a01277.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],
35 ····['mtllegacygregorypatchtable_25',·['MTLLegacyGregoryPatchTable',·['../a01289.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],35 ····['mtllegacygregorypatchtable_25',·['MTLLegacyGregoryPatchTable',·['../a01289.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],
36 ····['mtllegacygregorypatchtable_2eh_26',·['mtlLegacyGregoryPatchTable.h',·['../a00818.html',·1,·'']]],36 ····['mtllegacygregorypatchtable_2eh_26',·['mtlLegacyGregoryPatchTable.h',·['../a00800.html',·1,·'']]],
37 ····['mtlmesh_2eh_27',·['mtlMesh.h',·['../a00809.html',·1,·'']]],37 ····['mtlmesh_2eh_27',·['mtlMesh.h',·['../a00794.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',·['../a01293.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],39 ····['mtlpatchshadersource_29',·['MTLPatchShaderSource',·['../a01293.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],
40 ····['mtlpatchshadersource_2eh_30',·['mtlPatchShaderSource.h',·['../a00812.html',·1,·'']]],40 ····['mtlpatchshadersource_2eh_30',·['mtlPatchShaderSource.h',·['../a00791.html',·1,·'']]],
41 ····['mtlpatchtable_31',·['MTLPatchTable',·['../a01297.html#a3f197c2ae3862390d72e7443a2525187',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchTable::MTLPatchTable()'],41 ····['mtlpatchtable_31',·['MTLPatchTable',·['../a01297.html#a3f197c2ae3862390d72e7443a2525187',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchTable::MTLPatchTable()'],
42 ········['../a01297.html',·1,·'MTLPatchTable']42 ········['../a01297.html',·1,·'MTLPatchTable']
43 ····]],43 ····]],
44 ····['mtlpatchtable_2eh_32',·['mtlPatchTable.h',·['../a00815.html',·1,·'']]],44 ····['mtlpatchtable_2eh_32',·['mtlPatchTable.h',·['../a00797.html',·1,·'']]],
45 ····['mtlstenciltable_33',·['MTLStencilTable',·['../a01281.html#a015dc72c3360b4841ee2b3feb06c106f',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLStencilTable::MTLStencilTable(Far::LimitStencilTable·const·*stencilTable,·MTLContext·*context)'],45 ····['mtlstenciltable_33',·['MTLStencilTable',·['../a01281.html#a015dc72c3360b4841ee2b3feb06c106f',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLStencilTable::MTLStencilTable(Far::LimitStencilTable·const·*stencilTable,·MTLContext·*context)'],
46 ········['../a01281.html#a45e329ffe9fe4e32a1b21bfc89a6763f',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLStencilTable::MTLStencilTable(Far::StencilTable·const·*stencilTable,·MTLContext·*context)'],46 ········['../a01281.html#a45e329ffe9fe4e32a1b21bfc89a6763f',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLStencilTable::MTLStencilTable(Far::StencilTable·const·*stencilTable,·MTLContext·*context)'],
47 ········['../a01281.html',·1,·'MTLStencilTable']47 ········['../a01281.html',·1,·'MTLStencilTable']
48 ····]],48 ····]],
49 ····['mtlvertexbuffer_2eh_34',·['mtlVertexBuffer.h',·['../a00824.html',·1,·'']]]49 ····['mtlvertexbuffer_2eh_34',·['mtlVertexBuffer.h',·['../a00806.html',·1,·'']]]
50 ];50 ];
5.06 KB
./usr/share/doc/opensubdiv/doxy_html/search/all_d.js
4.96 KB
js-beautify {}
    
Offset 3, 18 lines modifiedOffset 3, 18 lines modified
3 ····['far_1',·['Far',·['../a00908.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION']]],3 ····['far_1',·['Far',·['../a00908.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION']]],
4 ····['offset_2',·['offset',·['../a01133.html#aed7ea92f45bd273dde380a45ddced592',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::BufferDescriptor']]],4 ····['offset_2',·['offset',·['../a01133.html#aed7ea92f45bd273dde380a45ddced592',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::BufferDescriptor']]],
5 ····['ompevalstencils_3',·['OmpEvalStencils',·['../a00912.html#a907dc53421460557871ddc35f77751f5',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::OmpEvalStencils(float·const·*src,·BufferDescriptor·const·&amp;srcDesc,·float·*dst,·BufferDescriptor·const·&amp;dstDesc,·float·*dstDu,·BufferDescriptor·const·&amp;dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&amp;dstDvDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·float·const·*duWeights,·float·const·*dvWeights,·int·start,·int·end)'],5 ····['ompevalstencils_3',·['OmpEvalStencils',·['../a00912.html#a907dc53421460557871ddc35f77751f5',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::OmpEvalStencils(float·const·*src,·BufferDescriptor·const·&amp;srcDesc,·float·*dst,·BufferDescriptor·const·&amp;dstDesc,·float·*dstDu,·BufferDescriptor·const·&amp;dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&amp;dstDvDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·float·const·*duWeights,·float·const·*dvWeights,·int·start,·int·end)'],
6 ········['../a00912.html#a44a05502feb5015035bc81b93cffb99c',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::OmpEvalStencils(float·const·*src,·BufferDescriptor·const·&amp;srcDesc,·float·*dst,·BufferDescriptor·const·&amp;dstDesc,·float·*dstDu,·BufferDescriptor·const·&amp;dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&amp;dstDvDesc,·float·*dstDuu,·BufferDescriptor·const·&amp;dstDuuDesc,·float·*dstDuv,·BufferDescriptor·const·&amp;dstDuvDesc,·float·*dstDvv,·BufferDescriptor·const·&amp;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)'],6 ········['../a00912.html#a44a05502feb5015035bc81b93cffb99c',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::OmpEvalStencils(float·const·*src,·BufferDescriptor·const·&amp;srcDesc,·float·*dst,·BufferDescriptor·const·&amp;dstDesc,·float·*dstDu,·BufferDescriptor·const·&amp;dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&amp;dstDvDesc,·float·*dstDuu,·BufferDescriptor·const·&amp;dstDuuDesc,·float·*dstDuv,·BufferDescriptor·const·&amp;dstDuvDesc,·float·*dstDvv,·BufferDescriptor·const·&amp;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)'],
7 ········['../a00912.html#a870745ff3e883b32547d4db42b3be2bd',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::OmpEvalStencils(float·const·*src,·BufferDescriptor·const·&amp;srcDesc,·float·*dst,·BufferDescriptor·const·&amp;dstDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·int·start,·int·end)']7 ········['../a00912.html#a870745ff3e883b32547d4db42b3be2bd',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::OmpEvalStencils(float·const·*src,·BufferDescriptor·const·&amp;srcDesc,·float·*dst,·BufferDescriptor·const·&amp;dstDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·int·start,·int·end)']
8 ····]],8 ····]],
9 ····['ompevaluator_4',·['OmpEvaluator',·['../a01305.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],9 ····['ompevaluator_4',·['OmpEvaluator',·['../a01305.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]],
10 ····['ompevaluator_2eh_5',·['ompEvaluator.h',·['../a00881.html',·1,·'']]],10 ····['ompevaluator_2eh_5',·['ompEvaluator.h',·['../a00863.html',·1,·'']]],
11 ····['ompkernel_2eh_6',·['ompKernel.h',·['../a00878.html',·1,·'']]],11 ····['ompkernel_2eh_6',·['ompKernel.h',·['../a00860.html',·1,·'']]],
12 ····['opencl_2eh_7',·['opencl.h',·['../a00794.html',·1,·'']]],12 ····['opencl_2eh_7',·['opencl.h',·['../a00776.html',·1,·'']]],
13 ····['opengl_2eh_8',·['opengl.h',·['../a00884.html',·1,·'']]],13 ····['opengl_2eh_8',·['opengl.h',·['../a00866.html',·1,·'']]],
14 ····['opensubdiv_9',·['OpenSubdiv',·['../a00905.html',·1,·'']]],14 ····['opensubdiv_9',·['OpenSubdiv',·['../a00905.html',·1,·'']]],
15 ····['opensubdiv_5fversion_10',·['OPENSUBDIV_VERSION',·['../a00906.html',·1,·'OpenSubdiv']]],15 ····['opensubdiv_5fversion_10',·['OPENSUBDIV_VERSION',·['../a00906.html',·1,·'OpenSubdiv']]],
16 ····['operator_21_3d_11',·['operator!=',·['../a01133.html#a9f79e5aef7aa7198087e68c98c9804d3',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::BufferDescriptor']]],16 ····['operator_21_3d_11',·['operator!=',·['../a01133.html#a9f79e5aef7aa7198087e68c98c9804d3',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::BufferDescriptor']]],
17 ····['operator_3c_12',·['operator&lt;',·['../a00973.html#abd9f5b68153db907eb7ccd0ed177dfdd',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor']]],17 ····['operator_3c_12',·['operator&lt;',·['../a00973.html#abd9f5b68153db907eb7ccd0ed177dfdd',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor']]],
18 ····['operator_3d_13',·['operator=',·['../a00933.html#a85251d7cc5b0aa5838fa1767b6e31e5d',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::operator=()'],18 ····['operator_3d_13',·['operator=',·['../a00933.html#a85251d7cc5b0aa5838fa1767b6e31e5d',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::operator=()'],
19 ········['../a00941.html#a5d089ab30f0402395635d7b389710594',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactory::operator=()'],19 ········['../a00941.html#a5d089ab30f0402395635d7b389710594',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactory::operator=()'],
20 ········['../a00921.html#af488514a0e7868dd273ebe767420c416',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Parameterization::operator=()'],20 ········['../a00921.html#af488514a0e7868dd273ebe767420c416',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Parameterization::operator=()'],
Offset 44, 15 lines modifiedOffset 44, 15 lines modified
44 ········['../a01329.html#a28d39a844c3a37ab61d32ab7c6352f09',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Options::Options()'],44 ········['../a01329.html#a28d39a844c3a37ab61d32ab7c6352f09',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Options::Options()'],
45 ········['../a01129.html#a33cde130beeee5dd5125d2c188b1a088',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefinerFactory::Options::Options()'],45 ········['../a01129.html#a33cde130beeee5dd5125d2c188b1a088',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefinerFactory::Options::Options()'],
46 ········['../a01081.html#a28d39a844c3a37ab61d32ab7c6352f09',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilTableFactoryReal::Options::Options()'],46 ········['../a01081.html#a28d39a844c3a37ab61d32ab7c6352f09',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilTableFactoryReal::Options::Options()'],
47 ········['../a01077.html#a28d39a844c3a37ab61d32ab7c6352f09',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactoryReal::Options::Options()'],47 ········['../a01077.html#a28d39a844c3a37ab61d32ab7c6352f09',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactoryReal::Options::Options()'],
48 ········['../a00965.html#a28d39a844c3a37ab61d32ab7c6352f09',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation::Options::Options()'],48 ········['../a00965.html#a28d39a844c3a37ab61d32ab7c6352f09',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation::Options::Options()'],
49 ········['../a00945.html#a28d39a844c3a37ab61d32ab7c6352f09',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactory::Options::Options()']49 ········['../a00945.html#a28d39a844c3a37ab61d32ab7c6352f09',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactory::Options::Options()']
50 ····]],50 ····]],
51 ····['options_2eh_17',·['options.h',·['../a00770.html',·1,·'']]],51 ····['options_2eh_17',·['options.h',·['../a00890.html',·1,·'']]],
52 ····['orderverticesfromfacesfirst_18',·['orderVerticesFromFacesFirst',·['../a01117.html#a3b1e47f9568213cc322ef29a84c932b6',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::UniformOptions::orderVerticesFromFacesFirst()'],52 ····['orderverticesfromfacesfirst_18',·['orderVerticesFromFacesFirst',·['../a01117.html#a3b1e47f9568213cc322ef29a84c932b6',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::UniformOptions::orderVerticesFromFacesFirst()'],
53 ········['../a01121.html#a3b1e47f9568213cc322ef29a84c932b6',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::AdaptiveOptions::orderVerticesFromFacesFirst()']53 ········['../a01121.html#a3b1e47f9568213cc322ef29a84c932b6',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::AdaptiveOptions::orderVerticesFromFacesFirst()']
54 ····]],54 ····]],
55 ····['osd_19',·['Osd',·['../a00912.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION']]],55 ····['osd_19',·['Osd',·['../a00912.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION']]],
56 ····['sdc_20',·['Sdc',·['../a00913.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION']]],56 ····['sdc_20',·['Sdc',·['../a00913.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION']]],
57 ····['vtr_21',·['Vtr',·['../a00909.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION']]]57 ····['vtr_21',·['Vtr',·['../a00909.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION']]]
58 ];58 ];
3.41 KB
./usr/share/doc/opensubdiv/doxy_html/search/all_e.js
3.3 KB
js-beautify {}
    
Offset 24, 15 lines modifiedOffset 24, 15 lines modified
24 ····['patchfacetag_8',·['PatchFaceTag',·['../a01017.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory']]],24 ····['patchfacetag_8',·['PatchFaceTag',·['../a01017.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',·1,·'PatchMap'],27 ····['patchmap_11',·['PatchMap',·['../a00977.html',·1,·'PatchMap'],
28 ········['../a00997.html#aff380d8d7f072959898c0a4e25150d2a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::PatchHandle::PatchMap()'],28 ········['../a00997.html#aff380d8d7f072959898c0a4e25150d2a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::PatchHandle::PatchMap()'],
29 ········['../a00977.html#a016619de52fd79dbcdb879cc12b79200',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchMap::PatchMap()']29 ········['../a00977.html#a016619de52fd79dbcdb879cc12b79200',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchMap::PatchMap()']
30 ····]],30 ····]],
31 ····['patchmap_2eh_12',·['patchMap.h',·['../a00734.html',·1,·'']]],31 ····['patchmap_2eh_12',·['patchMap.h',·['../a00731.html',·1,·'']]],
32 ····['patchparam_13',·['PatchParam',·['../a00989.html',·1,·'PatchParam'],32 ····['patchparam_13',·['PatchParam',·['../a00989.html',·1,·'PatchParam'],
33 ········['../a01321.html',·1,·'PatchParam']33 ········['../a01321.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 modifiedOffset 40, 15 lines modified
40 ····['patchtable_19',·['PatchTable',·['../a00993.html',·1,·'PatchTable'],40 ····['patchtable_19',·['PatchTable',·['../a00993.html',·1,·'PatchTable'],
41 ········['../a00997.html#ad4867d502f9704b7e45a7974e8918dc3',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::PatchHandle::PatchTable()'],41 ········['../a00997.html#ad4867d502f9704b7e45a7974e8918dc3',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::PatchHandle::PatchTable()'],
42 ········['../a00993.html#a37e24b0244219eef61cc1ab2a5a5450e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::PatchTable(int·maxvalence)'],42 ········['../a00993.html#a37e24b0244219eef61cc1ab2a5a5450e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::PatchTable(int·maxvalence)'],
43 ········['../a00993.html#a3419c5d57330d6787f8c14a7677b8d9b',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::PatchTable(PatchTable·const·&amp;src)'],43 ········['../a00993.html#a3419c5d57330d6787f8c14a7677b8d9b',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::PatchTable(PatchTable·const·&amp;src)'],
44 ········['../a01273.html#adf9352136d44e5999629c6b4530bf4e0',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::Mesh::PatchTable()'],44 ········['../a01273.html#adf9352136d44e5999629c6b4530bf4e0',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::Mesh::PatchTable()'],
45 ········['../a01261.html#adf9352136d44e5999629c6b4530bf4e0',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshInterface::PatchTable()']45 ········['../a01261.html#adf9352136d44e5999629c6b4530bf4e0',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshInterface::PatchTable()']
46 ····]],46 ····]],
47 ····['patchtable_2eh_20',·['patchTable.h',·['../a00731.html',·1,·'']]],47 ····['patchtable_2eh_20',·['patchTable.h',·['../a00734.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 ········['../a01113.html#ad452cef79832abb71eef0c3d88acc1a0',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::PatchTableBuilder()']49 ········['../a01113.html#ad452cef79832abb71eef0c3d88acc1a0',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::PatchTableBuilder()']
50 ····]],50 ····]],
51 ····['patchtablefactory_22',·['PatchTableFactory',·['../a01009.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far']]],51 ····['patchtablefactory_22',·['PatchTableFactory',·['../a01009.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',·['../a01009.html#a37218ea13f75caee4c93cc4e94d26060',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory']]],53 ····['patchtagvector_24',·['PatchTagVector',·['../a01009.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']]],
502 B
./usr/share/doc/opensubdiv/doxy_html/search/files_1.js
394 B
js-beautify {}
    
Offset 1, 4 lines modifiedOffset 1, 4 lines modified
1 var·searchData·=·[1 var·searchData·=·[
2 ····['bilinearscheme_2eh_0',·['bilinearScheme.h',·['../a00785.html',·1,·'']]],2 ····['bilinearscheme_2eh_0',·['bilinearScheme.h',·['../a00899.html',·1,·'']]],
3 ····['bufferdescriptor_2eh_1',·['bufferDescriptor.h',·['../a00899.html',·1,·'']]]3 ····['bufferdescriptor_2eh_1',·['bufferDescriptor.h',·['../a00881.html',·1,·'']]]
4 ];4 ];
2.28 KB
./usr/share/doc/opensubdiv/doxy_html/search/files_2.js
2.17 KB
js-beautify {}
    
Offset 1, 16 lines modifiedOffset 1, 16 lines modified
1 var·searchData·=·[1 var·searchData·=·[
2 ····['catmarkscheme_2eh_0',·['catmarkScheme.h',·['../a00782.html',·1,·'']]],2 ····['catmarkscheme_2eh_0',·['catmarkScheme.h',·['../a00902.html',·1,·'']]],
3 ····['clevaluator_2eh_1',·['clEvaluator.h',·['../a00803.html',·1,·'']]],3 ····['clevaluator_2eh_1',·['clEvaluator.h',·['../a00785.html',·1,·'']]],
4 ····['clpatchtable_2eh_2',·['clPatchTable.h',·['../a00800.html',·1,·'']]],4 ····['clpatchtable_2eh_2',·['clPatchTable.h',·['../a00782.html',·1,·'']]],
5 ····['clvertexbuffer_2eh_3',·['clVertexBuffer.h',·['../a00797.html',·1,·'']]],5 ····['clvertexbuffer_2eh_3',·['clVertexBuffer.h',·['../a00779.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',·['../a00824.html',·1,·'']]],
8 ····['cpuevaluator_2eh_6',·['cpuEvaluator.h',·['../a00896.html',·1,·'']]],8 ····['cpuevaluator_2eh_6',·['cpuEvaluator.h',·['../a00878.html',·1,·'']]],
9 ····['cpuglvertexbuffer_2eh_7',·['cpuGLVertexBuffer.h',·['../a00869.html',·1,·'']]],9 ····['cpuglvertexbuffer_2eh_7',·['cpuGLVertexBuffer.h',·['../a00851.html',·1,·'']]],
10 ····['cpupatchtable_2eh_8',·['cpuPatchTable.h',·['../a00893.html',·1,·'']]],10 ····['cpupatchtable_2eh_8',·['cpuPatchTable.h',·['../a00872.html',·1,·'']]],
11 ····['cpuvertexbuffer_2eh_9',·['cpuVertexBuffer.h',·['../a00890.html',·1,·'']]],11 ····['cpuvertexbuffer_2eh_9',·['cpuVertexBuffer.h',·['../a00875.html',·1,·'']]],
12 ····['crease_2eh_10',·['crease.h',·['../a00776.html',·1,·'']]],12 ····['crease_2eh_10',·['crease.h',·['../a00896.html',·1,·'']]],
13 ····['cudaevaluator_2eh_11',·['cudaEvaluator.h',·['../a00791.html',·1,·'']]],13 ····['cudaevaluator_2eh_11',·['cudaEvaluator.h',·['../a00773.html',·1,·'']]],
14 ····['cudapatchtable_2eh_12',·['cudaPatchTable.h',·['../a00788.html',·1,·'']]],14 ····['cudapatchtable_2eh_12',·['cudaPatchTable.h',·['../a00770.html',·1,·'']]],
15 ····['cudavertexbuffer_2eh_13',·['cudaVertexBuffer.h',·['../a00902.html',·1,·'']]]15 ····['cudavertexbuffer_2eh_13',·['cudaVertexBuffer.h',·['../a00884.html',·1,·'']]]
16 ];16 ];
1.03 KB
./usr/share/doc/opensubdiv/doxy_html/search/files_3.js
946 B
js-beautify {}
    
Offset 1, 7 lines modifiedOffset 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',·['../a00827.html',·1,·'']]],
3 ····['d3d11legacygregorypatchtable_2eh_1',·['d3d11LegacyGregoryPatchTable.h',·['../a00839.html',·1,·'']]],3 ····['d3d11legacygregorypatchtable_2eh_1',·['d3d11LegacyGregoryPatchTable.h',·['../a00821.html',·1,·'']]],
4 ····['d3d11mesh_2eh_2',·['d3d11Mesh.h',·['../a00827.html',·1,·'']]],4 ····['d3d11mesh_2eh_2',·['d3d11Mesh.h',·['../a00812.html',·1,·'']]],
5 ····['d3d11patchtable_2eh_3',·['d3d11PatchTable.h',·['../a00836.html',·1,·'']]],5 ····['d3d11patchtable_2eh_3',·['d3d11PatchTable.h',·['../a00818.html',·1,·'']]],
6 ····['d3d11vertexbuffer_2eh_4',·['d3d11VertexBuffer.h',·['../a00833.html',·1,·'']]]6 ····['d3d11vertexbuffer_2eh_4',·['d3d11VertexBuffer.h',·['../a00815.html',·1,·'']]]
7 ];7 ];
1.31 KB
./usr/share/doc/opensubdiv/doxy_html/search/files_6.js
1.21 KB
js-beautify {}
    
Offset 1, 9 lines modifiedOffset 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',·['../a00833.html',·1,·'']]],
3 ····['gllegacygregorypatchtable_2eh_1',·['glLegacyGregoryPatchTable.h',·['../a00863.html',·1,·'']]],3 ····['gllegacygregorypatchtable_2eh_1',·['glLegacyGregoryPatchTable.h',·['../a00848.html',·1,·'']]],
4 ····['glmesh_2eh_2',·['glMesh.h',·['../a00857.html',·1,·'']]],4 ····['glmesh_2eh_2',·['glMesh.h',·['../a00839.html',·1,·'']]],
5 ····['glpatchtable_2eh_3',·['glPatchTable.h',·['../a00866.html',·1,·'']]],5 ····['glpatchtable_2eh_3',·['glPatchTable.h',·['../a00842.html',·1,·'']]],
6 ····['glslpatchshadersource_2eh_4',·['glslPatchShaderSource.h',·['../a00854.html',·1,·'']]],6 ····['glslpatchshadersource_2eh_4',·['glslPatchShaderSource.h',·['../a00836.html',·1,·'']]],
7 ····['glvertexbuffer_2eh_5',·['glVertexBuffer.h',·['../a00860.html',·1,·'']]],7 ····['glvertexbuffer_2eh_5',·['glVertexBuffer.h',·['../a00845.html',·1,·'']]],
8 ····['glxfbevaluator_2eh_6',·['glXFBEvaluator.h',·['../a00851.html',·1,·'']]]8 ····['glxfbevaluator_2eh_6',·['glXFBEvaluator.h',·['../a00830.html',·1,·'']]]
9 ];9 ];
362 B
./usr/share/doc/opensubdiv/doxy_html/search/files_7.js
254 B
js-beautify {}
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 var·searchData·=·[1 var·searchData·=·[
2 ····['hlslpatchshadersource_2eh_0',·['hlslPatchShaderSource.h',·['../a00830.html',·1,·'']]]2 ····['hlslpatchshadersource_2eh_0',·['hlslPatchShaderSource.h',·['../a00809.html',·1,·'']]]
3 ];3 ];
444 B
./usr/share/doc/opensubdiv/doxy_html/search/files_8.js
336 B
js-beautify {}
    
Offset 1, 5 lines modifiedOffset 1, 5 lines modified
1 var·searchData·=·[1 var·searchData·=·[
2 ····['level_2eh_0',·['level.h',·['../a00755.html',·1,·'']]],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',·['../a00779.html',·1,·'']]]4 ····['loopscheme_2eh_2',·['loopScheme.h',·['../a00893.html',·1,·'']]]
5 ];5 ];
1.43 KB
./usr/share/doc/opensubdiv/doxy_html/search/files_9.js
1.32 KB
js-beautify {}
    
Offset 1, 10 lines modifiedOffset 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',·['../a00869.html',·1,·'']]],
3 ····['mtlcommon_2eh_1',·['mtlCommon.h',·['../a00806.html',·1,·'']]],3 ····['mtlcommon_2eh_1',·['mtlCommon.h',·['../a00788.html',·1,·'']]],
4 ····['mtlcomputeevaluator_2eh_2',·['mtlComputeEvaluator.h',·['../a00821.html',·1,·'']]],4 ····['mtlcomputeevaluator_2eh_2',·['mtlComputeEvaluator.h',·['../a00803.html',·1,·'']]],
5 ····['mtllegacygregorypatchtable_2eh_3',·['mtlLegacyGregoryPatchTable.h',·['../a00818.html',·1,·'']]],5 ····['mtllegacygregorypatchtable_2eh_3',·['mtlLegacyGregoryPatchTable.h',·['../a00800.html',·1,·'']]],
6 ····['mtlmesh_2eh_4',·['mtlMesh.h',·['../a00809.html',·1,·'']]],6 ····['mtlmesh_2eh_4',·['mtlMesh.h',·['../a00794.html',·1,·'']]],
7 ····['mtlpatchshadersource_2eh_5',·['mtlPatchShaderSource.h',·['../a00812.html',·1,·'']]],7 ····['mtlpatchshadersource_2eh_5',·['mtlPatchShaderSource.h',·['../a00791.html',·1,·'']]],
8 ····['mtlpatchtable_2eh_6',·['mtlPatchTable.h',·['../a00815.html',·1,·'']]],8 ····['mtlpatchtable_2eh_6',·['mtlPatchTable.h',·['../a00797.html',·1,·'']]],
9 ····['mtlvertexbuffer_2eh_7',·['mtlVertexBuffer.h',·['../a00824.html',·1,·'']]]9 ····['mtlvertexbuffer_2eh_7',·['mtlVertexBuffer.h',·['../a00806.html',·1,·'']]]
10 ];10 ];
854 B
./usr/share/doc/opensubdiv/doxy_html/search/files_a.js
746 B
js-beautify {}
    
Offset 1, 7 lines modifiedOffset 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',·['../a00863.html',·1,·'']]],
3 ····['ompkernel_2eh_1',·['ompKernel.h',·['../a00878.html',·1,·'']]],3 ····['ompkernel_2eh_1',·['ompKernel.h',·['../a00860.html',·1,·'']]],
4 ····['opencl_2eh_2',·['opencl.h',·['../a00794.html',·1,·'']]],4 ····['opencl_2eh_2',·['opencl.h',·['../a00776.html',·1,·'']]],
5 ····['opengl_2eh_3',·['opengl.h',·['../a00884.html',·1,·'']]],5 ····['opengl_2eh_3',·['opengl.h',·['../a00866.html',·1,·'']]],
6 ····['options_2eh_4',·['options.h',·['../a00770.html',·1,·'']]]6 ····['options_2eh_4',·['options.h',·['../a00890.html',·1,·'']]]
7 ];7 ];
935 B
./usr/share/doc/opensubdiv/doxy_html/search/files_b.js
827 B
js-beautify {}
    
Offset 1, 10 lines modifiedOffset 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',·['../a00734.html',·1,·'']]],4 ····['patchmap_2eh_2',·['patchMap.h',·['../a00731.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',·['../a00731.html',·1,·'']]],6 ····['patchtable_2eh_4',·['patchTable.h',·['../a00734.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 ];
1.18 KB
./usr/share/doc/opensubdiv/doxy_html/search/files_d.js
1.07 KB
js-beautify {}
    
Offset 1, 11 lines modifiedOffset 1, 11 lines modified
1 var·searchData·=·[1 var·searchData·=·[
2 ····['scheme_2eh_0',·['scheme.h',·['../a00773.html',·1,·'']]],2 ····['scheme_2eh_0',·['scheme.h',·['../a00887.html',·1,·'']]],
3 ····['sparseselector_2eh_1',·['sparseSelector.h',·['../a00746.html',·1,·'']]],3 ····['sparseselector_2eh_1',·['sparseSelector.h',·['../a00749.html',·1,·'']]],
4 ····['stackbuffer_2eh_2',·['stackBuffer.h',·['../a00749.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',·['../a00677.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,·'']]]
11 ];11 ];
1.36 KB
./usr/share/doc/opensubdiv/doxy_html/search/files_e.js
1.25 KB
js-beautify {}
    
Offset 1, 14 lines modifiedOffset 1, 14 lines modified
1 var·searchData·=·[1 var·searchData·=·[
2 ····['tbbevaluator_2eh_0',·['tbbEvaluator.h',·['../a00875.html',·1,·'']]],2 ····['tbbevaluator_2eh_0',·['tbbEvaluator.h',·['../a00857.html',·1,·'']]],
3 ····['tbbkernel_2eh_1',·['tbbKernel.h',·['../a00872.html',·1,·'']]],3 ····['tbbkernel_2eh_1',·['tbbKernel.h',·['../a00854.html',·1,·'']]],
4 ····['tessellation_2eh_2',·['tessellation.h',·['../a00680.html',·1,·'']]],4 ····['tessellation_2eh_2',·['tessellation.h',·['../a00674.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',·['../a00704.html',·1,·'']]],7 ····['topologyrefiner_2eh_5',·['topologyRefiner.h',·['../a00707.html',·1,·'']]],
8 ····['topologyrefinerfactory_2eh_6',·['topologyRefinerFactory.h',·['../a00707.html',·1,·'']]],8 ····['topologyrefinerfactory_2eh_6',·['topologyRefinerFactory.h',·['../a00704.html',·1,·'']]],
9 ····['types_2eh_7',·['types.h',·['../a01478.html',·1,·'(Global·Namespace)'],9 ····['types_2eh_7',·['types.h',·['../a01478.html',·1,·'(Global·Namespace)'],
10 ········['../a01481.html',·1,·'(Global·Namespace)'],10 ········['../a01481.html',·1,·'(Global·Namespace)'],
11 ········['../a01484.html',·1,·'(Global·Namespace)'],11 ········['../a01484.html',·1,·'(Global·Namespace)'],
12 ········['../a01487.html',·1,·'(Global·Namespace)']12 ········['../a01487.html',·1,·'(Global·Namespace)']
13 ····]]13 ····]]
14 ];14 ];
342 B
./usr/share/doc/opensubdiv/doxy_html/search/files_f.js
234 B
js-beautify {}
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 var·searchData·=·[1 var·searchData·=·[
2 ····['vertexdescriptor_2eh_0',·['vertexDescriptor.h',·['../a00674.html',·1,·'']]]2 ····['vertexdescriptor_2eh_0',·['vertexDescriptor.h',·['../a00677.html',·1,·'']]]
3 ];3 ];
1.69 KB
./usr/share/doc/opensubdiv/dxptexviewer.html
    
Offset 266, 15 lines modifiedOffset 266, 15 lines modified
266 <h3>SEE·ALSO</h3>266 <h3>SEE·ALSO</h3>
267 <p>Other·<a·class="reference·external"·href="code_examples.html">examples</a>·:267 <p>Other·<a·class="reference·external"·href="code_examples.html">examples</a>·:
268 <a·class="reference·external"·href="glviewer.html">glViewer</a>,·<a·class="reference·external"·href="glfvarviewer.html">glFVarViewer</a>,·<a·class="reference·external"·href="glevallimit.html">glEvalLimit</a>,·<a·class="reference·external"·href="glstencilviewer.html">glStencilViewer</a>,·<a·class="reference·external"·href="glptexviewer.html">glPtexViewer</a>,·<a·class="reference·external"·href="glpainttest.html">glPaintTest</a>,·<a·class="reference·external"·href="glsharetopology.html">glShareTopology</a>,·<a·class="reference·external"·href="dxviewer.html">dxViewer</a>,·<a·class="reference·external"·href="dxptexviewer.html">dxPtexViewer</a>,·</p>268 <a·class="reference·external"·href="glviewer.html">glViewer</a>,·<a·class="reference·external"·href="glfvarviewer.html">glFVarViewer</a>,·<a·class="reference·external"·href="glevallimit.html">glEvalLimit</a>,·<a·class="reference·external"·href="glstencilviewer.html">glStencilViewer</a>,·<a·class="reference·external"·href="glptexviewer.html">glPtexViewer</a>,·<a·class="reference·external"·href="glpainttest.html">glPaintTest</a>,·<a·class="reference·external"·href="glsharetopology.html">glShareTopology</a>,·<a·class="reference·external"·href="dxviewer.html">dxViewer</a>,·<a·class="reference·external"·href="dxptexviewer.html">dxPtexViewer</a>,·</p>
269 </div>269 </div>
270 </div>270 </div>
271 <div·class="footer">271 <div·class="footer">
272 <hr·class="footer"·/>272 <hr·class="footer"·/>
273 Generated·on:·2024-01-08·09:40·UTC.273 Generated·on:·2024-01-08·09:43·UTC.
  
274 </div>274 </div>
275 </body>275 </body>
276 </html>276 </html>
  
277 ··········</div><!--·close·topicLeftData-MainData·-->277 ··········</div><!--·close·topicLeftData-MainData·-->
278 ········</div><!--·close·coursewareBackground·-->278 ········</div><!--·close·coursewareBackground·-->
593 B
html2text {}
    
Offset 124, 14 lines modifiedOffset 124, 14 lines modified
124 ·····esc····:·hide·GUI124 ·····esc····:·hide·GUI
125 ·····f······:·fit·frame125 ·····f······:·fit·frame
126 ·····+/-····:·increase·/·decrese·tessellation·rate126 ·····+/-····:·increase·/·decrese·tessellation·rate
127 ****·SEE·ALSO·****127 ****·SEE·ALSO·****
128 Other·examples·:·glViewer,·glFVarViewer,·glEvalLimit,·glStencilViewer,128 Other·examples·:·glViewer,·glFVarViewer,·glEvalLimit,·glStencilViewer,
129 glPtexViewer,·glPaintTest,·glShareTopology,·dxViewer,·dxPtexViewer,129 glPtexViewer,·glPaintTest,·glShareTopology,·dxViewer,·dxPtexViewer,
130 ===============================================================================130 ===============================================================================
131 Generated·on:·2024-01-08·09:40·UTC.131 Generated·on:·2024-01-08·09:43·UTC.
  
132 ····*·User_Docs132 ····*·User_Docs
133 ····*·API_Docs133 ····*·API_Docs
134 ····*·Release_Notes134 ····*·Release_Notes
135 ····*·Forum135 ····*·Forum
136 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use136 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.7 KB
./usr/share/doc/opensubdiv/dxviewer.html
    
Offset 220, 15 lines modifiedOffset 220, 15 lines modified
220 <h3>SEE·ALSO</h3>220 <h3>SEE·ALSO</h3>
221 <p>Other·<a·class="reference·external"·href="code_examples.html">examples</a>·:221 <p>Other·<a·class="reference·external"·href="code_examples.html">examples</a>·:
222 <a·class="reference·external"·href="glviewer.html">glViewer</a>,·<a·class="reference·external"·href="glfvarviewer.html">glFVarViewer</a>,·<a·class="reference·external"·href="glevallimit.html">glEvalLimit</a>,·<a·class="reference·external"·href="glstencilviewer.html">glStencilViewer</a>,·<a·class="reference·external"·href="glptexviewer.html">glPtexViewer</a>,·<a·class="reference·external"·href="glpainttest.html">glPaintTest</a>,·<a·class="reference·external"·href="glsharetopology.html">glShareTopology</a>,·<a·class="reference·external"·href="dxviewer.html">dxViewer</a>,·<a·class="reference·external"·href="dxptexviewer.html">dxPtexViewer</a>,·</p>222 <a·class="reference·external"·href="glviewer.html">glViewer</a>,·<a·class="reference·external"·href="glfvarviewer.html">glFVarViewer</a>,·<a·class="reference·external"·href="glevallimit.html">glEvalLimit</a>,·<a·class="reference·external"·href="glstencilviewer.html">glStencilViewer</a>,·<a·class="reference·external"·href="glptexviewer.html">glPtexViewer</a>,·<a·class="reference·external"·href="glpainttest.html">glPaintTest</a>,·<a·class="reference·external"·href="glsharetopology.html">glShareTopology</a>,·<a·class="reference·external"·href="dxviewer.html">dxViewer</a>,·<a·class="reference·external"·href="dxptexviewer.html">dxPtexViewer</a>,·</p>
223 </div>223 </div>
224 </div>224 </div>
225 <div·class="footer">225 <div·class="footer">
226 <hr·class="footer"·/>226 <hr·class="footer"·/>
227 Generated·on:·2024-01-08·09:40·UTC.227 Generated·on:·2024-01-08·09:43·UTC.
  
228 </div>228 </div>
229 </body>229 </body>
230 </html>230 </html>
  
231 ··········</div><!--·close·topicLeftData-MainData·-->231 ··········</div><!--·close·topicLeftData-MainData·-->
232 ········</div><!--·close·coursewareBackground·-->232 ········</div><!--·close·coursewareBackground·-->
614 B
html2text {}
    
Offset 85, 14 lines modifiedOffset 85, 14 lines modified
85 ****·OPTIONS·****85 ****·OPTIONS·****
86 See·the·description·of·the·common_comand_line_options·for·the·subset·of·common86 See·the·description·of·the·common_comand_line_options·for·the·subset·of·common
87 options·supported·here.87 options·supported·here.
88 ****·SEE·ALSO·****88 ****·SEE·ALSO·****
89 Other·examples·:·glViewer,·glFVarViewer,·glEvalLimit,·glStencilViewer,89 Other·examples·:·glViewer,·glFVarViewer,·glEvalLimit,·glStencilViewer,
90 glPtexViewer,·glPaintTest,·glShareTopology,·dxViewer,·dxPtexViewer,90 glPtexViewer,·glPaintTest,·glShareTopology,·dxViewer,·dxPtexViewer,
91 ===============================================================================91 ===============================================================================
92 Generated·on:·2024-01-08·09:40·UTC.92 Generated·on:·2024-01-08·09:43·UTC.
  
93 ····*·User_Docs93 ····*·User_Docs
94 ····*·API_Docs94 ····*·API_Docs
95 ····*·Release_Notes95 ····*·Release_Notes
96 ····*·Forum96 ····*·Forum
97 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use97 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.91 KB
./usr/share/doc/opensubdiv/far_overview.html
    
Offset 780, 15 lines modifiedOffset 780, 15 lines modified
780 </span><span·class="name">controlStencils</span><span·class="punctuation">.</span><span·class="name">UpdateDerivs</span><span·class="operator">&lt;</span><span·class="name">StencilType</span><span·class="operator">&gt;</span><span·class="punctuation">(</span><span·class="whitespace">·</span><span·class="operator">&amp;</span><span·class="name">controlPoints</span><span·class="punctuation">[</span><span·class="literal·number·integer">0</span><span·class="punctuation">],</span><span·class="whitespace">·</span><span·class="operator">&amp;</span><span·class="name">utan</span><span·class="punctuation">[</span><span·class="literal·number·integer">0</span><span·class="punctuation">],</span><span·class="whitespace">·</span><span·class="operator">&amp;</span><span·class="name">vtan</span><span·class="punctuation">[</span><span·class="literal·number·integer">0</span><span·class="punctuation">]</span><span·class="whitespace">·</span><span·class="punctuation">);</span>780 </span><span·class="name">controlStencils</span><span·class="punctuation">.</span><span·class="name">UpdateDerivs</span><span·class="operator">&lt;</span><span·class="name">StencilType</span><span·class="operator">&gt;</span><span·class="punctuation">(</span><span·class="whitespace">·</span><span·class="operator">&amp;</span><span·class="name">controlPoints</span><span·class="punctuation">[</span><span·class="literal·number·integer">0</span><span·class="punctuation">],</span><span·class="whitespace">·</span><span·class="operator">&amp;</span><span·class="name">utan</span><span·class="punctuation">[</span><span·class="literal·number·integer">0</span><span·class="punctuation">],</span><span·class="whitespace">·</span><span·class="operator">&amp;</span><span·class="name">vtan</span><span·class="punctuation">[</span><span·class="literal·number·integer">0</span><span·class="punctuation">]</span><span·class="whitespace">·</span><span·class="punctuation">);</span>
781 </pre>781 </pre>
782 </div>782 </div>
783 </div>783 </div>
784 </div>784 </div>
785 <div·class="footer">785 <div·class="footer">
786 <hr·class="footer"·/>786 <hr·class="footer"·/>
787 Generated·on:·2024-01-08·09:40·UTC.787 Generated·on:·2024-01-08·09:43·UTC.
  
788 </div>788 </div>
789 </body>789 </body>
790 </html>790 </html>
  
791 ··········</div><!--·close·topicLeftData-MainData·-->791 ··········</div><!--·close·topicLeftData-MainData·-->
792 ········</div><!--·close·coursewareBackground·-->792 ········</div><!--·close·coursewareBackground·-->
588 B
html2text {}
    
Offset 475, 14 lines modifiedOffset 475, 14 lines modified
475 //·Update·points·by·applying·stencils475 //·Update·points·by·applying·stencils
476 controlStencils.UpdateValues<StencilType>(·&controlPoints[0],·&points[0]·);476 controlStencils.UpdateValues<StencilType>(·&controlPoints[0],·&points[0]·);
  
477 //·Update·tangents·by·applying·derivative·stencils477 //·Update·tangents·by·applying·derivative·stencils
478 controlStencils.UpdateDerivs<StencilType>(·&controlPoints[0],·&utan[0],·&vtan478 controlStencils.UpdateDerivs<StencilType>(·&controlPoints[0],·&utan[0],·&vtan
479 [0]·);479 [0]·);
480 ===============================================================================480 ===============================================================================
481 Generated·on:·2024-01-08·09:40·UTC.481 Generated·on:·2024-01-08·09:43·UTC.
  
482 ····*·User_Docs482 ····*·User_Docs
483 ····*·API_Docs483 ····*·API_Docs
484 ····*·Release_Notes484 ····*·Release_Notes
485 ····*·Forum485 ····*·Forum
486 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use486 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.03 KB
./usr/share/doc/opensubdiv/far_tutorial_1_1.html
    
Offset 356, 15 lines modifiedOffset 356, 15 lines modified
356 </span><span·class="punctuation">}</span><span·class="whitespace">356 </span><span·class="punctuation">}</span><span·class="whitespace">
  
357 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>357 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>
358 </pre>358 </pre>
359 </div>359 </div>
360 <div·class="footer">360 <div·class="footer">
361 <hr·class="footer"·/>361 <hr·class="footer"·/>
362 Generated·on:·2024-01-08·09:40·UTC.362 Generated·on:·2024-01-08·09:43·UTC.
  
363 </div>363 </div>
364 </body>364 </body>
365 </html>365 </html>
  
366 ··········</div><!--·close·topicLeftData-MainData·-->366 ··········</div><!--·close·topicLeftData-MainData·-->
367 ········</div><!--·close·coursewareBackground·-->367 ········</div><!--·close·coursewareBackground·-->
467 B
html2text {}
    
Offset 243, 14 lines modifiedOffset 243, 14 lines modified
243 ····delete·refiner;243 ····delete·refiner;
244 ····return·EXIT_SUCCESS;244 ····return·EXIT_SUCCESS;
245 }245 }
  
246 //-----------------------------------------------------------------------------246 //-----------------------------------------------------------------------------
247 -247 -
248 ===============================================================================248 ===============================================================================
249 Generated·on:·2024-01-08·09:40·UTC.249 Generated·on:·2024-01-08·09:43·UTC.
  
250 ····*·User_Docs250 ····*·User_Docs
251 ····*·API_Docs251 ····*·API_Docs
252 ····*·Release_Notes252 ····*·Release_Notes
253 ····*·Forum253 ····*·Forum
254 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use254 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.17 KB
./usr/share/doc/opensubdiv/far_tutorial_1_2.html
    
Offset 461, 15 lines modifiedOffset 461, 15 lines modified
461 ····</span><span·class="keyword">delete</span><span·class="whitespace">·</span><span·class="name">refiner</span><span·class="punctuation">;</span><span·class="whitespace">461 ····</span><span·class="keyword">delete</span><span·class="whitespace">·</span><span·class="name">refiner</span><span·class="punctuation">;</span><span·class="whitespace">
462 ····</span><span·class="keyword">return</span><span·class="whitespace">·</span><span·class="name">EXIT_SUCCESS</span><span·class="punctuation">;</span><span·class="whitespace">462 ····</span><span·class="keyword">return</span><span·class="whitespace">·</span><span·class="name">EXIT_SUCCESS</span><span·class="punctuation">;</span><span·class="whitespace">
463 </span><span·class="punctuation">}</span>463 </span><span·class="punctuation">}</span>
464 </pre>464 </pre>
465 </div>465 </div>
466 <div·class="footer">466 <div·class="footer">
467 <hr·class="footer"·/>467 <hr·class="footer"·/>
468 Generated·on:·2024-01-08·09:40·UTC.468 Generated·on:·2024-01-08·09:43·UTC.
  
469 </div>469 </div>
470 </body>470 </body>
471 </html>471 </html>
  
472 ··········</div><!--·close·topicLeftData-MainData·-->472 ··········</div><!--·close·topicLeftData-MainData·-->
473 ········</div><!--·close·coursewareBackground·-->473 ········</div><!--·close·coursewareBackground·-->
413 B
html2text {}
    
Offset 345, 14 lines modifiedOffset 345, 14 lines modified
345 ········printf("\n");345 ········printf("\n");
346 ····}346 ····}
  
347 ····delete·refiner;347 ····delete·refiner;
348 ····return·EXIT_SUCCESS;348 ····return·EXIT_SUCCESS;
349 }349 }
350 ===============================================================================350 ===============================================================================
351 Generated·on:·2024-01-08·09:40·UTC.351 Generated·on:·2024-01-08·09:43·UTC.
  
352 ····*·User_Docs352 ····*·User_Docs
353 ····*·API_Docs353 ····*·API_Docs
354 ····*·Release_Notes354 ····*·Release_Notes
355 ····*·Forum355 ····*·Forum
356 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use356 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.25 KB
./usr/share/doc/opensubdiv/far_tutorial_2_1.html
    
Offset 411, 15 lines modifiedOffset 411, 15 lines modified
411 ····</span><span·class="keyword">return</span><span·class="whitespace">·</span><span·class="name">refiner</span><span·class="punctuation">;</span><span·class="whitespace">411 ····</span><span·class="keyword">return</span><span·class="whitespace">·</span><span·class="name">refiner</span><span·class="punctuation">;</span><span·class="whitespace">
412 </span><span·class="punctuation">}</span><span·class="whitespace">412 </span><span·class="punctuation">}</span><span·class="whitespace">
413 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>413 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>
414 </pre>414 </pre>
415 </div>415 </div>
416 <div·class="footer">416 <div·class="footer">
417 <hr·class="footer"·/>417 <hr·class="footer"·/>
418 Generated·on:·2024-01-08·09:40·UTC.418 Generated·on:·2024-01-08·09:43·UTC.
  
419 </div>419 </div>
420 </body>420 </body>
421 </html>421 </html>
  
422 ··········</div><!--·close·topicLeftData-MainData·-->422 ··········</div><!--·close·topicLeftData-MainData·-->
423 ········</div><!--·close·coursewareBackground·-->423 ········</div><!--·close·coursewareBackground·-->
520 B
html2text {}
    
Offset 302, 14 lines modifiedOffset 302, 14 lines modified
302 ············Far::TopologyRefinerFactory<Descriptor>::Options(type,·options));302 ············Far::TopologyRefinerFactory<Descriptor>::Options(type,·options));
  
303 ····return·refiner;303 ····return·refiner;
304 }304 }
305 //-----------------------------------------------------------------------------305 //-----------------------------------------------------------------------------
306 -306 -
307 ===============================================================================307 ===============================================================================
308 Generated·on:·2024-01-08·09:40·UTC.308 Generated·on:·2024-01-08·09:43·UTC.
  
309 ····*·User_Docs309 ····*·User_Docs
310 ····*·API_Docs310 ····*·API_Docs
311 ····*·Release_Notes311 ····*·Release_Notes
312 ····*·Forum312 ····*·Forum
313 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use313 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.2 KB
./usr/share/doc/opensubdiv/far_tutorial_2_2.html
    
Offset 528, 15 lines modifiedOffset 528, 15 lines modified
528 ····</span><span·class="keyword">return</span><span·class="whitespace">·</span><span·class="name">EXIT_SUCCESS</span><span·class="punctuation">;</span><span·class="whitespace">528 ····</span><span·class="keyword">return</span><span·class="whitespace">·</span><span·class="name">EXIT_SUCCESS</span><span·class="punctuation">;</span><span·class="whitespace">
529 </span><span·class="punctuation">}</span><span·class="whitespace">529 </span><span·class="punctuation">}</span><span·class="whitespace">
530 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>530 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>
531 </pre>531 </pre>
532 </div>532 </div>
533 <div·class="footer">533 <div·class="footer">
534 <hr·class="footer"·/>534 <hr·class="footer"·/>
535 Generated·on:·2024-01-08·09:40·UTC.535 Generated·on:·2024-01-08·09:43·UTC.
  
536 </div>536 </div>
537 </body>537 </body>
538 </html>538 </html>
  
539 ··········</div><!--·close·topicLeftData-MainData·-->539 ··········</div><!--·close·topicLeftData-MainData·-->
540 ········</div><!--·close·coursewareBackground·-->540 ········</div><!--·close·coursewareBackground·-->
467 B
html2text {}
    
Offset 425, 14 lines modifiedOffset 425, 14 lines modified
  
425 ····delete·refiner;425 ····delete·refiner;
426 ····return·EXIT_SUCCESS;426 ····return·EXIT_SUCCESS;
427 }427 }
428 //-----------------------------------------------------------------------------428 //-----------------------------------------------------------------------------
429 -429 -
430 ===============================================================================430 ===============================================================================
431 Generated·on:·2024-01-08·09:40·UTC.431 Generated·on:·2024-01-08·09:43·UTC.
  
432 ····*·User_Docs432 ····*·User_Docs
433 ····*·API_Docs433 ····*·API_Docs
434 ····*·Release_Notes434 ····*·Release_Notes
435 ····*·Forum435 ····*·Forum
436 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use436 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.2 KB
./usr/share/doc/opensubdiv/far_tutorial_2_3.html
    
Offset 696, 15 lines modifiedOffset 696, 15 lines modified
696 ····</span><span·class="keyword">return</span><span·class="whitespace">·</span><span·class="name">EXIT_SUCCESS</span><span·class="punctuation">;</span><span·class="whitespace">696 ····</span><span·class="keyword">return</span><span·class="whitespace">·</span><span·class="name">EXIT_SUCCESS</span><span·class="punctuation">;</span><span·class="whitespace">
697 </span><span·class="punctuation">}</span><span·class="whitespace">697 </span><span·class="punctuation">}</span><span·class="whitespace">
698 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>698 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>
699 </pre>699 </pre>
700 </div>700 </div>
701 <div·class="footer">701 <div·class="footer">
702 <hr·class="footer"·/>702 <hr·class="footer"·/>
703 Generated·on:·2024-01-08·09:41·UTC.703 Generated·on:·2024-01-08·09:43·UTC.
  
704 </div>704 </div>
705 </body>705 </body>
706 </html>706 </html>
  
707 ··········</div><!--·close·topicLeftData-MainData·-->707 ··········</div><!--·close·topicLeftData-MainData·-->
708 ········</div><!--·close·coursewareBackground·-->708 ········</div><!--·close·coursewareBackground·-->
467 B
html2text {}
    
Offset 613, 14 lines modifiedOffset 613, 14 lines modified
  
613 ····delete·refiner;613 ····delete·refiner;
614 ····return·EXIT_SUCCESS;614 ····return·EXIT_SUCCESS;
615 }615 }
616 //-----------------------------------------------------------------------------616 //-----------------------------------------------------------------------------
617 -617 -
618 ===============================================================================618 ===============================================================================
619 Generated·on:·2024-01-08·09:41·UTC.619 Generated·on:·2024-01-08·09:43·UTC.
  
620 ····*·User_Docs620 ····*·User_Docs
621 ····*·API_Docs621 ····*·API_Docs
622 ····*·Release_Notes622 ····*·Release_Notes
623 ····*·Forum623 ····*·Forum
624 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use624 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.03 KB
./usr/share/doc/opensubdiv/far_tutorial_3_1.html
    
Offset 662, 15 lines modifiedOffset 662, 15 lines modified
662 </span><span·class="punctuation">}</span><span·class="whitespace">662 </span><span·class="punctuation">}</span><span·class="whitespace">
  
663 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>663 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>
664 </pre>664 </pre>
665 </div>665 </div>
666 <div·class="footer">666 <div·class="footer">
667 <hr·class="footer"·/>667 <hr·class="footer"·/>
668 Generated·on:·2024-01-08·09:41·UTC.668 Generated·on:·2024-01-08·09:43·UTC.
  
669 </div>669 </div>
670 </body>670 </body>
671 </html>671 </html>
  
672 ··········</div><!--·close·topicLeftData-MainData·-->672 ··········</div><!--·close·topicLeftData-MainData·-->
673 ········</div><!--·close·coursewareBackground·-->673 ········</div><!--·close·coursewareBackground·-->
467 B
html2text {}
    
Offset 562, 14 lines modifiedOffset 562, 14 lines modified
562 ····delete·refiner;562 ····delete·refiner;
563 ····return·EXIT_SUCCESS;563 ····return·EXIT_SUCCESS;
564 }564 }
  
565 //-----------------------------------------------------------------------------565 //-----------------------------------------------------------------------------
566 -566 -
567 ===============================================================================567 ===============================================================================
568 Generated·on:·2024-01-08·09:41·UTC.568 Generated·on:·2024-01-08·09:43·UTC.
  
569 ····*·User_Docs569 ····*·User_Docs
570 ····*·API_Docs570 ····*·API_Docs
571 ····*·Release_Notes571 ····*·Release_Notes
572 ····*·Forum572 ····*·Forum
573 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use573 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1020 B
./usr/share/doc/opensubdiv/far_tutorial_4_1.html
    
Offset 351, 15 lines modifiedOffset 351, 15 lines modified
351 </span><span·class="punctuation">}</span><span·class="whitespace">351 </span><span·class="punctuation">}</span><span·class="whitespace">
  
352 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>352 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>
353 </pre>353 </pre>
354 </div>354 </div>
355 <div·class="footer">355 <div·class="footer">
356 <hr·class="footer"·/>356 <hr·class="footer"·/>
357 Generated·on:·2024-01-08·09:41·UTC.357 Generated·on:·2024-01-08·09:43·UTC.
  
358 </div>358 </div>
359 </body>359 </body>
360 </html>360 </html>
  
361 ··········</div><!--·close·topicLeftData-MainData·-->361 ··········</div><!--·close·topicLeftData-MainData·-->
362 ········</div><!--·close·coursewareBackground·-->362 ········</div><!--·close·coursewareBackground·-->
434 B
html2text {}
    
Offset 237, 14 lines modifiedOffset 237, 14 lines modified
237 options));237 options));
  
238 }238 }
  
239 //-----------------------------------------------------------------------------239 //-----------------------------------------------------------------------------
240 -240 -
241 ===============================================================================241 ===============================================================================
242 Generated·on:·2024-01-08·09:41·UTC.242 Generated·on:·2024-01-08·09:43·UTC.
  
243 ····*·User_Docs243 ····*·User_Docs
244 ····*·API_Docs244 ····*·API_Docs
245 ····*·Release_Notes245 ····*·Release_Notes
246 ····*·Forum246 ····*·Forum
247 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use247 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.0 KB
./usr/share/doc/opensubdiv/far_tutorial_4_2.html
    
Offset 405, 15 lines modifiedOffset 405, 15 lines modified
405 </span><span·class="punctuation">}</span><span·class="whitespace">405 </span><span·class="punctuation">}</span><span·class="whitespace">
  
406 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>406 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>
407 </pre>407 </pre>
408 </div>408 </div>
409 <div·class="footer">409 <div·class="footer">
410 <hr·class="footer"·/>410 <hr·class="footer"·/>
411 Generated·on:·2024-01-08·09:41·UTC.411 Generated·on:·2024-01-08·09:43·UTC.
  
412 </div>412 </div>
413 </body>413 </body>
414 </html>414 </html>
  
415 ··········</div><!--·close·topicLeftData-MainData·-->415 ··········</div><!--·close·topicLeftData-MainData·-->
416 ········</div><!--·close·coursewareBackground·-->416 ········</div><!--·close·coursewareBackground·-->
443 B
html2text {}
    
Offset 295, 14 lines modifiedOffset 295, 14 lines modified
  
295 ····return·refiner;295 ····return·refiner;
296 }296 }
  
297 //-----------------------------------------------------------------------------297 //-----------------------------------------------------------------------------
298 -298 -
299 ===============================================================================299 ===============================================================================
300 Generated·on:·2024-01-08·09:41·UTC.300 Generated·on:·2024-01-08·09:43·UTC.
  
301 ····*·User_Docs301 ····*·User_Docs
302 ····*·API_Docs302 ····*·API_Docs
303 ····*·Release_Notes303 ····*·Release_Notes
304 ····*·Forum304 ····*·Forum
305 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use305 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.06 KB
./usr/share/doc/opensubdiv/far_tutorial_4_3.html
    
Offset 405, 15 lines modifiedOffset 405, 15 lines modified
405 </span><span·class="punctuation">}</span><span·class="whitespace">405 </span><span·class="punctuation">}</span><span·class="whitespace">
  
406 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>406 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>
407 </pre>407 </pre>
408 </div>408 </div>
409 <div·class="footer">409 <div·class="footer">
410 <hr·class="footer"·/>410 <hr·class="footer"·/>
411 Generated·on:·2024-01-08·09:41·UTC.411 Generated·on:·2024-01-08·09:43·UTC.
  
412 </div>412 </div>
413 </body>413 </body>
414 </html>414 </html>
  
415 ··········</div><!--·close·topicLeftData-MainData·-->415 ··········</div><!--·close·topicLeftData-MainData·-->
416 ········</div><!--·close·coursewareBackground·-->416 ········</div><!--·close·coursewareBackground·-->
501 B
html2text {}
    
Offset 293, 14 lines modifiedOffset 293, 14 lines modified
293 ············Far::TopologyRefinerFactory<Descriptor>::Options(type,·options));293 ············Far::TopologyRefinerFactory<Descriptor>::Options(type,·options));
  
294 }294 }
  
295 //-----------------------------------------------------------------------------295 //-----------------------------------------------------------------------------
296 -296 -
297 ===============================================================================297 ===============================================================================
298 Generated·on:·2024-01-08·09:41·UTC.298 Generated·on:·2024-01-08·09:43·UTC.
  
299 ····*·User_Docs299 ····*·User_Docs
300 ····*·API_Docs300 ····*·API_Docs
301 ····*·Release_Notes301 ····*·Release_Notes
302 ····*·Forum302 ····*·Forum
303 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use303 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.12 KB
./usr/share/doc/opensubdiv/far_tutorial_5_1.html
    
Offset 504, 15 lines modifiedOffset 504, 15 lines modified
  
504 ····</span><span·class="keyword">return</span><span·class="whitespace">·</span><span·class="name">refiner</span><span·class="punctuation">;</span><span·class="whitespace">504 ····</span><span·class="keyword">return</span><span·class="whitespace">·</span><span·class="name">refiner</span><span·class="punctuation">;</span><span·class="whitespace">
505 </span><span·class="punctuation">}</span>505 </span><span·class="punctuation">}</span>
506 </pre>506 </pre>
507 </div>507 </div>
508 <div·class="footer">508 <div·class="footer">
509 <hr·class="footer"·/>509 <hr·class="footer"·/>
510 Generated·on:·2024-01-08·09:41·UTC.510 Generated·on:·2024-01-08·09:43·UTC.
  
511 </div>511 </div>
512 </body>512 </body>
513 </html>513 </html>
  
514 ··········</div><!--·close·topicLeftData-MainData·-->514 ··········</div><!--·close·topicLeftData-MainData·-->
515 ········</div><!--·close·coursewareBackground·-->515 ········</div><!--·close·coursewareBackground·-->
537 B
html2text {}
    
Offset 395, 14 lines modifiedOffset 395, 14 lines modified
395 ····Far::TopologyRefiner·*·refiner·=395 ····Far::TopologyRefiner·*·refiner·=
396 ········Far::TopologyRefinerFactory<Descriptor>::Create(desc,396 ········Far::TopologyRefinerFactory<Descriptor>::Create(desc,
397 ············Far::TopologyRefinerFactory<Descriptor>::Options(type,·options));397 ············Far::TopologyRefinerFactory<Descriptor>::Options(type,·options));
  
398 ····return·refiner;398 ····return·refiner;
399 }399 }
400 ===============================================================================400 ===============================================================================
401 Generated·on:·2024-01-08·09:41·UTC.401 Generated·on:·2024-01-08·09:43·UTC.
  
402 ····*·User_Docs402 ····*·User_Docs
403 ····*·API_Docs403 ····*·API_Docs
404 ····*·Release_Notes404 ····*·Release_Notes
405 ····*·Forum405 ····*·Forum
406 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use406 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1020 B
./usr/share/doc/opensubdiv/far_tutorial_5_2.html
    
Offset 826, 15 lines modifiedOffset 826, 15 lines modified
  
826 ····</span><span·class="keyword">return</span><span·class="whitespace">·</span><span·class="name">EXIT_SUCCESS</span><span·class="punctuation">;</span><span·class="whitespace">826 ····</span><span·class="keyword">return</span><span·class="whitespace">·</span><span·class="name">EXIT_SUCCESS</span><span·class="punctuation">;</span><span·class="whitespace">
827 </span><span·class="punctuation">}</span>827 </span><span·class="punctuation">}</span>
828 </pre>828 </pre>
829 </div>829 </div>
830 <div·class="footer">830 <div·class="footer">
831 <hr·class="footer"·/>831 <hr·class="footer"·/>
832 Generated·on:·2024-01-08·09:41·UTC.832 Generated·on:·2024-01-08·09:43·UTC.
  
833 </div>833 </div>
834 </body>834 </body>
835 </html>835 </html>
  
836 ··········</div><!--·close·topicLeftData-MainData·-->836 ··········</div><!--·close·topicLeftData-MainData·-->
837 ········</div><!--·close·coursewareBackground·-->837 ········</div><!--·close·coursewareBackground·-->
408 B
html2text {}
    
Offset 706, 14 lines modifiedOffset 706, 14 lines modified
706 ········}706 ········}
707 ····}707 ····}
708 ····delete·baseRefinerPtr;708 ····delete·baseRefinerPtr;
  
709 ····return·EXIT_SUCCESS;709 ····return·EXIT_SUCCESS;
710 }710 }
711 ===============================================================================711 ===============================================================================
712 Generated·on:·2024-01-08·09:41·UTC.712 Generated·on:·2024-01-08·09:43·UTC.
  
713 ····*·User_Docs713 ····*·User_Docs
714 ····*·API_Docs714 ····*·API_Docs
715 ····*·Release_Notes715 ····*·Release_Notes
716 ····*·Forum716 ····*·Forum
717 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use717 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.03 KB
./usr/share/doc/opensubdiv/far_tutorial_5_3.html
    
Offset 745, 15 lines modifiedOffset 745, 15 lines modified
  
745 ····</span><span·class="keyword">return</span><span·class="whitespace">·</span><span·class="name">EXIT_SUCCESS</span><span·class="punctuation">;</span><span·class="whitespace">745 ····</span><span·class="keyword">return</span><span·class="whitespace">·</span><span·class="name">EXIT_SUCCESS</span><span·class="punctuation">;</span><span·class="whitespace">
746 </span><span·class="punctuation">}</span>746 </span><span·class="punctuation">}</span>
747 </pre>747 </pre>
748 </div>748 </div>
749 <div·class="footer">749 <div·class="footer">
750 <hr·class="footer"·/>750 <hr·class="footer"·/>
751 Generated·on:·2024-01-08·09:41·UTC.751 Generated·on:·2024-01-08·09:43·UTC.
  
752 </div>752 </div>
753 </body>753 </body>
754 </html>754 </html>
  
755 ··········</div><!--·close·topicLeftData-MainData·-->755 ··········</div><!--·close·topicLeftData-MainData·-->
756 ········</div><!--·close·coursewareBackground·-->756 ········</div><!--·close·coursewareBackground·-->
447 B
html2text {}
    
Offset 629, 14 lines modifiedOffset 629, 14 lines modified
629 ····delete·refinerPtr;629 ····delete·refinerPtr;
630 ····delete·patchTablePtr;630 ····delete·patchTablePtr;
631 ····delete·limitStencilTablePtr;631 ····delete·limitStencilTablePtr;
  
632 ····return·EXIT_SUCCESS;632 ····return·EXIT_SUCCESS;
633 }633 }
634 ===============================================================================634 ===============================================================================
635 Generated·on:·2024-01-08·09:41·UTC.635 Generated·on:·2024-01-08·09:43·UTC.
  
636 ····*·User_Docs636 ····*·User_Docs
637 ····*·API_Docs637 ····*·API_Docs
638 ····*·Release_Notes638 ····*·Release_Notes
639 ····*·Forum639 ····*·Forum
640 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use640 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.2 KB
./usr/share/doc/opensubdiv/getting_started.html
    
Offset 321, 15 lines modifiedOffset 321, 15 lines modified
321 </tr>321 </tr>
322 </tbody>322 </tbody>
323 </table>323 </table>
324 </div>324 </div>
325 </div>325 </div>
326 <div·class="footer">326 <div·class="footer">
327 <hr·class="footer"·/>327 <hr·class="footer"·/>
328 Generated·on:·2024-01-08·09:40·UTC.328 Generated·on:·2024-01-08·09:43·UTC.
  
329 </div>329 </div>
330 </body>330 </body>
331 </html>331 </html>
  
332 ··········</div><!--·close·topicLeftData-MainData·-->332 ··········</div><!--·close·topicLeftData-MainData·-->
333 ········</div><!--·close·coursewareBackground·-->333 ········</div><!--·close·coursewareBackground·-->
811 B
html2text {}
    
Offset 144, 14 lines modifiedOffset 144, 14 lines modified
144 |./documentation/|The·reStructuredText·source·files·along·with·python·scripts|144 |./documentation/|The·reStructuredText·source·files·along·with·python·scripts|
145 |________________|that_generate_the_HTML_documentation_site._________________|145 |________________|that_generate_the_HTML_documentation_site._________________|
146 |················|Standalone·regression·tests·and·baseline·data·to·help······|146 |················|Standalone·regression·tests·and·baseline·data·to·help······|
147 |./regression/···|maintain·the·integrity·of·our·APIs.·If·GPU·SDKs·are········|147 |./regression/···|maintain·the·integrity·of·our·APIs.·If·GPU·SDKs·are········|
148 |················|detected,·some·tests·will·attempt·to·run·computations·on···|148 |················|detected,·some·tests·will·attempt·to·run·computations·on···|
149 |________________|those_GPUs.________________________________________________|149 |________________|those_GPUs.________________________________________________|
150 ===============================================================================150 ===============================================================================
151 Generated·on:·2024-01-08·09:40·UTC.151 Generated·on:·2024-01-08·09:43·UTC.
  
152 ····*·User_Docs152 ····*·User_Docs
153 ····*·API_Docs153 ····*·API_Docs
154 ····*·Release_Notes154 ····*·Release_Notes
155 ····*·Forum155 ····*·Forum
156 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use156 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.71 KB
./usr/share/doc/opensubdiv/glevallimit.html
    
Offset 237, 15 lines modifiedOffset 237, 15 lines modified
237 <h3>SEE·ALSO</h3>237 <h3>SEE·ALSO</h3>
238 <p>Other·<a·class="reference·external"·href="code_examples.html">examples</a>·:238 <p>Other·<a·class="reference·external"·href="code_examples.html">examples</a>·:
239 <a·class="reference·external"·href="glviewer.html">glViewer</a>,·<a·class="reference·external"·href="glfvarviewer.html">glFVarViewer</a>,·<a·class="reference·external"·href="glevallimit.html">glEvalLimit</a>,·<a·class="reference·external"·href="glstencilviewer.html">glStencilViewer</a>,·<a·class="reference·external"·href="glptexviewer.html">glPtexViewer</a>,·<a·class="reference·external"·href="glpainttest.html">glPaintTest</a>,·<a·class="reference·external"·href="glsharetopology.html">glShareTopology</a>,·<a·class="reference·external"·href="dxviewer.html">dxViewer</a>,·<a·class="reference·external"·href="dxptexviewer.html">dxPtexViewer</a>,·</p>239 <a·class="reference·external"·href="glviewer.html">glViewer</a>,·<a·class="reference·external"·href="glfvarviewer.html">glFVarViewer</a>,·<a·class="reference·external"·href="glevallimit.html">glEvalLimit</a>,·<a·class="reference·external"·href="glstencilviewer.html">glStencilViewer</a>,·<a·class="reference·external"·href="glptexviewer.html">glPtexViewer</a>,·<a·class="reference·external"·href="glpainttest.html">glPaintTest</a>,·<a·class="reference·external"·href="glsharetopology.html">glShareTopology</a>,·<a·class="reference·external"·href="dxviewer.html">dxViewer</a>,·<a·class="reference·external"·href="dxptexviewer.html">dxPtexViewer</a>,·</p>
240 </div>240 </div>
241 </div>241 </div>
242 <div·class="footer">242 <div·class="footer">
243 <hr·class="footer"·/>243 <hr·class="footer"·/>
244 Generated·on:·2024-01-08·09:40·UTC.244 Generated·on:·2024-01-08·09:43·UTC.
  
245 </div>245 </div>
246 </body>246 </body>
247 </html>247 </html>
  
248 ··········</div><!--·close·topicLeftData-MainData·-->248 ··········</div><!--·close·topicLeftData-MainData·-->
249 ········</div><!--·close·coursewareBackground·-->249 ········</div><!--·close·coursewareBackground·-->
616 B
html2text {}
    
Offset 102, 14 lines modifiedOffset 102, 14 lines modified
102 ****·OPTIONS·****102 ****·OPTIONS·****
103 See·the·description·of·the·common_comand_line_options·for·the·subset·of·common103 See·the·description·of·the·common_comand_line_options·for·the·subset·of·common
104 options·supported·here.104 options·supported·here.
105 ****·SEE·ALSO·****105 ****·SEE·ALSO·****
106 Other·examples·:·glViewer,·glFVarViewer,·glEvalLimit,·glStencilViewer,106 Other·examples·:·glViewer,·glFVarViewer,·glEvalLimit,·glStencilViewer,
107 glPtexViewer,·glPaintTest,·glShareTopology,·dxViewer,·dxPtexViewer,107 glPtexViewer,·glPaintTest,·glShareTopology,·dxViewer,·dxPtexViewer,
108 ===============================================================================108 ===============================================================================
109 Generated·on:·2024-01-08·09:40·UTC.109 Generated·on:·2024-01-08·09:43·UTC.
  
110 ····*·User_Docs110 ····*·User_Docs
111 ····*·API_Docs111 ····*·API_Docs
112 ····*·Release_Notes112 ····*·Release_Notes
113 ····*·Forum113 ····*·Forum
114 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use114 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.71 KB
./usr/share/doc/opensubdiv/glfvarviewer.html
    
Offset 227, 15 lines modifiedOffset 227, 15 lines modified
227 <h3>SEE·ALSO</h3>227 <h3>SEE·ALSO</h3>
228 <p>Other·<a·class="reference·external"·href="code_examples.html">examples</a>·:228 <p>Other·<a·class="reference·external"·href="code_examples.html">examples</a>·:
229 <a·class="reference·external"·href="glviewer.html">glViewer</a>,·<a·class="reference·external"·href="glfvarviewer.html">glFVarViewer</a>,·<a·class="reference·external"·href="glevallimit.html">glEvalLimit</a>,·<a·class="reference·external"·href="glstencilviewer.html">glStencilViewer</a>,·<a·class="reference·external"·href="glptexviewer.html">glPtexViewer</a>,·<a·class="reference·external"·href="glpainttest.html">glPaintTest</a>,·<a·class="reference·external"·href="glsharetopology.html">glShareTopology</a>,·<a·class="reference·external"·href="dxviewer.html">dxViewer</a>,·<a·class="reference·external"·href="dxptexviewer.html">dxPtexViewer</a>,·</p>229 <a·class="reference·external"·href="glviewer.html">glViewer</a>,·<a·class="reference·external"·href="glfvarviewer.html">glFVarViewer</a>,·<a·class="reference·external"·href="glevallimit.html">glEvalLimit</a>,·<a·class="reference·external"·href="glstencilviewer.html">glStencilViewer</a>,·<a·class="reference·external"·href="glptexviewer.html">glPtexViewer</a>,·<a·class="reference·external"·href="glpainttest.html">glPaintTest</a>,·<a·class="reference·external"·href="glsharetopology.html">glShareTopology</a>,·<a·class="reference·external"·href="dxviewer.html">dxViewer</a>,·<a·class="reference·external"·href="dxptexviewer.html">dxPtexViewer</a>,·</p>
230 </div>230 </div>
231 </div>231 </div>
232 <div·class="footer">232 <div·class="footer">
233 <hr·class="footer"·/>233 <hr·class="footer"·/>
234 Generated·on:·2024-01-08·09:40·UTC.234 Generated·on:·2024-01-08·09:43·UTC.
  
235 </div>235 </div>
236 </body>236 </body>
237 </html>237 </html>
  
238 ··········</div><!--·close·topicLeftData-MainData·-->238 ··········</div><!--·close·topicLeftData-MainData·-->
239 ········</div><!--·close·coursewareBackground·-->239 ········</div><!--·close·coursewareBackground·-->
614 B
html2text {}
    
Offset 89, 14 lines modifiedOffset 89, 14 lines modified
89 ****·OPTIONS·****89 ****·OPTIONS·****
90 See·the·description·of·the·common_comand_line_options·for·the·subset·of·common90 See·the·description·of·the·common_comand_line_options·for·the·subset·of·common
91 options·supported·here.91 options·supported·here.
92 ****·SEE·ALSO·****92 ****·SEE·ALSO·****
93 Other·examples·:·glViewer,·glFVarViewer,·glEvalLimit,·glStencilViewer,93 Other·examples·:·glViewer,·glFVarViewer,·glEvalLimit,·glStencilViewer,
94 glPtexViewer,·glPaintTest,·glShareTopology,·dxViewer,·dxPtexViewer,94 glPtexViewer,·glPaintTest,·glShareTopology,·dxViewer,·dxPtexViewer,
95 ===============================================================================95 ===============================================================================
96 Generated·on:·2024-01-08·09:40·UTC.96 Generated·on:·2024-01-08·09:43·UTC.
  
97 ····*·User_Docs97 ····*·User_Docs
98 ····*·API_Docs98 ····*·API_Docs
99 ····*·Release_Notes99 ····*·Release_Notes
100 ····*·Forum100 ····*·Forum
101 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use101 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.69 KB
./usr/share/doc/opensubdiv/glpainttest.html
    
Offset 229, 15 lines modifiedOffset 229, 15 lines modified
229 <h3>SEE·ALSO</h3>229 <h3>SEE·ALSO</h3>
230 <p>Other·<a·class="reference·external"·href="code_examples.html">examples</a>·:230 <p>Other·<a·class="reference·external"·href="code_examples.html">examples</a>·:
231 <a·class="reference·external"·href="glviewer.html">glViewer</a>,·<a·class="reference·external"·href="glfvarviewer.html">glFVarViewer</a>,·<a·class="reference·external"·href="glevallimit.html">glEvalLimit</a>,·<a·class="reference·external"·href="glstencilviewer.html">glStencilViewer</a>,·<a·class="reference·external"·href="glptexviewer.html">glPtexViewer</a>,·<a·class="reference·external"·href="glpainttest.html">glPaintTest</a>,·<a·class="reference·external"·href="glsharetopology.html">glShareTopology</a>,·<a·class="reference·external"·href="dxviewer.html">dxViewer</a>,·<a·class="reference·external"·href="dxptexviewer.html">dxPtexViewer</a>,·</p>231 <a·class="reference·external"·href="glviewer.html">glViewer</a>,·<a·class="reference·external"·href="glfvarviewer.html">glFVarViewer</a>,·<a·class="reference·external"·href="glevallimit.html">glEvalLimit</a>,·<a·class="reference·external"·href="glstencilviewer.html">glStencilViewer</a>,·<a·class="reference·external"·href="glptexviewer.html">glPtexViewer</a>,·<a·class="reference·external"·href="glpainttest.html">glPaintTest</a>,·<a·class="reference·external"·href="glsharetopology.html">glShareTopology</a>,·<a·class="reference·external"·href="dxviewer.html">dxViewer</a>,·<a·class="reference·external"·href="dxptexviewer.html">dxPtexViewer</a>,·</p>
232 </div>232 </div>
233 </div>233 </div>
234 <div·class="footer">234 <div·class="footer">
235 <hr·class="footer"·/>235 <hr·class="footer"·/>
236 Generated·on:·2024-01-08·09:40·UTC.236 Generated·on:·2024-01-08·09:43·UTC.
  
237 </div>237 </div>
238 </body>238 </body>
239 </html>239 </html>
  
240 ··········</div><!--·close·topicLeftData-MainData·-->240 ··········</div><!--·close·topicLeftData-MainData·-->
241 ········</div><!--·close·coursewareBackground·-->241 ········</div><!--·close·coursewareBackground·-->
598 B
html2text {}
    
Offset 88, 14 lines modifiedOffset 88, 14 lines modified
88 ****·KEYBOARD·CONTROLS·****88 ****·KEYBOARD·CONTROLS·****
89 ·····c······:·use·texture·as·color89 ·····c······:·use·texture·as·color
90 ·····d······:·use·texture·as·displacement90 ·····d······:·use·texture·as·displacement
91 ****·SEE·ALSO·****91 ****·SEE·ALSO·****
92 Other·examples·:·glViewer,·glFVarViewer,·glEvalLimit,·glStencilViewer,92 Other·examples·:·glViewer,·glFVarViewer,·glEvalLimit,·glStencilViewer,
93 glPtexViewer,·glPaintTest,·glShareTopology,·dxViewer,·dxPtexViewer,93 glPtexViewer,·glPaintTest,·glShareTopology,·dxViewer,·dxPtexViewer,
94 ===============================================================================94 ===============================================================================
95 Generated·on:·2024-01-08·09:40·UTC.95 Generated·on:·2024-01-08·09:43·UTC.
  
96 ····*·User_Docs96 ····*·User_Docs
97 ····*·API_Docs97 ····*·API_Docs
98 ····*·Release_Notes98 ····*·Release_Notes
99 ····*·Forum99 ····*·Forum
100 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use100 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.72 KB
./usr/share/doc/opensubdiv/glptexviewer.html
    
Offset 266, 15 lines modifiedOffset 266, 15 lines modified
266 <h3>SEE·ALSO</h3>266 <h3>SEE·ALSO</h3>
267 <p>Other·<a·class="reference·external"·href="code_examples.html">examples</a>·:267 <p>Other·<a·class="reference·external"·href="code_examples.html">examples</a>·:
268 <a·class="reference·external"·href="glviewer.html">glViewer</a>,·<a·class="reference·external"·href="glfvarviewer.html">glFVarViewer</a>,·<a·class="reference·external"·href="glevallimit.html">glEvalLimit</a>,·<a·class="reference·external"·href="glstencilviewer.html">glStencilViewer</a>,·<a·class="reference·external"·href="glptexviewer.html">glPtexViewer</a>,·<a·class="reference·external"·href="glpainttest.html">glPaintTest</a>,·<a·class="reference·external"·href="glsharetopology.html">glShareTopology</a>,·<a·class="reference·external"·href="dxviewer.html">dxViewer</a>,·<a·class="reference·external"·href="dxptexviewer.html">dxPtexViewer</a>,·</p>268 <a·class="reference·external"·href="glviewer.html">glViewer</a>,·<a·class="reference·external"·href="glfvarviewer.html">glFVarViewer</a>,·<a·class="reference·external"·href="glevallimit.html">glEvalLimit</a>,·<a·class="reference·external"·href="glstencilviewer.html">glStencilViewer</a>,·<a·class="reference·external"·href="glptexviewer.html">glPtexViewer</a>,·<a·class="reference·external"·href="glpainttest.html">glPaintTest</a>,·<a·class="reference·external"·href="glsharetopology.html">glShareTopology</a>,·<a·class="reference·external"·href="dxviewer.html">dxViewer</a>,·<a·class="reference·external"·href="dxptexviewer.html">dxPtexViewer</a>,·</p>
269 </div>269 </div>
270 </div>270 </div>
271 <div·class="footer">271 <div·class="footer">
272 <hr·class="footer"·/>272 <hr·class="footer"·/>
273 Generated·on:·2024-01-08·09:40·UTC.273 Generated·on:·2024-01-08·09:43·UTC.
  
274 </div>274 </div>
275 </body>275 </body>
276 </html>276 </html>
  
277 ··········</div><!--·close·topicLeftData-MainData·-->277 ··········</div><!--·close·topicLeftData-MainData·-->
278 ········</div><!--·close·coursewareBackground·-->278 ········</div><!--·close·coursewareBackground·-->
627 B
html2text {}
    
Offset 124, 14 lines modifiedOffset 124, 14 lines modified
124 ·····+/-····:·increase·/·decrease·tessellation·rate124 ·····+/-····:·increase·/·decrease·tessellation·rate
125 ·····r······:·reload·and·re-compile·the·shader·files125 ·····r······:·reload·and·re-compile·the·shader·files
126 ·····e······:·draw·normals126 ·····e······:·draw·normals
127 ****·SEE·ALSO·****127 ****·SEE·ALSO·****
128 Other·examples·:·glViewer,·glFVarViewer,·glEvalLimit,·glStencilViewer,128 Other·examples·:·glViewer,·glFVarViewer,·glEvalLimit,·glStencilViewer,
129 glPtexViewer,·glPaintTest,·glShareTopology,·dxViewer,·dxPtexViewer,129 glPtexViewer,·glPaintTest,·glShareTopology,·dxViewer,·dxPtexViewer,
130 ===============================================================================130 ===============================================================================
131 Generated·on:·2024-01-08·09:40·UTC.131 Generated·on:·2024-01-08·09:43·UTC.
  
132 ····*·User_Docs132 ····*·User_Docs
133 ····*·API_Docs133 ····*·API_Docs
134 ····*·Release_Notes134 ····*·Release_Notes
135 ····*·Forum135 ····*·Forum
136 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use136 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.71 KB
./usr/share/doc/opensubdiv/glsharetopology.html
    
Offset 218, 15 lines modifiedOffset 218, 15 lines modified
218 <h3>SEE·ALSO</h3>218 <h3>SEE·ALSO</h3>
219 <p>Other·<a·class="reference·external"·href="code_examples.html">examples</a>·:219 <p>Other·<a·class="reference·external"·href="code_examples.html">examples</a>·:
220 <a·class="reference·external"·href="glviewer.html">glViewer</a>,·<a·class="reference·external"·href="glfvarviewer.html">glFVarViewer</a>,·<a·class="reference·external"·href="glevallimit.html">glEvalLimit</a>,·<a·class="reference·external"·href="glstencilviewer.html">glStencilViewer</a>,·<a·class="reference·external"·href="glptexviewer.html">glPtexViewer</a>,·<a·class="reference·external"·href="glpainttest.html">glPaintTest</a>,·<a·class="reference·external"·href="glsharetopology.html">glShareTopology</a>,·<a·class="reference·external"·href="dxviewer.html">dxViewer</a>,·<a·class="reference·external"·href="dxptexviewer.html">dxPtexViewer</a>,·</p>220 <a·class="reference·external"·href="glviewer.html">glViewer</a>,·<a·class="reference·external"·href="glfvarviewer.html">glFVarViewer</a>,·<a·class="reference·external"·href="glevallimit.html">glEvalLimit</a>,·<a·class="reference·external"·href="glstencilviewer.html">glStencilViewer</a>,·<a·class="reference·external"·href="glptexviewer.html">glPtexViewer</a>,·<a·class="reference·external"·href="glpainttest.html">glPaintTest</a>,·<a·class="reference·external"·href="glsharetopology.html">glShareTopology</a>,·<a·class="reference·external"·href="dxviewer.html">dxViewer</a>,·<a·class="reference·external"·href="dxptexviewer.html">dxPtexViewer</a>,·</p>
221 </div>221 </div>
222 </div>222 </div>
223 <div·class="footer">223 <div·class="footer">
224 <hr·class="footer"·/>224 <hr·class="footer"·/>
225 Generated·on:·2024-01-08·09:40·UTC.225 Generated·on:·2024-01-08·09:43·UTC.
  
226 </div>226 </div>
227 </body>227 </body>
228 </html>228 </html>
  
229 ··········</div><!--·close·topicLeftData-MainData·-->229 ··········</div><!--·close·topicLeftData-MainData·-->
230 ········</div><!--·close·coursewareBackground·-->230 ········</div><!--·close·coursewareBackground·-->
614 B
html2text {}
    
Offset 84, 14 lines modifiedOffset 84, 14 lines modified
84 ****·OPTIONS·****84 ****·OPTIONS·****
85 See·the·description·of·the·common_comand_line_options·for·the·subset·of·common85 See·the·description·of·the·common_comand_line_options·for·the·subset·of·common
86 options·supported·here.86 options·supported·here.
87 ****·SEE·ALSO·****87 ****·SEE·ALSO·****
88 Other·examples·:·glViewer,·glFVarViewer,·glEvalLimit,·glStencilViewer,88 Other·examples·:·glViewer,·glFVarViewer,·glEvalLimit,·glStencilViewer,
89 glPtexViewer,·glPaintTest,·glShareTopology,·dxViewer,·dxPtexViewer,89 glPtexViewer,·glPaintTest,·glShareTopology,·dxViewer,·dxPtexViewer,
90 ===============================================================================90 ===============================================================================
91 Generated·on:·2024-01-08·09:40·UTC.91 Generated·on:·2024-01-08·09:43·UTC.
  
92 ····*·User_Docs92 ····*·User_Docs
93 ····*·API_Docs93 ····*·API_Docs
94 ····*·Release_Notes94 ····*·Release_Notes
95 ····*·Forum95 ····*·Forum
96 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use96 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.71 KB
./usr/share/doc/opensubdiv/glstencilviewer.html
    
Offset 220, 15 lines modifiedOffset 220, 15 lines modified
220 <h3>SEE·ALSO</h3>220 <h3>SEE·ALSO</h3>
221 <p>Other·<a·class="reference·external"·href="code_examples.html">examples</a>·:221 <p>Other·<a·class="reference·external"·href="code_examples.html">examples</a>·:
222 <a·class="reference·external"·href="glviewer.html">glViewer</a>,·<a·class="reference·external"·href="glfvarviewer.html">glFVarViewer</a>,·<a·class="reference·external"·href="glevallimit.html">glEvalLimit</a>,·<a·class="reference·external"·href="glstencilviewer.html">glStencilViewer</a>,·<a·class="reference·external"·href="glptexviewer.html">glPtexViewer</a>,·<a·class="reference·external"·href="glpainttest.html">glPaintTest</a>,·<a·class="reference·external"·href="glsharetopology.html">glShareTopology</a>,·<a·class="reference·external"·href="dxviewer.html">dxViewer</a>,·<a·class="reference·external"·href="dxptexviewer.html">dxPtexViewer</a>,·</p>222 <a·class="reference·external"·href="glviewer.html">glViewer</a>,·<a·class="reference·external"·href="glfvarviewer.html">glFVarViewer</a>,·<a·class="reference·external"·href="glevallimit.html">glEvalLimit</a>,·<a·class="reference·external"·href="glstencilviewer.html">glStencilViewer</a>,·<a·class="reference·external"·href="glptexviewer.html">glPtexViewer</a>,·<a·class="reference·external"·href="glpainttest.html">glPaintTest</a>,·<a·class="reference·external"·href="glsharetopology.html">glShareTopology</a>,·<a·class="reference·external"·href="dxviewer.html">dxViewer</a>,·<a·class="reference·external"·href="dxptexviewer.html">dxPtexViewer</a>,·</p>
223 </div>223 </div>
224 </div>224 </div>
225 <div·class="footer">225 <div·class="footer">
226 <hr·class="footer"·/>226 <hr·class="footer"·/>
227 Generated·on:·2024-01-08·09:40·UTC.227 Generated·on:·2024-01-08·09:43·UTC.
  
228 </div>228 </div>
229 </body>229 </body>
230 </html>230 </html>
  
231 ··········</div><!--·close·topicLeftData-MainData·-->231 ··········</div><!--·close·topicLeftData-MainData·-->
232 ········</div><!--·close·coursewareBackground·-->232 ········</div><!--·close·coursewareBackground·-->
614 B
html2text {}
    
Offset 85, 14 lines modifiedOffset 85, 14 lines modified
85 ****·OPTIONS·****85 ****·OPTIONS·****
86 See·the·description·of·the·common_comand_line_options·for·the·subset·of·common86 See·the·description·of·the·common_comand_line_options·for·the·subset·of·common
87 options·supported·here.87 options·supported·here.
88 ****·SEE·ALSO·****88 ****·SEE·ALSO·****
89 Other·examples·:·glViewer,·glFVarViewer,·glEvalLimit,·glStencilViewer,89 Other·examples·:·glViewer,·glFVarViewer,·glEvalLimit,·glStencilViewer,
90 glPtexViewer,·glPaintTest,·glShareTopology,·dxViewer,·dxPtexViewer,90 glPtexViewer,·glPaintTest,·glShareTopology,·dxViewer,·dxPtexViewer,
91 ===============================================================================91 ===============================================================================
92 Generated·on:·2024-01-08·09:40·UTC.92 Generated·on:·2024-01-08·09:43·UTC.
  
93 ····*·User_Docs93 ····*·User_Docs
94 ····*·API_Docs94 ····*·API_Docs
95 ····*·Release_Notes95 ····*·Release_Notes
96 ····*·Forum96 ····*·Forum
97 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use97 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.7 KB
./usr/share/doc/opensubdiv/glviewer.html
    
Offset 220, 15 lines modifiedOffset 220, 15 lines modified
220 <h3>SEE·ALSO</h3>220 <h3>SEE·ALSO</h3>
221 <p>Other·<a·class="reference·external"·href="code_examples.html">examples</a>·:221 <p>Other·<a·class="reference·external"·href="code_examples.html">examples</a>·:
222 <a·class="reference·external"·href="glviewer.html">glViewer</a>,·<a·class="reference·external"·href="glfvarviewer.html">glFVarViewer</a>,·<a·class="reference·external"·href="glevallimit.html">glEvalLimit</a>,·<a·class="reference·external"·href="glstencilviewer.html">glStencilViewer</a>,·<a·class="reference·external"·href="glptexviewer.html">glPtexViewer</a>,·<a·class="reference·external"·href="glpainttest.html">glPaintTest</a>,·<a·class="reference·external"·href="glsharetopology.html">glShareTopology</a>,·<a·class="reference·external"·href="dxviewer.html">dxViewer</a>,·<a·class="reference·external"·href="dxptexviewer.html">dxPtexViewer</a>,·</p>222 <a·class="reference·external"·href="glviewer.html">glViewer</a>,·<a·class="reference·external"·href="glfvarviewer.html">glFVarViewer</a>,·<a·class="reference·external"·href="glevallimit.html">glEvalLimit</a>,·<a·class="reference·external"·href="glstencilviewer.html">glStencilViewer</a>,·<a·class="reference·external"·href="glptexviewer.html">glPtexViewer</a>,·<a·class="reference·external"·href="glpainttest.html">glPaintTest</a>,·<a·class="reference·external"·href="glsharetopology.html">glShareTopology</a>,·<a·class="reference·external"·href="dxviewer.html">dxViewer</a>,·<a·class="reference·external"·href="dxptexviewer.html">dxPtexViewer</a>,·</p>
223 </div>223 </div>
224 </div>224 </div>
225 <div·class="footer">225 <div·class="footer">
226 <hr·class="footer"·/>226 <hr·class="footer"·/>
227 Generated·on:·2024-01-08·09:40·UTC.227 Generated·on:·2024-01-08·09:43·UTC.
  
228 </div>228 </div>
229 </body>229 </body>
230 </html>230 </html>
  
231 ··········</div><!--·close·topicLeftData-MainData·-->231 ··········</div><!--·close·topicLeftData-MainData·-->
232 ········</div><!--·close·coursewareBackground·-->232 ········</div><!--·close·coursewareBackground·-->
614 B
html2text {}
    
Offset 85, 14 lines modifiedOffset 85, 14 lines modified
85 ****·OPTIONS·****85 ****·OPTIONS·****
86 See·the·description·of·the·common_comand_line_options·for·the·subset·of·common86 See·the·description·of·the·common_comand_line_options·for·the·subset·of·common
87 options·supported·here.87 options·supported·here.
88 ****·SEE·ALSO·****88 ****·SEE·ALSO·****
89 Other·examples·:·glViewer,·glFVarViewer,·glEvalLimit,·glStencilViewer,89 Other·examples·:·glViewer,·glFVarViewer,·glEvalLimit,·glStencilViewer,
90 glPtexViewer,·glPaintTest,·glShareTopology,·dxViewer,·dxPtexViewer,90 glPtexViewer,·glPaintTest,·glShareTopology,·dxViewer,·dxPtexViewer,
91 ===============================================================================91 ===============================================================================
92 Generated·on:·2024-01-08·09:40·UTC.92 Generated·on:·2024-01-08·09:43·UTC.
  
93 ····*·User_Docs93 ····*·User_Docs
94 ····*·API_Docs94 ····*·API_Docs
95 ····*·Release_Notes95 ····*·Release_Notes
96 ····*·Forum96 ····*·Forum
97 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use97 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.05 KB
./usr/share/doc/opensubdiv/hbr_overview.html
    
Offset 289, 15 lines modifiedOffset 289, 15 lines modified
289 </li>289 </li>
290 </ul>290 </ul>
291 </blockquote>291 </blockquote>
292 </div>292 </div>
293 </div>293 </div>
294 <div·class="footer">294 <div·class="footer">
295 <hr·class="footer"·/>295 <hr·class="footer"·/>
296 Generated·on:·2024-01-08·09:40·UTC.296 Generated·on:·2024-01-08·09:43·UTC.
  
297 </div>297 </div>
298 </body>298 </body>
299 </html>299 </html>
  
300 ··········</div><!--·close·topicLeftData-MainData·-->300 ··········</div><!--·close·topicLeftData-MainData·-->
301 ········</div><!--·close·coursewareBackground·-->301 ········</div><!--·close·coursewareBackground·-->
670 B
html2text {}
    
Offset 127, 14 lines modifiedOffset 127, 14 lines modified
127 ·····················o·the·BoundaryNone·rule·skips·all·boundary·vertices127 ·····················o·the·BoundaryNone·rule·skips·all·boundary·vertices
128 ·······················(results·are·''undefined'')128 ·······················(results·are·''undefined'')
129 ·····················o·the·AlwaysSharp·rule·does·not·apply129 ·····················o·the·AlwaysSharp·rule·does·not·apply
130 ·········*···face-varying·boundaries:130 ·········*···face-varying·boundaries:
131 ·····················o·the·BoundaryNone·rule·selects·bilinear·face-varying131 ·····················o·the·BoundaryNone·rule·selects·bilinear·face-varying
132 ·······················interpolation132 ·······················interpolation
133 ===============================================================================133 ===============================================================================
134 Generated·on:·2024-01-08·09:40·UTC.134 Generated·on:·2024-01-08·09:43·UTC.
  
135 ····*·User_Docs135 ····*·User_Docs
136 ····*·API_Docs136 ····*·API_Docs
137 ····*·Release_Notes137 ····*·Release_Notes
138 ····*·Forum138 ····*·Forum
139 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use139 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.02 KB
./usr/share/doc/opensubdiv/hbr_tutorial_0.html
    
Offset 328, 15 lines modifiedOffset 328, 15 lines modified
328 </span><span·class="punctuation">}</span><span·class="whitespace">328 </span><span·class="punctuation">}</span><span·class="whitespace">
  
329 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>329 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>
330 </pre>330 </pre>
331 </div>331 </div>
332 <div·class="footer">332 <div·class="footer">
333 <hr·class="footer"·/>333 <hr·class="footer"·/>
334 Generated·on:·2024-01-08·09:40·UTC.334 Generated·on:·2024-01-08·09:43·UTC.
  
335 </div>335 </div>
336 </body>336 </body>
337 </html>337 </html>
  
338 ··········</div><!--·close·topicLeftData-MainData·-->338 ··········</div><!--·close·topicLeftData-MainData·-->
339 ········</div><!--·close·coursewareBackground·-->339 ········</div><!--·close·coursewareBackground·-->
460 B
html2text {}
    
Offset 212, 14 lines modifiedOffset 212, 14 lines modified
212 ····delete·hmesh;212 ····delete·hmesh;
213 ····delete·catmark;213 ····delete·catmark;
214 }214 }
  
215 //-----------------------------------------------------------------------------215 //-----------------------------------------------------------------------------
216 -216 -
217 ===============================================================================217 ===============================================================================
218 Generated·on:·2024-01-08·09:40·UTC.218 Generated·on:·2024-01-08·09:43·UTC.
  
219 ····*·User_Docs219 ····*·User_Docs
220 ····*·API_Docs220 ····*·API_Docs
221 ····*·Release_Notes221 ····*·Release_Notes
222 ····*·Forum222 ····*·Forum
223 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use223 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.02 KB
./usr/share/doc/opensubdiv/hbr_tutorial_1.html
    
Offset 363, 15 lines modifiedOffset 363, 15 lines modified
363 </span><span·class="punctuation">}</span><span·class="whitespace">363 </span><span·class="punctuation">}</span><span·class="whitespace">
  
364 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>364 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>
365 </pre>365 </pre>
366 </div>366 </div>
367 <div·class="footer">367 <div·class="footer">
368 <hr·class="footer"·/>368 <hr·class="footer"·/>
369 Generated·on:·2024-01-08·09:40·UTC.369 Generated·on:·2024-01-08·09:43·UTC.
  
370 </div>370 </div>
371 </body>371 </body>
372 </html>372 </html>
  
373 ··········</div><!--·close·topicLeftData-MainData·-->373 ··········</div><!--·close·topicLeftData-MainData·-->
374 ········</div><!--·close·coursewareBackground·-->374 ········</div><!--·close·coursewareBackground·-->
460 B
html2text {}
    
Offset 252, 14 lines modifiedOffset 252, 14 lines modified
252 ····delete·hmesh;252 ····delete·hmesh;
253 ····delete·catmark;253 ····delete·catmark;
254 }254 }
  
255 //-----------------------------------------------------------------------------255 //-----------------------------------------------------------------------------
256 -256 -
257 ===============================================================================257 ===============================================================================
258 Generated·on:·2024-01-08·09:40·UTC.258 Generated·on:·2024-01-08·09:43·UTC.
  
259 ····*·User_Docs259 ····*·User_Docs
260 ····*·API_Docs260 ····*·API_Docs
261 ····*·Release_Notes261 ····*·Release_Notes
262 ····*·Forum262 ····*·Forum
263 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use263 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
955 B
./usr/share/doc/opensubdiv/hbr_tutorial_2.html
    
Offset 430, 15 lines modifiedOffset 430, 15 lines modified
  
  
430 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>430 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>
431 </pre>431 </pre>
432 </div>432 </div>
433 <div·class="footer">433 <div·class="footer">
434 <hr·class="footer"·/>434 <hr·class="footer"·/>
435 Generated·on:·2024-01-08·09:40·UTC.435 Generated·on:·2024-01-08·09:43·UTC.
  
436 </div>436 </div>
437 </body>437 </body>
438 </html>438 </html>
  
439 ··········</div><!--·close·topicLeftData-MainData·-->439 ··········</div><!--·close·topicLeftData-MainData·-->
440 ········</div><!--·close·coursewareBackground·-->440 ········</div><!--·close·coursewareBackground·-->
441 B
html2text {}
    
Offset 321, 14 lines modifiedOffset 321, 14 lines modified
321 ····return·hmesh;321 ····return·hmesh;
322 }322 }
  
  
323 //-----------------------------------------------------------------------------323 //-----------------------------------------------------------------------------
324 -324 -
325 ===============================================================================325 ===============================================================================
326 Generated·on:·2024-01-08·09:40·UTC.326 Generated·on:·2024-01-08·09:43·UTC.
  
327 ····*·User_Docs327 ····*·User_Docs
328 ····*·API_Docs328 ····*·API_Docs
329 ····*·Release_Notes329 ····*·Release_Notes
330 ····*·Forum330 ····*·Forum
331 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use331 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.28 KB
./usr/share/doc/opensubdiv/hedits.html
    
Offset 303, 15 lines modifiedOffset 303, 15 lines modified
303 </blockquote>303 </blockquote>
304 <a·class="reference·external·image-reference"·href="images/hedit_example5.png"><img·alt="images/hedit_example5.png"·class="align-center"·src="images/hedit_example5.png"·style="height:·300px;"·/></a>304 <a·class="reference·external·image-reference"·href="images/hedit_example5.png"><img·alt="images/hedit_example5.png"·class="align-center"·src="images/hedit_example5.png"·style="height:·300px;"·/></a>
305 </div>305 </div>
306 </div>306 </div>
307 </div>307 </div>
308 <div·class="footer">308 <div·class="footer">
309 <hr·class="footer"·/>309 <hr·class="footer"·/>
310 Generated·on:·2024-01-08·09:40·UTC.310 Generated·on:·2024-01-08·09:43·UTC.
  
311 </div>311 </div>
312 </body>312 </body>
313 </html>313 </html>
  
314 ··········</div><!--·close·topicLeftData-MainData·-->314 ··········</div><!--·close·topicLeftData-MainData·-->
315 ········</div><!--·close·coursewareBackground·-->315 ········</div><!--·close·coursewareBackground·-->
718 B
html2text {}
    
Offset 161, 14 lines modifiedOffset 161, 14 lines modified
161 ·········*·The·"hole"·operation·introduces·holes·(missing·faces)·into·the161 ·········*·The·"hole"·operation·introduces·holes·(missing·faces)·into·the
162 ···········subdivision·mesh·at·any·level·in·the·subdivision·hierarchy.·The162 ···········subdivision·mesh·at·any·level·in·the·subdivision·hierarchy.·The
163 ···········faces·will·be·deleted,·and·none·of·their·children·will·appear163 ···········faces·will·be·deleted,·and·none·of·their·children·will·appear
164 ···········(you·cannot·"unhole"·a·face·if·any·ancestor·is·a·"hole").·This164 ···········(you·cannot·"unhole"·a·face·if·any·ancestor·is·a·"hole").·This
165 ···········operation·takes·no·float·or·string·arguments.165 ···········operation·takes·no·float·or·string·arguments.
166 [images/hedit_example5.png]166 [images/hedit_example5.png]
167 ===============================================================================167 ===============================================================================
168 Generated·on:·2024-01-08·09:40·UTC.168 Generated·on:·2024-01-08·09:43·UTC.
  
169 ····*·User_Docs169 ····*·User_Docs
170 ····*·API_Docs170 ····*·API_Docs
171 ····*·Release_Notes171 ····*·Release_Notes
172 ····*·Forum172 ····*·Forum
173 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use173 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.07 KB
./usr/share/doc/opensubdiv/intro.html
    
Offset 312, 15 lines modifiedOffset 312, 15 lines modified
312 <dt>Pixar·Research:</dt>312 <dt>Pixar·Research:</dt>
313 <dd><a·class="reference·external"·href="http://graphics.pixar.com/research/">Pixar·R&amp;D·Portal</a></dd>313 <dd><a·class="reference·external"·href="http://graphics.pixar.com/research/">Pixar·R&amp;D·Portal</a></dd>
314 </dl>314 </dl>
315 </div>315 </div>
316 </div>316 </div>
317 <div·class="footer">317 <div·class="footer">
318 <hr·class="footer"·/>318 <hr·class="footer"·/>
319 Generated·on:·2024-01-08·09:40·UTC.319 Generated·on:·2024-01-08·09:43·UTC.
  
320 </div>320 </div>
321 </body>321 </body>
322 </html>322 </html>
  
323 ··········</div><!--·close·topicLeftData-MainData·-->323 ··········</div><!--·close·topicLeftData-MainData·-->
324 ········</div><!--·close·coursewareBackground·-->324 ········</div><!--·close·coursewareBackground·-->
587 B
html2text {}
    
Offset 168, 14 lines modifiedOffset 168, 14 lines modified
168 ****·Contributing·****168 ****·Contributing·****
169 For·details·on·how·to·contribute·to·OpenSubdiv,·see·the·page·on·Contributing169 For·details·on·how·to·contribute·to·OpenSubdiv,·see·the·page·on·Contributing
170 ===============================================================================170 ===============================================================================
171 ****·External·Resources·****171 ****·External·Resources·****
172 ··Pixar·Research:172 ··Pixar·Research:
173 ······Pixar_R&D_Portal173 ······Pixar_R&D_Portal
174 ===============================================================================174 ===============================================================================
175 Generated·on:·2024-01-08·09:40·UTC.175 Generated·on:·2024-01-08·09:43·UTC.
  
176 ····*·User_Docs176 ····*·User_Docs
177 ····*·API_Docs177 ····*·API_Docs
178 ····*·Release_Notes178 ····*·Release_Notes
179 ····*·Forum179 ····*·Forum
180 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use180 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.19 KB
./usr/share/doc/opensubdiv/license.html
    
Offset 222, 15 lines modifiedOffset 222, 15 lines modified
222 KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific222 KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
223 language·governing·permissions·and·limitations·under·the·Apache·License.223 language·governing·permissions·and·limitations·under·the·Apache·License.
224 </pre>224 </pre>
225 </div>225 </div>
226 </div>226 </div>
227 <div·class="footer">227 <div·class="footer">
228 <hr·class="footer"·/>228 <hr·class="footer"·/>
229 Generated·on:·2024-01-08·09:40·UTC.229 Generated·on:·2024-01-08·09:43·UTC.
  
230 </div>230 </div>
231 </body>231 </body>
232 </html>232 </html>
  
233 ··········</div><!--·close·topicLeftData-MainData·-->233 ··········</div><!--·close·topicLeftData-MainData·-->
234 ········</div><!--·close·coursewareBackground·-->234 ········</div><!--·close·coursewareBackground·-->
691 B
html2text {}
    
Offset 98, 14 lines modifiedOffset 98, 14 lines modified
  
98 Unless·required·by·applicable·law·or·agreed·to·in·writing,·software98 Unless·required·by·applicable·law·or·agreed·to·in·writing,·software
99 distributed·under·the·Apache·License·with·the·above·modification·is99 distributed·under·the·Apache·License·with·the·above·modification·is
100 distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY100 distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY
101 KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific101 KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific
102 language·governing·permissions·and·limitations·under·the·Apache·License.102 language·governing·permissions·and·limitations·under·the·Apache·License.
103 ===============================================================================103 ===============================================================================
104 Generated·on:·2024-01-08·09:40·UTC.104 Generated·on:·2024-01-08·09:43·UTC.
  
105 ····*·User_Docs105 ····*·User_Docs
106 ····*·API_Docs106 ····*·API_Docs
107 ····*·Release_Notes107 ····*·Release_Notes
108 ····*·Forum108 ····*·Forum
109 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use109 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.44 KB
./usr/share/doc/opensubdiv/mod_notes.html
    
Offset 331, 15 lines modifiedOffset 331, 15 lines modified
331 the·modeling·techniques·he·uses·when·modeling·props·and·architecture·sets·for331 the·modeling·techniques·he·uses·when·modeling·props·and·architecture·sets·for
332 feature·films.</p>332 feature·films.</p>
333 <a·class="reference·external·image-reference"·href="https://player.vimeo.com/video/70600180"><img·alt="https://graphics.pixar.com/opensubdiv/videothumbnails/subdiv_modeling_pixar2013.png"·class="align-center"·src="https://graphics.pixar.com/opensubdiv/videothumbnails/subdiv_modeling_pixar2013.png"·style="width:·75%;"·/></a>333 <a·class="reference·external·image-reference"·href="https://player.vimeo.com/video/70600180"><img·alt="https://graphics.pixar.com/opensubdiv/videothumbnails/subdiv_modeling_pixar2013.png"·class="align-center"·src="https://graphics.pixar.com/opensubdiv/videothumbnails/subdiv_modeling_pixar2013.png"·style="width:·75%;"·/></a>
334 </div>334 </div>
335 </div>335 </div>
336 <div·class="footer">336 <div·class="footer">
337 <hr·class="footer"·/>337 <hr·class="footer"·/>
338 Generated·on:·2024-01-08·09:40·UTC.338 Generated·on:·2024-01-08·09:43·UTC.
  
339 </div>339 </div>
340 </body>340 </body>
341 </html>341 </html>
  
342 ··········</div><!--·close·topicLeftData-MainData·-->342 ··········</div><!--·close·topicLeftData-MainData·-->
343 ········</div><!--·close·coursewareBackground·-->343 ········</div><!--·close·coursewareBackground·-->
677 B
html2text {}
    
Offset 172, 14 lines modifiedOffset 172, 14 lines modified
172 ===============================================================================172 ===============================================================================
173 Ivo·Kos,·Modelling·Technical·Director·at·Pixar·Animation·Studios,·shows·some·of173 Ivo·Kos,·Modelling·Technical·Director·at·Pixar·Animation·Studios,·shows·some·of
174 the·modeling·techniques·he·uses·when·modeling·props·and·architecture·sets·for174 the·modeling·techniques·he·uses·when·modeling·props·and·architecture·sets·for
175 feature·films.175 feature·films.
176 [https://graphics.pixar.com/opensubdiv/videothumbnails/176 [https://graphics.pixar.com/opensubdiv/videothumbnails/
177 subdiv_modeling_pixar2013.png]177 subdiv_modeling_pixar2013.png]
178 ===============================================================================178 ===============================================================================
179 Generated·on:·2024-01-08·09:40·UTC.179 Generated·on:·2024-01-08·09:43·UTC.
  
180 ····*·User_Docs180 ····*·User_Docs
181 ····*·API_Docs181 ····*·API_Docs
182 ····*·Release_Notes182 ····*·Release_Notes
183 ····*·Forum183 ····*·Forum
184 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use184 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.69 KB
./usr/share/doc/opensubdiv/mtlptexviewer.html
    
Offset 223, 15 lines modifiedOffset 223, 15 lines modified
223 <h3>SEE·ALSO</h3>223 <h3>SEE·ALSO</h3>
224 <p>Other·<a·class="reference·external"·href="code_examples.html">examples</a>·:224 <p>Other·<a·class="reference·external"·href="code_examples.html">examples</a>·:
225 <a·class="reference·external"·href="glviewer.html">glViewer</a>,·<a·class="reference·external"·href="glfvarviewer.html">glFVarViewer</a>,·<a·class="reference·external"·href="glevallimit.html">glEvalLimit</a>,·<a·class="reference·external"·href="glstencilviewer.html">glStencilViewer</a>,·<a·class="reference·external"·href="glptexviewer.html">glPtexViewer</a>,·<a·class="reference·external"·href="glpainttest.html">glPaintTest</a>,·<a·class="reference·external"·href="glsharetopology.html">glShareTopology</a>,·<a·class="reference·external"·href="dxviewer.html">dxViewer</a>,·<a·class="reference·external"·href="dxptexviewer.html">dxPtexViewer</a>,·</p>225 <a·class="reference·external"·href="glviewer.html">glViewer</a>,·<a·class="reference·external"·href="glfvarviewer.html">glFVarViewer</a>,·<a·class="reference·external"·href="glevallimit.html">glEvalLimit</a>,·<a·class="reference·external"·href="glstencilviewer.html">glStencilViewer</a>,·<a·class="reference·external"·href="glptexviewer.html">glPtexViewer</a>,·<a·class="reference·external"·href="glpainttest.html">glPaintTest</a>,·<a·class="reference·external"·href="glsharetopology.html">glShareTopology</a>,·<a·class="reference·external"·href="dxviewer.html">dxViewer</a>,·<a·class="reference·external"·href="dxptexviewer.html">dxPtexViewer</a>,·</p>
226 </div>226 </div>
227 </div>227 </div>
228 <div·class="footer">228 <div·class="footer">
229 <hr·class="footer"·/>229 <hr·class="footer"·/>
230 Generated·on:·2024-01-08·09:40·UTC.230 Generated·on:·2024-01-08·09:43·UTC.
  
231 </div>231 </div>
232 </body>232 </body>
233 </html>233 </html>
  
234 ··········</div><!--·close·topicLeftData-MainData·-->234 ··········</div><!--·close·topicLeftData-MainData·-->
235 ········</div><!--·close·coursewareBackground·-->235 ········</div><!--·close·coursewareBackground·-->
588 B
html2text {}
    
Offset 87, 14 lines modifiedOffset 87, 14 lines modified
87 ·····q······:·quit87 ·····q······:·quit
88 ·····f······:·fit·frame88 ·····f······:·fit·frame
89 ·····+/-····:·increase·/·decrease·tessellation·rate89 ·····+/-····:·increase·/·decrease·tessellation·rate
90 ****·SEE·ALSO·****90 ****·SEE·ALSO·****
91 Other·examples·:·glViewer,·glFVarViewer,·glEvalLimit,·glStencilViewer,91 Other·examples·:·glViewer,·glFVarViewer,·glEvalLimit,·glStencilViewer,
92 glPtexViewer,·glPaintTest,·glShareTopology,·dxViewer,·dxPtexViewer,92 glPtexViewer,·glPaintTest,·glShareTopology,·dxViewer,·dxPtexViewer,
93 ===============================================================================93 ===============================================================================
94 Generated·on:·2024-01-08·09:40·UTC.94 Generated·on:·2024-01-08·09:43·UTC.
  
95 ····*·User_Docs95 ····*·User_Docs
96 ····*·API_Docs96 ····*·API_Docs
97 ····*·Release_Notes97 ····*·Release_Notes
98 ····*·Forum98 ····*·Forum
99 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use99 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.68 KB
./usr/share/doc/opensubdiv/mtlviewer.html
    
Offset 245, 15 lines modifiedOffset 245, 15 lines modified
245 <h3>SEE·ALSO</h3>245 <h3>SEE·ALSO</h3>
246 <p>Other·<a·class="reference·external"·href="code_examples.html">examples</a>·:246 <p>Other·<a·class="reference·external"·href="code_examples.html">examples</a>·:
247 <a·class="reference·external"·href="glviewer.html">glViewer</a>,·<a·class="reference·external"·href="glfvarviewer.html">glFVarViewer</a>,·<a·class="reference·external"·href="glevallimit.html">glEvalLimit</a>,·<a·class="reference·external"·href="glstencilviewer.html">glStencilViewer</a>,·<a·class="reference·external"·href="glptexviewer.html">glPtexViewer</a>,·<a·class="reference·external"·href="glpainttest.html">glPaintTest</a>,·<a·class="reference·external"·href="glsharetopology.html">glShareTopology</a>,·<a·class="reference·external"·href="dxviewer.html">dxViewer</a>,·<a·class="reference·external"·href="dxptexviewer.html">dxPtexViewer</a>,·</p>247 <a·class="reference·external"·href="glviewer.html">glViewer</a>,·<a·class="reference·external"·href="glfvarviewer.html">glFVarViewer</a>,·<a·class="reference·external"·href="glevallimit.html">glEvalLimit</a>,·<a·class="reference·external"·href="glstencilviewer.html">glStencilViewer</a>,·<a·class="reference·external"·href="glptexviewer.html">glPtexViewer</a>,·<a·class="reference·external"·href="glpainttest.html">glPaintTest</a>,·<a·class="reference·external"·href="glsharetopology.html">glShareTopology</a>,·<a·class="reference·external"·href="dxviewer.html">dxViewer</a>,·<a·class="reference·external"·href="dxptexviewer.html">dxPtexViewer</a>,·</p>
248 </div>248 </div>
249 </div>249 </div>
250 <div·class="footer">250 <div·class="footer">
251 <hr·class="footer"·/>251 <hr·class="footer"·/>
252 Generated·on:·2024-01-08·09:40·UTC.252 Generated·on:·2024-01-08·09:43·UTC.
  
253 </div>253 </div>
254 </body>254 </body>
255 </html>255 </html>
  
256 ··········</div><!--·close·topicLeftData-MainData·-->256 ··········</div><!--·close·topicLeftData-MainData·-->
257 ········</div><!--·close·coursewareBackground·-->257 ········</div><!--·close·coursewareBackground·-->
588 B
html2text {}
    
Offset 91, 14 lines modifiedOffset 91, 14 lines modified
91 ·····q······:·quit91 ·····q······:·quit
92 ·····f······:·fit·frame92 ·····f······:·fit·frame
93 ·····+/-····:·increase·/·decrease·tessellation·rate93 ·····+/-····:·increase·/·decrease·tessellation·rate
94 ****·SEE·ALSO·****94 ****·SEE·ALSO·****
95 Other·examples·:·glViewer,·glFVarViewer,·glEvalLimit,·glStencilViewer,95 Other·examples·:·glViewer,·glFVarViewer,·glEvalLimit,·glStencilViewer,
96 glPtexViewer,·glPaintTest,·glShareTopology,·dxViewer,·dxPtexViewer,96 glPtexViewer,·glPaintTest,·glShareTopology,·dxViewer,·dxPtexViewer,
97 ===============================================================================97 ===============================================================================
98 Generated·on:·2024-01-08·09:40·UTC.98 Generated·on:·2024-01-08·09:43·UTC.
  
99 ····*·User_Docs99 ····*·User_Docs
100 ····*·API_Docs100 ····*·API_Docs
101 ····*·Release_Notes101 ····*·Release_Notes
102 ····*·Forum102 ····*·Forum
103 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use103 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.32 KB
./usr/share/doc/opensubdiv/osd_overview.html
    
Offset 625, 15 lines modifiedOffset 625, 15 lines modified
625 as·the·drawing·API,·Osd::CudaGLVertexBuffer·fits·the·case·since·it·implements625 as·the·drawing·API,·Osd::CudaGLVertexBuffer·fits·the·case·since·it·implements
626 BindCudaBuffer()·and·BindVBO().·Again,·clients·can·implement·their·own·buffer626 BindCudaBuffer()·and·BindVBO().·Again,·clients·can·implement·their·own·buffer
627 class·and·pass·it·to·the·Evaluators.</p>627 class·and·pass·it·to·the·Evaluators.</p>
628 </div>628 </div>
629 </div>629 </div>
630 <div·class="footer">630 <div·class="footer">
631 <hr·class="footer"·/>631 <hr·class="footer"·/>
632 Generated·on:·2024-01-08·09:40·UTC.632 Generated·on:·2024-01-08·09:43·UTC.
  
633 </div>633 </div>
634 </body>634 </body>
635 </html>635 </html>
  
636 ··········</div><!--·close·topicLeftData-MainData·-->636 ··········</div><!--·close·topicLeftData-MainData·-->
637 ········</div><!--·close·coursewareBackground·-->637 ········</div><!--·close·coursewareBackground·-->
768 B
html2text {}
    
Offset 229, 14 lines modifiedOffset 229, 14 lines modified
229 The·buffers·can·use·these·methods·as·a·trigger·of·interop.·Osd·provides·a229 The·buffers·can·use·these·methods·as·a·trigger·of·interop.·Osd·provides·a
230 default·implementation·of·interop·buffer·for·most·of·the·backend·combinations.230 default·implementation·of·interop·buffer·for·most·of·the·backend·combinations.
231 For·example,·if·the·client·wants·to·use·CUDA·as·a·computation·backend·and·use231 For·example,·if·the·client·wants·to·use·CUDA·as·a·computation·backend·and·use
232 OpenGL·as·the·drawing·API,·Osd::CudaGLVertexBuffer·fits·the·case·since·it232 OpenGL·as·the·drawing·API,·Osd::CudaGLVertexBuffer·fits·the·case·since·it
233 implements·BindCudaBuffer()·and·BindVBO().·Again,·clients·can·implement·their233 implements·BindCudaBuffer()·and·BindVBO().·Again,·clients·can·implement·their
234 own·buffer·class·and·pass·it·to·the·Evaluators.234 own·buffer·class·and·pass·it·to·the·Evaluators.
235 ===============================================================================235 ===============================================================================
236 Generated·on:·2024-01-08·09:40·UTC.236 Generated·on:·2024-01-08·09:43·UTC.
  
237 ····*·User_Docs237 ····*·User_Docs
238 ····*·API_Docs238 ····*·API_Docs
239 ····*·Release_Notes239 ····*·Release_Notes
240 ····*·Forum240 ····*·Forum
241 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use241 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1000 B
./usr/share/doc/opensubdiv/osd_shader_interface.html
    
Offset 461, 15 lines modifiedOffset 461, 15 lines modified
461 </pre>461 </pre>
462 </div>462 </div>
463 </div>463 </div>
464 </div>464 </div>
465 </div>465 </div>
466 <div·class="footer">466 <div·class="footer">
467 <hr·class="footer"·/>467 <hr·class="footer"·/>
468 Generated·on:·2024-01-08·09:40·UTC.468 Generated·on:·2024-01-08·09:43·UTC.
  
469 </div>469 </div>
470 </body>470 </body>
471 </html>471 </html>
  
472 ··········</div><!--·close·topicLeftData-MainData·-->472 ··········</div><!--·close·topicLeftData-MainData·-->
473 ········</div><!--·close·coursewareBackground·-->473 ········</div><!--·close·coursewareBackground·-->
581 B
html2text {}
    
Offset 277, 14 lines modifiedOffset 277, 14 lines modified
277 ······out·vec4·tessOuterLo,·out·vec4·tessOuterHi);277 ······out·vec4·tessOuterLo,·out·vec4·tessOuterHi);
278 void·OsdEvalPatchBezierTriangleTessLevels(278 void·OsdEvalPatchBezierTriangleTessLevels(
279 ······vec3·cv[15],279 ······vec3·cv[15],
280 ······ivec3·patchParam,280 ······ivec3·patchParam,
281 ······out·vec4·tessLevelOuter,·out·vec2·tessLevelInner,281 ······out·vec4·tessLevelOuter,·out·vec2·tessLevelInner,
282 ······out·vec4·tessOuterLo,·out·vec4·tessOuterHi);282 ······out·vec4·tessOuterLo,·out·vec4·tessOuterHi);
283 ===============================================================================283 ===============================================================================
284 Generated·on:·2024-01-08·09:40·UTC.284 Generated·on:·2024-01-08·09:43·UTC.
  
285 ····*·User_Docs285 ····*·User_Docs
286 ····*·API_Docs286 ····*·API_Docs
287 ····*·Release_Notes287 ····*·Release_Notes
288 ····*·Forum288 ····*·Forum
289 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use289 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1020 B
./usr/share/doc/opensubdiv/osd_tutorial_0.html
    
Offset 331, 15 lines modifiedOffset 331, 15 lines modified
331 </span><span·class="punctuation">}</span><span·class="whitespace">331 </span><span·class="punctuation">}</span><span·class="whitespace">
  
332 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>332 </span><span·class="comment·single">//------------------------------------------------------------------------------</span>
333 </pre>333 </pre>
334 </div>334 </div>
335 <div·class="footer">335 <div·class="footer">
336 <hr·class="footer"·/>336 <hr·class="footer"·/>
337 Generated·on:·2024-01-08·09:41·UTC.337 Generated·on:·2024-01-08·09:43·UTC.
  
338 </div>338 </div>
339 </body>339 </body>
340 </html>340 </html>
  
341 ··········</div><!--·close·topicLeftData-MainData·-->341 ··········</div><!--·close·topicLeftData-MainData·-->
342 ········</div><!--·close·coursewareBackground·-->342 ········</div><!--·close·coursewareBackground·-->
443 B
html2text {}
    
Offset 215, 14 lines modifiedOffset 215, 14 lines modified
  
215 ····return·refiner;215 ····return·refiner;
216 }216 }
  
217 //-----------------------------------------------------------------------------217 //-----------------------------------------------------------------------------
218 -218 -
219 ===============================================================================219 ===============================================================================
220 Generated·on:·2024-01-08·09:41·UTC.220 Generated·on:·2024-01-08·09:43·UTC.
  
221 ····*·User_Docs221 ····*·User_Docs
222 ····*·API_Docs222 ····*·API_Docs
223 ····*·Release_Notes223 ····*·Release_Notes
224 ····*·Forum224 ····*·Forum
225 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use225 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.2 KB
./usr/share/doc/opensubdiv/porting.html
    
Offset 740, 15 lines modifiedOffset 740, 15 lines modified
740 flag·&quot;CMAKE_INCDIR_BASE&quot;·when·configuring·cmake·(i.e.740 flag·&quot;CMAKE_INCDIR_BASE&quot;·when·configuring·cmake·(i.e.
741 -DCMAKE_INCDIR_BASE=include/opensubdiv3)·and·then·including·files·from741 -DCMAKE_INCDIR_BASE=include/opensubdiv3)·and·then·including·files·from
742 &quot;opensubdiv3/...&quot;·in·client·code.</p>742 &quot;opensubdiv3/...&quot;·in·client·code.</p>
743 </div>743 </div>
744 </div>744 </div>
745 <div·class="footer">745 <div·class="footer">
746 <hr·class="footer"·/>746 <hr·class="footer"·/>
747 Generated·on:·2024-01-08·09:40·UTC.747 Generated·on:·2024-01-08·09:43·UTC.
  
748 </div>748 </div>
749 </body>749 </body>
750 </html>750 </html>
  
751 ··········</div><!--·close·topicLeftData-MainData·-->751 ··········</div><!--·close·topicLeftData-MainData·-->
752 ········</div><!--·close·coursewareBackground·-->752 ········</div><!--·close·coursewareBackground·-->
675 B
html2text {}
    
Offset 391, 14 lines modifiedOffset 391, 14 lines modified
391 build-time·search·paths.391 build-time·search·paths.
392 To·support·both·OpenSubdiv·2.0·and·3.0·in·your·build·environment,·you·can392 To·support·both·OpenSubdiv·2.0·and·3.0·in·your·build·environment,·you·can
393 prefix·the·header·install·directory·of·OpenSubdiv·3.0.·Do·this·using·the·build393 prefix·the·header·install·directory·of·OpenSubdiv·3.0.·Do·this·using·the·build
394 flag·"CMAKE_INCDIR_BASE"·when·configuring·cmake·(i.e.·-394 flag·"CMAKE_INCDIR_BASE"·when·configuring·cmake·(i.e.·-
395 DCMAKE_INCDIR_BASE=include/opensubdiv3)·and·then·including·files·from395 DCMAKE_INCDIR_BASE=include/opensubdiv3)·and·then·including·files·from
396 "opensubdiv3/..."·in·client·code.396 "opensubdiv3/..."·in·client·code.
397 ===============================================================================397 ===============================================================================
398 Generated·on:·2024-01-08·09:40·UTC.398 Generated·on:·2024-01-08·09:43·UTC.
  
399 ····*·User_Docs399 ····*·User_Docs
400 ····*·API_Docs400 ····*·API_Docs
401 ····*·Release_Notes401 ····*·Release_Notes
402 ····*·Forum402 ····*·Forum
403 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use403 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.11 KB
./usr/share/doc/opensubdiv/references.html
    
Offset 280, 15 lines modifiedOffset 280, 15 lines modified
280 <div·class="line"><a·class="reference·external"·href="http://doi.org/10.1016/0010-4485%2878%2990110-0">http://doi.org/10.1016/0010-4485%2878%2990110-0</a></div>280 <div·class="line"><a·class="reference·external"·href="http://doi.org/10.1016/0010-4485%2878%2990110-0">http://doi.org/10.1016/0010-4485%2878%2990110-0</a></div>
281 </div>281 </div>
282 </blockquote>282 </blockquote>
283 </div>283 </div>
284 </div>284 </div>
285 <div·class="footer">285 <div·class="footer">
286 <hr·class="footer"·/>286 <hr·class="footer"·/>
287 Generated·on:·2024-01-08·09:40·UTC.287 Generated·on:·2024-01-08·09:43·UTC.
  
288 </div>288 </div>
289 </body>289 </body>
290 </html>290 </html>
  
291 ··········</div><!--·close·topicLeftData-MainData·-->291 ··········</div><!--·close·topicLeftData-MainData·-->
292 ········</div><!--·close·coursewareBackground·-->292 ········</div><!--·close·coursewareBackground·-->
579 B
html2text {}
    
Offset 156, 14 lines modifiedOffset 156, 14 lines modified
156 ·····http://doi.org/10.1145/166117.166121156 ·····http://doi.org/10.1145/166117.166121
  
157 ·····Recursively·generated·B-spline·surfaces·on·arbitrary·topological157 ·····Recursively·generated·B-spline·surfaces·on·arbitrary·topological
158 ·····meshes158 ·····meshes
159 ·····Catmull,·E.;·Clark,·J.·Computer-Aided·Design·10·(6)·(1978)159 ·····Catmull,·E.;·Clark,·J.·Computer-Aided·Design·10·(6)·(1978)
160 ·····http://doi.org/10.1016/0010-4485%2878%2990110-0160 ·····http://doi.org/10.1016/0010-4485%2878%2990110-0
161 ===============================================================================161 ===============================================================================
162 Generated·on:·2024-01-08·09:40·UTC.162 Generated·on:·2024-01-08·09:43·UTC.
  
163 ····*·User_Docs163 ····*·User_Docs
164 ····*·API_Docs164 ····*·API_Docs
165 ····*·Release_Notes165 ····*·Release_Notes
166 ····*·Forum166 ····*·Forum
167 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use167 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.19 KB
./usr/share/doc/opensubdiv/release_30.html
    
Offset 410, 15 lines modifiedOffset 410, 15 lines modified
410 and·rules.··See·<a·class="reference·external"·href="compatibility.html">Subdivision·Compatibility</a>·for·a410 and·rules.··See·<a·class="reference·external"·href="compatibility.html">Subdivision·Compatibility</a>·for·a
411 complete·list.</p>411 complete·list.</p>
412 </div>412 </div>
413 </div>413 </div>
414 </div>414 </div>
415 <div·class="footer">415 <div·class="footer">
416 <hr·class="footer"·/>416 <hr·class="footer"·/>
417 Generated·on:·2024-01-08·09:40·UTC.417 Generated·on:·2024-01-08·09:43·UTC.
  
418 </div>418 </div>
419 </body>419 </body>
420 </html>420 </html>
  
421 ··········</div><!--·close·topicLeftData-MainData·-->421 ··········</div><!--·close·topicLeftData-MainData·-->
422 ········</div><!--·close·coursewareBackground·-->422 ········</div><!--·close·coursewareBackground·-->
708 B
html2text {}
    
Offset 252, 14 lines modifiedOffset 252, 14 lines modified
252 Please·see·the·Porting_Guide·for·help·on·how·to·port·existing·code·written·for252 Please·see·the·Porting_Guide·for·help·on·how·to·port·existing·code·written·for
253 OpenSubdiv·2.x·to·the·new·3.0·release.253 OpenSubdiv·2.x·to·the·new·3.0·release.
254 ===============================================================================254 ===============================================================================
255 ***·Subdivision·Compatibility·***255 ***·Subdivision·Compatibility·***
256 The·3.0·release·has·made·some·minor·changes·to·the·subdivision·specification256 The·3.0·release·has·made·some·minor·changes·to·the·subdivision·specification
257 and·rules.·See·Subdivision_Compatibility·for·a·complete·list.257 and·rules.·See·Subdivision_Compatibility·for·a·complete·list.
258 ===============================================================================258 ===============================================================================
259 Generated·on:·2024-01-08·09:40·UTC.259 Generated·on:·2024-01-08·09:43·UTC.
  
260 ····*·User_Docs260 ····*·User_Docs
261 ····*·API_Docs261 ····*·API_Docs
262 ····*·Release_Notes262 ····*·Release_Notes
263 ····*·Forum263 ····*·Forum
264 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use264 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.05 KB
./usr/share/doc/opensubdiv/release_31.html
    
Offset 555, 15 lines modifiedOffset 555, 15 lines modified
555 </ul>555 </ul>
556 </blockquote>556 </blockquote>
557 </div>557 </div>
558 </div>558 </div>
559 </div>559 </div>
560 <div·class="footer">560 <div·class="footer">
561 <hr·class="footer"·/>561 <hr·class="footer"·/>
562 Generated·on:·2024-01-08·09:40·UTC.562 Generated·on:·2024-01-08·09:43·UTC.
  
563 </div>563 </div>
564 </body>564 </body>
565 </html>565 </html>
  
566 ··········</div><!--·close·topicLeftData-MainData·-->566 ··········</div><!--·close·topicLeftData-MainData·-->
567 ········</div><!--·close·coursewareBackground·-->567 ········</div><!--·close·coursewareBackground·-->
664 B
html2text {}
    
Offset 285, 14 lines modifiedOffset 285, 14 lines modified
285 ***·Bug·Fixes·***285 ***·Bug·Fixes·***
286 ·········*·Fixed·Ptex·version·parsing·and·compatibility·issues286 ·········*·Fixed·Ptex·version·parsing·and·compatibility·issues
287 ·········*·Fixed·compatibility·issues·with·VS2015287 ·········*·Fixed·compatibility·issues·with·VS2015
288 ·········*·Fixed·bug·interpolating·face-varying·data·with·Bilinear·scheme288 ·········*·Fixed·bug·interpolating·face-varying·data·with·Bilinear·scheme
289 ·········*·Fixed·bug·with·refinement·using·Chaikin·creasing289 ·········*·Fixed·bug·with·refinement·using·Chaikin·creasing
290 ·········*·Fixed·bugs·with·HUD·sliders·in·the·example·viewers290 ·········*·Fixed·bugs·with·HUD·sliders·in·the·example·viewers
291 ===============================================================================291 ===============================================================================
292 Generated·on:·2024-01-08·09:40·UTC.292 Generated·on:·2024-01-08·09:43·UTC.
  
293 ····*·User_Docs293 ····*·User_Docs
294 ····*·API_Docs294 ····*·API_Docs
295 ····*·Release_Notes295 ····*·Release_Notes
296 ····*·Forum296 ····*·Forum
297 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use297 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.04 KB
./usr/share/doc/opensubdiv/release_32.html
    
Offset 343, 15 lines modifiedOffset 343, 15 lines modified
343 </ul>343 </ul>
344 </blockquote>344 </blockquote>
345 </div>345 </div>
346 </div>346 </div>
347 </div>347 </div>
348 <div·class="footer">348 <div·class="footer">
349 <hr·class="footer"·/>349 <hr·class="footer"·/>
350 Generated·on:·2024-01-08·09:40·UTC.350 Generated·on:·2024-01-08·09:43·UTC.
  
351 </div>351 </div>
352 </body>352 </body>
353 </html>353 </html>
  
354 ··········</div><!--·close·topicLeftData-MainData·-->354 ··········</div><!--·close·topicLeftData-MainData·-->
355 ········</div><!--·close·coursewareBackground·-->355 ········</div><!--·close·coursewareBackground·-->
653 B
html2text {}
    
Offset 139, 14 lines modifiedOffset 139, 14 lines modified
139 ·········*·Corrected·numerous·spelling·errors·in·doxygen·comments139 ·········*·Corrected·numerous·spelling·errors·in·doxygen·comments
140 ·········*·Updated·glFVarViewer·with·improved·error·detection·and·command140 ·········*·Updated·glFVarViewer·with·improved·error·detection·and·command
141 ···········line·parsing141 ···········line·parsing
142 ·········*·Added·option·to·build·using·MSVC·with·static·CRT142 ·········*·Added·option·to·build·using·MSVC·with·static·CRT
143 ***·Bug·Fixes·***143 ***·Bug·Fixes·***
144 ·········*·Fixed·a·double·delete·of·GL·program·in·Osd::GLComputeEvaluator144 ·········*·Fixed·a·double·delete·of·GL·program·in·Osd::GLComputeEvaluator
145 ===============================================================================145 ===============================================================================
146 Generated·on:·2024-01-08·09:40·UTC.146 Generated·on:·2024-01-08·09:43·UTC.
  
147 ····*·User_Docs147 ····*·User_Docs
148 ····*·API_Docs148 ····*·API_Docs
149 ····*·Release_Notes149 ····*·Release_Notes
150 ····*·Forum150 ····*·Forum
151 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use151 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
989 B
./usr/share/doc/opensubdiv/release_33.html
    
Offset 369, 15 lines modifiedOffset 369, 15 lines modified
369 </ul>369 </ul>
370 </blockquote>370 </blockquote>
371 </div>371 </div>
372 </div>372 </div>
373 </div>373 </div>
374 <div·class="footer">374 <div·class="footer">
375 <hr·class="footer"·/>375 <hr·class="footer"·/>
376 Generated·on:·2024-01-08·09:40·UTC.376 Generated·on:·2024-01-08·09:43·UTC.
  
377 </div>377 </div>
378 </body>378 </body>
379 </html>379 </html>
  
380 ··········</div><!--·close·topicLeftData-MainData·-->380 ··········</div><!--·close·topicLeftData-MainData·-->
381 ········</div><!--·close·coursewareBackground·-->381 ········</div><!--·close·coursewareBackground·-->
582 B
html2text {}
    
Offset 164, 14 lines modifiedOffset 164, 14 lines modified
164 ****·Other·Changes·****164 ****·Other·Changes·****
165 ***·Improvements·***165 ***·Improvements·***
166 ·········*·Fixed·several·instances·of·local·variable·shadowing·that·could166 ·········*·Fixed·several·instances·of·local·variable·shadowing·that·could
167 ···········cause·build·warnings167 ···········cause·build·warnings
168 ·········*·Updated·continuous-integration·build·scripts·and·added·testing168 ·········*·Updated·continuous-integration·build·scripts·and·added·testing
169 ···········on·macOS169 ···········on·macOS
170 ===============================================================================170 ===============================================================================
171 Generated·on:·2024-01-08·09:40·UTC.171 Generated·on:·2024-01-08·09:43·UTC.
  
172 ····*·User_Docs172 ····*·User_Docs
173 ····*·API_Docs173 ····*·API_Docs
174 ····*·Release_Notes174 ····*·Release_Notes
175 ····*·Forum175 ····*·Forum
176 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use176 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.0 KB
./usr/share/doc/opensubdiv/release_34.html
    
Offset 492, 15 lines modifiedOffset 492, 15 lines modified
492 </ul>492 </ul>
493 </blockquote>493 </blockquote>
494 </div>494 </div>
495 </div>495 </div>
496 </div>496 </div>
497 <div·class="footer">497 <div·class="footer">
498 <hr·class="footer"·/>498 <hr·class="footer"·/>
499 Generated·on:·2024-01-08·09:40·UTC.499 Generated·on:·2024-01-08·09:43·UTC.
  
500 </div>500 </div>
501 </body>501 </body>
502 </html>502 </html>
  
503 ··········</div><!--·close·topicLeftData-MainData·-->503 ··········</div><!--·close·topicLeftData-MainData·-->
504 ········</div><!--·close·coursewareBackground·-->504 ········</div><!--·close·coursewareBackground·-->
619 B
html2text {}
    
Offset 257, 14 lines modifiedOffset 257, 14 lines modified
257 ·········*·Fixed·Far::PrimvarRefiner·internal·limitFVar()·prototype257 ·········*·Fixed·Far::PrimvarRefiner·internal·limitFVar()·prototype
258 ···········(GitHub·#979)258 ···········(GitHub·#979)
259 ·········*·Fixed·Far::StencilTable·append·when·base·StencilTable·empty259 ·········*·Fixed·Far::StencilTable·append·when·base·StencilTable·empty
260 ···········(GitHub·#982)260 ···········(GitHub·#982)
261 ·········*·Patches·around·non-manifold·vertices·now·free·of·cracks·(GitHub261 ·········*·Patches·around·non-manifold·vertices·now·free·of·cracks·(GitHub
262 ···········#1013)262 ···········#1013)
263 ===============================================================================263 ===============================================================================
264 Generated·on:·2024-01-08·09:40·UTC.264 Generated·on:·2024-01-08·09:43·UTC.
  
265 ····*·User_Docs265 ····*·User_Docs
266 ····*·API_Docs266 ····*·API_Docs
267 ····*·Release_Notes267 ····*·Release_Notes
268 ····*·Forum268 ····*·Forum
269 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use269 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.05 KB
./usr/share/doc/opensubdiv/release_35.html
    
Offset 375, 15 lines modifiedOffset 375, 15 lines modified
375 </ul>375 </ul>
376 </blockquote>376 </blockquote>
377 </div>377 </div>
378 </div>378 </div>
379 </div>379 </div>
380 <div·class="footer">380 <div·class="footer">
381 <hr·class="footer"·/>381 <hr·class="footer"·/>
382 Generated·on:·2024-01-08·09:40·UTC.382 Generated·on:·2024-01-08·09:43·UTC.
  
383 </div>383 </div>
384 </body>384 </body>
385 </html>385 </html>
  
386 ··········</div><!--·close·topicLeftData-MainData·-->386 ··········</div><!--·close·topicLeftData-MainData·-->
387 ········</div><!--·close·coursewareBackground·-->387 ········</div><!--·close·coursewareBackground·-->
664 B
html2text {}
    
Offset 172, 14 lines modifiedOffset 172, 14 lines modified
172 ·········*·Fixed·GLSL·shader·source·to·remove·storage·qualifiers·from172 ·········*·Fixed·GLSL·shader·source·to·remove·storage·qualifiers·from
173 ···········struct·members·(GitHub·#1271)173 ···········struct·members·(GitHub·#1271)
174 ·········*·Fixed·use·of·CMake·variables·for·Apple·builds·(GitHub·#1235)174 ·········*·Fixed·use·of·CMake·variables·for·Apple·builds·(GitHub·#1235)
175 ·········*·Fixed·build·errors·when·using·OpenGL·without·GLFW·(GitHub175 ·········*·Fixed·build·errors·when·using·OpenGL·without·GLFW·(GitHub
176 ···········#1257)176 ···········#1257)
177 ·········*·Fixed·links·to·embedded·videos·(GitHub·#1231)177 ·········*·Fixed·links·to·embedded·videos·(GitHub·#1231)
178 ===============================================================================178 ===============================================================================
179 Generated·on:·2024-01-08·09:40·UTC.179 Generated·on:·2024-01-08·09:43·UTC.
  
180 ····*·User_Docs180 ····*·User_Docs
181 ····*·API_Docs181 ····*·API_Docs
182 ····*·Release_Notes182 ····*·Release_Notes
183 ····*·Forum183 ····*·Forum
184 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use184 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.12 KB
./usr/share/doc/opensubdiv/release_notes.html
    
Offset 720, 15 lines modifiedOffset 720, 15 lines modified
720 <div·class="section"·id="previous-2-x-release-notes">720 <div·class="section"·id="previous-2-x-release-notes">
721 <h3>Previous·2.x·Release·Notes</h3>721 <h3>Previous·2.x·Release·Notes</h3>
722 <p><a·class="reference·external"·href="release_notes_2x.html">Previous·releases</a></p>722 <p><a·class="reference·external"·href="release_notes_2x.html">Previous·releases</a></p>
723 </div>723 </div>
724 </div>724 </div>
725 <div·class="footer">725 <div·class="footer">
726 <hr·class="footer"·/>726 <hr·class="footer"·/>
727 Generated·on:·2024-01-08·09:40·UTC.727 Generated·on:·2024-01-08·09:43·UTC.
  
728 </div>728 </div>
729 </body>729 </body>
730 </html>730 </html>
  
731 ··········</div><!--·close·topicLeftData-MainData·-->731 ··········</div><!--·close·topicLeftData-MainData·-->
732 ········</div><!--·close·coursewareBackground·-->732 ········</div><!--·close·coursewareBackground·-->
579 B
html2text {}
    
Offset 452, 14 lines modifiedOffset 452, 14 lines modified
452 ············focus·the·API.452 ············focus·the·API.
453 ··········*·Interpolation·of·Vertex·and·Varying·primvars·in·a·single·pass·is·no453 ··········*·Interpolation·of·Vertex·and·Varying·primvars·in·a·single·pass·is·no
454 ············longer·supported.454 ············longer·supported.
455 ··········*·The·Osd·layer·was·largely·refactored.455 ··········*·The·Osd·layer·was·largely·refactored.
456 ****·Previous·2.x·Release·Notes·****456 ****·Previous·2.x·Release·Notes·****
457 Previous_releases457 Previous_releases
458 ===============================================================================458 ===============================================================================
459 Generated·on:·2024-01-08·09:40·UTC.459 Generated·on:·2024-01-08·09:43·UTC.
  
460 ····*·User_Docs460 ····*·User_Docs
461 ····*·API_Docs461 ····*·API_Docs
462 ····*·Release_Notes462 ····*·Release_Notes
463 ····*·Forum463 ····*·Forum
464 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use464 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.01 KB
./usr/share/doc/opensubdiv/release_notes_2x.html
    
Offset 888, 15 lines modifiedOffset 888, 15 lines modified
888 <div·class="section"·id="release-1-0-0">888 <div·class="section"·id="release-1-0-0">
889 <h3>Release·1.0.0</h3>889 <h3>Release·1.0.0</h3>
890 <p>Oringal·release:</p>890 <p>Oringal·release:</p>
891 </div>891 </div>
892 </div>892 </div>
893 <div·class="footer">893 <div·class="footer">
894 <hr·class="footer"·/>894 <hr·class="footer"·/>
895 Generated·on:·2024-01-08·09:40·UTC.895 Generated·on:·2024-01-08·09:43·UTC.
  
896 </div>896 </div>
897 </body>897 </body>
898 </html>898 </html>
  
899 ··········</div><!--·close·topicLeftData-MainData·-->899 ··········</div><!--·close·topicLeftData-MainData·-->
900 ········</div><!--·close·coursewareBackground·-->900 ········</div><!--·close·coursewareBackground·-->
558 B
html2text {}
    
Offset 567, 14 lines modifiedOffset 567, 14 lines modified
567 ****·Release·1.1.0·****567 ****·Release·1.1.0·****
568 New·Features568 New·Features
569 ·········*·release·initiated·because·of·the·switch·to·Git·Flow569 ·········*·release·initiated·because·of·the·switch·to·Git·Flow
570 ===============================================================================570 ===============================================================================
571 ****·Release·1.0.0·****571 ****·Release·1.0.0·****
572 Oringal·release:572 Oringal·release:
573 ===============================================================================573 ===============================================================================
574 Generated·on:·2024-01-08·09:40·UTC.574 Generated·on:·2024-01-08·09:43·UTC.
  
575 ····*·User_Docs575 ····*·User_Docs
576 ····*·API_Docs576 ····*·API_Docs
577 ····*·Release_Notes577 ····*·Release_Notes
578 ····*·Forum578 ····*·Forum
579 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use579 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.21 KB
./usr/share/doc/opensubdiv/sdc_overview.html
    
Offset 501, 15 lines modifiedOffset 501, 15 lines modified
501 edge·--·either·the·vertex·opposite·the·edge·for·each·triangle,·or·its·center501 edge·--·either·the·vertex·opposite·the·edge·for·each·triangle,·or·its·center
502 (which·has·no·other·use·for·Loop).</p>502 (which·has·no·other·use·for·Loop).</p>
503 </div>503 </div>
504 </div>504 </div>
505 </div>505 </div>
506 <div·class="footer">506 <div·class="footer">
507 <hr·class="footer"·/>507 <hr·class="footer"·/>
508 Generated·on:·2024-01-08·09:40·UTC.508 Generated·on:·2024-01-08·09:43·UTC.
  
509 </div>509 </div>
510 </body>510 </body>
511 </html>511 </html>
  
512 ··········</div><!--·close·topicLeftData-MainData·-->512 ··········</div><!--·close·topicLeftData-MainData·-->
513 ········</div><!--·close·coursewareBackground·-->513 ········</div><!--·close·coursewareBackground·-->
732 B
html2text {}
    
Offset 341, 14 lines modifiedOffset 341, 14 lines modified
341 could·be·provided·on·the·mask·class,·with·an·optional·indication·of·the341 could·be·provided·on·the·mask·class,·with·an·optional·indication·of·the
342 incident·face·topology·for·the·irregular·cases.·The·Loop·scheme·does·not·have342 incident·face·topology·for·the·irregular·cases.·The·Loop·scheme·does·not·have
343 "face·weights",·for·a·vertex-vertex·mask,·but·for·an·edge-vertex·mask·it·does343 "face·weights",·for·a·vertex-vertex·mask,·but·for·an·edge-vertex·mask·it·does
344 require·weights·associated·with·the·faces·incident·the·edge·--·either·the344 require·weights·associated·with·the·faces·incident·the·edge·--·either·the
345 vertex·opposite·the·edge·for·each·triangle,·or·its·center·(which·has·no·other345 vertex·opposite·the·edge·for·each·triangle,·or·its·center·(which·has·no·other
346 use·for·Loop).346 use·for·Loop).
347 ===============================================================================347 ===============================================================================
348 Generated·on:·2024-01-08·09:40·UTC.348 Generated·on:·2024-01-08·09:43·UTC.
  
349 ····*·User_Docs349 ····*·User_Docs
350 ····*·API_Docs350 ····*·API_Docs
351 ····*·Release_Notes351 ····*·Release_Notes
352 ····*·Forum352 ····*·Forum
353 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use353 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.15 KB
./usr/share/doc/opensubdiv/subdivision_surfaces.html
    
Offset 1225, 15 lines modifiedOffset 1225, 15 lines modified
1225 at·either·boundary,·it·is·impossible·to·join·the·meshes·seamlessly</p>1225 at·either·boundary,·it·is·impossible·to·join·the·meshes·seamlessly</p>
1226 </div>1226 </div>
1227 </div>1227 </div>
1228 </div>1228 </div>
1229 </div>1229 </div>
1230 <div·class="footer">1230 <div·class="footer">
1231 <hr·class="footer"·/>1231 <hr·class="footer"·/>
1232 Generated·on:·2024-01-08·09:40·UTC.1232 Generated·on:·2024-01-08·09:43·UTC.
  
1233 </div>1233 </div>
1234 </body>1234 </body>
1235 </html>1235 </html>
  
1236 ··········</div><!--·close·topicLeftData-MainData·-->1236 ··········</div><!--·close·topicLeftData-MainData·-->
1237 ········</div><!--·close·coursewareBackground·-->1237 ········</div><!--·close·coursewareBackground·-->
689 B
html2text {}
    
Offset 783, 14 lines modifiedOffset 783, 14 lines modified
783 Cylinder·example·:783 Cylinder·example·:
784 [images/smoothtriangles.png]784 [images/smoothtriangles.png]
785 This·rule·was·empirically·determined·to·make·triangles·subdivide·more·smoothly.785 This·rule·was·empirically·determined·to·make·triangles·subdivide·more·smoothly.
786 However,·this·rule·breaks·the·nice·property·that·two·separate·meshes·can·be786 However,·this·rule·breaks·the·nice·property·that·two·separate·meshes·can·be
787 joined·seamlessly·by·overlapping·their·boundaries;·i.e.·when·there·are787 joined·seamlessly·by·overlapping·their·boundaries;·i.e.·when·there·are
788 triangles·at·either·boundary,·it·is·impossible·to·join·the·meshes·seamlessly788 triangles·at·either·boundary,·it·is·impossible·to·join·the·meshes·seamlessly
789 ===============================================================================789 ===============================================================================
790 Generated·on:·2024-01-08·09:40·UTC.790 Generated·on:·2024-01-08·09:43·UTC.
  
791 ····*·User_Docs791 ····*·User_Docs
792 ····*·API_Docs792 ····*·API_Docs
793 ····*·Release_Notes793 ····*·Release_Notes
794 ····*·Forum794 ····*·Forum
795 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use795 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.1 MB
./usr/share/doc/opensubdiv/tipuesearch/tipuesearch_content.js
1.1 MB
js-beautify {}
    
Offset 1, 343 lines modifiedOffset 1, 343 lines modified
1 var·tipuesearch·=·{1 var·tipuesearch·=·{
2 ····"pages":·[{2 ····"pages":·[{
3 ········"title":·"osd_tutorial_0.cpp",3 ········"title":·"osd_tutorial_0.cpp",
4 ········"text":·"osd_tutorial_0.cpp·osd_tutorial_0.cpp·3.5.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsosdtutorial_0osd_tutorial_0.cpp·------------------------------------------------------------------------------··Tutorial·description···This·tutorial·demonstrates·the·manipulation·of·Osd·Evaluator·and··BufferDescriptor.··include·opensubdivfartopologyDescriptor.h·include·opensubdivfarstencilTableFactory.h·include·opensubdivosdcpuEvaluator.h·include·opensubdivosdcpuVertexBuffer.h·include·cstdio·include·cstring·------------------------------------------------------------------------------··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·const··createTopologyRefiner··int·maxlevel··------------------------------------------------------------------------------·int·main··int·,·char····int·maxlevel··2·,·nCoarseVerts··0·,·nRefinedVerts··0····Setup·phase··Far··StencilTable·const··stencilTable··NULL····Setup·FarStencilTable·Far··TopologyRefiner·const··refiner··createTopologyRefiner··maxlevel···Setup·a·factory·to·create·FarStencilTable·for·more·details·see··Far·tutorials·Far··StencilTableFactory··Options·options··options·.·generateOffsets··true··options·.·generateIntermediateLevels··false··stencilTable··Far··StencilTableFactory··Create···refiner·,·options··nCoarseVerts··refiner·-·GetLevel··0·.·GetNumVertices··nRefinedVerts··stencilTable·-·GetNumStencils···We·are·done·with·Far·cleanup·table·delete·refiner····Setup·a·buffer·for·vertex·primvar·data·Osd··CpuVertexBuffer··vbuffer··Osd··CpuVertexBuffer··Create··3·,·nCoarseVerts··nRefinedVerts····Execution·phase·every·frame····Pack·the·control·vertex·data·at·the·start·of·the·vertex·buffer··and·update·every·time·control·data·changes·vbuffer·-·UpdateData··g_verts·,·0·,·nCoarseVerts··Osd··BufferDescriptor·srcDesc··0·,·3·,·3··Osd··BufferDescriptor·dstDesc··nCoarseVerts··3·,·3·,·3···Launch·the·computation·Osd··CpuEvaluator··EvalStencils··vbuffer·,·srcDesc·,·vbuffer·,·dstDesc·,·stencilTable·····Visualization·with·Maya··print·a·MEL·script·that·generates·particles··at·the·location·of·the·refined·vertices·printf··particle···float·const··refinedVerts··vbuffer·-·BindCpuBuffer···3··nCoarseVerts··for··int·i··0··i··nRefinedVerts···i···float·const··vert··refinedVerts··3··i··printf··-p·f·f·f·n··,·vert··0·,·vert··1·,·vert··2···printf··-c·1·n····delete·stencilTable··delete·vbuffer···------------------------------------------------------------------------------·static·Far··TopologyRefiner·const··createTopologyRefiner··int·maxlevel····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···Uniformly·refine·the·topology·up·to·maxlevel·refiner·-·RefineUniform··Far··TopologyRefiner··UniformOptions··maxlevel··return·refiner···------------------------------------------------------------------------------·Generated·on·2024-01-08·0941·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use",4 ········"text":·"osd_tutorial_0.cpp·osd_tutorial_0.cpp·3.5.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsosdtutorial_0osd_tutorial_0.cpp·------------------------------------------------------------------------------··Tutorial·description···This·tutorial·demonstrates·the·manipulation·of·Osd·Evaluator·and··BufferDescriptor.··include·opensubdivfartopologyDescriptor.h·include·opensubdivfarstencilTableFactory.h·include·opensubdivosdcpuEvaluator.h·include·opensubdivosdcpuVertexBuffer.h·include·cstdio·include·cstring·------------------------------------------------------------------------------··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·const··createTopologyRefiner··int·maxlevel··------------------------------------------------------------------------------·int·main··int·,·char····int·maxlevel··2·,·nCoarseVerts··0·,·nRefinedVerts··0····Setup·phase··Far··StencilTable·const··stencilTable··NULL····Setup·FarStencilTable·Far··TopologyRefiner·const··refiner··createTopologyRefiner··maxlevel···Setup·a·factory·to·create·FarStencilTable·for·more·details·see··Far·tutorials·Far··StencilTableFactory··Options·options··options·.·generateOffsets··true··options·.·generateIntermediateLevels··false··stencilTable··Far··StencilTableFactory··Create···refiner·,·options··nCoarseVerts··refiner·-·GetLevel··0·.·GetNumVertices··nRefinedVerts··stencilTable·-·GetNumStencils···We·are·done·with·Far·cleanup·table·delete·refiner····Setup·a·buffer·for·vertex·primvar·data·Osd··CpuVertexBuffer··vbuffer··Osd··CpuVertexBuffer··Create··3·,·nCoarseVerts··nRefinedVerts····Execution·phase·every·frame····Pack·the·control·vertex·data·at·the·start·of·the·vertex·buffer··and·update·every·time·control·data·changes·vbuffer·-·UpdateData··g_verts·,·0·,·nCoarseVerts··Osd··BufferDescriptor·srcDesc··0·,·3·,·3··Osd··BufferDescriptor·dstDesc··nCoarseVerts··3·,·3·,·3···Launch·the·computation·Osd··CpuEvaluator··EvalStencils··vbuffer·,·srcDesc·,·vbuffer·,·dstDesc·,·stencilTable·····Visualization·with·Maya··print·a·MEL·script·that·generates·particles··at·the·location·of·the·refined·vertices·printf··particle···float·const··refinedVerts··vbuffer·-·BindCpuBuffer···3··nCoarseVerts··for··int·i··0··i··nRefinedVerts···i···float·const··vert··refinedVerts··3··i··printf··-p·f·f·f·n··,·vert··0·,·vert··1·,·vert··2···printf··-c·1·n····delete·stencilTable··delete·vbuffer···------------------------------------------------------------------------------·static·Far··TopologyRefiner·const··createTopologyRefiner··int·maxlevel····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···Uniformly·refine·the·topology·up·to·maxlevel·refiner·-·RefineUniform··Far··TopologyRefiner··UniformOptions··maxlevel··return·refiner···------------------------------------------------------------------------------·Generated·on·2024-01-08·0943·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use",
5 ········"tags":·"",5 ········"tags":·"",
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.5.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·2024-01-08·0941·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.5.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·2024-01-08·0943·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_3_1.cpp",13 ········"title":·"bfr_tutorial_3_1.cpp",
14 ········"text":·"bfr_tutorial_3_1.cpp·bfr_tutorial_3_1.cpp·3.5.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·2024-01-08·0941·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.5.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·2024-01-08·0943·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use",
15 ········"tags":·"",15 ········"tags":·"",
16 ········"loc":·"bfr_tutorial_3_1.html"16 ········"loc":·"bfr_tutorial_3_1.html"
17 ····},·{17 ····},·{
18 ········"title":·"bfr_tutorial_2_2.cpp",18 ········"title":·"bfr_tutorial_2_2.cpp",
19 ········"text":·"bfr_tutorial_2_2.cpp·bfr_tutorial_2_2.cpp·3.5.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·2024-01-08·0941·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use",19 ········"text":·"bfr_tutorial_2_2.cpp·bfr_tutorial_2_2.cpp·3.5.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·2024-01-08·0943·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use",
20 ········"tags":·"",20 ········"tags":·"",
21 ········"loc":·"bfr_tutorial_2_2.html"21 ········"loc":·"bfr_tutorial_2_2.html"
22 ····},·{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.5.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·2024-01-08·0941·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.5.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·2024-01-08·0943·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_3.cpp", 
29 ········"text":·"bfr_tutorial_1_3.cpp·bfr_tutorial_1_3.cpp·3.5.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·2024-01-08·0941·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_3.html" 
32 ····},·{ 
33 ········"title":·"bfr_tutorial_1_4.cpp",28 ········"title":·"bfr_tutorial_1_4.cpp",
34 ········"text":·"bfr_tutorial_1_4.cpp·bfr_tutorial_1_4.cpp·3.5.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·2024-01-08·0941·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use",29 ········"text":·"bfr_tutorial_1_4.cpp·bfr_tutorial_1_4.cpp·3.5.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·2024-01-08·0943·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_4.html"31 ········"loc":·"bfr_tutorial_1_4.html"
37 ····},·{32 ····},·{
38 ········"title":·"bfr_tutorial_1_5.cpp",33 ········"title":·"bfr_tutorial_1_5.cpp",
39 ········"text":·"bfr_tutorial_1_5.cpp·bfr_tutorial_1_5.cpp·3.5.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·2024-01-08·0941·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use",34 ········"text":·"bfr_tutorial_1_5.cpp·bfr_tutorial_1_5.cpp·3.5.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·2024-01-08·0943·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use",
40 ········"tags":·"",35 ········"tags":·"",
41 ········"loc":·"bfr_tutorial_1_5.html"36 ········"loc":·"bfr_tutorial_1_5.html"
42 ····},·{37 ····},·{
43 ········"title":·"bfr_tutorial_1_2.cpp", 
44 ········"text":·"bfr_tutorial_1_2.cpp·bfr_tutorial_1_2.cpp·3.5.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·2024-01-08·0941·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", 
45 ········"tags":·"", 
46 ········"loc":·"bfr_tutorial_1_2.html" 
47 ····},·{ 
48 ········"title":·"far_tutorial_5_3.cpp", 
49 ········"text":·"far_tutorial_5_3.cpp·far_tutorial_5_3.cpp·3.5.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·2024-01-08·0941·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_3.html" 
52 ····},·{ 
53 ········"title":·"far_tutorial_5_2.cpp",38 ········"title":·"far_tutorial_5_2.cpp",
54 ········"text":·"far_tutorial_5_2.cpp·far_tutorial_5_2.cpp·3.5.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·2024-01-08·0941·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use",39 ········"text":·"far_tutorial_5_2.cpp·far_tutorial_5_2.cpp·3.5.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·2024-01-08·0943·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use",
55 ········"tags":·"",40 ········"tags":·"",
56 ········"loc":·"far_tutorial_5_2.html"41 ········"loc":·"far_tutorial_5_2.html"
57 ····},·{42 ····},·{
58 ········"title":·"bfr_tutorial_1_1.cpp",43 ········"title":·"bfr_tutorial_1_3.cpp",
59 ········"text":·"bfr_tutorial_1_1.cpp·bfr_tutorial_1_1.cpp·3.5.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsbfrtutorial_1_1bfr_tutorial_1_1.cpp·---------------------------------------------------------[·...·truncated·by·diffoscope;·len:·6698,·SHA:·c72ba850aee8b7aec79099ad7d355a8c20bbff0232aab3065bb1c6f5ae2fbfee·...·]·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use",44 ········"text":·"bfr_tutorial_1_3.cpp·bfr_tutorial_1_3.cpp·3.5.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsbfrtutorial_1_3bfr_tutorial_1_3.cpp·---------------------------------------------------------[·...·truncated·by·diffoscope;·len:·9273,·SHA:·3da8492f180282d54bad526d3cf14a6b943d8026fb0208bef6916c760ebfa2a9·...·]·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use",
60 ········"tags":·"",45 ········"tags":·"",
61 ········"loc":·"bfr_tutorial_1_1.html"46 ········"loc":·"bfr_tutorial_1_3.html"
62 ····},·{47 ····},·{
63 ········"title":·"far_tutorial_5_1.cpp",48 ········"title":·"far_tutorial_5_1.cpp",
64 ········"text":·"far_tutorial_5_1.cpp·far_tutorial_5_1.cpp·3.5.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·2024-01-08·0941·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use",49 ········"text":·"far_tutorial_5_1.cpp·far_tutorial_5_1.cpp·3.5.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·2024-01-08·0943·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use",
65 ········"tags":·"",50 ········"tags":·"",
66 ········"loc":·"far_tutorial_5_1.html"51 ········"loc":·"far_tutorial_5_1.html"
67 ····},·{52 ····},·{
68 ········"title":·"far_tutorial_3_1.cpp",53 ········"title":·"far_tutorial_5_3.cpp",
69 ········"text":·"far_tutorial_3_1.cpp·far_tutorial_3_1.cpp·3.5.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsfartutorial_3_1far_tutorial_3_1.cpp·-------------------------------------------------------[·...·truncated·by·diffoscope;·len:·12067,·SHA:·f002b8ca0844f0b757b14de9a588fee97212884b8b246e6dd3df8d14ee505f25·...·]·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.5.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsfartutorial_5_3far_tutorial_5_3.cpp·-------------------------------------------------------[·...·truncated·by·diffoscope;·len:·16086,·SHA:·f211fa62443948d86e76d67282b5099ddb5059e72c2380a03beff2fad00dac86·...·]·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use",
70 ········"tags":·"",55 ········"tags":·"",
71 ········"loc":·"far_tutorial_3_1.html"56 ········"loc":·"far_tutorial_5_3.html"
72 ····},·{57 ····},·{
73 ········"title":·"far_tutorial_2_3.cpp",58 ········"title":·"bfr_tutorial_1_2.cpp",
74 ········"text":·"far_tutorial_2_3.cpp·far_tutorial_2_3.cpp·3.5.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsfartutorial_2_3far_tutorial_2_3.cpp·------------------------------------------[·...·truncated·by·diffoscope;·len:·15238,·SHA:·f2b0480bcc8ad921c360104d8777565d0513005f987ac42c402f89a3da685333·...·]·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use",59 ········"text":·"bfr_tutorial_1_2.cpp·bfr_tutorial_1_2.cpp·3.5.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsbfrtutorial_1_2bfr_tutorial_1_2.cpp·------------------------------------------[·...·truncated·by·diffoscope;·len:·6907,·SHA:·e585e2cc7ac7537a615ec41c4c689cc0696995f8f08addd15e5140dfa3b4435d·...·]·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use",
75 ········"tags":·"",60 ········"tags":·"",
76 ········"loc":·"far_tutorial_2_3.html"61 ········"loc":·"bfr_tutorial_1_2.html"
 62 ····},·{
 63 ········"title":·"bfr_tutorial_1_1.cpp",
 64 ········"text":·"bfr_tutorial_1_1.cpp·bfr_tutorial_1_1.cpp·3.5.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·2024-01-08·0943·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use",
 65 ········"tags":·"",
 66 ········"loc":·"bfr_tutorial_1_1.html"
77 ····},·{67 ····},·{
78 ········"title":·"far_tutorial_4_3.cpp",68 ········"title":·"far_tutorial_4_3.cpp",
79 ········"text":·"far_tutorial_4_3.cpp·far_tutorial_4_3.cpp·3.5.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·2024-01-08·0941·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.5.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·2024-01-08·0943·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use",
80 ········"tags":·"",70 ········"tags":·"",
81 ········"loc":·"far_tutorial_4_3.html"71 ········"loc":·"far_tutorial_4_3.html"
82 ····},·{72 ····},·{
 73 ········"title":·"far_tutorial_3_1.cpp",
 74 ········"text":·"far_tutorial_3_1.cpp·far_tutorial_3_1.cpp·3.5.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·2024-01-08·0943·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use",
 75 ········"tags":·"",
 76 ········"loc":·"far_tutorial_3_1.html"
 77 ····},·{
83 ········"title":·"far_tutorial_4_2.cpp",78 ········"title":·"far_tutorial_4_2.cpp",
84 ········"text":·"far_tutorial_4_2.cpp·far_tutorial_4_2.cpp·3.5.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·2024-01-08·0941·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use",79 ········"text":·"far_tutorial_4_2.cpp·far_tutorial_4_2.cpp·3.5.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·2024-01-08·0943·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use",
85 ········"tags":·"",80 ········"tags":·"",
86 ········"loc":·"far_tutorial_4_2.html"81 ········"loc":·"far_tutorial_4_2.html"
87 ····},·{82 ····},·{
 83 ········"title":·"far_tutorial_2_3.cpp",
 84 ········"text":·"far_tutorial_2_3.cpp·far_tutorial_2_3.cpp·3.5.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·2024-01-08·0943·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use",
 85 ········"tags":·"",
 86 ········"loc":·"far_tutorial_2_3.html"
 87 ····},·{
88 ········"title":·"far_tutorial_4_1.cpp",88 ········"title":·"far_tutorial_4_1.cpp",
89 ········"text":·"far_tutorial_4_1.cpp·far_tutorial_4_1.cpp·3.5.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·2024-01-08·0941·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use",89 ········"text":·"far_tutorial_4_1.cpp·far_tutorial_4_1.cpp·3.5.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·2024-01-08·0943·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use",
90 ········"tags":·"",90 ········"tags":·"",
91 ········"loc":·"far_tutorial_4_1.html"91 ········"loc":·"far_tutorial_4_1.html"
92 ····},·{92 ····},·{
93 ········"title":·"far_tutorial_2_2.cpp",93 ········"title":·"far_tutorial_2_2.cpp",
94 ········"text":·"far_tutorial_2_2.cpp·far_tutorial_2_2.cpp·3.5.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·2024-01-08·0940·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.5.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·2024-01-08·0943·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use",
95 ········"tags":·"",95 ········"tags":·"",
96 ········"loc":·"far_tutorial_2_2.html"96 ········"loc":·"far_tutorial_2_2.html"
97 ····},·{97 ····},·{
98 ········"title":·"far_tutorial_2_1.cpp",98 ········"title":·"far_tutorial_2_1.cpp",
99 ········"text":·"far_tutorial_2_1.cpp·far_tutorial_2_1.cpp·3.5.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·2024-01-08·0940·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.5.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·2024-01-08·0943·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use",
100 ········"tags":·"",100 ········"tags":·"",
101 ········"loc":·"far_tutorial_2_1.html"101 ········"loc":·"far_tutorial_2_1.html"
102 ····},·{102 ····},·{
103 ········"title":·"far_tutorial_1_2.cpp",103 ········"title":·"far_tutorial_1_2.cpp",
104 ········"text":·"far_tutorial_1_2.cpp·far_tutorial_1_2.cpp·3.5.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsfartutorial_1_2far_tutorial_1_2.cpp·------------------------------------------------------------------------------··Tutorial·description···This·tutorial·illustrates·two·different·styles·of·defining·classes·for··interpolating·primvar·data·with·the·template·methods·in·Far.·The·most··common·usage·involves·data·of·a·fixed·size,·so·the·focus·here·is·on·an··alternative·supporting·variable·length·data.··include·opensubdivfartopologyDescriptor.h·include·opensubdivfarprimvarRefiner.h·include·cstdio·using·namespace·OpenSubdiv····Vertex·data·containers·for·interpolation··-·Coord3·is·fixed·to·support·3·floats··-·Coord2·is·fixed·to·support·2·floats··-·CoordBuffer·can·support·a·specified·number·of·floats··struct·Coord3··Coord3····Coord3··float·x·,·float·y·,·float·z···_xyz··0···x·,·_xyz··1···y·,·_xyz··2···z···void·Clear···_xyz··0···_xyz··1···_xyz··2···0.0f···void·AddWithWeight··Coord3·const··src·,·float·weight···_xyz··0···weight··src·.·_xyz··0··_xyz··1···weight··src·.·_xyz··1··_xyz··2···weight··src·.·_xyz··2···float·const··Coords··const··return··_xyz··0···private··float·_xyz··3···struct·Coord2··Coord2····Coord2··float·u·,·float·v···_uv··0···u·,·_uv··1···v···void·Clear···_uv··0···_uv··1···0.0f···void·AddWithWeight··Coord2·const··src·,·float·weight···_uv··0···weight··src·.·_uv··0··_uv··1···weight··src·.·_uv··1···float·const··Coords··const··return··_uv··0···private··float·_uv··2···struct·CoordBuffer····The·head·of·an·external·buffer·and·stride·is·specified·on·construction··CoordBuffer··float··data·,·int·size···_data··data·,·_size··size····CoordBuffer···_data··0·,·_size··0····void·Clear···for··int·i··0··i··_size···i···_data··i···0.0f····void·AddWithWeight··CoordBuffer·const··src·,·float·weight···assert··src·.·_size··_size··for··int·i··0··i··_size···i···_data··i···weight··src·.·_data··i····float·const··Coords··const··return·_data·····Defining··to·return·a·location·elsewhere·in·the·buffer·is·the·key··requirement·to·supporting·interpolatible·data·of·varying·size··CoordBuffer·operator··int·index··const··return·CoordBuffer··_data··index··_size·,·_size···private··float··_data··int·_size·····Global·cube·geometry·from·catmark_cube.h···Topology·static·int·g_nverts··8··static·int·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···Primvar·data·static·float·g_verts··8··3····0.0f·,·0.0f·,·1.0f·,··1.0f·,·0.0f·,·1.0f·,··0.0f·,·1.0f·,·1.0f·,··1.0f·,·1.0f·,·1.0f·,··0.0f·,·1.0f·,·0.0f·,··1.0f·,·1.0f·,·0.0f·,··0.0f·,·0.0f·,·0.0f·,··1.0f·,·0.0f·,·0.0f····Creates·FarTopologyRefiner·from·raw·geometry·above·see·tutorial_1_1·for··more·details··static·Far··TopologyRefiner··createFarTopologyRefiner···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·····Overview·of·main··-·create·a·FarTopologyRefiner·and·uniformly·refine·it··-·allocate·separate·and·combined·data·buffers·for·vertex·positions·and·UVs··-·populate·all·refined·data·buffers·and·compare·results··-·write·the·result·in·Obj·format···Disable·warnings·for·exact·floating·point·comparisons·ifdef·__INTEL_COMPILER·pragma·warning·disable·1572·endif·int·main··int·,·char·····Instantiate·a·FarTopologyRefiner·from·the·global·geometry·Far··TopologyRefiner··refiner··createFarTopologyRefiner···Uniformly·refine·the·topology·up·to·maxlevel·int·maxlevel··2··refiner·-·RefineUniform··Far··TopologyRefiner··UniformOptions··maxlevel···Allocate·and·populate·data·buffers·for·vertex·primvar·data·--·positions·and··UVs.·We·assign·UV·coordiantes·by·simply·projectingassigning·XY·values.··The·position·and·UV·buffers·use·their·associated·data·types,·while·the··combined·buffer·uses·5·floats·per·vertex.··int·numBaseVertices··g_nverts··int·numTotalVertices··refiner·-·GetNumVerticesTotal··std··vector··Coord3··posData··numTotalVertices··std··vector··Coord2··uvData··numTotalVertices··int·combinedStride··3··2··std··vector··float··combinedData··numTotalVertices··combinedStride··for··int·i··0··i··numBaseVertices···i···posData··i···Coord3··g_verts··i··0·,·g_verts··i··1·,·g_verts··i··2··uvData··i···Coord2··g_verts··i··0·,·g_verts··i··1··float··coordCombined···combinedData··i··combinedStride··coordCombined··0···g_verts··i··0··coordCombined··1···g_verts··i··1··coordCombined··2···g_verts··i··2··coordCombined··3···g_verts··i··0··coordCombined··4···g_verts··i··1····Interpolate·vertex·primvar·data·Far··PrimvarRefiner·primvarRefiner···refiner··Coord3··posSrc···posData··0··Coord2··uvSrc···uvData··0··CoordBuffer·combinedSrc···combinedData··0·,·combinedStride··for··int·level··1··level··maxlevel···level···int·numLevelVerts··refiner·-·GetLevel··level·-1·.·GetNumVertices··Coord3··posDst··posSrc··numLevelVerts··Coord2··uvDst··uvSrc··numLevelVerts··CoordBuffer·combinedDst··combinedSrc··numLevelVerts··primvarRefiner·.·Interpolate··level·,·posSrc·,·posDst··primvarRefiner·.·Interpolate··level·,·uvSrc·,·uvDst··primvarRefiner·.·Interpolate··level·,·combinedSrc·,·combinedDst··posSrc··posDst··uvSrc··uvDst··combinedSrc··combinedDst····Verify·that·the·combined·coords·match·the·separate·results·for··int·i··numBaseVertices··i··numTotalVertices···i···float·const··posCoords··posData··i·.·Coords··float·const··uvCoords··uvData··i·.·Coords··float·const··combCoords···combinedData··combinedStride··i··assert··combCoords··0···posCoords··0··assert··combCoords··1···posCoords··1··assert··combCoords··2···posCoords··2··assert··combCoords··3···uvCoords··0··assert··combCoords··4···uvCoords··1·····Output·OBJ·of·the·highest·level·refined··Far··TopologyLevel·const··refLastLevel··refiner·-·GetLevel··maxlevel··int·firstOfLastVerts··numTotalVertices·-·refLastLevel·.·GetNumVertices···Print·vertex·positions·printf···Vertices·n···for··int·vert··firstOfLastVerts··vert··numTotalVertices···vert···float·const··pos···combinedData··vert··combinedStride··printf··v·f·f·f·n··,·pos··0·,·pos··1·,·pos··2···printf···UV·coordinates·n···for··int·vert··firstOfLastVerts··vert··numTotalVertices···vert···float·const··uv···combinedData··vert··combinedStride···3··printf··vt·f·f·n··,·uv··0·,·uv··1····Print·faces·int·numFaces··refLastLevel·.·GetNumFaces··printf···Faces·n···for··int·face··0··face··numFaces···face···Far··ConstIndexArray·fverts··refLastLevel·.·GetFaceVertices··face··printf··f···for··int·fvert··0··fvert··fverts·.·size···fvert···int·objIndex··1··fverts··fvert···OBJ·uses·1-based·arrays...·printf··dd··,·objIndex·,·objIndex···printf···n····delete·refiner··return·EXIT_SUCCESS···Generated·on·2024-01-08·0940·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use",104 ········"text":·"far_tutorial_1_2.cpp·far_tutorial_1_2.cpp·3.5.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsfartutorial_1_2far_tutorial_1_2.cpp·------------------------------------------------------------------------------··Tutorial·description···This·tutorial·illustrates·two·different·styles·of·defining·classes·for··interpolating·primvar·data·with·the·template·methods·in·Far.·The·most··common·usage·involves·data·of·a·fixed·size,·so·the·focus·here·is·on·an··alternative·supporting·variable·length·data.··include·opensubdivfartopologyDescriptor.h·include·opensubdivfarprimvarRefiner.h·include·cstdio·using·namespace·OpenSubdiv····Vertex·data·containers·for·interpolation··-·Coord3·is·fixed·to·support·3·floats··-·Coord2·is·fixed·to·support·2·floats··-·CoordBuffer·can·support·a·specified·number·of·floats··struct·Coord3··Coord3····Coord3··float·x·,·float·y·,·float·z···_xyz··0···x·,·_xyz··1···y·,·_xyz··2···z···void·Clear···_xyz··0···_xyz··1···_xyz··2···0.0f···void·AddWithWeight··Coord3·const··src·,·float·weight···_xyz··0···weight··src·.·_xyz··0··_xyz··1···weight··src·.·_xyz··1··_xyz··2···weight··src·.·_xyz··2···float·const··Coords··const··return··_xyz··0···private··float·_xyz··3···struct·Coord2··Coord2····Coord2··float·u·,·float·v···_uv··0···u·,·_uv··1···v···void·Clear···_uv··0···_uv··1···0.0f···void·AddWithWeight··Coord2·const··src·,·float·weight···_uv··0···weight··src·.·_uv··0··_uv··1···weight··src·.·_uv··1···float·const··Coords··const··return··_uv··0···private··float·_uv··2···struct·CoordBuffer····The·head·of·an·external·buffer·and·stride·is·specified·on·construction··CoordBuffer··float··data·,·int·size···_data··data·,·_size··size····CoordBuffer···_data··0·,·_size··0····void·Clear···for··int·i··0··i··_size···i···_data··i···0.0f····void·AddWithWeight··CoordBuffer·const··src·,·float·weight···assert··src·.·_size··_size··for··int·i··0··i··_size···i···_data··i···weight··src·.·_data··i····float·const··Coords··const··return·_data·····Defining··to·return·a·location·elsewhere·in·the·buffer·is·the·key··requirement·to·supporting·interpolatible·data·of·varying·size··CoordBuffer·operator··int·index··const··return·CoordBuffer··_data··index··_size·,·_size···private··float··_data··int·_size·····Global·cube·geometry·from·catmark_cube.h···Topology·static·int·g_nverts··8··static·int·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···Primvar·data·static·float·g_verts··8··3····0.0f·,·0.0f·,·1.0f·,··1.0f·,·0.0f·,·1.0f·,··0.0f·,·1.0f·,·1.0f·,··1.0f·,·1.0f·,·1.0f·,··0.0f·,·1.0f·,·0.0f·,··1.0f·,·1.0f·,·0.0f·,··0.0f·,·0.0f·,·0.0f·,··1.0f·,·0.0f·,·0.0f····Creates·FarTopologyRefiner·from·raw·geometry·above·see·tutorial_1_1·for··more·details··static·Far··TopologyRefiner··createFarTopologyRefiner···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·····Overview·of·main··-·create·a·FarTopologyRefiner·and·uniformly·refine·it··-·allocate·separate·and·combined·data·buffers·for·vertex·positions·and·UVs··-·populate·all·refined·data·buffers·and·compare·results··-·write·the·result·in·Obj·format···Disable·warnings·for·exact·floating·point·comparisons·ifdef·__INTEL_COMPILER·pragma·warning·disable·1572·endif·int·main··int·,·char·····Instantiate·a·FarTopologyRefiner·from·the·global·geometry·Far··TopologyRefiner··refiner··createFarTopologyRefiner···Uniformly·refine·the·topology·up·to·maxlevel·int·maxlevel··2··refiner·-·RefineUniform··Far··TopologyRefiner··UniformOptions··maxlevel···Allocate·and·populate·data·buffers·for·vertex·primvar·data·--·positions·and··UVs.·We·assign·UV·coordiantes·by·simply·projectingassigning·XY·values.··The·position·and·UV·buffers·use·their·associated·data·types,·while·the··combined·buffer·uses·5·floats·per·vertex.··int·numBaseVertices··g_nverts··int·numTotalVertices··refiner·-·GetNumVerticesTotal··std··vector··Coord3··posData··numTotalVertices··std··vector··Coord2··uvData··numTotalVertices··int·combinedStride··3··2··std··vector··float··combinedData··numTotalVertices··combinedStride··for··int·i··0··i··numBaseVertices···i···posData··i···Coord3··g_verts··i··0·,·g_verts··i··1·,·g_verts··i··2··uvData··i···Coord2··g_verts··i··0·,·g_verts··i··1··float··coordCombined···combinedData··i··combinedStride··coordCombined··0···g_verts··i··0··coordCombined··1···g_verts··i··1··coordCombined··2···g_verts··i··2··coordCombined··3···g_verts··i··0··coordCombined··4···g_verts··i··1····Interpolate·vertex·primvar·data·Far··PrimvarRefiner·primvarRefiner···refiner··Coord3··posSrc···posData··0··Coord2··uvSrc···uvData··0··CoordBuffer·combinedSrc···combinedData··0·,·combinedStride··for··int·level··1··level··maxlevel···level···int·numLevelVerts··refiner·-·GetLevel··level·-1·.·GetNumVertices··Coord3··posDst··posSrc··numLevelVerts··Coord2··uvDst··uvSrc··numLevelVerts··CoordBuffer·combinedDst··combinedSrc··numLevelVerts··primvarRefiner·.·Interpolate··level·,·posSrc·,·posDst··primvarRefiner·.·Interpolate··level·,·uvSrc·,·uvDst··primvarRefiner·.·Interpolate··level·,·combinedSrc·,·combinedDst··posSrc··posDst··uvSrc··uvDst··combinedSrc··combinedDst····Verify·that·the·combined·coords·match·the·separate·results·for··int·i··numBaseVertices··i··numTotalVertices···i···float·const··posCoords··posData··i·.·Coords··float·const··uvCoords··uvData··i·.·Coords··float·const··combCoords···combinedData··combinedStride··i··assert··combCoords··0···posCoords··0··assert··combCoords··1···posCoords··1··assert··combCoords··2···posCoords··2··assert··combCoords··3···uvCoords··0··assert··combCoords··4···uvCoords··1·····Output·OBJ·of·the·highest·level·refined··Far··TopologyLevel·const··refLastLevel··refiner·-·GetLevel··maxlevel··int·firstOfLastVerts··numTotalVertices·-·refLastLevel·.·GetNumVertices···Print·vertex·positions·printf···Vertices·n···for··int·vert··firstOfLastVerts··vert··numTotalVertices···vert···float·const··pos···combinedData··vert··combinedStride··printf··v·f·f·f·n··,·pos··0·,·pos··1·,·pos··2···printf···UV·coordinates·n···for··int·vert··firstOfLastVerts··vert··numTotalVertices···vert···float·const··uv···combinedData··vert··combinedStride···3··printf··vt·f·f·n··,·uv··0·,·uv··1····Print·faces·int·numFaces··refLastLevel·.·GetNumFaces··printf···Faces·n···for··int·face··0··face··numFaces···face···Far··ConstIndexArray·fverts··refLastLevel·.·GetFaceVertices··face··printf··f···for··int·fvert··0··fvert··fverts·.·size···fvert···int·objIndex··1··fverts··fvert···OBJ·uses·1-based·arrays...·printf··dd··,·objIndex·,·objIndex···printf···n····delete·refiner··return·EXIT_SUCCESS···Generated·on·2024-01-08·0943·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use",
105 ········"tags":·"",105 ········"tags":·"",
106 ········"loc":·"far_tutorial_1_2.html"106 ········"loc":·"far_tutorial_1_2.html"
107 ····},·{107 ····},·{
108 ········"title":·"far_tutorial_1_1.cpp",108 ········"title":·"far_tutorial_1_1.cpp",
109 ········"text":·"far_tutorial_1_1.cpp·far_tutorial_1_1.cpp·3.5.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsfartutorial_1_1far_tutorial_1_1.cpp·------------------------------------------------------------------------------··Tutorial·description···This·tutorial·presents·in·a·very·succinct·way·the·requisite·steps·to··instantiate·and·refine·a·mesh·with·Far·from·simple·topological·data.··include·opensubdivfartopologyDescriptor.h·include·opensubdivfarprimvarRefiner.h·include·cstdio·------------------------------------------------------------------------------··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···------------------------------------------------------------------------------··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··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··------------------------------------------------------------------------------·int·main··int·,·char·····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··int·maxlevel··2···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·2024-01-08·0940·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use",109 ········"text":·"far_tutorial_1_1.cpp·far_tutorial_1_1.cpp·3.5.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsfartutorial_1_1far_tutorial_1_1.cpp·------------------------------------------------------------------------------··Tutorial·description···This·tutorial·presents·in·a·very·succinct·way·the·requisite·steps·to··instantiate·and·refine·a·mesh·with·Far·from·simple·topological·data.··include·opensubdivfartopologyDescriptor.h·include·opensubdivfarprimvarRefiner.h·include·cstdio·------------------------------------------------------------------------------··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···------------------------------------------------------------------------------··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··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··------------------------------------------------------------------------------·int·main··int·,·char·····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··int·maxlevel··2···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·2024-01-08·0943·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use",
110 ········"tags":·"",110 ········"tags":·"",
111 ········"loc":·"far_tutorial_1_1.html"111 ········"loc":·"far_tutorial_1_1.html"
112 ····},·{112 ····},·{
Max diff block lines reached; 718881/1148285 bytes (62.60%) of diff not shown.
1.33 KB
./usr/share/doc/opensubdiv/tutorials.html
    
Offset 531, 15 lines modifiedOffset 531, 15 lines modified
531 OBJ·format·for·inspection.·<a·class="reference·external"·href="hbr_tutorial_2.html">[code]</a></blockquote>531 OBJ·format·for·inspection.·<a·class="reference·external"·href="hbr_tutorial_2.html">[code]</a></blockquote>
532 <a·class="reference·external·image-reference"·href="images/hbr_tutorial_2.0.png"><img·alt="images/hbr_tutorial_2.0.png"·class="align-center"·src="images/hbr_tutorial_2.0.png"·style="height:·100px;"·/></a>532 <a·class="reference·external·image-reference"·href="images/hbr_tutorial_2.0.png"><img·alt="images/hbr_tutorial_2.0.png"·class="align-center"·src="images/hbr_tutorial_2.0.png"·style="height:·100px;"·/></a>
533 </div>533 </div>
534 </div>534 </div>
535 </div>535 </div>
536 <div·class="footer">536 <div·class="footer">
537 <hr·class="footer"·/>537 <hr·class="footer"·/>
538 Generated·on:·2024-01-08·09:40·UTC.538 Generated·on:·2024-01-08·09:43·UTC.
  
539 </div>539 </div>
540 </body>540 </body>
541 </html>541 </html>
  
542 ··········</div><!--·close·topicLeftData-MainData·-->542 ··········</div><!--·close·topicLeftData-MainData·-->
543 ········</div><!--·close·coursewareBackground·-->543 ········</div><!--·close·coursewareBackground·-->
665 B
html2text {}
    
Offset 280, 14 lines modifiedOffset 280, 14 lines modified
280 ·····the·same·pyramid·shape·used·in·hbr_tutorial_0.·We·then·apply·the280 ·····the·same·pyramid·shape·used·in·hbr_tutorial_0.·We·then·apply·the
281 ·····Refine()·function·sequentially·to·all·the·faces·in·the·mesh·to281 ·····Refine()·function·sequentially·to·all·the·faces·in·the·mesh·to
282 ·····generate·several·levels·of·uniform·subdivision.·The·resulting·data·is282 ·····generate·several·levels·of·uniform·subdivision.·The·resulting·data·is
283 ·····then·dumped·to·the·terminal·in·Wavefront·OBJ·format·for·inspection.283 ·····then·dumped·to·the·terminal·in·Wavefront·OBJ·format·for·inspection.
284 ·····[code]284 ·····[code]
285 [images/hbr_tutorial_2.0.png]285 [images/hbr_tutorial_2.0.png]
286 ===============================================================================286 ===============================================================================
287 Generated·on:·2024-01-08·09:40·UTC.287 Generated·on:·2024-01-08·09:43·UTC.
  
288 ····*·User_Docs288 ····*·User_Docs
289 ····*·API_Docs289 ····*·API_Docs
290 ····*·Release_Notes290 ····*·Release_Notes
291 ····*·Forum291 ····*·Forum
292 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use292 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.86 KB
./usr/share/doc/opensubdiv/using_osd_hbr.html
    
Offset 756, 15 lines modifiedOffset 756, 15 lines modified
756 ····</span><span·class="name">vertexBuffer</span><span·class="operator">-&gt;</span><span·class="name">UpdateData</span><span·class="punctuation">(</span><span·class="name">vtxData</span><span·class="operator">+</span><span·class="name">splits</span><span·class="punctuation">[</span><span·class="name">i</span><span·class="punctuation">].</span><span·class="name">second</span><span·class="operator">*</span><span·class="name">numVertexElements</span><span·class="punctuation">,</span><span·class="whitespace">·</span><span·class="name">splits</span><span·class="punctuation">[</span><span·class="name">i</span><span·class="punctuation">].</span><span·class="name">first</span><span·class="punctuation">,</span><span·class="whitespace">·</span><span·class="literal·number·integer">1</span><span·class="punctuation">);</span><span·class="whitespace">756 ····</span><span·class="name">vertexBuffer</span><span·class="operator">-&gt;</span><span·class="name">UpdateData</span><span·class="punctuation">(</span><span·class="name">vtxData</span><span·class="operator">+</span><span·class="name">splits</span><span·class="punctuation">[</span><span·class="name">i</span><span·class="punctuation">].</span><span·class="name">second</span><span·class="operator">*</span><span·class="name">numVertexElements</span><span·class="punctuation">,</span><span·class="whitespace">·</span><span·class="name">splits</span><span·class="punctuation">[</span><span·class="name">i</span><span·class="punctuation">].</span><span·class="name">first</span><span·class="punctuation">,</span><span·class="whitespace">·</span><span·class="literal·number·integer">1</span><span·class="punctuation">);</span><span·class="whitespace">
757 </span><span·class="punctuation">}</span>757 </span><span·class="punctuation">}</span>
758 </pre>758 </pre>
759 </div>759 </div>
760 </div>760 </div>
761 <div·class="footer">761 <div·class="footer">
762 <hr·class="footer"·/>762 <hr·class="footer"·/>
763 Generated·on:·2024-01-08·09:40·UTC.763 Generated·on:·2024-01-08·09:43·UTC.
  
764 </div>764 </div>
765 </body>765 </body>
766 </html>766 </html>
  
767 ··········</div><!--·close·topicLeftData-MainData·-->767 ··········</div><!--·close·topicLeftData-MainData·-->
768 ········</div><!--·close·coursewareBackground·-->768 ········</div><!--·close·coursewareBackground·-->
617 B
html2text {}
    
Offset 522, 14 lines modifiedOffset 522, 14 lines modified
522 //·Duplicate·the·vertex·data·into·the·split·singular·vertices522 //·Duplicate·the·vertex·data·into·the·split·singular·vertices
523 std::vector<std::pair<int,·int>·>·const·splits·=·hbrMesh->GetSplitVertices();523 std::vector<std::pair<int,·int>·>·const·splits·=·hbrMesh->GetSplitVertices();
524 for·(int·i=0;·i<(int)splits.size();·++i)·{524 for·(int·i=0;·i<(int)splits.size();·++i)·{
525 ····vertexBuffer->UpdateData(vtxData+splits[i].second*numVertexElements,·splits525 ····vertexBuffer->UpdateData(vtxData+splits[i].second*numVertexElements,·splits
526 [i].first,·1);526 [i].first,·1);
527 }527 }
528 ===============================================================================528 ===============================================================================
529 Generated·on:·2024-01-08·09:40·UTC.529 Generated·on:·2024-01-08·09:43·UTC.
  
530 ····*·User_Docs530 ····*·User_Docs
531 ····*·API_Docs531 ····*·API_Docs
532 ····*·Release_Notes532 ····*·Release_Notes
533 ····*·Forum533 ····*·Forum
534 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use534 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use
1.26 KB
./usr/share/doc/opensubdiv/vtr_overview.html
    
Offset 392, 15 lines modifiedOffset 392, 15 lines modified
392 Tags·were·added·to·the·base·level·that·are·propagated·through·the·refinement392 Tags·were·added·to·the·base·level·that·are·propagated·through·the·refinement
393 and·these·too·are·dependent·on·the·scheme,·but·are·applied·externally.</p>393 and·these·too·are·dependent·on·the·scheme,·but·are·applied·externally.</p>
394 </div>394 </div>
395 </div>395 </div>
396 </div>396 </div>
397 <div·class="footer">397 <div·class="footer">
398 <hr·class="footer"·/>398 <hr·class="footer"·/>
399 Generated·on:·2024-01-08·09:40·UTC.399 Generated·on:·2024-01-08·09:43·UTC.
  
400 </div>400 </div>
401 </body>401 </body>
402 </html>402 </html>
  
403 ··········</div><!--·close·topicLeftData-MainData·-->403 ··········</div><!--·close·topicLeftData-MainData·-->
404 ········</div><!--·close·coursewareBackground·-->404 ········</div><!--·close·coursewareBackground·-->
744 B
html2text {}
    
Offset 238, 14 lines modifiedOffset 238, 14 lines modified
238 savings·are·considerable.238 savings·are·considerable.
239 Currently·there·is·nothing·specific·to·a·subdivision·scheme·in·the·refinement239 Currently·there·is·nothing·specific·to·a·subdivision·scheme·in·the·refinement
240 other·than·the·type·of·topological·splitting·to·apply.·The·refinement·does240 other·than·the·type·of·topological·splitting·to·apply.·The·refinement·does
241 subdivide·sharpness·values·for·creasing,·but·that·too·is·independent·of·scheme.241 subdivide·sharpness·values·for·creasing,·but·that·too·is·independent·of·scheme.
242 Tags·were·added·to·the·base·level·that·are·propagated·through·the·refinement242 Tags·were·added·to·the·base·level·that·are·propagated·through·the·refinement
243 and·these·too·are·dependent·on·the·scheme,·but·are·applied·externally.243 and·these·too·are·dependent·on·the·scheme,·but·are·applied·externally.
244 ===============================================================================244 ===============================================================================
245 Generated·on:·2024-01-08·09:40·UTC.245 Generated·on:·2024-01-08·09:43·UTC.
  
246 ····*·User_Docs246 ····*·User_Docs
247 ····*·API_Docs247 ····*·API_Docs
248 ····*·Release_Notes248 ····*·Release_Notes
249 ····*·Forum249 ····*·Forum
250 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use250 TM·&·©·1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms_of_Use