Offset 1, 9 lines modified | Offset 1, 9 lines modified | ||
1 | ·586e058538ecda783c7cff3fe99f3fc4·144000·libdevel·optional·libosd-dev_3.5.0-2.1_arm64.deb | 1 | ·586e058538ecda783c7cff3fe99f3fc4·144000·libdevel·optional·libosd-dev_3.5.0-2.1_arm64.deb |
2 | · | 2 | ·c6c95fa84d3a75395ad851b3ce8bf9da·31489280·doc·optional·libosd-doc_3.5.0-2.1_all.deb |
3 | ·57479c958eb5186d29c00712af20ddad·3444036·debug·optional·libosdcpu3.5.0t64-dbgsym_3.5.0-2.1_arm64.deb | 3 | ·57479c958eb5186d29c00712af20ddad·3444036·debug·optional·libosdcpu3.5.0t64-dbgsym_3.5.0-2.1_arm64.deb |
4 | ·5eeabe44bf1b51a7782fee606e1a5b5f·291076·libs·optional·libosdcpu3.5.0t64_3.5.0-2.1_arm64.deb | 4 | ·5eeabe44bf1b51a7782fee606e1a5b5f·291076·libs·optional·libosdcpu3.5.0t64_3.5.0-2.1_arm64.deb |
5 | ·a2b27832cae204a1d30e255bbe07b8f4·534708·debug·optional·libosdgpu3.5.0t64-dbgsym_3.5.0-2.1_arm64.deb | 5 | ·a2b27832cae204a1d30e255bbe07b8f4·534708·debug·optional·libosdgpu3.5.0t64-dbgsym_3.5.0-2.1_arm64.deb |
6 | ·68033badfdfa00c510708bd825a78b8b·132660·libs·optional·libosdgpu3.5.0t64_3.5.0-2.1_arm64.deb | 6 | ·68033badfdfa00c510708bd825a78b8b·132660·libs·optional·libosdgpu3.5.0t64_3.5.0-2.1_arm64.deb |
7 | ·44b7071c16b39a779d3cccc9b19de2c9·12008536·debug·optional·opensubdiv-tools-dbgsym_3.5.0-2.1_arm64.deb | 7 | ·44b7071c16b39a779d3cccc9b19de2c9·12008536·debug·optional·opensubdiv-tools-dbgsym_3.5.0-2.1_arm64.deb |
8 | ·86cfb3efb3d8511df9aed41ff02e9b98·569892·graphics·optional·opensubdiv-tools_3.5.0-2.1_arm64.deb | 8 | ·86cfb3efb3d8511df9aed41ff02e9b98·569892·graphics·optional·opensubdiv-tools_3.5.0-2.1_arm64.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2024-02-29·12:58:19.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2024-02-29·12:58:19.000000·debian-binary |
2 | -rw-r--r--···0········0········0····25 | 2 | -rw-r--r--···0········0········0····25476·2024-02-29·12:58:19.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0·31463 | 3 | -rw-r--r--···0········0········0·31463612·2024-02-29·12:58:19.000000·data.tar.xz |
Offset 125, 20 lines modified | Offset 125, 20 lines modified | ||
125 | usr/share/doc/opensubdiv/doxy_html/a00782_source.html | 125 | usr/share/doc/opensubdiv/doxy_html/a00782_source.html |
126 | usr/share/doc/opensubdiv/doxy_html/a00785.html | 126 | usr/share/doc/opensubdiv/doxy_html/a00785.html |
127 | usr/share/doc/opensubdiv/doxy_html/a00785_source.html | 127 | usr/share/doc/opensubdiv/doxy_html/a00785_source.html |
128 | usr/share/doc/opensubdiv/doxy_html/a00788.html | 128 | usr/share/doc/opensubdiv/doxy_html/a00788.html |
129 | usr/share/doc/opensubdiv/doxy_html/a00788.js | 129 | usr/share/doc/opensubdiv/doxy_html/a00788.js |
130 | usr/share/doc/opensubdiv/doxy_html/a00788_source.html | 130 | usr/share/doc/opensubdiv/doxy_html/a00788_source.html |
131 | usr/share/doc/opensubdiv/doxy_html/a00791.html | 131 | usr/share/doc/opensubdiv/doxy_html/a00791.html |
132 | usr/share/doc/opensubdiv/doxy_html/a00791.js | ||
133 | usr/share/doc/opensubdiv/doxy_html/a00791_source.html | 132 | usr/share/doc/opensubdiv/doxy_html/a00791_source.html |
134 | usr/share/doc/opensubdiv/doxy_html/a00794.html | 133 | usr/share/doc/opensubdiv/doxy_html/a00794.html |
135 | usr/share/doc/opensubdiv/doxy_html/a00794.js | 134 | usr/share/doc/opensubdiv/doxy_html/a00794.js |
136 | usr/share/doc/opensubdiv/doxy_html/a00794_source.html | 135 | usr/share/doc/opensubdiv/doxy_html/a00794_source.html |
137 | usr/share/doc/opensubdiv/doxy_html/a00797.html | 136 | usr/share/doc/opensubdiv/doxy_html/a00797.html |
137 | usr/share/doc/opensubdiv/doxy_html/a00797.js | ||
138 | usr/share/doc/opensubdiv/doxy_html/a00797_source.html | 138 | usr/share/doc/opensubdiv/doxy_html/a00797_source.html |
139 | usr/share/doc/opensubdiv/doxy_html/a00800.html | 139 | usr/share/doc/opensubdiv/doxy_html/a00800.html |
140 | usr/share/doc/opensubdiv/doxy_html/a00800.js | 140 | usr/share/doc/opensubdiv/doxy_html/a00800.js |
141 | usr/share/doc/opensubdiv/doxy_html/a00800_source.html | 141 | usr/share/doc/opensubdiv/doxy_html/a00800_source.html |
142 | usr/share/doc/opensubdiv/doxy_html/a00803.html | 142 | usr/share/doc/opensubdiv/doxy_html/a00803.html |
143 | usr/share/doc/opensubdiv/doxy_html/a00803.js | 143 | usr/share/doc/opensubdiv/doxy_html/a00803.js |
144 | usr/share/doc/opensubdiv/doxy_html/a00803_source.html | 144 | usr/share/doc/opensubdiv/doxy_html/a00803_source.html |
Offset 1, 13 lines modified | Offset 1, 13 lines modified | ||
1 | ··Streams:···········1 | 1 | ··Streams:···········1 |
2 | ··Blocks:············1 | 2 | ··Blocks:············1 |
3 | ··Compressed·size:···24.9·KiB·(25 | 3 | ··Compressed·size:···24.9·KiB·(25476·B) |
4 | ··Uncompressed·size:·100.0·KiB·(102400·B) | 4 | ··Uncompressed·size:·100.0·KiB·(102400·B) |
5 | ··Ratio:·············0.249 | 5 | ··Ratio:·············0.249 |
6 | ··Check:·············CRC64 | 6 | ··Check:·············CRC64 |
7 | ··Stream·Padding:····0·B | 7 | ··Stream·Padding:····0·B |
8 | ··Streams: | 8 | ··Streams: |
9 | ····Stream····Blocks······CompOffset····UncompOffset········CompSize······UncompSize··Ratio··Check······Padding | 9 | ····Stream····Blocks······CompOffset····UncompOffset········CompSize······UncompSize··Ratio··Check······Padding |
10 | ·········1·········1···············0···············0···········25 | 10 | ·········1·········1···············0···············0···········25476··········102400··0.249··CRC64············0 |
11 | ··Blocks: | 11 | ··Blocks: |
12 | ····Stream·····Block······CompOffset····UncompOffset·······TotalSize······UncompSize··Ratio··Check | 12 | ····Stream·····Block······CompOffset····UncompOffset·······TotalSize······UncompSize··Ratio··Check |
13 | ·········1·········1··············12···············0···········25 | 13 | ·········1·········1··············12···············0···········25440··········102400··0.248··CRC64 |
Offset 33, 62 lines modified | Offset 33, 62 lines modified | ||
33 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/ | 33 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/ |
34 | -rw-r--r--···0·root·········(0)·root·········(0)·····6576·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00674.html | 34 | -rw-r--r--···0·root·········(0)·root·········(0)·····6576·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00674.html |
35 | -rw-r--r--···0·root·········(0)·root·········(0)·······69·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00674.js | 35 | -rw-r--r--···0·root·········(0)·root·········(0)·······69·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00674.js |
36 | -rw-r--r--···0·root·········(0)·root·········(0)····76687·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00674_source.html | 36 | -rw-r--r--···0·root·········(0)·root·········(0)····76687·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00674_source.html |
37 | -rw-r--r--···0·root·········(0)·root·········(0)·····7385·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00677.html | 37 | -rw-r--r--···0·root·········(0)·root·········(0)·····7385·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00677.html |
38 | -rw-r--r--···0·root·········(0)·root·········(0)······109·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00677.js | 38 | -rw-r--r--···0·root·········(0)·root·········(0)······109·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00677.js |
39 | -rw-r--r--···0·root·········(0)·root·········(0)····65516·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00677_source.html | 39 | -rw-r--r--···0·root·········(0)·root·········(0)····65516·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00677_source.html |
40 | -rw-r--r--···0·root·········(0)·root·········(0)·····7504·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00680.html | ||
41 | -rw-r--r--···0·root·········(0)·root·········(0)······111·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00680.js | ||
42 | -rw-r--r--···0·root·········(0)·root·········(0)····88831·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00680_source.html | ||
43 | -rw-r--r--···0·root·········(0)·root·········(0)·····7311·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a0068 | 40 | -rw-r--r--···0·root·········(0)·root·········(0)·····7311·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00680.html |
44 | -rw-r--r--···0·root·········(0)·root·········(0)······195·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a0068 | 41 | -rw-r--r--···0·root·········(0)·root·········(0)······195·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00680.js |
45 | -rw-r--r--···0·root·········(0)·root·········(0)····27167·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a0068 | 42 | -rw-r--r--···0·root·········(0)·root·········(0)····27167·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00680_source.html |
46 | -rw-r--r--···0·root·········(0)·root·········(0)·····6558·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a0068 | 43 | -rw-r--r--···0·root·········(0)·root·········(0)·····6558·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00683.html |
47 | -rw-r--r--···0·root·········(0)·root·········(0)·······78·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a0068 | 44 | -rw-r--r--···0·root·········(0)·root·········(0)·······78·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00683.js |
48 | -rw-r--r--···0·root·········(0)·root·········(0)····35228·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a0068 | 45 | -rw-r--r--···0·root·········(0)·root·········(0)····35228·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00683_source.html |
46 | -rw-r--r--···0·root·········(0)·root·········(0)·····7504·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00686.html | ||
47 | -rw-r--r--···0·root·········(0)·root·········(0)······111·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00686.js | ||
48 | -rw-r--r--···0·root·········(0)·root·········(0)····88831·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00686_source.html | ||
49 | -rw-r--r--···0·root·········(0)·root·········(0)·····7075·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00689.html | 49 | -rw-r--r--···0·root·········(0)·root·········(0)·····7075·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00689.html |
50 | -rw-r--r--···0·root·········(0)·root·········(0)······120·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00689.js | 50 | -rw-r--r--···0·root·········(0)·root·········(0)······120·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00689.js |
51 | -rw-r--r--···0·root·········(0)·root·········(0)····75919·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00689_source.html | 51 | -rw-r--r--···0·root·········(0)·root·········(0)····75919·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00689_source.html |
52 | -rw-r--r--···0·root·········(0)·root·········(0)·····7765·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00692.html | ||
53 | -rw-r--r--···0·root·········(0)·root·········(0)······150·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00692.js | ||
54 | -rw-r--r--···0·root·········(0)·root·········(0)····40418·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00692_source.html | ||
55 | -rw-r--r--···0·root·········(0)·root·········(0)·····6436·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a0069 | 52 | -rw-r--r--···0·root·········(0)·root·········(0)·····6436·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00692.html |
56 | -rw-r--r--···0·root·········(0)·root·········(0)·······69·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a0069 | 53 | -rw-r--r--···0·root·········(0)·root·········(0)·······69·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00692.js |
57 | -rw-r--r--···0·root·········(0)·root·········(0)····45702·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a0069 | 54 | -rw-r--r--···0·root·········(0)·root·········(0)····45702·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00692_source.html |
55 | -rw-r--r--···0·root·········(0)·root·········(0)·····7765·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00695.html | ||
56 | -rw-r--r--···0·root·········(0)·root·········(0)······150·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00695.js | ||
57 | -rw-r--r--···0·root·········(0)·root·········(0)····40418·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00695_source.html | ||
58 | -rw-r--r--···0·root·········(0)·root·········(0)·····6387·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00698.html | 58 | -rw-r--r--···0·root·········(0)·root·········(0)·····6387·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00698.html |
59 | -rw-r--r--···0·root·········(0)·root·········(0)·······55·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00698.js | 59 | -rw-r--r--···0·root·········(0)·root·········(0)·······55·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00698.js |
60 | -rw-r--r--···0·root·········(0)·root·········(0)····14299·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00698_source.html | 60 | -rw-r--r--···0·root·········(0)·root·········(0)····14299·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00698_source.html |
61 | -rw-r--r--···0·root·········(0)·root·········(0)·····8007·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00704.html | 61 | -rw-r--r--···0·root·········(0)·root·········(0)·····8007·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00704.html |
62 | -rw-r--r--···0·root·········(0)·root·········(0)······171·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00704.js | 62 | -rw-r--r--···0·root·········(0)·root·········(0)······171·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00704.js |
63 | -rw-r--r--···0·root·········(0)·root·········(0)····74098·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00704_source.html | 63 | -rw-r--r--···0·root·········(0)·root·········(0)····74098·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00704_source.html |
64 | -rw-r--r--···0·root·········(0)·root·········(0)·····7837·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00707.html | 64 | -rw-r--r--···0·root·········(0)·root·········(0)·····7837·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00707.html |
65 | -rw-r--r--···0·root·········(0)·root·········(0)······190·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00707.js | 65 | -rw-r--r--···0·root·········(0)·root·········(0)······190·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00707.js |
66 | -rw-r--r--···0·root·········(0)·root·········(0)···147347·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00707_source.html | 66 | -rw-r--r--···0·root·········(0)·root·········(0)···147347·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00707_source.html |
67 | -rw-r--r--···0·root·········(0)·root·········(0)·····6698·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00710.html | 67 | -rw-r--r--···0·root·········(0)·root·········(0)·····6698·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00710.html |
68 | -rw-r--r--···0·root·········(0)·root·········(0)·······66·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00710.js | 68 | -rw-r--r--···0·root·········(0)·root·········(0)·······66·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00710.js |
69 | -rw-r--r--···0·root·········(0)·root·········(0)····66668·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00710_source.html | 69 | -rw-r--r--···0·root·········(0)·root·········(0)····66668·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00710_source.html |
70 | -rw-r--r--···0·root·········(0)·root·········(0)·····9468·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00713.html | ||
71 | -rw-r--r--···0·root·········(0)·root·········(0)······404·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00713.js | ||
72 | -rw-r--r--···0·root·········(0)·root·········(0)····84414·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00713_source.html | ||
73 | -rw-r--r--···0·root·········(0)·root·········(0)·····7136·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a0071 | 70 | -rw-r--r--···0·root·········(0)·root·········(0)·····7136·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00713.html |
74 | -rw-r--r--···0·root·········(0)·root·········(0)······119·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a0071 | 71 | -rw-r--r--···0·root·········(0)·root·········(0)······119·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00713.js |
75 | -rw-r--r--···0·root·········(0)·root·········(0)····38039·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a0071 | 72 | -rw-r--r--···0·root·········(0)·root·········(0)····38039·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00713_source.html |
73 | -rw-r--r--···0·root·········(0)·root·········(0)·····9468·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00716.html | ||
74 | -rw-r--r--···0·root·········(0)·root·········(0)······404·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00716.js | ||
75 | -rw-r--r--···0·root·········(0)·root·········(0)····84414·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00716_source.html | ||
76 | -rw-r--r--···0·root·········(0)·root·········(0)·····9923·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00719.html | 76 | -rw-r--r--···0·root·········(0)·root·········(0)·····9923·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00719.html |
77 | -rw-r--r--···0·root·········(0)·root·········(0)······456·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00719.js | 77 | -rw-r--r--···0·root·········(0)·root·········(0)······456·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00719.js |
78 | -rw-r--r--···0·root·········(0)·root·········(0)···177059·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00719_source.html | 78 | -rw-r--r--···0·root·········(0)·root·········(0)···177059·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00719_source.html |
79 | -rw-r--r--···0·root·········(0)·root·········(0)·····6563·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00722.html | 79 | -rw-r--r--···0·root·········(0)·root·········(0)·····6563·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00722.html |
80 | -rw-r--r--···0·root·········(0)·root·········(0)·······64·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00722.js | 80 | -rw-r--r--···0·root·········(0)·root·········(0)·······64·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00722.js |
81 | -rw-r--r--···0·root·········(0)·root·········(0)····19420·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00722_source.html | 81 | -rw-r--r--···0·root·········(0)·root·········(0)····19420·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00722_source.html |
82 | -rw-r--r--···0·root·········(0)·root·········(0)·····8223·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00725.html | ||
83 | -rw-r--r--···0·root·········(0)·root·········(0)······130·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00725.js | ||
84 | -rw-r--r--···0·root·········(0)·root·········(0)···212261·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00725_source.html | ||
85 | -rw-r--r--···0·root·········(0)·root·········(0)·····7813·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a0072 | 82 | -rw-r--r--···0·root·········(0)·root·········(0)·····7813·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00725.html |
86 | -rw-r--r--···0·root·········(0)·root·········(0)······163·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a0072 | 83 | -rw-r--r--···0·root·········(0)·root·········(0)······163·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00725.js |
87 | -rw-r--r--···0·root·········(0)·root·········(0)····67819·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a0072 | 84 | -rw-r--r--···0·root·········(0)·root·········(0)····67819·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00725_source.html |
85 | -rw-r--r--···0·root·········(0)·root·········(0)·····8223·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00728.html | ||
86 | -rw-r--r--···0·root·········(0)·root·········(0)······130·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00728.js | ||
87 | -rw-r--r--···0·root·········(0)·root·········(0)···212261·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00728_source.html | ||
88 | -rw-r--r--···0·root·········(0)·root·········(0)·····7336·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00731.html | 88 | -rw-r--r--···0·root·········(0)·root·········(0)·····7336·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00731.html |
89 | -rw-r--r--···0·root·········(0)·root·········(0)······111·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00731.js | 89 | -rw-r--r--···0·root·········(0)·root·········(0)······111·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00731.js |
90 | -rw-r--r--···0·root·········(0)·root·········(0)···159214·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00731_source.html | 90 | -rw-r--r--···0·root·········(0)·root·········(0)···159214·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00731_source.html |
91 | -rw-r--r--···0·root·········(0)·root·········(0)·····6745·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00734.html | 91 | -rw-r--r--···0·root·········(0)·root·········(0)·····6745·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00734.html |
92 | -rw-r--r--···0·root·········(0)·root·········(0)······103·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00734.js | 92 | -rw-r--r--···0·root·········(0)·root·········(0)······103·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00734.js |
93 | -rw-r--r--···0·root·········(0)·root·········(0)····42247·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00734_source.html | 93 | -rw-r--r--···0·root·········(0)·root·········(0)····42247·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00734_source.html |
94 | -rw-r--r--···0·root·········(0)·root·········(0)·····8124·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00737.html | 94 | -rw-r--r--···0·root·········(0)·root·········(0)·····8124·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00737.html |
Offset 104, 18 lines modified | Offset 104, 18 lines modified | ||
104 | -rw-r--r--···0·root·········(0)·root·········(0)····38294·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00746_source.html | 104 | -rw-r--r--···0·root·········(0)·root·········(0)····38294·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00746_source.html |
105 | -rw-r--r--···0·root·········(0)·root·········(0)·····5899·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00749.html | 105 | -rw-r--r--···0·root·········(0)·root·········(0)·····5899·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00749.html |
106 | -rw-r--r--···0·root·········(0)·root·········(0)····22113·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00749_source.html | 106 | -rw-r--r--···0·root·········(0)·root·········(0)····22113·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00749_source.html |
107 | -rw-r--r--···0·root·········(0)·root·········(0)·····6082·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00752.html | 107 | -rw-r--r--···0·root·········(0)·root·········(0)·····6082·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00752.html |
108 | -rw-r--r--···0·root·········(0)·root·········(0)····85953·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00752_source.html | 108 | -rw-r--r--···0·root·········(0)·root·········(0)····85953·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00752_source.html |
109 | -rw-r--r--···0·root·········(0)·root·········(0)·····6202·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00755.html | 109 | -rw-r--r--···0·root·········(0)·root·········(0)·····6202·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00755.html |
110 | -rw-r--r--···0·root·········(0)·root·········(0)···163473·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00755_source.html | 110 | -rw-r--r--···0·root·········(0)·root·········(0)···163473·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00755_source.html |
111 | -rw-r--r--···0·root·········(0)·root·········(0)·····62 | 111 | -rw-r--r--···0·root·········(0)·root·········(0)·····6289·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00758.html |
112 | -rw-r--r--···0·root·········(0)·root·········(0)····81483·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00758_source.html | ||
113 | -rw-r--r--···0·root·········(0)·root·········(0)·····6289·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00761.html | ||
114 | -rw-r--r--···0·root·········(0)·root·········(0)····24307·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a007 | 112 | -rw-r--r--···0·root·········(0)·root·········(0)····24307·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00758_source.html |
113 | -rw-r--r--···0·root·········(0)·root·········(0)·····6267·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00761.html | ||
114 | -rw-r--r--···0·root·········(0)·root·········(0)····81483·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00761_source.html | ||
115 | -rw-r--r--···0·root·········(0)·root·········(0)·····6114·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00764.html | 115 | -rw-r--r--···0·root·········(0)·root·········(0)·····6114·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00764.html |
116 | -rw-r--r--···0·root·········(0)·root·········(0)····29126·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00764_source.html | 116 | -rw-r--r--···0·root·········(0)·root·········(0)····29126·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00764_source.html |
117 | -rw-r--r--···0·root·········(0)·root·········(0)·····6437·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00767.html | 117 | -rw-r--r--···0·root·········(0)·root·········(0)·····6437·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00767.html |
118 | -rw-r--r--···0·root·········(0)·root·········(0)······121·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00767.js | 118 | -rw-r--r--···0·root·········(0)·root·········(0)······121·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00767.js |
119 | -rw-r--r--···0·root·········(0)·root·········(0)····46438·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00767_source.html | 119 | -rw-r--r--···0·root·········(0)·root·········(0)····46438·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00767_source.html |
120 | -rw-r--r--···0·root·········(0)·root·········(0)·····7580·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00770.html | 120 | -rw-r--r--···0·root·········(0)·root·········(0)·····7580·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00770.html |
121 | -rw-r--r--···0·root·········(0)·root·········(0)······130·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00770.js | 121 | -rw-r--r--···0·root·········(0)·root·········(0)······130·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00770.js |
Offset 124, 113 lines modified | Offset 124, 113 lines modified | ||
124 | -rw-r--r--···0·root·········(0)·root·········(0)·······60·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00773.js | 124 | -rw-r--r--···0·root·········(0)·root·········(0)·······60·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00773.js |
125 | -rw-r--r--···0·root·········(0)·root·········(0)····38674·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00773_source.html | 125 | -rw-r--r--···0·root·········(0)·root·········(0)····38674·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00773_source.html |
126 | -rw-r--r--···0·root·········(0)·root·········(0)·····5827·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00776.html | 126 | -rw-r--r--···0·root·········(0)·root·········(0)·····5827·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00776.html |
127 | -rw-r--r--···0·root·········(0)·root·········(0)···100442·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00776_source.html | 127 | -rw-r--r--···0·root·········(0)·root·········(0)···100442·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00776_source.html |
128 | -rw-r--r--···0·root·········(0)·root·········(0)·····6474·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00779.html | 128 | -rw-r--r--···0·root·········(0)·root·········(0)·····6474·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00779.html |
129 | -rw-r--r--···0·root·········(0)·root·········(0)·······59·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00779.js | 129 | -rw-r--r--···0·root·········(0)·root·········(0)·······59·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00779.js |
130 | -rw-r--r--···0·root·········(0)·root·········(0)····53913·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00779_source.html | 130 | -rw-r--r--···0·root·········(0)·root·········(0)····53913·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00779_source.html |
131 | -rw-r--r--···0·root·········(0)·root·········(0)·····5836·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00782.html | ||
132 | -rw-r--r--···0·root·········(0)·root·········(0)····89790·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00782_source.html | ||
133 | -rw-r--r--···0·root·········(0)·root·········(0)·····5753·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a0078 | 131 | -rw-r--r--···0·root·········(0)·root·········(0)·····5753·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00782.html |
134 | -rw-r--r--···0·root·········(0)·root·········(0)····38297·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a0078 | 132 | -rw-r--r--···0·root·········(0)·root·········(0)····38297·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00782_source.html |
133 | -rw-r--r--···0·root·········(0)·root·········(0)·····5836·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00785.html | ||
134 | -rw-r--r--···0·root·········(0)·root·········(0)····89790·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00785_source.html | ||
135 | -rw-r--r--···0·root·········(0)·root·········(0)·····6807·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00788.html | 135 | -rw-r--r--···0·root·········(0)·root·········(0)·····6807·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00788.html |
136 | -rw-r--r--···0·root·········(0)·root·········(0)·······67·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00788.js | 136 | -rw-r--r--···0·root·········(0)·root·········(0)·······67·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00788.js |
137 | -rw-r--r--···0·root·········(0)·root·········(0)····33910·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00788_source.html | 137 | -rw-r--r--···0·root·········(0)·root·········(0)····33910·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00788_source.html |
138 | -rw-r--r--···0·root·········(0)·root·········(0)·····7125·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00791.html | ||
139 | -rw-r--r--···0·root·········(0)·root·········(0)······115·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00791.js | ||
140 | -rw-r--r--···0·root·········(0)·root·········(0)···128979·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00791_source.html | ||
141 | -rw-r--r--···0·root·········(0)·root·········(0)·····6425·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00794.html | ||
142 | -rw-r--r--···0·root·········(0)·root·········(0)·······67·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00794.js | ||
143 | -rw-r--r--···0·root·········(0)·root·········(0)····23841·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00794_source.html | ||
144 | -rw-r--r--···0·root·········(0)·root·········(0)·····4478·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a0079 | 138 | -rw-r--r--···0·root·········(0)·root·········(0)·····4478·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00791.html |
145 | -rw-r--r--···0·root·········(0)·root·········(0)····10583·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a0079 | 139 | -rw-r--r--···0·root·········(0)·root·········(0)····10583·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00791_source.html |
140 | -rw-r--r--···0·root·········(0)·root·········(0)·····7125·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00794.html | ||
141 | -rw-r--r--···0·root·········(0)·root·········(0)······115·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00794.js | ||
142 | -rw-r--r--···0·root·········(0)·root·········(0)···128979·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00794_source.html | ||
143 | -rw-r--r--···0·root·········(0)·root·········(0)·····6425·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00797.html | ||
144 | -rw-r--r--···0·root·········(0)·root·········(0)·······67·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00797.js | ||
145 | -rw-r--r--···0·root·········(0)·root·········(0)····23841·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00797_source.html | ||
146 | -rw-r--r--···0·root·········(0)·root·········(0)·····6897·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00800.html | 146 | -rw-r--r--···0·root·········(0)·root·········(0)·····6897·2024-02-29·12:58:19.000000·./usr/share/doc/opensubdiv/doxy_html/a00800.html |
Max diff block lines reached; 17497/37690 bytes (46.42%) of diff not shown. |
Offset 94, 15 lines modified | Offset 94, 15 lines modified | ||
94 | ··<div·class="summary"> | 94 | ··<div·class="summary"> |
95 | <a·href="#nested-classes">Classes</a>·| | 95 | <a·href="#nested-classes">Classes</a>·| |
96 | <a·href="#namespaces">Namespaces</a>··</div> | 96 | <a·href="#namespaces">Namespaces</a>··</div> |
97 | ··<div·class="headertitle"><div·class="title">tessellation.h·File·Reference</div></div> | 97 | ··<div·class="headertitle"><div·class="title">tessellation.h·File·Reference</div></div> |
98 | </div><!--header--> | 98 | </div><!--header--> |
99 | <div·class="contents"> | 99 | <div·class="contents"> |
100 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 100 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
101 | <code>#include·"<a·class="el"·href="a0069 | 101 | <code>#include·"<a·class="el"·href="a00692_source.html">../bfr/parameterization.h</a>"</code><br·/> |
102 | </div> | 102 | </div> |
103 | <p><a·href="a00677_source.html">Go·to·the·source·code·of·this·file.</a></p> | 103 | <p><a·href="a00677_source.html">Go·to·the·source·code·of·this·file.</a></p> |
104 | <table·class="memberdecls"> | 104 | <table·class="memberdecls"> |
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
106 | Classes</h2></td></tr> | 106 | Classes</h2></td></tr> |
107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00961.html">Tessellation</a></td></tr> | 107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00961.html">Tessellation</a></td></tr> |
108 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Encapsulates·a·specific·tessellation·pattern·of·a·<a·class="el"·href="a00921.html"·title="Simple·class·defining·the·2D·parameterization·of·a·face.">Parameterization</a>.··<a·href="a00961.html#details">More...</a><br·/></td></tr> | 108 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Encapsulates·a·specific·tessellation·pattern·of·a·<a·class="el"·href="a00921.html"·title="Simple·class·defining·the·2D·parameterization·of·a·face.">Parameterization</a>.··<a·href="a00961.html#details">More...</a><br·/></td></tr> |
Offset 341, 16 lines modified | Offset 341, 16 lines modified | ||
341 | <div·class="line"><a·id="l00380"·name="l00380"></a><span·class="lineno">··380</span>}·<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> | 341 | <div·class="line"><a·id="l00380"·name="l00380"></a><span·class="lineno">··380</span>}·<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> |
342 | <div·class="line"><a·id="l00381"·name="l00381"></a><span·class="lineno">··381</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> | 342 | <div·class="line"><a·id="l00381"·name="l00381"></a><span·class="lineno">··381</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> |
343 | <div·class="line"><a·id="l00382"·name="l00382"></a><span·class="lineno">··382</span>·</div> | 343 | <div·class="line"><a·id="l00382"·name="l00382"></a><span·class="lineno">··382</span>·</div> |
344 | <div·class="line"><a·id="l00383"·name="l00383"></a><span·class="lineno">··383</span>}·<span·class="comment">//·end·namespace·OpenSubdiv</span></div> | 344 | <div·class="line"><a·id="l00383"·name="l00383"></a><span·class="lineno">··383</span>}·<span·class="comment">//·end·namespace·OpenSubdiv</span></div> |
345 | <div·class="line"><a·id="l00384"·name="l00384"></a><span·class="lineno">··384</span>·</div> | 345 | <div·class="line"><a·id="l00384"·name="l00384"></a><span·class="lineno">··384</span>·</div> |
346 | <div·class="line"><a·id="l00385"·name="l00385"></a><span·class="lineno">··385</span><span·class="preprocessor">#endif·</span><span·class="comment">/*·OPENSUBDIV3_BFR_TESSELLATION·*/</span><span·class="preprocessor"></span></div> | 346 | <div·class="line"><a·id="l00385"·name="l00385"></a><span·class="lineno">··385</span><span·class="preprocessor">#endif·</span><span·class="comment">/*·OPENSUBDIV3_BFR_TESSELLATION·*/</span><span·class="preprocessor"></span></div> |
347 | <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> | 347 | <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> |
348 | <div·class="ttc"·id="aa00921_html"><div·class="ttname"><a·href="a00921.html">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Parameterization</a></div><div·class="ttdoc">Simple·class·defining·the·2D·parameterization·of·a·face.</div><div·class="ttdef"><b>Definition</b>·<a·href="a0069 | 348 | <div·class="ttc"·id="aa00921_html"><div·class="ttname"><a·href="a00921.html">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Parameterization</a></div><div·class="ttdoc">Simple·class·defining·the·2D·parameterization·of·a·face.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00692_source.html#l00052">parameterization.h:52</a></div></div> |
349 | <div·class="ttc"·id="aa00921_html_a181e30653909f9d0e0afa92dd44d28ec"><div·class="ttname"><a·href="a00921.html#a181e30653909f9d0e0afa92dd44d28ec">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Parameterization::GetFaceSize</a></div><div·class="ttdeci">int·GetFaceSize()·const</div><div·class="ttdoc">Returns·the·size·(number·of·vertices)·of·the·corresponding·face.</div><div·class="ttdef"><b>Definition</b>·<a·href="a0069 | 349 | <div·class="ttc"·id="aa00921_html_a181e30653909f9d0e0afa92dd44d28ec"><div·class="ttname"><a·href="a00921.html#a181e30653909f9d0e0afa92dd44d28ec">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Parameterization::GetFaceSize</a></div><div·class="ttdeci">int·GetFaceSize()·const</div><div·class="ttdoc">Returns·the·size·(number·of·vertices)·of·the·corresponding·face.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00692_source.html#l00101">parameterization.h:101</a></div></div> |
350 | <div·class="ttc"·id="aa00921_html_a9cb32ed5657438f0a1b7f322b221dc75"><div·class="ttname"><a·href="a00921.html#a9cb32ed5657438f0a1b7f322b221dc75">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Parameterization::GetVertexCoord</a></div><div·class="ttdeci">void·GetVertexCoord(int·vertexIndex,·REAL·uvCoord[2])·const</div><div·class="ttdoc">Returns·the·(u,v)·coordinate·of·a·given·vertex.</div></div> | 350 | <div·class="ttc"·id="aa00921_html_a9cb32ed5657438f0a1b7f322b221dc75"><div·class="ttname"><a·href="a00921.html#a9cb32ed5657438f0a1b7f322b221dc75">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Parameterization::GetVertexCoord</a></div><div·class="ttdeci">void·GetVertexCoord(int·vertexIndex,·REAL·uvCoord[2])·const</div><div·class="ttdoc">Returns·the·(u,v)·coordinate·of·a·given·vertex.</div></div> |
351 | <div·class="ttc"·id="aa00961_html"><div·class="ttname"><a·href="a00961.html">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation</a></div><div·class="ttdoc">Encapsulates·a·specific·tessellation·pattern·of·a·Parameterization.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00677_source.html#l00051">tessellation.h:51</a></div></div> | 351 | <div·class="ttc"·id="aa00961_html"><div·class="ttname"><a·href="a00961.html">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation</a></div><div·class="ttdoc">Encapsulates·a·specific·tessellation·pattern·of·a·Parameterization.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00677_source.html#l00051">tessellation.h:51</a></div></div> |
352 | <div·class="ttc"·id="aa00961_html_a181e30653909f9d0e0afa92dd44d28ec"><div·class="ttname"><a·href="a00961.html#a181e30653909f9d0e0afa92dd44d28ec">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation::GetFaceSize</a></div><div·class="ttdeci">int·GetFaceSize()·const</div><div·class="ttdoc">Return·the·size·of·the·face.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00677_source.html#l00182">tessellation.h:182</a></div></div> | 352 | <div·class="ttc"·id="aa00961_html_a181e30653909f9d0e0afa92dd44d28ec"><div·class="ttname"><a·href="a00961.html#a181e30653909f9d0e0afa92dd44d28ec">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation::GetFaceSize</a></div><div·class="ttdeci">int·GetFaceSize()·const</div><div·class="ttdoc">Return·the·size·of·the·face.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00677_source.html#l00182">tessellation.h:182</a></div></div> |
353 | <div·class="ttc"·id="aa00961_html_a23a949704d2705159dd4fe15299f4308"><div·class="ttname"><a·href="a00961.html#a23a949704d2705159dd4fe15299f4308">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation::GetNumBoundaryCoords</a></div><div·class="ttdeci">int·GetNumBoundaryCoords()·const</div><div·class="ttdoc">Return·the·number·of·boundary·coordinates.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00677_source.html#l00211">tessellation.h:211</a></div></div> | 353 | <div·class="ttc"·id="aa00961_html_a23a949704d2705159dd4fe15299f4308"><div·class="ttname"><a·href="a00961.html#a23a949704d2705159dd4fe15299f4308">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation::GetNumBoundaryCoords</a></div><div·class="ttdeci">int·GetNumBoundaryCoords()·const</div><div·class="ttdoc">Return·the·number·of·boundary·coordinates.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00677_source.html#l00211">tessellation.h:211</a></div></div> |
354 | <div·class="ttc"·id="aa00961_html_a23cbee9f350de81b12dea4bc69ba023f"><div·class="ttname"><a·href="a00961.html#a23cbee9f350de81b12dea4bc69ba023f">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation::~Tessellation</a></div><div·class="ttdeci">~Tessellation()</div></div> | 354 | <div·class="ttc"·id="aa00961_html_a23cbee9f350de81b12dea4bc69ba023f"><div·class="ttname"><a·href="a00961.html#a23cbee9f350de81b12dea4bc69ba023f">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation::~Tessellation</a></div><div·class="ttdeci">~Tessellation()</div></div> |
355 | <div·class="ttc"·id="aa00961_html_a2651a3405daf40d1ffbd47c57233d3c3"><div·class="ttname"><a·href="a00961.html#a2651a3405daf40d1ffbd47c57233d3c3">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation::TransformFacetCoordIndices</a></div><div·class="ttdeci">void·TransformFacetCoordIndices(int·facetTuples[],·int·const·boundaryIndices[],·int·const·interiorIndices[])</div><div·class="ttdoc">Reassign·all·facet·coordinate·indices.</div></div> | 355 | <div·class="ttc"·id="aa00961_html_a2651a3405daf40d1ffbd47c57233d3c3"><div·class="ttname"><a·href="a00961.html#a2651a3405daf40d1ffbd47c57233d3c3">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation::TransformFacetCoordIndices</a></div><div·class="ttdeci">void·TransformFacetCoordIndices(int·facetTuples[],·int·const·boundaryIndices[],·int·const·interiorIndices[])</div><div·class="ttdoc">Reassign·all·facet·coordinate·indices.</div></div> |
356 | <div·class="ttc"·id="aa00961_html_a3f642ed70a22d6d9d3d2fe79029653f5"><div·class="ttname"><a·href="a00961.html#a3f642ed70a22d6d9d3d2fe79029653f5">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation::GetCoordStride</a></div><div·class="ttdeci">int·GetCoordStride()·const</div><div·class="ttdoc">Return·the·number·of·elements·between·each·coordinate.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00677_source.html#l00208">tessellation.h:208</a></div></div> | 356 | <div·class="ttc"·id="aa00961_html_a3f642ed70a22d6d9d3d2fe79029653f5"><div·class="ttname"><a·href="a00961.html#a3f642ed70a22d6d9d3d2fe79029653f5">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation::GetCoordStride</a></div><div·class="ttdeci">int·GetCoordStride()·const</div><div·class="ttdoc">Return·the·number·of·elements·between·each·coordinate.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00677_source.html#l00208">tessellation.h:208</a></div></div> |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/bfr/surfaceFactory.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 90, 33 lines modified | Offset 90, 31 lines modified | ||
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#nested-classes">Classes</a>·| | 94 | <a·href="#nested-classes">Classes</a>·| |
95 | <a·href="#namespaces">Namespaces</a>··</div> | 95 | <a·href="#namespaces">Namespaces</a>··</div> |
96 | ··<div·class="headertitle"><div·class="title">surfaceFactory.h·File·Reference</div></div> | 96 | ··<div·class="headertitle"><div·class="title">surfaceFactoryCache.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·"../bfr/irregularPatchType.h"</code><br·/> | ||
101 | <code>#include·<map></code><br·/> | ||
100 | <code>#include·"<a·class="el"·href="a00689_source.html">../bfr/surface.h</a>"</code><br·/> | ||
101 | <code>#include·"<a·class="el"·href="a00686_source.html">../bfr/surfaceFactoryMeshAdapter.h</a>"</code><br·/> | ||
102 | <code>#include·"<a·class="el"·href="a00773_source.html">../sdc/options.h</a>"</code><br·/> | ||
103 | <code>#include·"<a·class="el"·href="a01484_source.html">../sdc/types.h</a>"</code><br·/> | ||
104 | <code>#include·<cstdint></code><br·/> | 102 | <code>#include·<cstdint></code><br·/> |
105 | </div> | 103 | </div> |
106 | <p><a·href="a00680_source.html">Go·to·the·source·code·of·this·file.</a></p> | 104 | <p><a·href="a00680_source.html">Go·to·the·source·code·of·this·file.</a></p> |
107 | <table·class="memberdecls"> | 105 | <table·class="memberdecls"> |
108 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
109 | Classes</h2></td></tr> | 107 | Classes</h2></td></tr> |
110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a0094 | 108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00949.html">SurfaceFactoryCache</a></td></tr> |
111 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 109 | <tr·class="memdesc:"><td·class="mdescLeft"> </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> |
112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
113 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a009 | 111 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00953.html">SurfaceFactoryCacheThreaded<·MUTEX_TYPE,·READ_LOCK_GUARD_TYPE,·WRITE_LOCK_GUARD_TYPE·></a></td></tr> |
114 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 112 | <tr·class="memdesc:"><td·class="mdescLeft"> </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> |
115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
116 | </table><table·class="memberdecls"> | 114 | </table><table·class="memberdecls"> |
117 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 115 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
118 | Namespaces</h2></td></tr> | 116 | Namespaces</h2></td></tr> |
119 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 117 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
120 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
121 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 119 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
Offset 125, 13 lines modified | Offset 123, 13 lines modified | ||
125 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 123 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
126 | </table> | 124 | </table> |
127 | </div><!--·contents·--> | 125 | </div><!--·contents·--> |
128 | </div><!--·doc-content·--> | 126 | </div><!--·doc-content·--> |
129 | <!--·start·footer·part·--> | 127 | <!--·start·footer·part·--> |
130 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 128 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
131 | ··<ul> | 129 | ··<ul> |
132 | ····<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">surfaceFactory.h</a></li> | 130 | ····<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> |
133 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 131 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
134 | ··</ul> | 132 | ··</ul> |
135 | </div> | 133 | </div> |
136 | </body> | 134 | </body> |
137 | </html> | 135 | </html> |
Offset 1, 32 lines modified | Offset 1, 32 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
6 | surfaceFactory.h·File·Reference | 6 | surfaceFactoryCache.h·File·Reference |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·"../bfr/irregularPatchType.h" | ||
9 | #include·<map> | ||
8 | #include·"_\x8._\x8._\x8/_\x8b_\x8f_\x8r_\x8/_\x8s_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8._\x8h" | ||
9 | #include·"_\x8._\x8._\x8/_\x8b_\x8f_\x8r_\x8/_\x8s_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8M_\x8e_\x8s_\x8h_\x8A_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r_\x8._\x8h" | ||
10 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8o_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s_\x8._\x8h" | ||
11 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" | ||
12 | #include·<cstdint> | 10 | #include·<cstdint> |
13 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 11 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
14 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 12 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
15 | class· ·_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y | 13 | class· ·_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_.C_.a_.c_.h_.e |
16 | ······· | 14 | ·······Container·used·internally·by·_.S_.u_.r_.f_.a_.c_.e_.F_.a_.c_.t_.o_.r_.y·to·store·reusable |
17 | ········m | 15 | ········information.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. |
18 | 16 | ||
19 | class· ·_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8:_\x8:_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s | ||
20 | 17 | class· ·_.S_.u_.r_.f_.a_.c_.e_.F_.a_.c_.t_.o_.r_.y_.C_.a_.c_.h_.e_.T_.h_.r_.e_.a_.d_.e_.d_.<_.·_.M_.U_.T_.E_.X_.__.T_.Y_.P_.E_.,_.·_.R_.E_.A_.D_.__.L_.O_.C_.K_.__.G_.U_.A_.R_.D_.__.T_.Y_.P_.E_., | |
18 | ········_\x8W_\x8R_\x8I_\x8T_\x8E_\x8__\x8L_\x8O_\x8C_\x8K_\x8__\x8G_\x8U_\x8A_\x8R_\x8D_\x8__\x8T_\x8Y_\x8P_\x8E_\x8·_\x8> | ||
19 | ·······Template·for·declaring·thread-safe·subclasses·of·_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8C_\x8a_\x8c_\x8h_\x8e. | ||
20 | ········_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
21 | 21 | ||
22 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 22 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
23 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 23 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
24 | 24 | ||
25 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 25 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
26 | 26 | ||
27 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8B_\x8f_\x8r | 27 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8B_\x8f_\x8r |
28 | 28 | ||
29 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 29 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
30 | ····*·_\x8b_\x8f_\x8r | 30 | ····*·_\x8b_\x8f_\x8r |
31 | ····*·_\x8s_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8._\x8h | 31 | ····*·_\x8s_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8C_.a_.c_.h_.e_.._\x8h |
32 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 32 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 4 lines modified | Offset 1, 4 lines modified | ||
1 | var·a00680·=·[ | 1 | var·a00680·=·[ |
2 | ····["SurfaceFactory",·"a0094 | 2 | ····["SurfaceFactoryCache",·"a00949.html",·"a00949"], |
3 | ····["O | 3 | ····["SurfaceFactoryCacheThreaded<·MUTEX_TYPE,·READ_LOCK_GUARD_TYPE,·WRITE_LOCK_GUARD_TYPE·>",·"a00953.html",·"a00953"] |
4 | ]; | 4 | ]; |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/bfr/surfaceFactory.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 92, 15 lines modified | Offset 92, 15 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title">surfaceFactory.h</div></div> | 98 | ··<div·class="headertitle"><div·class="title">surfaceFactoryCache.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <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> | 101 | <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> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2021·Pixar</span></div> | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2021·Pixar</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
Offset 119, 412 lines modified | Offset 119, 126 lines modified | ||
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_BFR_SURFACE_FACTORY_H</span></div> | 126 | <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> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_BFR_SURFACE_FACTORY_H</span></div> | 127 | <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> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../bfr/ | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../bfr/irregularPatchType.h"</span></div> |
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span> | 132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·& | 133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·<map></span></div> |
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·& | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·<cstdint></span></div> |
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#include·<cstdint></span></div> | ||
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | ||
138 | <div·class="line"><a·id="l0003 | 136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> |
139 | <div·class="line"><a·id="l0003 | 137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">namespace·</span>Bfr·{</div> | ||
140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | 140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">namespace·</span>Bfr·{</div> | ||
142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | ||
143 | <div·class="line"><a·id="l000 | 141 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="comment">//</span></div> |
144 | <div·class="line"><a·id="l000 | 142 | <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> |
143 | <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> | ||
144 | <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> | ||
145 | <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> | ||
146 | <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> | ||
145 | <div·class="line"><a·id="l000 | 147 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">//</span></div> |
146 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">class·</span>SurfaceFactoryCache;</div> | ||
147 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">class·</span>FaceTopology;</div> | ||
148 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="keyword">class·</span>FaceSurface;</div> | ||
149 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
150 | <div·class="foldopen"·id="foldopen00 | 148 | <div·class="foldopen"·id="foldopen00059"·data-start="{"·data-end="};"> |
151 | <div·class="line"><a·id="l00 | 149 | <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> |
152 | <div·class="line"><a·id="l00 | 150 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="keyword">public</span>:</div> |
153 | <div·class="foldopen"·id="foldopen00116"·data-start="{"·data-end="};"> | ||
154 | <div·class="line"><a·id="l00 | 151 | <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> |
152 | <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> | ||
153 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | ||
154 | <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>·&)·=·<span·class="keyword">delete</span>;</div> | ||
155 | <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>·&·<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>·&)·=·<span·class="keyword">delete</span>;</div> | ||
156 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> | ||
155 | <div·class="line"><a·id="l00 | 157 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="keyword">protected</span>:</div> |
156 | <div·class="foldopen"·id="foldopen00118"·data-start="{"·data-end="}"> | ||
157 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno"><a·class="line"·href="a00945.html#a28d39a844c3a37ab61d32ab7c6352f09">··118</a></span>········<a·class="code·hl_function"·href="a00945.html#a28d39a844c3a37ab61d32ab7c6352f09">Options</a>()·:·_dfltFVarID(-1),·_externCache(0),·_enableCache(true),</div> | ||
158 | <div·class="line"><a·id="l00 | 158 | <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> |
159 | <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> | ||
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="keyword">typedef</span>·std::uint64_t·····················KeyType;</div> | ||
162 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="keyword">typedef</span>·internal::IrregularPatchSharedPtr·DataType;</div> | ||
163 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> | ||
164 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="keyword">protected</span>:</div> | ||
165 | <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> | ||
166 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> | ||
167 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····<span·class="comment">//</span></div> | ||
168 | <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> | ||
169 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="comment">//</span></div> | ||
170 | <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>·&·key)·<span·class="keyword">const</span>;</div> | ||
171 | <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>·&·key,·DataType·<span·class="keyword">const</span>·&·data);</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">···86</span>····<span·class="comment">//</span></div> | ||
174 | <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> | ||
175 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····<span·class="comment">//</span></div> | ||
176 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····DataType·find(KeyType·<span·class="keyword">const</span>·&·key)·<span·class="keyword">const</span>;</div> | ||
177 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····DataType·add(KeyType·<span·class="keyword">const</span>·&·key,·DataType·<span·class="keyword">const</span>·&·data);</div> | ||
178 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div> | ||
179 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span><span·class="keyword">private</span>:</div> | ||
180 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····<span·class="keyword">typedef</span>·std::map<KeyType,·DataType>·MapType;</div> | ||
181 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div> | ||
182 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····MapType·_map;</div> | ||
183 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>};</div> | ||
159 | </div> | 184 | </div> |
185 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> | ||
186 | <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> | ||
187 | <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> | ||
188 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span><span·class="comment">//·</span></div> | ||
189 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span><span·class="keyword">template</span>·<<span·class="keyword">class·</span>MUTEX_TYPE,·<span·class="keyword">class·</span>READ_LOCK_GUARD_TYPE,</div> | ||
190 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>····························<span·class="keyword">class·</span>WRITE_LOCK_GUARD_TYPE></div> | ||
191 | <div·class="foldopen"·id="foldopen00118"·data-start="{"·data-end="};"> | ||
192 | <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> | ||
193 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span><span·class="keyword">public</span>:</div> | ||
194 | <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> | ||
195 | <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> | ||
160 | <div·class="line"><a·id="l0012 | 196 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>·</div> |
197 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span><span·class="keyword">protected</span>:</div> | ||
161 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>········<a·class="code·hl_class"·href="a00945.html">Options</a>·&·<a·class="code·hl_function"·href="a00945.html#a2db0e8ff5143c3a69bf3772bac7bde78">SetDefaultFVarID</a>(<a·class="code·hl_typedef"·href="a00957.html#af98288d7b5176d7295be622a10c6c64e">FVarID</a>·<span·class="keywordtype">id</span>);</div> | ||
162 | <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno"><a·class="line"·href="a00945.html#a51ba21f3605015ed597a25303143c0b1">··125</a></span>········<a·class="code·hl_typedef"·href="a00957.html#af98288d7b5176d7295be622a10c6c64e">FVarID</a>·<a·class="code·hl_function"·href="a00945.html#a51ba21f3605015ed597a25303143c0b1">GetDefaultFVarID</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_dfltFVarID;·}</div> | ||
163 | <div·class="line"><a·id="l0012 | 198 | <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>····<span·class="comment">//</span></div> |
164 | <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>········<a·class="code·hl_class"·href="a00945.html">Options</a>·&·<a·class="code·hl_function"·href="a00945.html#a14e81c17e41ad591714664008331f41e">EnableCaching</a>(<span·class="keywordtype">bool</span>·on);</div> | ||
165 | <div·class="line"><a·id="l001 | 199 | <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>····<span·class="comment">//··Virtual·overrides·from·base:</span></div> |
Max diff block lines reached; 20055/102992 bytes (19.47%) of diff not shown. |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | surfaceFactory.h | 5 | surfaceFactoryCache.h |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·2021·Pixar | 8 | 2//·Copyright·2021·Pixar |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
Offset 24, 476 lines modified | Offset 24, 131 lines modified | ||
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24 | 30 | 24 |
31 | 25#ifndef·OPENSUBDIV3_BFR_SURFACE_FACTORY_H | 31 | 25#ifndef·OPENSUBDIV3_BFR_SURFACE_FACTORY_CACHE_H |
32 | 26#define·OPENSUBDIV3_BFR_SURFACE_FACTORY_H | 32 | 26#define·OPENSUBDIV3_BFR_SURFACE_FACTORY_CACHE_H |
33 | 27 | 33 | 27 |
34 | 28#include·"../version.h" | 34 | 28#include·"../version.h" |
35 | 29 | 35 | 29 |
36 | 30#include·"../bfr/ | 36 | 30#include·"../bfr/irregularPatchType.h" |
37 | 31#include·"../bfr/surfaceFactoryMeshAdapter.h" | ||
38 | 32#include·"../sdc/options.h" | ||
39 | 3 | 37 | 31 |
38 | 32#include·<map> | ||
39 | 33#include·<cstdint> | ||
40 | 34 | 40 | 34 |
41 | 35#include·<cstdint> | ||
42 | 36 | ||
43 | 3 | 41 | 35namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ |
44 | 3 | 42 | 36namespace·OPENSUBDIV_VERSION·{ |
43 | 37 | ||
44 | 38namespace·Bfr·{ | ||
45 | 39 | 45 | 39 |
46 | 40namespace·Bfr·{ | ||
47 | 41 | ||
48 | 46 | 52// | |
47 | 53//·Initial/expected·use·requires·simple·searches·of·and·additions·to·the | ||
48 | 54//·cache·by·the·SurfaceFactory·or·its·Builders.·Longer·term,·with·the | ||
49 | 55//·possibility·of·instances·of·caches·being·shared·between·meshes·and | ||
50 | 56//·factories,·additional·options·and/or·public·methods·may·be·warranted | ||
51 | 57//·to·limit·what·is·cached·or·to·prune·the·cache·if·it·gets·too·large. | ||
52 | 58// | ||
49 | 43//·Forward·declarations·of·public·and·internal·classes·used·by·factories: | ||
50 | 44// | ||
51 | 45class·SurfaceFactoryCache; | ||
52 | 46class·FaceTopology; | ||
53 | 47class·FaceSurface; | ||
54 | 48 | ||
55 | _\x81_\x80_\x83class·_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y·:·public·_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8M_\x8e_\x8s_\x8h_\x8A_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r·{ | ||
56 | 104public: | ||
57 | _\x81_\x81_\x86·class·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s·{ | ||
58 | 117·public: | ||
59 | _\x81_\x81_\x88·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s()·:·_dfltFVarID(-1),·_externCache(0),·_enableCache(true), | ||
60 | 119·_approxLevelSmooth(2),·_approxLevelSharp(6)·{·} | ||
61 | 120 | ||
62 | 123·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s·&·_\x8S_\x8e_\x8t_\x8D_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8F_\x8V_\x8a_\x8r_\x8I_\x8D(_\x8F_\x8V_\x8a_\x8r_\x8I_\x8D·id); | ||
63 | _\x81_\x82_\x85·_\x8F_\x8V_\x8a_\x8r_\x8I_\x8D·_\x8G_\x8e_\x8t_\x8D_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8F_\x8V_\x8a_\x8r_\x8I_\x8D()·const·{·return·_dfltFVarID;·} | ||
64 | 126 | ||
65 | 128·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s·&·_\x8E_\x8n_\x8a_\x8b_\x8l_\x8e_\x8C_\x8a_\x8c_\x8h_\x8i_\x8n_\x8g(bool·on); | ||
66 | _\x81_\x83_\x80·bool·_\x8I_\x8s_\x8C_\x8a_\x8c_\x8h_\x8i_\x8n_\x8g_\x8E_\x8n_\x8a_\x8b_\x8l_\x8e_\x8d()·const·{·return·_enableCache;·} | ||
67 | 131 | ||
68 | 133·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s·&·_\x8S_\x8e_\x8t_\x8E_\x8x_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8C_\x8a_\x8c_\x8h_\x8e(_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8C_\x8a_\x8c_\x8h_\x8e·*·c); | ||
69 | _\x81_\x83_\x85·_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8C_\x8a_\x8c_\x8h_\x8e·*·_\x8G_\x8e_\x8t_\x8E_\x8x_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8C_\x8a_\x8c_\x8h_\x8e()·const·{·return·_externCache;·} | ||
70 | 136 | ||
71 | 137·//·Set·refinement·levels·used·to·approximate·the·limit·surface | ||
72 | 138·//·for·smooth·and·sharp·features·(reasonable·defaults·assigned): | ||
73 | 140·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s·&·_\x8S_\x8e_\x8t_\x8A_\x8p_\x8p_\x8r_\x8o_\x8x_\x8L_\x8e_\x8v_\x8e_\x8l_\x8S_\x8m_\x8o_\x8o_\x8t_\x8h(int·level); | ||
74 | _\x81_\x84_\x82·int·_\x8G_\x8e_\x8t_\x8A_\x8p_\x8p_\x8r_\x8o_\x8x_\x8L_\x8e_\x8v_\x8e_\x8l_\x8S_\x8m_\x8o_\x8o_\x8t_\x8h()·const·{·return·_approxLevelSmooth;·} | ||
75 | 143 | ||
76 | 145·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s·&·_\x8S_\x8e_\x8t_\x8A_\x8p_\x8p_\x8r_\x8o_\x8x_\x8L_\x8e_\x8v_\x8e_\x8l_\x8S_\x8h_\x8a_\x8r_\x8p(int·level); | ||
77 | _\x81_\x84_\x87·int·_\x8G_\x8e_\x8t_\x8A_\x8p_\x8p_\x8r_\x8o_\x8x_\x8L_\x8e_\x8v_\x8e_\x8l_\x8S_\x8h_\x8a_\x8r_\x8p()·const·{·return·_approxLevelSharp;·} | ||
78 | 148 | ||
79 | 149·private: | ||
80 | 150·//·Member·variables: | ||
81 | 151·_\x8F_\x8V_\x8a_\x8r_\x8I_\x8D·_dfltFVarID; | ||
82 | 152 | ||
83 | 53 | _.5_.9class·_.S_.u_.r_.f_.a_.c_.e_.F_.a_.c_.t_.o_.r_.y_.C_.a_.c_.h_.e·{ | |
84 | 154 | ||
85 | 155·unsigned·char·_enableCache·:·1; | ||
86 | 156·unsigned·char·_approxLevelSmooth; | ||
87 | 157·unsigned·char·_approxLevelSharp; | ||
88 | 158·}; | ||
89 | 159 | ||
90 | 54 | 60public: | |
91 | _\x8 | 55 | _\x86_.1·_.S_.u_.r_.f_.a_.c_.e_.F_.a_.c_.t_.o_.r_.y_.C_.a_.c_.h_.e(); |
92 | 162 | ||
93 | 164 | ||
94 | 168 | ||
95 | _\x8 | 56 | _\x86_.2·virtual·_.~_.S_.u_.r_.f_.a_.c_.e_.F_.a_.c_.t_.o_.r_.y_.C_.a_.c_.h_.e(); |
57 | 63 | ||
58 | _\x86_\x84·_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8C_\x8a_\x8c_\x8h_\x8e(_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8C_\x8a_\x8c_\x8h_\x8e·const·&)·=·delete; | ||
59 | _\x86_\x85·_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8C_\x8a_\x8c_\x8h_\x8e·&·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8C_\x8a_\x8c_\x8h_\x8e·const·&)·=·delete; | ||
60 | 66 | ||
61 | 67protected: | ||
62 | 69·//·Access·restricted·to·the·Factory,·its·Builders,·etc. | ||
63 | 70·friend·class·_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y; | ||
96 | 64 | 71 | |
97 | 65 | 72·typedef·std::uint64_t·KeyType; | |
66 | 73·typedef·internal::IrregularPatchSharedPtr·DataType; | ||
98 | 67 | 75 | |
99 | 176public: | ||
100 | 178 | ||
101 | 190 | ||
102 | _\x82_\x80_\x80·bool·_\x8F_\x8a_\x8c_\x8e_\x8H_\x8a_\x8s_\x8L_\x8i_\x8m_\x8i_\x8t_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e(_\x8I_\x8n_\x8d_\x8e_\x8x·faceIndex)·const; | ||
103 | 201 | ||
104 | _\x82_\x80_\x88·_\x8P_\x8a_\x8r_\x8a_\x8m_\x8e_\x8t_\x8e_\x8r_\x8i_\x8z_\x8a_\x8t_\x8i_\x8o_\x8n·_\x8G_\x8e_\x8t_\x8F_\x8a_\x8c_\x8e_\x8P_\x8a_\x8r_\x8a_\x8m_\x8e_\x8t_\x8e_\x8r_\x8i_\x8z_\x8a_\x8t_\x8i_\x8o_\x8n(_\x8I_\x8n_\x8d_\x8e_\x8x·faceIndex)·const; | ||
105 | 68 | 76protected: | |
69 | 78·size_t·Size()·const·{·return·_map.size();·} | ||
70 | 79 | ||
71 | 80·// | ||
72 | 81·//·Potential·overrides·by·subclasses·for·thread-safety: | ||
73 | 82·// | ||
74 | 83·virtual·DataType·Find(KeyType·const·&·key)·const; | ||
75 | 84·virtual·DataType·Add(KeyType·const·&·key,·DataType·const·&·data); | ||
76 | 85 | ||
77 | 86·// | ||
78 | 87·//·Common·implementation·used·by·all·subclasses: | ||
79 | 88·// | ||
80 | 89·DataType·find(KeyType·const·&·key)·const; | ||
81 | 90·DataType·add(KeyType·const·&·key,·DataType·const·&·data); | ||
82 | 92 | ||
Max diff block lines reached; 16292/35679 bytes (45.66%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/bfr/surfaceFactory | 8 | <title>OpenSubdiv:·opensubdiv/bfr/surfaceFactoryMeshAdapter.h·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 90, 31 lines modified | Offset 90, 26 lines modified | ||
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#nested-classes">Classes</a>·| | 94 | <a·href="#nested-classes">Classes</a>·| |
95 | <a·href="#namespaces">Namespaces</a>··</div> | 95 | <a·href="#namespaces">Namespaces</a>··</div> |
96 | ··<div·class="headertitle"><div·class="title">surfaceFactory | 96 | ··<div·class="headertitle"><div·class="title">surfaceFactoryMeshAdapter.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·"../bfr/irregularPatchType.h"</code><br·/> | ||
101 | <code>#include·<map></code><br·/> | ||
102 | <code>#include·<cstdint></code><br·/> | 100 | <code>#include·<cstdint></code><br·/> |
103 | </div> | 101 | </div> |
104 | <p><a·href="a00683_source.html">Go·to·the·source·code·of·this·file.</a></p> | 102 | <p><a·href="a00683_source.html">Go·to·the·source·code·of·this·file.</a></p> |
105 | <table·class="memberdecls"> | 103 | <table·class="memberdecls"> |
106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
107 | Classes</h2></td></tr> | 105 | Classes</h2></td></tr> |
108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a009 | 106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00957.html">SurfaceFactoryMeshAdapter</a></td></tr> |
107 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Abstract·interface·adapting·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·to·a·connected·mesh·representation.··<a·href="a00957.html#details">More...</a><br·/></td></tr> | ||
109 | <tr·class="memdesc:"><td·class="mdescLeft"> </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> | ||
110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
111 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00953.html">SurfaceFactoryCacheThreaded<·MUTEX_TYPE,·READ_LOCK_GUARD_TYPE,·WRITE_LOCK_GUARD_TYPE·></a></td></tr> | ||
112 | <tr·class="memdesc:"><td·class="mdescLeft"> </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> | ||
113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
114 | </table><table·class="memberdecls"> | 109 | </table><table·class="memberdecls"> |
115 | <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> |
116 | Namespaces</h2></td></tr> | 111 | Namespaces</h2></td></tr> |
117 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 112 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
119 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 114 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
Offset 123, 13 lines modified | Offset 118, 13 lines modified | ||
123 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
124 | </table> | 119 | </table> |
125 | </div><!--·contents·--> | 120 | </div><!--·contents·--> |
126 | </div><!--·doc-content·--> | 121 | </div><!--·doc-content·--> |
127 | <!--·start·footer·part·--> | 122 | <!--·start·footer·part·--> |
128 | <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!·--> |
129 | ··<ul> | 124 | ··<ul> |
130 | ····<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">surfaceFactory | 125 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_fa5edef2a780a73fbfb6a11f1af88ceb.html">bfr</a></li><li·class="navelem"><a·class="el"·href="a00683.html">surfaceFactoryMeshAdapter.h</a></li> |
131 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 126 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
132 | ··</ul> | 127 | ··</ul> |
133 | </div> | 128 | </div> |
134 | </body> | 129 | </body> |
135 | </html> | 130 | </html> |
Offset 1, 32 lines modified | Offset 1, 25 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
6 | surfaceFactory | 6 | surfaceFactoryMeshAdapter.h·File·Reference |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·"../bfr/irregularPatchType.h" | ||
9 | #include·<map> | ||
10 | #include·<cstdint> | 8 | #include·<cstdint> |
11 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
12 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 10 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
13 | class· ·_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8 | 11 | class· ·_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8M_.e_.s_.h_.A_.d_.a_.p_.t_.e_.r |
14 | ······· | 12 | ·······Abstract·interface·adapting·_.S_.u_.r_.f_.a_.c_.e_.F_.a_.c_.t_.o_.r_.y·to·a·connected·mesh |
15 | ········ | 13 | ········representation.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. |
16 | |||
17 | class· ·_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8C_\x8a_\x8c_\x8h_\x8e_\x8T_\x8h_\x8r_\x8e_\x8a_\x8d_\x8e_\x8d_\x8<_\x8·_\x8M_\x8U_\x8T_\x8E_\x8X_\x8__\x8T_\x8Y_\x8P_\x8E_\x8,_\x8·_\x8R_\x8E_\x8A_\x8D_\x8__\x8L_\x8O_\x8C_\x8K_\x8__\x8G_\x8U_\x8A_\x8R_\x8D_\x8__\x8T_\x8Y_\x8P_\x8E_\x8, | ||
18 | ········_\x8W_\x8R_\x8I_\x8T_\x8E_\x8__\x8L_\x8O_\x8C_\x8K_\x8__\x8G_\x8U_\x8A_\x8R_\x8D_\x8__\x8T_\x8Y_\x8P_\x8E_\x8·_\x8> | ||
19 | ·······Template·for·declaring·thread-safe·subclasses·of·_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8C_\x8a_\x8c_\x8h_\x8e. | ||
20 | ········_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
21 | 14 | ||
22 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 15 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
23 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 16 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
24 | 17 | ||
25 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 18 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
26 | 19 | ||
27 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8B_\x8f_\x8r | 20 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8B_\x8f_\x8r |
28 | 21 | ||
29 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 22 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
30 | ····*·_\x8b_\x8f_\x8r | 23 | ····*·_\x8b_\x8f_\x8r |
31 | ····*·_\x8s_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8 | 24 | ····*·_\x8s_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8M_.e_.s_.h_.A_.d_.a_.p_.t_.e_.r_\x8._\x8h |
32 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 25 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 4 lines modified | Offset 1, 3 lines modified | ||
1 | var·a00683·=·[ | 1 | var·a00683·=·[ |
2 | ····["SurfaceFactory | 2 | ····["SurfaceFactoryMeshAdapter",·"a00957.html",·"a00957"] |
3 | ····["SurfaceFactoryCacheThreaded<·MUTEX_TYPE,·READ_LOCK_GUARD_TYPE,·WRITE_LOCK_GUARD_TYPE·>",·"a00953.html",·"a00953"] | ||
4 | ]; | 3 | ]; |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/bfr/surfaceFactory | 8 | <title>OpenSubdiv:·opensubdiv/bfr/surfaceFactoryMeshAdapter.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 92, 15 lines modified | Offset 92, 15 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title">surfaceFactory | 98 | ··<div·class="headertitle"><div·class="title">surfaceFactoryMeshAdapter.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <a·href="a00683.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> | 101 | <a·href="a00683.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2021·Pixar</span></div> | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2021·Pixar</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
Offset 119, 126 lines modified | Offset 119, 149 lines modified | ||
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_BFR_SURFACE_FACTORY_ | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_BFR_SURFACE_FACTORY_ADAPTER_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_BFR_SURFACE_FACTORY_ | 127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_BFR_SURFACE_FACTORY_ADAPTER_H</span></div> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·& | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·<cstdint></span></div> |
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | 132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class=" | 133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> |
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class=" | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> | ||
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> | ||
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
139 | <div·class="line"><a·id="l0003 | 136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>Bfr·{</div> |
140 | <div·class="line"><a·id="l0003 | 137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
141 | <div·class="line"><a·id="l000 | 138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">class·</span>VertexDescriptor;</div> |
142 | <div·class="line"><a·id="l000 | 139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
140 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="comment">//··SurfaceFactoryMeshAdapter·is·an·abstract·class·that·defines·the·interface</span></div> | ||
141 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="comment">//··through·which·subclasses·of·SurfaceFactory·adapt·to·a·connected·mesh</span></div> | ||
142 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="comment">//··representation.·The·interface·defines·methods·that·describe·the·mesh</span></div> | ||
143 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="comment">//··topology·and·control·indices·in·the·neighborhood·of·a·mesh·--·from</span></div> | ||
143 | <div·class="line"><a·id="l000 | 144 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="comment">//··which·the·SurfaceFactory·to·identifies·an·appropriate·limit·surface.</span></div> |
144 | <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> | ||
145 | <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> | ||
146 | <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> | ||
147 | <div·class="line"><a·id="l000 | 145 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="comment">//</span></div> |
146 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="comment">//··SurfaceFactoryMeshAdapter·methods·require·a·subclass·to·provide·a·complete</span></div> | ||
147 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="comment">//··description·of·the·topology·around·a·base·face,·as·well·as·indices</span></div> | ||
148 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="comment">//··associated·with·it·(both·vertex·and·face-varying).··The·intent·here·is</span></div> | ||
149 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="comment">//··to·keep·the·number·of·methods·required·to·a·minimum,·and·also·to·minimize</span></div> | ||
150 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="comment">//··the·number·of·invocations·required·by·the·factory.</span></div> | ||
151 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="comment">//</span></div> | ||
152 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="comment">//··With·the·need·to·support·both·linear·and·non-linear·cases·(for·which</span></div> | ||
153 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="comment">//··linear·is·trivial·by·comparison)·and·the·limit·surface·for·both·vertex</span></div> | ||
154 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="comment">//··and·face-varying·topologies,·the·result·is·a·small·set·of·methods</span></div> | ||
155 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">//··covering·this·matrix·of·functionality.</span></div> | ||
156 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="comment">//</span></div> | ||
157 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="comment">//··Since·face-varying·data·may·differ·in·topology·from·the·vertex·data·--</span></div> | ||
158 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="comment">//··with·each·set·of·face-varying·data·potentially·having·its·own·unique</span></div> | ||
159 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="comment">//··topology·--·sets·of·face-varying·data·are·uniquely·distinguished·by·an</span></div> | ||
160 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="comment">//··associated·integer·(a·face-varying·ID).</span></div> | ||
161 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="comment">//</span></div> | ||
148 | <div·class="foldopen"·id="foldopen000 | 162 | <div·class="foldopen"·id="foldopen00065"·data-start="{"·data-end="};"> |
149 | <div·class="line"><a·id="l000 | 163 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a00957.html">···65</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a00957.html">SurfaceFactoryMeshAdapter</a>·{</div> |
150 | <div·class="line"><a·id="l0006 | 164 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="keyword">public</span>:</div> |
165 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">···68</a></span>····<span·class="keyword">typedef</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>;</div> | ||
151 | <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> | ||
152 | <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> | ||
153 | <div·class="line"><a·id="l0006 | 166 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> |
167 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a00957.html#af98288d7b5176d7295be622a10c6c64e">···80</a></span>····<span·class="keyword">typedef</span>·std::intptr_t·<a·class="code·hl_typedef"·href="a00957.html#af98288d7b5176d7295be622a10c6c64e">FVarID</a>;</div> | ||
154 | <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>·&)·=·<span·class="keyword">delete</span>;</div> | ||
155 | <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>·&·<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>·&)·=·<span·class="keyword">delete</span>;</div> | ||
156 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> | ||
157 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="keyword">protected</span>:</div> | ||
158 | <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> | ||
159 | <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> | ||
160 | <div·class="line"><a·id="l000 | 168 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> |
161 | <div·class="line"><a·id="l000 | 169 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keyword">protected</span>:</div> |
162 | <div·class="line"><a·id="l000 | 170 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<a·class="code·hl_class"·href="a00957.html">SurfaceFactoryMeshAdapter</a>()·{·}</div> |
171 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····<span·class="keyword">virtual</span>·<a·class="code·hl_class"·href="a00957.html">~SurfaceFactoryMeshAdapter</a>()·{·}</div> | ||
163 | <div·class="line"><a·id="l000 | 172 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> |
164 | <div·class="line"><a·id="l000 | 173 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span><span·class="keyword">protected</span>:</div> |
165 | <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> | ||
166 | <div·class="line"><a·id="l000 | 174 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> |
167 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····<span·class="comment">//</span></div> | ||
168 | <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> | ||
169 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="comment">//</span></div> | ||
170 | <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>·&·key)·<span·class="keyword">const</span>;</div> | ||
171 | <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>·&·key,·DataType·<span·class="keyword">const</span>·&·data);</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">···86</span>····<span·class="comment">//</span></div> | ||
174 | <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> | ||
175 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····<span·class="comment">//</span></div> | ||
176 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····DataType·find(KeyType·<span·class="keyword">const</span>·&·key)·<span·class="keyword">const</span>;</div> | ||
177 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····DataType·add(KeyType·<span·class="keyword">const</span>·&·key,·DataType·<span·class="keyword">const</span>·&·data);</div> | ||
178 | <div·class="line"><a·id="l0009 | 175 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> |
176 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno"><a·class="line"·href="a00957.html#aebdd02cef87f646218eed308629e9aed">···96</a></span>····<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00957.html#aebdd02cef87f646218eed308629e9aed">isFaceHole</a>(<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·faceIndex)·<span·class="keyword">const</span>·=·0;</div> | ||
179 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span><span·class="keyword">private</span>:</div> | ||
180 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····<span·class="keyword">typedef</span>·std::map<KeyType,·DataType>·MapType;</div> | ||
181 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div> | ||
182 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····MapType·_map;</div> | ||
183 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span> | 177 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> |
178 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno"><a·class="line"·href="a00957.html#a46acc55c125fe8d843fd2b74c582abec">···99</a></span>····<span·class="keyword">virtual</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00957.html#a46acc55c125fe8d843fd2b74c582abec">getFaceSize</a>(<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·faceIndex)·<span·class="keyword">const</span>·=·0;</div> | ||
179 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> | ||
180 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div> | ||
181 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> | ||
182 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno"><a·class="line"·href="a00957.html#ac8c29cf2fda93d2c3408f80e8371d375">··113</a></span>····<span·class="keyword">virtual</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00957.html#ac8c29cf2fda93d2c3408f80e8371d375">getFaceVertexIndices</a>(<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·faceIndex,</div> | ||
183 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>····················<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·vertexIndices[])·<span·class="keyword">const</span>·=·0;</div> | ||
Max diff block lines reached; 9886/49126 bytes (20.12%) of diff not shown. |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | surfaceFactory | 5 | surfaceFactoryMeshAdapter.h |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·2021·Pixar | 8 | 2//·Copyright·2021·Pixar |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
Offset 24, 131 lines modified | Offset 24, 179 lines modified | ||
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24 | 30 | 24 |
31 | 25#ifndef·OPENSUBDIV3_BFR_SURFACE_FACTORY_ | 31 | 25#ifndef·OPENSUBDIV3_BFR_SURFACE_FACTORY_ADAPTER_H |
32 | 26#define·OPENSUBDIV3_BFR_SURFACE_FACTORY_ | 32 | 26#define·OPENSUBDIV3_BFR_SURFACE_FACTORY_ADAPTER_H |
33 | 27 | 33 | 27 |
34 | 28#include·"../version.h" | 34 | 28#include·"../version.h" |
35 | 29 | 35 | 29 |
36 | 30#include· | 36 | 30#include·<cstdint> |
37 | 31 | 37 | 31 |
38 | 32#include·<map> | ||
39 | 3 | 38 | 32namespace·_.O_.p_.e_.n_.S_.u_.b_.d_.i_.v·{ |
39 | 33namespace·OPENSUBDIV_VERSION·{ | ||
40 | 34 | 40 | 34 |
41 | 35namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ | ||
42 | 36namespace·OPENSUBDIV_VERSION·{ | ||
43 | 37 | ||
44 | 3 | 41 | 35namespace·Bfr·{ |
45 | 39 | ||
46 | 52// | ||
47 | 53//·Initial/expected·use·requires·simple·searches·of·and·additions·to·the | ||
48 | 54//·cache·by·the·SurfaceFactory·or·its·Builders.·Longer·term,·with·the | ||
49 | 55//·possibility·of·instances·of·caches·being·shared·between·meshes·and | ||
50 | 56//·factories,·additional·options·and/or·public·methods·may·be·warranted | ||
51 | 42 | 36 | |
43 | 37class·VertexDescriptor; | ||
44 | 38 | ||
45 | 43//·SurfaceFactoryMeshAdapter·is·an·abstract·class·that·defines·the·interface | ||
46 | 44//·through·which·subclasses·of·SurfaceFactory·adapt·to·a·connected·mesh | ||
47 | 45//·representation.·The·interface·defines·methods·that·describe·the·mesh | ||
48 | 46//·topology·and·control·indices·in·the·neighborhood·of·a·mesh·--·from | ||
49 | 47//·which·the·SurfaceFactory·to·identifies·an·appropriate·limit·surface. | ||
52 | 50 | 48// | |
51 | 49//·SurfaceFactoryMeshAdapter·methods·require·a·subclass·to·provide·a·complete | ||
52 | 50//·description·of·the·topology·around·a·base·face,·as·well·as·indices | ||
53 | 51//·associated·with·it·(both·vertex·and·face-varying).·The·intent·here·is | ||
54 | 52//·to·keep·the·number·of·methods·required·to·a·minimum,·and·also·to·minimize | ||
55 | 53//·the·number·of·invocations·required·by·the·factory. | ||
56 | 54// | ||
57 | 55//·With·the·need·to·support·both·linear·and·non-linear·cases·(for·which | ||
58 | 56//·linear·is·trivial·by·comparison)·and·the·limit·surface·for·both·vertex | ||
59 | 57//·and·face-varying·topologies,·the·result·is·a·small·set·of·methods | ||
60 | 58//·covering·this·matrix·of·functionality. | ||
61 | 59// | ||
62 | 60//·Since·face-varying·data·may·differ·in·topology·from·the·vertex·data·-- | ||
63 | 61//·with·each·set·of·face-varying·data·potentially·having·its·own·unique | ||
64 | 62//·topology·--·sets·of·face-varying·data·are·uniquely·distinguished·by·an | ||
65 | 63//·associated·integer·(a·face-varying·ID). | ||
66 | 64// | ||
53 | _\x8 | 67 | _\x86_.5class·_.S_.u_.r_.f_.a_.c_.e_.F_.a_.c_.t_.o_.r_.y_.M_.e_.s_.h_.A_.d_.a_.p_.t_.e_.r·{ |
54 | 6 | 68 | 66public: |
69 | _\x86_\x88·typedef·int·_\x8I_\x8n_\x8d_\x8e_\x8x; | ||
70 | 69 | ||
71 | _\x88_\x80·typedef·std::intptr_t·_\x8F_\x8V_\x8a_\x8r_\x8I_\x8D; | ||
72 | 81 | ||
55 | _\x86_\x81·_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8C_\x8a_\x8c_\x8h_\x8e(); | ||
56 | _\x86_\x82·virtual·_\x8~_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8C_\x8a_\x8c_\x8h_\x8e(); | ||
57 | 63 | ||
58 | _\x86_\x84·_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8C_\x8a_\x8c_\x8h_\x8e(_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8C_\x8a_\x8c_\x8h_\x8e·const·&)·=·delete; | ||
59 | _\x86_\x85·_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8C_\x8a_\x8c_\x8h_\x8e·&·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8C_\x8a_\x8c_\x8h_\x8e·const·&)·=·delete; | ||
60 | 66 | ||
61 | 73 | 82protected: | |
74 | 84·_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8M_\x8e_\x8s_\x8h_\x8A_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r()·{·} | ||
75 | 85·virtual·_\x8~_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8M_\x8e_\x8s_\x8h_\x8A_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r()·{·} | ||
76 | 87 | ||
62 | 69·//·Access·restricted·to·the·Factory,·its·Builders,·etc. | ||
63 | 70·friend·class·_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y; | ||
64 | 71 | ||
65 | 72·typedef·std::uint64_t·KeyType; | ||
66 | 73·typedef·internal::IrregularPatchSharedPtr·DataType; | ||
67 | 75 | ||
68 | 77 | 88protected: | |
78 | 90 | ||
79 | 94 | ||
80 | _\x89_\x86·virtual·bool·_\x8i_\x8s_\x8F_\x8a_\x8c_\x8e_\x8H_\x8o_\x8l_\x8e(_\x8I_\x8n_\x8d_\x8e_\x8x·faceIndex)·const·=·0; | ||
81 | 97 | ||
82 | _\x89_\x89·virtual·int·_\x8g_\x8e_\x8t_\x8F_\x8a_\x8c_\x8e_\x8S_\x8i_\x8z_\x8e(_\x8I_\x8n_\x8d_\x8e_\x8x·faceIndex)·const·=·0; | ||
83 | 101 | ||
84 | 103 | ||
85 | 111 | ||
86 | _\x81_\x81_\x83·virtual·int·_\x8g_\x8e_\x8t_\x8F_\x8a_\x8c_\x8e_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s(_\x8I_\x8n_\x8d_\x8e_\x8x·faceIndex, | ||
87 | 114·_\x8I_\x8n_\x8d_\x8e_\x8x·vertexIndices[])·const·=·0; | ||
69 | 78·size_t·Size()·const·{·return·_map.size();·} | ||
70 | 79 | ||
71 | 80·// | ||
72 | 81·//·Potential·overrides·by·subclasses·for·thread-safety: | ||
73 | 82·// | ||
74 | 83·virtual·DataType·Find(KeyType·const·&·key)·const; | ||
75 | 84·virtual·DataType·Add(KeyType·const·&·key,·DataType·const·&·data); | ||
76 | 85 | ||
77 | 86·// | ||
78 | 87·//·Common·implementation·used·by·all·subclasses: | ||
79 | 88·// | ||
80 | 89·DataType·find(KeyType·const·&·key)·const; | ||
81 | 90·DataType·add(KeyType·const·&·key,·DataType·const·&·data); | ||
82 | 92 | ||
83 | 93private: | ||
84 | 94·typedef·std::map<KeyType,·DataType>·MapType; | ||
85 | 95 | ||
86 | 96·MapType·_map; | ||
87 | 97}; | ||
88 | 98 | ||
89 | 113//·Separate·read·and·write·locks·are·provided·to·support·mutex·types | ||
90 | 114//·allowing·shared·(read)·or·exclusive·(write)·access. | ||
91 | 115 | 88 | 115 |
89 | _\x81_\x81_\x87·virtual·int·_\x8g_\x8e_\x8t_\x8F_\x8a_\x8c_\x8e_\x8F_\x8V_\x8a_\x8r_\x8V_\x8a_\x8l_\x8u_\x8e_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s(_\x8I_\x8n_\x8d_\x8e_\x8x·faceIndex, | ||
90 | 118·_\x8F_\x8V_\x8a_\x8r_\x8I_\x8D·fvarID,·_\x8I_\x8n_\x8d_\x8e_\x8x·fvarValueIndices[])·const·=·0; | ||
91 | 120 | ||
92 | 116template·<class·MUTEX_TYPE,·class·READ_LOCK_GUARD_TYPE, | ||
93 | 117·class·WRITE_LOCK_GUARD_TYPE> | ||
Max diff block lines reached; 8841/18009 bytes (49.09%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/bfr/surfaceFactory | 8 | <title>OpenSubdiv:·opensubdiv/bfr/surfaceFactory.h·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 90, 26 lines modified | Offset 90, 33 lines modified | ||
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#nested-classes">Classes</a>·| | 94 | <a·href="#nested-classes">Classes</a>·| |
95 | <a·href="#namespaces">Namespaces</a>··</div> | 95 | <a·href="#namespaces">Namespaces</a>··</div> |
96 | ··<div·class="headertitle"><div·class="title">surfaceFactory | 96 | ··<div·class="headertitle"><div·class="title">surfaceFactory.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·"<a·class="el"·href="a00689_source.html">../bfr/surface.h</a>"</code><br·/> | ||
101 | <code>#include·"<a·class="el"·href="a00683_source.html">../bfr/surfaceFactoryMeshAdapter.h</a>"</code><br·/> | ||
102 | <code>#include·"<a·class="el"·href="a00773_source.html">../sdc/options.h</a>"</code><br·/> | ||
103 | <code>#include·"<a·class="el"·href="a01484_source.html">../sdc/types.h</a>"</code><br·/> | ||
100 | <code>#include·<cstdint></code><br·/> | 104 | <code>#include·<cstdint></code><br·/> |
101 | </div> | 105 | </div> |
102 | <p><a·href="a00686_source.html">Go·to·the·source·code·of·this·file.</a></p> | 106 | <p><a·href="a00686_source.html">Go·to·the·source·code·of·this·file.</a></p> |
103 | <table·class="memberdecls"> | 107 | <table·class="memberdecls"> |
104 | <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> |
105 | Classes</h2></td></tr> | 109 | Classes</h2></td></tr> |
106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a009 | 110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00941.html">SurfaceFactory</a></td></tr> |
111 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Base·class·providing·initialization·of·a·<a·class="el"·href="a00933.html"·title="Encapsulates·the·limit·surface·for·a·face·of·a·mesh.">Surface</a>·for·each·face·of·a·mesh.··<a·href="a00941.html#details">More...</a><br·/></td></tr> | ||
112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
113 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00945.html">SurfaceFactory::Options</a></td></tr> | ||
107 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 114 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Simple·set·of·options·assigned·to·instances·of·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>.··<a·href="a00945.html#details">More...</a><br·/></td></tr> |
108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
109 | </table><table·class="memberdecls"> | 116 | </table><table·class="memberdecls"> |
110 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 117 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
111 | Namespaces</h2></td></tr> | 118 | Namespaces</h2></td></tr> |
112 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 119 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 120 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
114 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 121 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
Offset 118, 13 lines modified | Offset 125, 13 lines modified | ||
118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 125 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
119 | </table> | 126 | </table> |
120 | </div><!--·contents·--> | 127 | </div><!--·contents·--> |
121 | </div><!--·doc-content·--> | 128 | </div><!--·doc-content·--> |
122 | <!--·start·footer·part·--> | 129 | <!--·start·footer·part·--> |
123 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 130 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
124 | ··<ul> | 131 | ··<ul> |
125 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_fa5edef2a780a73fbfb6a11f1af88ceb.html">bfr</a></li><li·class="navelem"><a·class="el"·href="a00686.html">surfaceFactory | 132 | ····<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> |
126 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 133 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
127 | ··</ul> | 134 | ··</ul> |
128 | </div> | 135 | </div> |
129 | </body> | 136 | </body> |
130 | </html> | 137 | </html> |
Offset 1, 25 lines modified | Offset 1, 32 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
6 | surfaceFactory | 6 | surfaceFactory.h·File·Reference |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·"_\x8._\x8._\x8/_\x8b_\x8f_\x8r_\x8/_\x8s_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8._\x8h" | ||
9 | #include·"_\x8._\x8._\x8/_\x8b_\x8f_\x8r_\x8/_\x8s_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8M_\x8e_\x8s_\x8h_\x8A_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r_\x8._\x8h" | ||
10 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8o_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s_\x8._\x8h" | ||
11 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" | ||
8 | #include·<cstdint> | 12 | #include·<cstdint> |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 13 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 14 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
11 | class· ·_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y | 15 | class· ·_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y |
12 | ······· | 16 | ·······Base·class·providing·initialization·of·a·_.S_.u_.r_.f_.a_.c_.e·for·each·face·of·a |
13 | ········ | 17 | ········mesh.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. |
18 | |||
19 | class· ·_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8:_\x8:_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s | ||
20 | ·······Simple·set·of·options·assigned·to·instances·of·_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
14 | 21 | ||
15 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 22 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
16 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 23 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
17 | 24 | ||
18 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 25 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
19 | 26 | ||
20 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8B_\x8f_\x8r | 27 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8B_\x8f_\x8r |
21 | 28 | ||
22 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 29 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
23 | ····*·_\x8b_\x8f_\x8r | 30 | ····*·_\x8b_\x8f_\x8r |
24 | ····*·_\x8s_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8 | 31 | ····*·_\x8s_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8._\x8h |
25 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 32 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 3 lines modified | Offset 1, 4 lines modified | ||
1 | var·a00686·=·[ | 1 | var·a00686·=·[ |
2 | ····["SurfaceFactory | 2 | ····["SurfaceFactory",·"a00941.html",·"a00941"], |
3 | ····["Options",·"a00945.html",·"a00945"] | ||
3 | ]; | 4 | ]; |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/bfr/surfaceFactory | 8 | <title>OpenSubdiv:·opensubdiv/bfr/surfaceFactory.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 92, 15 lines modified | Offset 92, 15 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title">surfaceFactory | 98 | ··<div·class="headertitle"><div·class="title">surfaceFactory.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <a·href="a00686.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> | 101 | <a·href="a00686.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2021·Pixar</span></div> | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2021·Pixar</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
Offset 119, 149 lines modified | Offset 119, 412 lines modified | ||
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_BFR_SURFACE_FACTORY_ | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_BFR_SURFACE_FACTORY_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_BFR_SURFACE_FACTORY_ | 127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_BFR_SURFACE_FACTORY_H</span></div> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·& | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../bfr/surface.h"</span></div> |
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | ||
133 | <div·class="line"><a·id="l0003 | 132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·"../bfr/surfaceFactoryMeshAdapter.h"</span></div> |
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·"../sdc/options.h"</span></div> | ||
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class=" | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·"../sdc/types.h"</span></div> |
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class=" | 136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#include·<cstdint></span></div> |
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | 137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> | ||
138 | <div·class="line"><a·id="l0003 | 139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
139 | <div·class="line"><a·id="l0003 | 140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">namespace·</span>Bfr·{</div> | ||
142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | ||
140 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="comment">//··SurfaceFactoryMeshAdapter·is·an·abstract·class·that·defines·the·interface</span></div> | ||
141 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="comment">//··through·which·subclasses·of·SurfaceFactory·adapt·to·a·connected·mesh</span></div> | ||
142 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="comment">//··representation.·The·interface·defines·methods·that·describe·the·mesh</span></div> | ||
143 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="comment">//··topology·and·control·indices·in·the·neighborhood·of·a·mesh·--·from</span></div> | ||
144 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="comment">//··which·the·SurfaceFactory·to·identifies·an·appropriate·limit·surface.</span></div> | ||
145 | <div·class="line"><a·id="l0004 | 143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="comment">//</span></div> |
146 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="comment">//··SurfaceFactoryMeshAdapter·methods·require·a·subclass·to·provide·a·complete</span></div> | ||
147 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="comment">//··description·of·the·topology·around·a·base·face,·as·well·as·indices</span></div> | ||
148 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="comment">//··associated·with·it·(both·vertex·and·face-varying).··The·intent·here·is</span></div> | ||
149 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="comment">//··to·keep·the·number·of·methods·required·to·a·minimum,·and·also·to·minimize</span></div> | ||
150 | <div·class="line"><a·id="l000 | 144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="comment">//··Forward·declarations·of·public·and·internal·classes·used·by·factories:</span></div> |
151 | <div·class="line"><a·id="l000 | 145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="comment">//</span></div> |
152 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="comment">//··With·the·need·to·support·both·linear·and·non-linear·cases·(for·which</span></div> | ||
153 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="comment">//··linear·is·trivial·by·comparison)·and·the·limit·surface·for·both·vertex</span></div> | ||
154 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="comment">//··and·face-varying·topologies,·the·result·is·a·small·set·of·methods</span></div> | ||
155 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">//··covering·this·matrix·of·functionality.</span></div> | ||
156 | <div·class="line"><a·id="l000 | 146 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">class·</span>SurfaceFactoryCache;</div> |
157 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="comment">//··Since·face-varying·data·may·differ·in·topology·from·the·vertex·data·--</span></div> | ||
158 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="comment">//··with·each·set·of·face-varying·data·potentially·having·its·own·unique</span></div> | ||
159 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="comment">//··topology·--·sets·of·face-varying·data·are·uniquely·distinguished·by·an</span></div> | ||
160 | <div·class="line"><a·id="l000 | 147 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">class·</span>FaceTopology;</div> |
161 | <div·class="line"><a·id="l000 | 148 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="keyword">class·</span>FaceSurface;</div> |
149 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
162 | <div·class="foldopen"·id="foldopen00 | 150 | <div·class="foldopen"·id="foldopen00103"·data-start="{"·data-end="};"> |
163 | <div·class="line"><a·id="l00 | 151 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno"><a·class="line"·href="a00941.html">··103</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a00941.html">SurfaceFactory</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a00957.html">SurfaceFactoryMeshAdapter</a>·{</div> |
164 | <div·class="line"><a·id="l00 | 152 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span><span·class="keyword">public</span>:</div> |
153 | <div·class="foldopen"·id="foldopen00116"·data-start="{"·data-end="};"> | ||
154 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno"><a·class="line"·href="a00945.html">··116</a></span>····<span·class="keyword">class·</span><a·class="code·hl_class"·href="a00945.html">Options</a>·{</div> | ||
165 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">···68</a></span>····<span·class="keyword">typedef</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>;</div> | ||
166 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | ||
167 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a00957.html#af98288d7b5176d7295be622a10c6c64e">···80</a></span>····<span·class="keyword">typedef</span>·std::intptr_t·<a·class="code·hl_typedef"·href="a00957.html#af98288d7b5176d7295be622a10c6c64e">FVarID</a>;</div> | ||
168 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> | ||
169 | <div·class="line"><a·id="l00 | 155 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>····<span·class="keyword">public</span>:</div> |
156 | <div·class="foldopen"·id="foldopen00118"·data-start="{"·data-end="}"> | ||
157 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno"><a·class="line"·href="a00945.html#a28d39a844c3a37ab61d32ab7c6352f09">··118</a></span>········<a·class="code·hl_function"·href="a00945.html#a28d39a844c3a37ab61d32ab7c6352f09">Options</a>()·:·_dfltFVarID(-1),·_externCache(0),·_enableCache(true),</div> | ||
158 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>····················_approxLevelSmooth(2),·_approxLevelSharp(6)·{·}</div> | ||
159 | </div> | ||
170 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<a·class="code·hl_class"·href="a00957.html">SurfaceFactoryMeshAdapter</a>()·{·}</div> | ||
171 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····<span·class="keyword">virtual</span>·<a·class="code·hl_class"·href="a00957.html">~SurfaceFactoryMeshAdapter</a>()·{·}</div> | ||
172 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> | ||
173 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span><span·class="keyword">protected</span>:</div> | ||
174 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> | ||
175 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> | ||
176 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno"><a·class="line"·href="a00957.html#aebdd02cef87f646218eed308629e9aed">···96</a></span>····<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00957.html#aebdd02cef87f646218eed308629e9aed">isFaceHole</a>(<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·faceIndex)·<span·class="keyword">const</span>·=·0;</div> | ||
177 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> | ||
178 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno"><a·class="line"·href="a00957.html#a46acc55c125fe8d843fd2b74c582abec">···99</a></span>····<span·class="keyword">virtual</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00957.html#a46acc55c125fe8d843fd2b74c582abec">getFaceSize</a>(<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·faceIndex)·<span·class="keyword">const</span>·=·0;</div> | ||
179 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> | ||
180 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div> | ||
181 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> | ||
182 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno"><a·class="line"·href="a00957.html#ac8c29cf2fda93d2c3408f80e8371d375">··113</a></span>····<span·class="keyword">virtual</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00957.html#ac8c29cf2fda93d2c3408f80e8371d375">getFaceVertexIndices</a>(<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·faceIndex,</div> | ||
183 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>····················<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·vertexIndices[])·<span·class="keyword">const</span>·=·0;</div> | ||
184 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>·</div> | ||
185 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno"><a·class="line"·href="a00957.html#aba5c13d35cdaae43f2a1b4798868747a">··117</a></span>····<span·class="keyword">virtual</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00957.html#aba5c13d35cdaae43f2a1b4798868747a">getFaceFVarValueIndices</a>(<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·faceIndex,</div> | ||
186 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>····················<a·class="code·hl_typedef"·href="a00957.html#af98288d7b5176d7295be622a10c6c64e">FVarID</a>·fvarID,·<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·fvarValueIndices[])·<span·class="keyword">const</span>·=·0;</div> | ||
187 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div> | 160 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div> |
188 | <div·class="line"><a·id="l0012 | 161 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>········<a·class="code·hl_class"·href="a00945.html">Options</a>·&·<a·class="code·hl_function"·href="a00945.html#a2db0e8ff5143c3a69bf3772bac7bde78">SetDefaultFVarID</a>(<a·class="code·hl_typedef"·hre[·...·truncated·by·diffoscope;·len:·98,·SHA:·ed868d308d9d4ba4ad7b78cf5aa46809cd5f138d32f513f44f5a46c9cd8caa5c·...·]</div> |
162 | <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno"><a·class="line"·href="a00945.html#a51ba21f3605015ed597a25303143c0b1">··125</a></span>········<a·class="code·hl_typedef"·href="a00957.html#af98288d7b5176d7295be622a10c6c64e">FVarID</a>·<a·class="code·hl_function"·href="a00945.html#a51ba21f3605015ed597a25303143c0b1">GetDefaultFVarID</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_dfltFVarID;·}</div> | ||
189 | <div·class="line"><a·id="l0012 | 163 | <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>·</div> |
164 | <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>········<a·class="code·hl_class"·href="a00945.html">Options</a>·&·<a·class="code·hl_function"·href="a00945.html#a14e81c17e41ad591714664008331f41e">EnableCaching</a>(<span·class="keywordtype">bool</span>·on);</div> | ||
165 | <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno"><a·class="line"·href="a00945.html#a2c83835832d46536d097ae6ff32659db">··130</a></span>········<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00945.html#a2c83835832d46536d097ae6ff32659db">IsCachingEnabled</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_enableCache;·}</div> | ||
166 | <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>·</div> | ||
167 | <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>········<a·class="code·hl_class"·href="a00945.html">Options</a>·&·<a·class="code·hl_function"·href="a00945.html#a06af1ca1d903fe5110c962bec75acec7">SetExternalCache</a>(<a·class="code·hl_class"·href="a00949.html">SurfaceFactoryCache</a>·*·c);</div> | ||
168 | <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno"><a·class="line"·href="a00945.html#acd0411b6d29a6acae3826da06d86bd5b">··135</a></span>········<a·class="code·hl_class"·href="a00949.html">SurfaceFactoryCache</a>·*·<a·class="code·hl_function"·href="a00945.html#acd0411b6d29a6acae3826da06d86bd5b">GetExternalCache</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_externCache;·}</div> | ||
169 | <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>·</div> | ||
170 | <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>········<span·class="comment">//··Set·refinement·levels·used·to·approximate·the·limit·surface</span></div> | ||
171 | <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>········<span·class="comment">//··for·smooth·and·sharp·features·(reasonable·defaults·assigned):</span></div> | ||
172 | <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>········<a·class="code·hl_class"·href="a00945.html">Options</a>·&·<a·class="code·hl_function"·href="a00945.html#a1ee6780461b18cc80b5c79b520310079">SetApproxLevelSmooth</a>(<span·class="keywordtype">int</span>·level);</div> | ||
173 | <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno"><a·class="line"·href="a00945.html#a1ff965cb913fbc4716a5985c3d3c60e3">··142</a></span>········<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00945.html#a1ff965cb913fbc4716a5985c3d3c60e3">GetApproxLevelSmooth</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_approxLevelSmooth;·}</div> | ||
174 | <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>·</div> | ||
175 | <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>········<a·class="code·hl_class"·href="a00945.html">Options</a>·&·<a·class="code·hl_function"·href="a00945.html#a391dfc1d3e1d75fc0aa496717784a95e">SetApproxLevelSharp</a>(<span·class="keywordtype">int</span>·level);</div> | ||
Max diff block lines reached; 85325/110611 bytes (77.14%) of diff not shown. |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | surfaceFactory | 5 | surfaceFactory.h |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·2021·Pixar | 8 | 2//·Copyright·2021·Pixar |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
Offset 24, 179 lines modified | Offset 24, 476 lines modified | ||
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24 | 30 | 24 |
31 | 25#ifndef·OPENSUBDIV3_BFR_SURFACE_FACTORY_ | 31 | 25#ifndef·OPENSUBDIV3_BFR_SURFACE_FACTORY_H |
32 | 26#define·OPENSUBDIV3_BFR_SURFACE_FACTORY_ | 32 | 26#define·OPENSUBDIV3_BFR_SURFACE_FACTORY_H |
33 | 27 | 33 | 27 |
34 | 28#include·"../version.h" | 34 | 28#include·"../version.h" |
35 | 29 | 35 | 29 |
36 | 30#include·<cstdint> | ||
37 | 31 | ||
38 | 32namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ | ||
39 | 3 | 36 | 30#include·"../bfr/surface.h" |
37 | 31#include·"../bfr/surfaceFactoryMeshAdapter.h" | ||
38 | 32#include·"../sdc/options.h" | ||
39 | 33#include·"../sdc/types.h" | ||
40 | 34 | 40 | 34 |
41 | 35n | 41 | 35#include·<cstdint> |
42 | 36 | 42 | 36 |
43 | 37namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ | ||
44 | 38namespace·OPENSUBDIV_VERSION·{ | ||
45 | 39 | ||
46 | 40namespace·Bfr·{ | ||
47 | 41 | ||
43 | 37class·VertexDescriptor; | ||
44 | 38 | ||
45 | 43//·SurfaceFactoryMeshAdapter·is·an·abstract·class·that·defines·the·interface | ||
46 | 44//·through·which·subclasses·of·SurfaceFactory·adapt·to·a·connected·mesh | ||
47 | 45//·representation.·The·interface·defines·methods·that·describe·the·mesh | ||
48 | 46//·topology·and·control·indices·in·the·neighborhood·of·a·mesh·--·from | ||
49 | 47//·which·the·SurfaceFactory·to·identifies·an·appropriate·limit·surface. | ||
50 | 4 | 48 | 42// |
49 | 43//·Forward·declarations·of·public·and·internal·classes·used·by·factories: | ||
51 | 49//·SurfaceFactoryMeshAdapter·methods·require·a·subclass·to·provide·a·complete | ||
52 | 50//·description·of·the·topology·around·a·base·face,·as·well·as·indices | ||
53 | 51//·associated·with·it·(both·vertex·and·face-varying).·The·intent·here·is | ||
54 | 52//·to·keep·the·number·of·methods·required·to·a·minimum,·and·also·to·minimize | ||
55 | 53//·the·number·of·invocations·required·by·the·factory. | ||
56 | 50 | 44// | |
51 | 45class·SurfaceFactoryCache; | ||
52 | 46class·FaceTopology; | ||
53 | 47class·FaceSurface; | ||
54 | 48 | ||
55 | _\x81_\x80_\x83class·_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y·:·public·_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8M_\x8e_\x8s_\x8h_\x8A_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r·{ | ||
56 | 104public: | ||
57 | _\x81_\x81_\x86·class·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s·{ | ||
58 | 117·public: | ||
59 | _\x81_\x81_\x88·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s()·:·_dfltFVarID(-1),·_externCache(0),·_enableCache(true), | ||
60 | 119·_approxLevelSmooth(2),·_approxLevelSharp(6)·{·} | ||
57 | 55//·With·the·need·to·support·both·linear·and·non-linear·cases·(for·which | ||
58 | 56//·linear·is·trivial·by·comparison)·and·the·limit·surface·for·both·vertex | ||
59 | 57//·and·face-varying·topologies,·the·result·is·a·small·set·of·methods | ||
60 | 58//·covering·this·matrix·of·functionality. | ||
61 | 59// | ||
62 | 60//·Since·face-varying·data·may·differ·in·topology·from·the·vertex·data·-- | ||
63 | 61//·with·each·set·of·face-varying·data·potentially·having·its·own·unique | ||
64 | 62//·topology·--·sets·of·face-varying·data·are·uniquely·distinguished·by·an | ||
65 | 63//·associated·integer·(a·face-varying·ID). | ||
66 | 64// | ||
67 | _\x86_\x85class·_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8M_\x8e_\x8s_\x8h_\x8A_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r·{ | ||
68 | 66public: | ||
69 | _\x86_\x88·typedef·int·_\x8I_\x8n_\x8d_\x8e_\x8x; | ||
70 | 69 | ||
71 | _\x88_\x80·typedef·std::intptr_t·_\x8F_\x8V_\x8a_\x8r_\x8I_\x8D; | ||
72 | 81 | ||
73 | 82protected: | ||
74 | 84·_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8M_\x8e_\x8s_\x8h_\x8A_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r()·{·} | ||
75 | 85·virtual·_\x8~_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8M_\x8e_\x8s_\x8h_\x8A_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r()·{·} | ||
76 | 87 | ||
77 | 88protected: | ||
78 | 90 | ||
79 | 94 | ||
80 | _\x89_\x86·virtual·bool·_\x8i_\x8s_\x8F_\x8a_\x8c_\x8e_\x8H_\x8o_\x8l_\x8e(_\x8I_\x8n_\x8d_\x8e_\x8x·faceIndex)·const·=·0; | ||
81 | 97 | ||
82 | _\x89_\x89·virtual·int·_\x8g_\x8e_\x8t_\x8F_\x8a_\x8c_\x8e_\x8S_\x8i_\x8z_\x8e(_\x8I_\x8n_\x8d_\x8e_\x8x·faceIndex)·const·=·0; | ||
83 | 101 | ||
84 | 103 | ||
85 | 111 | ||
86 | _\x81_\x81_\x83·virtual·int·_\x8g_\x8e_\x8t_\x8F_\x8a_\x8c_\x8e_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s(_\x8I_\x8n_\x8d_\x8e_\x8x·faceIndex, | ||
87 | 114·_\x8I_\x8n_\x8d_\x8e_\x8x·vertexIndices[])·const·=·0; | ||
88 | 115 | ||
89 | _\x81_\x81_\x87·virtual·int·_\x8g_\x8e_\x8t_\x8F_\x8a_\x8c_\x8e_\x8F_\x8V_\x8a_\x8r_\x8V_\x8a_\x8l_\x8u_\x8e_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s(_\x8I_\x8n_\x8d_\x8e_\x8x·faceIndex, | ||
90 | 118·_\x8F_\x8V_\x8a_\x8r_\x8I_\x8D·fvarID,·_\x8I_\x8n_\x8d_\x8e_\x8x·fvarValueIndices[])·const·=·0; | ||
91 | 120 | 61 | 120 |
92 | 121protected: | ||
93 | 123 | 62 | 123·_.O_.p_.t_.i_.o_.n_.s·&·_.S_.e_.t_.D_.e_.f_.a_.u_.l_.t_.F_.V_.a_.r_.I_.D(_.F_.V_.a_.r_.I_.D·id); |
63 | _\x81_\x82_\x85·_\x8F_\x8V_\x8a_\x8r_\x8I_\x8D·_\x8G_\x8e_\x8t_\x8D_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8F_\x8V_\x8a_\x8r_\x8I_\x8D()·const·{·return·_dfltFVarID;·} | ||
64 | 126 | ||
65 | 128·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s·&·_\x8E_\x8n_\x8a_\x8b_\x8l_\x8e_\x8C_\x8a_\x8c_\x8h_\x8i_\x8n_\x8g(bool·on); | ||
66 | _\x81_\x83_\x80·bool·_\x8I_\x8s_\x8C_\x8a_\x8c_\x8h_\x8i_\x8n_\x8g_\x8E_\x8n_\x8a_\x8b_\x8l_\x8e_\x8d()·const·{·return·_enableCache;·} | ||
67 | 131 | ||
68 | 133·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s·&·_\x8S_\x8e_\x8t_\x8E_\x8x_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8C_\x8a_\x8c_\x8h_\x8e(_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8C_\x8a_\x8c_\x8h_\x8e·*·c); | ||
69 | _\x81_\x83_\x85·_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8C_\x8a_\x8c_\x8h_\x8e·*·_\x8G_\x8e_\x8t_\x8E_\x8x_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8C_\x8a_\x8c_\x8h_\x8e()·const·{·return·_externCache;·} | ||
70 | 136 | ||
71 | 137·//·Set·refinement·levels·used·to·approximate·the·limit·surface | ||
72 | 138·//·for·smooth·and·sharp·features·(reasonable·defaults·assigned): | ||
73 | 140·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s·&·_\x8S_\x8e_\x8t_\x8A_\x8p_\x8p_\x8r_\x8o_\x8x_\x8L_\x8e_\x8v_\x8e_\x8l_\x8S_\x8m_\x8o_\x8o_\x8t_\x8h(int·level); | ||
74 | _\x81_\x84_\x82·int·_\x8G_\x8e_\x8t_\x8A_\x8p_\x8p_\x8r_\x8o_\x8x_\x8L_\x8e_\x8v_\x8e_\x8l_\x8S_\x8m_\x8o_\x8o_\x8t_\x8h()·const·{·return·_approxLevelSmooth;·} | ||
75 | 143 | ||
76 | 145·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s·&·_\x8S_\x8e_\x8t_\x8A_\x8p_\x8p_\x8r_\x8o_\x8x_\x8L_\x8e_\x8v_\x8e_\x8l_\x8S_\x8h_\x8a_\x8r_\x8p(int·level); | ||
77 | _\x81_\x84_\x87·int·_\x8G_\x8e_\x8t_\x8A_\x8p_\x8p_\x8r_\x8o_\x8x_\x8L_\x8e_\x8v_\x8e_\x8l_\x8S_\x8h_\x8a_\x8r_\x8p()·const·{·return·_approxLevelSharp;·} | ||
78 | 148 | ||
79 | 149·private: | ||
80 | 150·//·Member·variables: | ||
81 | 151·_\x8F_\x8V_\x8a_\x8r_\x8I_\x8D·_dfltFVarID; | ||
82 | 152 | ||
83 | 153·_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8C_\x8a_\x8c_\x8h_\x8e·*·_externCache; | ||
84 | 154 | ||
85 | 155·unsigned·char·_enableCache·:·1; | ||
86 | 156·unsigned·char·_approxLevelSmooth; | ||
87 | 157·unsigned·char·_approxLevelSharp; | ||
Max diff block lines reached; 33351/39345 bytes (84.77%) of diff not shown. |
Offset 95, 15 lines modified | Offset 95, 15 lines modified | ||
95 | <a·href="#nested-classes">Classes</a>·| | 95 | <a·href="#nested-classes">Classes</a>·| |
96 | <a·href="#namespaces">Namespaces</a>··</div> | 96 | <a·href="#namespaces">Namespaces</a>··</div> |
97 | ··<div·class="headertitle"><div·class="title">surface.h·File·Reference</div></div> | 97 | ··<div·class="headertitle"><div·class="title">surface.h·File·Reference</div></div> |
98 | </div><!--header--> | 98 | </div><!--header--> |
99 | <div·class="contents"> | 99 | <div·class="contents"> |
100 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 100 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
101 | <code>#include·"../bfr/surfaceData.h"</code><br·/> | 101 | <code>#include·"../bfr/surfaceData.h"</code><br·/> |
102 | <code>#include·"<a·class="el"·href="a0069 | 102 | <code>#include·"<a·class="el"·href="a00692_source.html">../bfr/parameterization.h</a>"</code><br·/> |
103 | <code>#include·"<a·class="el"·href="a00767_source.html">../vtr/array.h</a>"</code><br·/> | 103 | <code>#include·"<a·class="el"·href="a00767_source.html">../vtr/array.h</a>"</code><br·/> |
104 | </div> | 104 | </div> |
105 | <p><a·href="a00689_source.html">Go·to·the·source·code·of·this·file.</a></p> | 105 | <p><a·href="a00689_source.html">Go·to·the·source·code·of·this·file.</a></p> |
106 | <table·class="memberdecls"> | 106 | <table·class="memberdecls"> |
107 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 107 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
108 | Classes</h2></td></tr> | 108 | Classes</h2></td></tr> |
109 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00933.html">Surface<·REAL·></a></td></tr> | 109 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00933.html">Surface<·REAL·></a></td></tr> |
Offset 425, 16 lines modified | Offset 425, 16 lines modified | ||
425 | <div·class="line"><a·id="l00441"·name="l00441"></a><span·class="lineno">··441</span>}·<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> | 425 | <div·class="line"><a·id="l00441"·name="l00441"></a><span·class="lineno">··441</span>}·<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> |
426 | <div·class="line"><a·id="l00442"·name="l00442"></a><span·class="lineno">··442</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> | 426 | <div·class="line"><a·id="l00442"·name="l00442"></a><span·class="lineno">··442</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> |
427 | <div·class="line"><a·id="l00443"·name="l00443"></a><span·class="lineno">··443</span>·</div> | 427 | <div·class="line"><a·id="l00443"·name="l00443"></a><span·class="lineno">··443</span>·</div> |
428 | <div·class="line"><a·id="l00444"·name="l00444"></a><span·class="lineno">··444</span>}·<span·class="comment">//·end·namespace·OpenSubdiv</span></div> | 428 | <div·class="line"><a·id="l00444"·name="l00444"></a><span·class="lineno">··444</span>}·<span·class="comment">//·end·namespace·OpenSubdiv</span></div> |
429 | <div·class="line"><a·id="l00445"·name="l00445"></a><span·class="lineno">··445</span>·</div> | 429 | <div·class="line"><a·id="l00445"·name="l00445"></a><span·class="lineno">··445</span>·</div> |
430 | <div·class="line"><a·id="l00446"·name="l00446"></a><span·class="lineno">··446</span><span·class="preprocessor">#endif·</span><span·class="comment">/*·OPENSUBDIV3_BFR_SURFACE·*/</span><span·class="preprocessor"></span></div> | 430 | <div·class="line"><a·id="l00446"·name="l00446"></a><span·class="lineno">··446</span><span·class="preprocessor">#endif·</span><span·class="comment">/*·OPENSUBDIV3_BFR_SURFACE·*/</span><span·class="preprocessor"></span></div> |
431 | <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> | 431 | <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> |
432 | <div·class="ttc"·id="aa00921_html"><div·class="ttname"><a·href="a00921.html">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Parameterization</a></div><div·class="ttdoc">Simple·class·defining·the·2D·parameterization·of·a·face.</div><div·class="ttdef"><b>Definition</b>·<a·href="a0069 | 432 | <div·class="ttc"·id="aa00921_html"><div·class="ttname"><a·href="a00921.html">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Parameterization</a></div><div·class="ttdoc">Simple·class·defining·the·2D·parameterization·of·a·face.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00692_source.html#l00052">parameterization.h:52</a></div></div> |
433 | <div·class="ttc"·id="aa00921_html_a181e30653909f9d0e0afa92dd44d28ec"><div·class="ttname"><a·href="a00921.html#a181e30653909f9d0e0afa92dd44d28ec">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Parameterization::GetFaceSize</a></div><div·class="ttdeci">int·GetFaceSize()·const</div><div·class="ttdoc">Returns·the·size·(number·of·vertices)·of·the·corresponding·face.</div><div·class="ttdef"><b>Definition</b>·<a·href="a0069 | 433 | <div·class="ttc"·id="aa00921_html_a181e30653909f9d0e0afa92dd44d28ec"><div·class="ttname"><a·href="a00921.html#a181e30653909f9d0e0afa92dd44d28ec">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Parameterization::GetFaceSize</a></div><div·class="ttdeci">int·GetFaceSize()·const</div><div·class="ttdoc">Returns·the·size·(number·of·vertices)·of·the·corresponding·face.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00692_source.html#l00101">parameterization.h:101</a></div></div> |
434 | <div·class="ttc"·id="aa00933_html"><div·class="ttname"><a·href="a00933.html">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface</a></div><div·class="ttdoc">Encapsulates·the·limit·surface·for·a·face·of·a·mesh.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00689_source.html#l00059">surface.h:59</a></div></div> | 434 | <div·class="ttc"·id="aa00933_html"><div·class="ttname"><a·href="a00933.html">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface</a></div><div·class="ttdoc">Encapsulates·the·limit·surface·for·a·face·of·a·mesh.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00689_source.html#l00059">surface.h:59</a></div></div> |
435 | <div·class="ttc"·id="aa00933_html_a133ed4fbaddeb2a8036915b14cb21cff"><div·class="ttname"><a·href="a00933.html#a133ed4fbaddeb2a8036915b14cb21cff">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::GetNumControlPoints</a></div><div·class="ttdeci">int·GetNumControlPoints()·const</div><div·class="ttdoc">Return·the·number·of·control·points·affecting·the·Surface.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00689_source.html#l00137">surface.h:137</a></div></div> | 435 | <div·class="ttc"·id="aa00933_html_a133ed4fbaddeb2a8036915b14cb21cff"><div·class="ttname"><a·href="a00933.html#a133ed4fbaddeb2a8036915b14cb21cff">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::GetNumControlPoints</a></div><div·class="ttdeci">int·GetNumControlPoints()·const</div><div·class="ttdoc">Return·the·number·of·control·points·affecting·the·Surface.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00689_source.html#l00137">surface.h:137</a></div></div> |
436 | <div·class="ttc"·id="aa00933_html_a1563dc3496644c732d9644a1f7133d0e"><div·class="ttname"><a·href="a00933.html#a1563dc3496644c732d9644a1f7133d0e">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::Evaluate</a></div><div·class="ttdeci">void·Evaluate(REAL·const·uv[2],·REAL·const·patchPoints[],·PointDescriptor·const·&pointDesc,·REAL·P[])·const</div><div·class="ttdoc">Evaluation·of·position.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00689_source.html#l00372">surface.h:372</a></div></div> | 436 | <div·class="ttc"·id="aa00933_html_a1563dc3496644c732d9644a1f7133d0e"><div·class="ttname"><a·href="a00933.html#a1563dc3496644c732d9644a1f7133d0e">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::Evaluate</a></div><div·class="ttdeci">void·Evaluate(REAL·const·uv[2],·REAL·const·patchPoints[],·PointDescriptor·const·&pointDesc,·REAL·P[])·const</div><div·class="ttdoc">Evaluation·of·position.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00689_source.html#l00372">surface.h:372</a></div></div> |
437 | <div·class="ttc"·id="aa00933_html_a181e30653909f9d0e0afa92dd44d28ec"><div·class="ttname"><a·href="a00933.html#a181e30653909f9d0e0afa92dd44d28ec">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::GetFaceSize</a></div><div·class="ttdeci">int·GetFaceSize()·const</div><div·class="ttdoc">Return·the·size·of·the·face.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00689_source.html#l00109">surface.h:109</a></div></div> | 437 | <div·class="ttc"·id="aa00933_html_a181e30653909f9d0e0afa92dd44d28ec"><div·class="ttname"><a·href="a00933.html#a181e30653909f9d0e0afa92dd44d28ec">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::GetFaceSize</a></div><div·class="ttdeci">int·GetFaceSize()·const</div><div·class="ttdoc">Return·the·size·of·the·face.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00689_source.html#l00109">surface.h:109</a></div></div> |
438 | <div·class="ttc"·id="aa00933_html_a193470573424fe6b2e91f317509b5897"><div·class="ttname"><a·href="a00933.html#a193470573424fe6b2e91f317509b5897">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::IsRegular</a></div><div·class="ttdeci">bool·IsRegular()·const</div><div·class="ttdoc">Return·if·the·Surface·is·a·single·regular·patch.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00689_source.html#l00112">surface.h:112</a></div></div> | 438 | <div·class="ttc"·id="aa00933_html_a193470573424fe6b2e91f317509b5897"><div·class="ttname"><a·href="a00933.html#a193470573424fe6b2e91f317509b5897">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::IsRegular</a></div><div·class="ttdeci">bool·IsRegular()·const</div><div·class="ttdoc">Return·if·the·Surface·is·a·single·regular·patch.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00689_source.html#l00112">surface.h:112</a></div></div> |
439 | <div·class="ttc"·id="aa00933_html_a22604a4489ed5fdedb0ef272de0fa637"><div·class="ttname"><a·href="a00933.html#a22604a4489ed5fdedb0ef272de0fa637">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::BoundControlPoints</a></div><div·class="ttdeci">void·BoundControlPoints(REAL·const·controlPoints[],·PointDescriptor·const·&controlPointDesc,·REAL·minExtent[],·REAL·maxExtent[])·const</div><div·class="ttdoc">Compute·bounds·of·control·points·from·a·local·array.</div></div> | 439 | <div·class="ttc"·id="aa00933_html_a22604a4489ed5fdedb0ef272de0fa637"><div·class="ttname"><a·href="a00933.html#a22604a4489ed5fdedb0ef272de0fa637">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::BoundControlPoints</a></div><div·class="ttdeci">void·BoundControlPoints(REAL·const·controlPoints[],·PointDescriptor·const·&controlPointDesc,·REAL·minExtent[],·REAL·maxExtent[])·const</div><div·class="ttdoc">Compute·bounds·of·control·points·from·a·local·array.</div></div> |
440 | <div·class="ttc"·id="aa00933_html_a2666f2fe497e68b29337056deda176a9"><div·class="ttname"><a·href="a00933.html#a2666f2fe497e68b29337056deda176a9">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::GetControlPointIndices</a></div><div·class="ttdeci">int·GetControlPointIndices(Index·meshPointIndices[])·const</div><div·class="ttdoc">Identify·indices·of·control·points·in·the·mesh.</div></div> | 440 | <div·class="ttc"·id="aa00933_html_a2666f2fe497e68b29337056deda176a9"><div·class="ttname"><a·href="a00933.html#a2666f2fe497e68b29337056deda176a9">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::GetControlPointIndices</a></div><div·class="ttdeci">int·GetControlPointIndices(Index·meshPointIndices[])·const</div><div·class="ttdoc">Identify·indices·of·control·points·in·the·mesh.</div></div> |
Offset 457, 15 lines modified | Offset 457, 15 lines modified | ||
457 | <div·class="ttc"·id="aa00933_html_afc66676db4f0e7834e8b0fa77c7c1b46"><div·class="ttname"><a·href="a00933.html#afc66676db4f0e7834e8b0fa77c7c1b46">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::EvaluateStencil</a></div><div·class="ttdeci">int·EvaluateStencil(REAL·const·uv[2],·REAL·sP[])·const</div><div·class="ttdoc">Evaluation·of·the·limit·stencil·for·position.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00689_source.html#l00416">surface.h:416</a></div></div> | 457 | <div·class="ttc"·id="aa00933_html_afc66676db4f0e7834e8b0fa77c7c1b46"><div·class="ttname"><a·href="a00933.html#afc66676db4f0e7834e8b0fa77c7c1b46">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::EvaluateStencil</a></div><div·class="ttdeci">int·EvaluateStencil(REAL·const·uv[2],·REAL·sP[])·const</div><div·class="ttdoc">Evaluation·of·the·limit·stencil·for·position.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00689_source.html#l00416">surface.h:416</a></div></div> |
458 | <div·class="ttc"·id="aa00937_html"><div·class="ttname"><a·href="a00937.html">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::PointDescriptor</a></div><div·class="ttdoc">Simple·struct·defining·the·size·and·stride·of·points·in·arrays.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00689_source.html#l00063">surface.h:63</a></div></div> | 458 | <div·class="ttc"·id="aa00937_html"><div·class="ttname"><a·href="a00937.html">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::PointDescriptor</a></div><div·class="ttdoc">Simple·struct·defining·the·size·and·stride·of·points·in·arrays.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00689_source.html#l00063">surface.h:63</a></div></div> |
459 | <div·class="ttc"·id="aa00937_html_a08f66a6870d87afcd5dc1b60d1019692"><div·class="ttname"><a·href="a00937.html#a08f66a6870d87afcd5dc1b60d1019692">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::PointDescriptor::stride</a></div><div·class="ttdeci">int·stride</div><div·class="ttdef"><b>Definition</b>·<a·href="a00689_source.html#l00068">surface.h:68</a></div></div> | 459 | <div·class="ttc"·id="aa00937_html_a08f66a6870d87afcd5dc1b60d1019692"><div·class="ttname"><a·href="a00937.html#a08f66a6870d87afcd5dc1b60d1019692">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::PointDescriptor::stride</a></div><div·class="ttdeci">int·stride</div><div·class="ttdef"><b>Definition</b>·<a·href="a00689_source.html#l00068">surface.h:68</a></div></div> |
460 | <div·class="ttc"·id="aa00937_html_a439227feff9d7f55384e8780cfc2eb82"><div·class="ttname"><a·href="a00937.html#a439227feff9d7f55384e8780cfc2eb82">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::PointDescriptor::size</a></div><div·class="ttdeci">int·size</div><div·class="ttdef"><b>Definition</b>·<a·href="a00689_source.html#l00068">surface.h:68</a></div></div> | 460 | <div·class="ttc"·id="aa00937_html_a439227feff9d7f55384e8780cfc2eb82"><div·class="ttname"><a·href="a00937.html#a439227feff9d7f55384e8780cfc2eb82">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::PointDescriptor::size</a></div><div·class="ttdeci">int·size</div><div·class="ttdef"><b>Definition</b>·<a·href="a00689_source.html#l00068">surface.h:68</a></div></div> |
461 | <div·class="ttc"·id="aa00937_html_a69d66788e741236b1176159a1d609189"><div·class="ttname"><a·href="a00937.html#a69d66788e741236b1176159a1d609189">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::PointDescriptor::PointDescriptor</a></div><div·class="ttdeci">PointDescriptor(int·n)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00689_source.html#l00065">surface.h:65</a></div></div> | 461 | <div·class="ttc"·id="aa00937_html_a69d66788e741236b1176159a1d609189"><div·class="ttname"><a·href="a00937.html#a69d66788e741236b1176159a1d609189">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::PointDescriptor::PointDescriptor</a></div><div·class="ttdeci">PointDescriptor(int·n)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00689_source.html#l00065">surface.h:65</a></div></div> |
462 | <div·class="ttc"·id="aa00937_html_a6e6069bdfef867e798fe863f40f4274a"><div·class="ttname"><a·href="a00937.html#a6e6069bdfef867e798fe863f40f4274a">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::PointDescriptor::PointDescriptor</a></div><div·class="ttdeci">PointDescriptor(int·n,·int·m)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00689_source.html#l00066">surface.h:66</a></div></div> | 462 | <div·class="ttc"·id="aa00937_html_a6e6069bdfef867e798fe863f40f4274a"><div·class="ttname"><a·href="a00937.html#a6e6069bdfef867e798fe863f40f4274a">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::PointDescriptor::PointDescriptor</a></div><div·class="ttdeci">PointDescriptor(int·n,·int·m)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00689_source.html#l00066">surface.h:66</a></div></div> |
463 | <div·class="ttc"·id="aa00937_html_ac60ab7fa3966237e2de95cc60defa4de"><div·class="ttname"><a·href="a00937.html#ac60ab7fa3966237e2de95cc60defa4de">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::PointDescriptor::PointDescriptor</a></div><div·class="ttdeci">PointDescriptor()</div><div·class="ttdef"><b>Definition</b>·<a·href="a00689_source.html#l00064">surface.h:64</a></div></div> | 463 | <div·class="ttc"·id="aa00937_html_ac60ab7fa3966237e2de95cc60defa4de"><div·class="ttname"><a·href="a00937.html#ac60ab7fa3966237e2de95cc60defa4de">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::PointDescriptor::PointDescriptor</a></div><div·class="ttdeci">PointDescriptor()</div><div·class="ttdef"><b>Definition</b>·<a·href="a00689_source.html#l00064">surface.h:64</a></div></div> |
464 | <div·class="ttc"·id="aa00941_html"><div·class="ttname"><a·href="a00941.html">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactory</a></div><div·class="ttdoc">Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.</div><div·class="ttdef"><b>Definition</b>·<a·href="a0068 | 464 | <div·class="ttc"·id="aa00941_html"><div·class="ttname"><a·href="a00941.html">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactory</a></div><div·class="ttdoc">Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00686_source.html#l00103">surfaceFactory.h:103</a></div></div> |
465 | <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> | 465 | <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> |
466 | </div><!--·fragment·--></div><!--·contents·--> | 466 | </div><!--·fragment·--></div><!--·contents·--> |
467 | </div><!--·doc-content·--> | 467 | </div><!--·doc-content·--> |
468 | <!--·start·footer·part·--> | 468 | <!--·start·footer·part·--> |
469 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 469 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
470 | ··<ul> | 470 | ··<ul> |
471 | ····<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="a00689.html">surface.h</a></li> | 471 | ····<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="a00689.html">surface.h</a></li> |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/bfr/ | 8 | <title>OpenSubdiv:·opensubdiv/bfr/parameterization.h·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 90, 47 lines modified | Offset 90, 41 lines modified | ||
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#nested-classes">Classes</a>·| | 94 | <a·href="#nested-classes">Classes</a>·| |
95 | <a·href="#namespaces">Namespaces</a>··</div> | 95 | <a·href="#namespaces">Namespaces</a>··</div> |
96 | ··<div·class="headertitle"><div·class="title"> | 96 | ··<div·class="headertitle"><div·class="title">parameterization.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·"<a·class="el"·href="a0 | 100 | <code>#include·"<a·class="el"·href="a01484_source.html">../sdc/types.h</a>"</code><br·/> |
101 | <code>#include·"<a·class="el"·href="a00683_source.html">../bfr/surfaceFactoryCache.h</a>"</code><br·/> | ||
102 | </div> | 101 | </div> |
103 | <p><a·href="a00692_source.html">Go·to·the·source·code·of·this·file.</a></p> | 102 | <p><a·href="a00692_source.html">Go·to·the·source·code·of·this·file.</a></p> |
104 | <table·class="memberdecls"> | 103 | <table·class="memberdecls"> |
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
106 | Classes</h2></td></tr> | 105 | Classes</h2></td></tr> |
107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a0092 | 106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00921.html">Parameterization</a></td></tr> |
107 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Simple·class·defining·the·2D·parameterization·of·a·face.··<a·href="a00921.html#details">More...</a><br·/></td></tr> | ||
108 | <tr·class="memdesc:"><td·class="mdescLeft"> </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> | ||
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00929.html">RefinerSurfaceFactory<·CACHE_TYPE·></a></td></tr> | ||
111 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Template·for·concrete·subclasses·of·<a·class="el"·href="a00925.html"·title="Intermediate·subclass·of·SurfaceFactory·with·Far::TopologyRefiner·as·the·mesh.">RefinerSurfaceFactoryBase</a>.··<a·href="a00929.html#details">More...</a><br·/></td></tr> | ||
112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
113 | </table><table·class="memberdecls"> | 109 | </table><table·class="memberdecls"> |
114 | <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> |
115 | Namespaces</h2></td></tr> | 111 | Namespaces</h2></td></tr> |
116 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 112 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
118 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 114 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
119 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
120 | <tr·class="memitem:a00908"·id="r_a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr> | ||
121 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
122 | <tr·class="memitem:a00907"·id="r_a00907"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00907.html">OpenSubdiv::OPENSUBDIV_VERSION::Bfr</a></td></tr> | 116 | <tr·class="memitem:a00907"·id="r_a00907"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00907.html">OpenSubdiv::OPENSUBDIV_VERSION::Bfr</a></td></tr> |
123 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
124 | </table> | 118 | </table> |
125 | </div><!--·contents·--> | 119 | </div><!--·contents·--> |
126 | </div><!--·doc-content·--> | 120 | </div><!--·doc-content·--> |
127 | <!--·start·footer·part·--> | 121 | <!--·start·footer·part·--> |
128 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 122 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
129 | ··<ul> | 123 | ··<ul> |
130 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_fa5edef2a780a73fbfb6a11f1af88ceb.html">bfr</a></li><li·class="navelem"><a·class="el"·href="a00692.html"> | 124 | ····<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">parameterization.h</a></li> |
131 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 125 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
132 | ··</ul> | 126 | ··</ul> |
133 | </div> | 127 | </div> |
134 | </body> | 128 | </body> |
135 | </html> | 129 | </html> |
Offset 1, 31 lines modified | Offset 1, 24 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
6 | 6 | parameterization.h·File·Reference | |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" | ||
8 | #include·"_\x8._\x8._\x8/_\x8b_\x8f_\x8r_\x8/_\x8s_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8._\x8h" | ||
9 | #include·"_\x8._\x8._\x8/_\x8b_\x8f_\x8r_\x8/_\x8s_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8C_\x8a_\x8c_\x8h_\x8e_\x8._\x8h" | ||
10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
11 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 10 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
11 | class· ·_\x8P_\x8a_\x8r_\x8a_\x8m_\x8e_\x8t_\x8e_\x8r_\x8i_\x8z_\x8a_\x8t_\x8i_\x8o_\x8n | ||
12 | ·······Simple·class·defining·the·2D·parameterization·of·a·face.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
12 | class· ·_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8B_\x8a_\x8s_\x8e | ||
13 | ·······Intermediate·subclass·of·_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y·with·_\x8F_\x8a_\x8r_\x8:_\x8:_\x8T_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r·as | ||
14 | ········the·mesh.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
15 | |||
16 | class· ·_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8<_\x8·_\x8C_\x8A_\x8C_\x8H_\x8E_\x8__\x8T_\x8Y_\x8P_\x8E_\x8·_\x8> | ||
17 | ·······Template·for·concrete·subclasses·of·_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8B_\x8a_\x8s_\x8e.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
18 | 13 | ||
19 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 14 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
20 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 15 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
21 | 16 | ||
22 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 17 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
23 | 18 | ||
24 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8F_\x8a_\x8r | ||
25 | |||
26 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8B_\x8f_\x8r | 19 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8B_\x8f_\x8r |
27 | 20 | ||
28 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 21 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
29 | ····*·_\x8b_\x8f_\x8r | 22 | ····*·_\x8b_\x8f_\x8r |
30 | ····*·_\x8 | 23 | ····*·_\x8p_.a_.r_.a_.m_.e_.t_.e_.r_.i_.z_.a_.t_.i_.o_.n_\x8._\x8h |
31 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 24 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 4 lines modified | Offset 1, 3 lines modified | ||
1 | var·a00692·=·[ | 1 | var·a00692·=·[ |
2 | ····["Parameterization",·"a00921.html",·"a00921"] | ||
2 | ····["RefinerSurfaceFactoryBase",·"a00925.html",·"a00925"], | ||
3 | ····["RefinerSurfaceFactory<·CACHE_TYPE·>",·"a00929.html",·"a00929"] | ||
4 | ]; | 3 | ]; |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/bfr/ | 8 | <title>OpenSubdiv:·opensubdiv/bfr/parameterization.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 92, 15 lines modified | Offset 92, 15 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title"> | 98 | ··<div·class="headertitle"><div·class="title">parameterization.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <a·href="a00692.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> | 101 | <a·href="a00692.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2021·Pixar</span></div> | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2021·Pixar</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
Offset 119, 163 lines modified | Offset 119, 200 lines modified | ||
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_BFR_ | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_BFR_PARAMETERIZATION_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_BFR_ | 127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_BFR_PARAMETERIZATION_H</span></div> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../ | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../sdc/types.h"</span></div> |
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·"../bfr/surfaceFactoryCache.h"</span></div> | ||
133 | <div·class="line"><a·id="l0003 | 132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
134 | <div·class="line"><a·id="l0003 | 133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> |
135 | <div·class="line"><a·id="l0003 | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
136 | <div·class="line"><a·id="l0003 | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
137 | <div·class="foldopen"·id="foldopen00036"·data-start="{"·data-end="}"> | ||
138 | <div·class="line"><a·id="l0003 | 136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>Bfr·{</div> |
139 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01113.html">TopologyRefiner</a>;</div> | ||
140 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>}</div> | ||
141 | </div> | ||
142 | <div·class="line"><a·id="l0003 | 137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
143 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">namespace·</span>Bfr·{</div> | ||
144 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | ||
145 | <div·class="foldopen"·id="foldopen0005 | 138 | <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="};"> |
146 | <div·class="line"><a·id="l0005 | 139 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a00921.html">···52</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a00921.html">Parameterization</a>·{</div> |
147 | <div·class="line"><a·id="l0005 | 140 | <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="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a00921.html#a1d1cfd8ffb84e947f82999c682b666a7ae1a12d53590e4fd25c9fd9006f19ab5c">···62</a></span>····<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a00921.html#a1d1cfd8ffb84e947f82999c682b666a7">Type</a>·{·<a·class="code·hl_enumvalue"·href="a00921.html#a1d1cfd8ffb84e947f82999c682b666a7ae1a12d53590e4fd25c9fd9006f19ab5c">QUAD</a>,··········</div> | ||
142 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a00921.html#a1d1cfd8ffb84e947f82999c682b666a7acde3f260abb10fb9633e1ca01de9e78d">···63</a></span>················<a·class="code·hl_enumvalue"·href="a00921.html#a1d1cfd8ffb84e947f82999c682b666a7acde3f260abb10fb9633e1ca01de9e78d">TRI</a>,···········</div> | ||
143 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>················<a·class="code·hl_enumvalue"·href="a00921.html#a1d1cfd8ffb84e947f82999c682b666a7a7cbabd8b5f03feec7dda7f68118f0850">QUAD_SUBFACES</a>··</div> | ||
144 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a00921.html#a1d1cfd8ffb84e947f82999c682b666a7a7cbabd8b5f03feec7dda7f68118f0850">···65</a></span>····};</div> | ||
148 | <div·class="line"><a·id="l0006 | 145 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> |
146 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="keyword">public</span>:</div> | ||
149 | <div·class="line"><a·id="l0006 | 147 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> |
150 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a00925.html#af457c931d6d611e35737454f2c483f84">···66</a></span>····<a·class="code·hl_function"·href="a00925.html#af457c931d6d611e35737454f2c483f84">RefinerSurfaceFactoryBase</a>(<a·class="code·hl_class"·href="a01113.html">Far::TopologyRefiner</a>·<span·class="keyword">const</span>·&·mesh,</div> | ||
151 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>······························<a·class="code·hl_class"·href="a00945.html">Options</a>·<span·class="keyword">const</span>·&·options);</div> | ||
152 | <div·class="line"><a·id="l000 | 148 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> |
153 | <div·class="line"><a·id="l000 | 149 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a00921.html#a301ad64c8ae0a3ba3af84377138a069f">···78</a></span>····<a·class="code·hl_function"·href="a00921.html#a301ad64c8ae0a3ba3af84377138a069f">Parameterization</a>(<a·class="code·hl_enum[·...·truncated·by·diffoscope;·len:·136,·SHA:·6fa96e963afacb448479b7fea24a551a5ed406aff55720cc8f03766b474a2a5c·...·];</div> |
154 | <div·class="line"><a·id="l0007 | 150 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> |
151 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a00921.html#ac532c4b500b1a85ea22217f2c65a70ed">···81</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00921.html#ac532c4b500b1a85ea22217f2c65a70ed">IsValid</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·(_faceSize·>·0);·}</div> | ||
155 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | ||
156 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | ||
157 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a00925.html#ab71a07bb9e45c564b8aabe091482414c">···79</a></span>····<a·class="code·hl_class"·href="a01113.html">Far::TopologyRefiner</a>·<span·class="keyword">const</span>·&·<a·class="code·hl_function"·href="a00925.html#ab71a07bb9e45c564b8aabe091482414c">GetMesh</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_mesh;·}</div> | ||
158 | <div·class="line"><a·id="l0008 | 152 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> |
159 | <div·class="line"><a·id="l0008 | 153 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a00921.html#aa7e0b89d67d34c1dd7a37cdce95f9e2c">···84</a></span>····<a·class="code·hl_function"·href="a00921.html#aa7e0b89d67d34c1dd7a37cdce95f9e2c">Parameterization</a>()·:·_type(0),·_uDim(0),[·...·truncated·by·diffoscope;·len:·15,·SHA:·c7333b150621adb41276f49deb218215c4ef97ace7cfa2db599f5fd45f821cd0·...·]·}</div> |
160 | <div·class="line"><a·id="l0008 | 154 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> |
155 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a00921.html#a64a4b29d36851a8d83be05af5b25f886">···86</a></span>····<a·class="code·hl_function"·href="a00921.html#a64a4b29d36851a8d83be05af5b25f886">Parameterization</a>(<a·class="code·hl_class"·href="a00921.html">Parameterization</a>·<span·class="keyword">const</span>·&)·=·<span·class="keywordflow">default</span>;</div> | ||
156 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a00921.html#af488514a0e7868dd273ebe767420c416">···87</a></span>····<a·class="code·hl_class"·href="a00921.html">Parameterization</a>·&·<a·class="code·hl_function"·href="a00921.html#af488514a0e7868dd273ebe767420c416">operator=</a>(<a·class="code·hl_class"·href="a00921.html">Parameterization</a>·<span·class="keyword">const</span>·&)·=·<span·class="keywordflow">default</span>;</div> | ||
157 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a00921.html#a4a581bbd4a90fe89f0c9210dede62c5f">···88</a></span>····<a·class="code·hl_function"·href="a00921.html#a4a581bbd4a90fe89f0c9210dede62c5f">~Parameterization</a>()·=·<span·class="keywordflow">default</span>;</div> | ||
161 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a00925.html#aa9be824a572029f3ec1e0c0d6cfecd77">···85</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00925.html#aa9be824a572029f3ec1e0c0d6cfecd77">GetNumFVarChannels</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_numFVarChannels;·}</div> | ||
162 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> | ||
163 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span><span·class="keyword">protected</span>:</div> | ||
164 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····<span·class="comment">//</span></div> | ||
165 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="comment">//··Virtual·overrides·to·satisfy·the·SurfaceFactoryMeshAdapter·interface:</span></div> | ||
166 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····<span·class="comment">//</span></div> | ||
167 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00957.html#aebdd02cef87f646218eed308629e9aed">isFaceHole</a>(·<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·faceIndex)·<span·class="keyword">const·override</span>;</div> | ||
168 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····<span·class="keywordtype">int</span>··<a·class="code·hl_function"·href="a00957.html#a46acc55c125fe8d843fd2b74c582abec">getFaceSize</a>(<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·faceIndex)·<span·class="keyword">const·override</span>;</div> | ||
169 | <div·class="line"><a·id="l0009 | 158 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> |
170 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00957.html#ac8c29cf2fda93d2c3408f80e8371d375">getFaceVertexIndices</a>(<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·faceIndex,</div> | ||
171 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>························<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·vertexIndices[])·<span·class="keyword">const·override</span>;</div> | ||
172 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00957.html#aba5c13d35cdaae43f2a1b4798868747a">getFaceFVarValueIndices</a>(<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·faceIndex,</div> | ||
173 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>························<a·class="code·hl_typedef"·href="a00957.html#af98288d7b5176d7295be622a10c6c64e">FVarID</a>·fvarID,·<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·fvarValueIndices[])·<span·class="keyword">const·override</span>;</div> | ||
174 | <div·class="line"><a·id="l00 | 159 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div> |
175 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00957.html#a6f2eece993bb137b995618881c7f9160">populateFaceVertexDescriptor</a>(<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·faceIndex,·<span·class="keywordtype">int</span>·faceVertex,</div> | ||
176 | <div·class="line"><a·id="l00 | 160 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> |
161 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a00921.html#a485decc00facb0972f8775a8a20851fa">···98</a></span>····<a·class="code·hl_enumeration"·href="a00921.html#a1d1cfd8ffb84e947f82999c682b666a7">Type</a>·<a·class="code·hl_function"·href="a00921.html#a485decc00facb0972f8775a8a20851fa">GetType</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·(<a·class="code·hl_enumeration"·href="a00921.html#a1d1cfd8ffb84e947f82999c682b666a7">Type</a>)·_type;·}</div> | ||
162 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> | ||
163 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno"><a·class="line"·href="a00921.html#a181e30653909f9d0e0afa92dd44d28ec">··101</a></span>····<span·class="keywordtype">int</span>··<a·class="code·hl_function"·href="a00921.html#a181e30653909f9d0e0afa92dd44d28ec">GetFaceSize</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_faceSize;·}</div> | ||
177 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div> | 164 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div> |
165 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span><span·class="keyword">public</span>:</div> | ||
178 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00957.html#a2bbf77d68fb983954c51bd91cfe35302">getFaceVertexIncidentFaceVertexIndices</a>(</div> | ||
179 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>························<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·faceIndex,·<span·class="keywordtype">int</span>·faceVertex,</div> | ||
180 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>························<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·vertexIndices[])·<span·class="keyword">const·override</span>;</div> | ||
181 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00957.html#a269c87ee7505e80e2e4db772ee73a016">getFaceVertexIncidentFaceFVarValueIndices</a>(</div> | ||
182 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>························<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·faceIndex,·<span·class="keywordtype">int</span>·faceVertex,</div> | ||
183 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>························<a·class="code·hl_typedef"·href="a00957.html#af98288d7b5176d7295be622a10c6c64e">FVarID</a>·fvarID,·<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·fvarValueIndices[])·<span·class="keyword">const·override</span>;</div> | ||
184 | <div·class="line"><a·id="l001 | 166 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div> |
185 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>····<span·class="comment">//··Optional·SurfaceFactoryMeshAdapter·overrides·for·regular·patches:</span></div> | ||
186 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00957.html#a72634fd790cc4d1f52801aa5399328b5">getFaceNeighborhoodVertexIndicesIfRegular</a>(</div> | ||
187 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>························<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·faceIndex,</div> | ||
188 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>························<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·vertexIndices[])·<span·class="keyword">const·override</span>;</div> | ||
189 | <div·class="line"><a·id="l0011 | 167 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>·</div> |
168 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>····<span·class="keyword">template</span>·<<span·class="keyword">typename</span>·REAL></div> | ||
169 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno"><a·class="line"·href="a00921.html#a9cb32ed5657438f0a1b7f322b221dc75">··119</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00921.html#a9cb32ed5657438f0a1b7f322b221dc75">GetVertexCoord</a>(<span·class="keywordtype">int</span>·vertexIndex,·REAL·uvCoord[2])·<span·class="keyword">const</span>;</div> | ||
190 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00957.html#aa7e32ce7ba896c5ddfe6521ad0022ce2">getFaceNeighborhoodFVarValueIndicesIfRegular</a>(</div> | ||
191 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>························<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·faceIndex,</div> | ||
192 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>························<a·class="code·hl_typedef"·href="a00957.html#af98288d7b5176d7295be622a10c6c64e">FVarID</a>·fvarID,·<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·fvarValueIndices[])·<span·class="keyword">const·override</span>;</div> | ||
193 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div> | 170 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div> |
194 | <div·class="line"><a·id="l0012 | 171 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>····<span·class="keyword">template</span>·<<span·class="keyword">typename</span>·REAL></div> |
172 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno"><a·class="line"·href="a00921.html#a8619f1774a47cdf85d93832261fe7d54">··123</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00921.html#a8619f1774a47cdf85d93832261fe7d54">GetEdgeCoord</a>(<span·class="keywordtype">int</span>·edgeIndex,·REAL·t,·REAL·uvCoord[2])·<span·class="keyword">const</span>;</div> | ||
195 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>····<span·class="comment">//</span></div> | ||
196 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>····<span·class="comment">//··Internal·supporting·methods:</span></div> | ||
197 | <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>····<span·class="comment">//</span></div> | ||
Max diff block lines reached; 44724/72660 bytes (61.55%) of diff not shown. |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | 5 | parameterization.h | |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·2021·Pixar | 8 | 2//·Copyright·2021·Pixar |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
Offset 24, 222 lines modified | Offset 24, 243 lines modified | ||
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24 | 30 | 24 |
31 | 25#ifndef·OPENSUBDIV3_BFR_REFINER_SURFACE_FACTORY_H | ||
32 | 2 | 31 | 25#ifndef·OPENSUBDIV3_BFR_PARAMETERIZATION_H |
32 | 26#define·OPENSUBDIV3_BFR_PARAMETERIZATION_H | ||
33 | 27 | 33 | 27 |
34 | 28#include·"../version.h" | 34 | 28#include·"../version.h" |
35 | 29 | 35 | 29 |
36 | 30#include·"../sdc/types.h" | ||
37 | 31 | ||
36 | 30#include·"../bfr/surfaceFactory.h" | ||
37 | 31#include·"../bfr/surfaceFactoryCache.h" | ||
38 | 32 | ||
39 | 3 | 38 | 32namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ |
40 | 3 | 39 | 33namespace·OPENSUBDIV_VERSION·{ |
40 | 34 | ||
41 | 35 | ||
42 | _\x83_\x86namespace·Far·{ | ||
43 | 37·class·_\x8T_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r; | ||
44 | 38} | ||
45 | 39 | ||
46 | 41 | 35namespace·Bfr·{ | |
47 | 41 | ||
48 | 42 | 36 | |
43 | _\x85_\x82class·_\x8P_\x8a_\x8r_\x8a_\x8m_\x8e_\x8t_\x8e_\x8r_\x8i_\x8z_\x8a_\x8t_\x8i_\x8o_\x8n·{ | ||
49 | 5 | 44 | 53public: |
50 | 61 | ||
51 | 65 | ||
52 | _\x86_\x86·_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8B_\x8a_\x8s_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8T_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r·const·&·mesh, | ||
53 | 67·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s·const·&·options); | ||
54 | 68 | ||
55 | _\x86_\x89·_\x8~_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8B_\x8a_\x8s_\x8e()·override·=·default; | ||
56 | 71 | ||
57 | 73 | ||
58 | 77 | ||
59 | _\x87_\x89·_\x8F_\x8a_\x8r_\x8:_\x8:_\x8T_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r·const·&·_\x8G_\x8e_\x8t_\x8M_\x8e_\x8s_\x8h()·const·{·return·_mesh;·} | ||
60 | 45 | _.6_.2·enum·_.T_.y_.p_.e·{·_.Q_.U_.A_.D, | |
46 | _\x86_\x83·_\x8T_\x8R_\x8I, | ||
47 | 64·_\x8Q_\x8U_\x8A_\x8D_\x8__\x8S_\x8U_\x8B_\x8F_\x8A_\x8C_\x8E_\x8S | ||
48 | _\x86_\x85·}; | ||
49 | 66 | ||
50 | 67public: | ||
51 | 69 | ||
52 | 76 | ||
53 | _\x87_\x88·_\x8P_\x8a_\x8r_\x8a_\x8m_\x8e_\x8t_\x8e_\x8r_\x8i_\x8z_\x8a_\x8t_\x8i_\x8o_\x8n(_\x8S_\x8d_\x8c_\x8:_\x8:_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8T_\x8y_\x8p_\x8e·scheme,·int·faceSize); | ||
54 | 79 | ||
55 | _\x88_\x81·bool·_\x8I_\x8s_\x8V_\x8a_\x8l_\x8i_\x8d()·const·{·return·(_faceSize·>·0);·} | ||
56 | 82 | ||
57 | _\x88_\x84·_\x8P_\x8a_\x8r_\x8a_\x8m_\x8e_\x8t_\x8e_\x8r_\x8i_\x8z_\x8a_\x8t_\x8i_\x8o_\x8n()·:·_type(0),·_uDim(0),·_faceSize(0)·{·} | ||
58 | 85 | ||
59 | _\x88_\x86·_\x8P_\x8a_\x8r_\x8a_\x8m_\x8e_\x8t_\x8e_\x8r_\x8i_\x8z_\x8a_\x8t_\x8i_\x8o_\x8n(_\x8P_\x8a_\x8r_\x8a_\x8m_\x8e_\x8t_\x8e_\x8r_\x8i_\x8z_\x8a_\x8t_\x8i_\x8o_\x8n·const·&)·=·default; | ||
60 | _\x88_\x87·_\x8P_\x8a_\x8r_\x8a_\x8m_\x8e_\x8t_\x8e_\x8r_\x8i_\x8z_\x8a_\x8t_\x8i_\x8o_\x8n·&·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8P_\x8a_\x8r_\x8a_\x8m_\x8e_\x8t_\x8e_\x8r_\x8i_\x8z_\x8a_\x8t_\x8i_\x8o_\x8n·const·&)·=·default; | ||
61 | _\x88_\x88·_\x8~_\x8P_\x8a_\x8r_\x8a_\x8m_\x8e_\x8t_\x8e_\x8r_\x8i_\x8z_\x8a_\x8t_\x8i_\x8o_\x8n()·=·default; | ||
62 | 90 | ||
63 | 92 | ||
64 | 96 | ||
65 | _\x89_\x88·_\x8T_\x8y_\x8p_\x8e·_\x8G_\x8e_\x8t_\x8T_\x8y_\x8p_\x8e()·const·{·return·(_\x8T_\x8y_\x8p_\x8e)·_type;·} | ||
66 | 99 | ||
61 | _\x8 | 67 | _\x81_.0_.1·int·_.G_.e_.t_.F_.a_.c_.e_.S_.i_.z_.e()·const·{·return·_faceSize;·} |
62 | 83 | ||
63 | _\x88_\x85·int·_\x8G_\x8e_\x8t_\x8N_\x8u_\x8m_\x8F_\x8V_\x8a_\x8r_\x8C_\x8h_\x8a_\x8n_\x8n_\x8e_\x8l_\x8s()·const·{·return·_numFVarChannels;·} | ||
64 | 87 | ||
65 | 88protected: | ||
66 | 90·// | ||
67 | 91·//·Virtual·overrides·to·satisfy·the·SurfaceFactoryMeshAdapter·interface: | ||
68 | 92·// | ||
69 | 93·bool·_\x8i_\x8s_\x8F_\x8a_\x8c_\x8e_\x8H_\x8o_\x8l_\x8e(·_\x8I_\x8n_\x8d_\x8e_\x8x·faceIndex)·const·override; | ||
70 | 94·int·_\x8g_\x8e_\x8t_\x8F_\x8a_\x8c_\x8e_\x8S_\x8i_\x8z_\x8e(_\x8I_\x8n_\x8d_\x8e_\x8x·faceIndex)·const·override; | ||
71 | 95 | ||
72 | 96·int·_\x8g_\x8e_\x8t_\x8F_\x8a_\x8c_\x8e_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s(_\x8I_\x8n_\x8d_\x8e_\x8x·faceIndex, | ||
73 | 97·_\x8I_\x8n_\x8d_\x8e_\x8x·vertexIndices[])·const·override; | ||
74 | 98·int·_\x8g_\x8e_\x8t_\x8F_\x8a_\x8c_\x8e_\x8F_\x8V_\x8a_\x8r_\x8V_\x8a_\x8l_\x8u_\x8e_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s(_\x8I_\x8n_\x8d_\x8e_\x8x·faceIndex, | ||
75 | 99·_\x8F_\x8V_\x8a_\x8r_\x8I_\x8D·fvarID,·_\x8I_\x8n_\x8d_\x8e_\x8x·fvarValueIndices[])·const·override; | ||
76 | 100 | ||
77 | 101·int·_\x8p_\x8o_\x8p_\x8u_\x8l_\x8a_\x8t_\x8e_\x8F_\x8a_\x8c_\x8e_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r(_\x8I_\x8n_\x8d_\x8e_\x8x·faceIndex,·int·faceVertex, | ||
78 | 102·_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·*·vertexDescriptor)·const·override; | ||
79 | 103 | 68 | 103 |
69 | 104public: | ||
70 | 106 | ||
71 | 116 | ||
72 | 118·template·<typename·REAL> | ||
73 | _\x81_\x81_\x89·void·_\x8G_\x8e_\x8t_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8C_\x8o_\x8o_\x8r_\x8d(int·vertexIndex,·REAL·uvCoord[2])·const; | ||
80 | 104·int·_\x8g_\x8e_\x8t_\x8F_\x8a_\x8c_\x8e_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8c_\x8i_\x8d_\x8e_\x8n_\x8t_\x8F_\x8a_\x8c_\x8e_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s( | ||
81 | 105·_\x8I_\x8n_\x8d_\x8e_\x8x·faceIndex,·int·faceVertex, | ||
82 | 106·_\x8I_\x8n_\x8d_\x8e_\x8x·vertexIndices[])·const·override; | ||
83 | 107·int·_\x8g_\x8e_\x8t_\x8F_\x8a_\x8c_\x8e_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8c_\x8i_\x8d_\x8e_\x8n_\x8t_\x8F_\x8a_\x8c_\x8e_\x8F_\x8V_\x8a_\x8r_\x8V_\x8a_\x8l_\x8u_\x8e_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s( | ||
84 | 108·_\x8I_\x8n_\x8d_\x8e_\x8x·faceIndex,·int·faceVertex, | ||
85 | 109·_\x8F_\x8V_\x8a_\x8r_\x8I_\x8D·fvarID,·_\x8I_\x8n_\x8d_\x8e_\x8x·fvarValueIndices[])·const·override; | ||
86 | 110 | ||
87 | 111·//·Optional·SurfaceFactoryMeshAdapter·overrides·for·regular·patches: | ||
88 | 112·bool·_\x8g_\x8e_\x8t_\x8F_\x8a_\x8c_\x8e_\x8N_\x8e_\x8i_\x8g_\x8h_\x8b_\x8o_\x8r_\x8h_\x8o_\x8o_\x8d_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s_\x8I_\x8f_\x8R_\x8e_\x8g_\x8u_\x8l_\x8a_\x8r( | ||
89 | 113·_\x8I_\x8n_\x8d_\x8e_\x8x·faceIndex, | ||
90 | 114·_\x8I_\x8n_\x8d_\x8e_\x8x·vertexIndices[])·const·override; | ||
91 | 115 | ||
92 | 116·bool·_\x8g_\x8e_\x8t_\x8F_\x8a_\x8c_\x8e_\x8N_\x8e_\x8i_\x8g_\x8h_\x8b_\x8o_\x8r_\x8h_\x8o_\x8o_\x8d_\x8F_\x8V_\x8a_\x8r_\x8V_\x8a_\x8l_\x8u_\x8e_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s_\x8I_\x8f_\x8R_\x8e_\x8g_\x8u_\x8l_\x8a_\x8r( | ||
93 | 117·_\x8I_\x8n_\x8d_\x8e_\x8x·faceIndex, | ||
94 | 118·_\x8F_\x8V_\x8a_\x8r_\x8I_\x8D·fvarID,·_\x8I_\x8n_\x8d_\x8e_\x8x·fvarValueIndices[])·const·override; | ||
95 | 120 | 74 | 120 |
75 | 122·template·<typename·REAL> | ||
76 | _\x81_\x82_\x83·void·_\x8G_\x8e_\x8t_\x8E_\x8d_\x8g_\x8e_\x8C_\x8o_\x8o_\x8r_\x8d(int·edgeIndex,·REAL·t,·REAL·uvCoord[2])·const; | ||
77 | 124 | ||
78 | 126·template·<typename·REAL> | ||
79 | _\x81_\x82_\x87·void·_\x8G_\x8e_\x8t_\x8C_\x8e_\x8n_\x8t_\x8e_\x8r_\x8C_\x8o_\x8o_\x8r_\x8d(REAL·uvCoord[2])·const; | ||
96 | 121private: | ||
97 | 122·// | ||
98 | 123·//·Internal·supporting·methods: | ||
99 | 124·// | ||
100 | 125·int·getFaceVaryingChannel(_\x8F_\x8V_\x8a_\x8r_\x8I_\x8D·fvarID)·const; | ||
101 | 126 | ||
Max diff block lines reached; 23596/29620 bytes (79.66%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/bfr/ | 8 | <title>OpenSubdiv:·opensubdiv/bfr/refinerSurfaceFactory.h·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 90, 41 lines modified | Offset 90, 47 lines modified | ||
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#nested-classes">Classes</a>·| | 94 | <a·href="#nested-classes">Classes</a>·| |
95 | <a·href="#namespaces">Namespaces</a>··</div> | 95 | <a·href="#namespaces">Namespaces</a>··</div> |
96 | ··<div·class="headertitle"><div·class="title"> | 96 | ··<div·class="headertitle"><div·class="title">refinerSurfaceFactory.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·"<a·class="el"·href="a0 | 100 | <code>#include·"<a·class="el"·href="a00686_source.html">../bfr/surfaceFactory.h</a>"</code><br·/> |
101 | <code>#include·"<a·class="el"·href="a00680_source.html">../bfr/surfaceFactoryCache.h</a>"</code><br·/> | ||
101 | </div> | 102 | </div> |
102 | <p><a·href="a00695_source.html">Go·to·the·source·code·of·this·file.</a></p> | 103 | <p><a·href="a00695_source.html">Go·to·the·source·code·of·this·file.</a></p> |
103 | <table·class="memberdecls"> | 104 | <table·class="memberdecls"> |
104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
105 | Classes</h2></td></tr> | 106 | Classes</h2></td></tr> |
106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a0092 | 107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00925.html">RefinerSurfaceFactoryBase</a></td></tr> |
107 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 108 | <tr·class="memdesc:"><td·class="mdescLeft"> </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·refineme[·...·truncated·by·diffoscope;·len:·67,·SHA:·6c83e631ce94e25676aa29ec6abbcf373050b77404cb43046956eb23668f4012·...·].html#details">More...</a><br·/></td></tr> |
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00929.html">RefinerSurfaceFactory<·CACHE_TYPE·></a></td></tr> | ||
111 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Template·for·concrete·subclasses·of·<a·class="el"·href="a00925.html"·title="Intermediate·subclass·of·SurfaceFactory·with·Far::TopologyRefiner·as·the·mesh.">RefinerSurfaceFactoryBase</a>.··<a·href="a00929.html#details">More...</a><br·/></td></tr> | ||
108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
109 | </table><table·class="memberdecls"> | 113 | </table><table·class="memberdecls"> |
110 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 114 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
111 | Namespaces</h2></td></tr> | 115 | Namespaces</h2></td></tr> |
112 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 116 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
114 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 118 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 119 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
120 | <tr·class="memitem:a00908"·id="r_a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr> | ||
121 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
116 | <tr·class="memitem:a00907"·id="r_a00907"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00907.html">OpenSubdiv::OPENSUBDIV_VERSION::Bfr</a></td></tr> | 122 | <tr·class="memitem:a00907"·id="r_a00907"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00907.html">OpenSubdiv::OPENSUBDIV_VERSION::Bfr</a></td></tr> |
117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 123 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
118 | </table> | 124 | </table> |
119 | </div><!--·contents·--> | 125 | </div><!--·contents·--> |
120 | </div><!--·doc-content·--> | 126 | </div><!--·doc-content·--> |
121 | <!--·start·footer·part·--> | 127 | <!--·start·footer·part·--> |
122 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 128 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
123 | ··<ul> | 129 | ··<ul> |
124 | ····<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="a00695.html"> | 130 | ····<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="a00695.html">refinerSurfaceFactory.h</a></li> |
125 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 131 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
126 | ··</ul> | 132 | ··</ul> |
127 | </div> | 133 | </div> |
128 | </body> | 134 | </body> |
129 | </html> | 135 | </html> |
Offset 1, 24 lines modified | Offset 1, 31 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
6 | 6 | refinerSurfaceFactory.h·File·Reference | |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·"_\x8._\x8._\x8/_\x8s_. | 8 | #include·"_\x8._\x8._\x8/_\x8b_.f_.r_./_.s_.u_.r_.f_.a_.c_.e_.F_.a_.c_.t_.o_.r_.y_\x8._\x8h" |
9 | #include·"_\x8._\x8._\x8/_\x8b_\x8f_\x8r_\x8/_\x8s_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8C_\x8a_\x8c_\x8h_\x8e_\x8._\x8h" | ||
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 11 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
11 | class· ·_\x8P_\x8a_\x8r_\x8a_\x8m_\x8e_\x8t_\x8e_\x8r_\x8i_\x8z_\x8a_\x8t_\x8i_\x8o_\x8n | ||
12 | 12 | class· ·_.R_.e_.f_.i_.n_.e_.r_.S_.u_.r_.f_.a_.c_.e_.F_.a_.c_.t_.o_.r_.y_.B_.a_.s_.e | |
13 | ·······Intermediate·subclass·of·_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y·with·_\x8F_\x8a_\x8r_\x8:_\x8:_\x8T_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r·as | ||
14 | ········the·mesh.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
15 | |||
16 | class· ·_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8<_\x8·_\x8C_\x8A_\x8C_\x8H_\x8E_\x8__\x8T_\x8Y_\x8P_\x8E_\x8·_\x8> | ||
17 | ·······Template·for·concrete·subclasses·of·_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8B_\x8a_\x8s_\x8e.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
13 | 18 | ||
14 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 19 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
15 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 20 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
16 | 21 | ||
17 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 22 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
18 | 23 | ||
24 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8F_\x8a_\x8r | ||
25 | |||
19 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8B_\x8f_\x8r | 26 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8B_\x8f_\x8r |
20 | 27 | ||
21 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 28 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
22 | ····*·_\x8b_\x8f_\x8r | 29 | ····*·_\x8b_\x8f_\x8r |
23 | ····*·_\x8 | 30 | ····*·_\x8r_.e_.f_.i_.n_.e_.r_.S_.u_.r_.f_.a_.c_.e_.F_.a_.c_.t_.o_.r_.y_\x8._\x8h |
24 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 31 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 3 lines modified | Offset 1, 4 lines modified | ||
1 | var·a00695·=·[ | 1 | var·a00695·=·[ |
2 | ····[" | 2 | ····["RefinerSurfaceFactoryBase",·"a00925.html",·"a00925"], |
3 | ····["RefinerSurfaceFactory<·CACHE_TYPE·>",·"a00929.html",·"a00929"] | ||
3 | ]; | 4 | ]; |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/bfr/ | 8 | <title>OpenSubdiv:·opensubdiv/bfr/refinerSurfaceFactory.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 92, 15 lines modified | Offset 92, 15 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title"> | 98 | ··<div·class="headertitle"><div·class="title">refinerSurfaceFactory.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <a·href="a00695.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> | 101 | <a·href="a00695.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2021·Pixar</span></div> | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2021·Pixar</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
Offset 119, 200 lines modified | Offset 119, 163 lines modified | ||
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_BFR_ | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_BFR_REFINER_SURFACE_FACTORY_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_BFR_ | 127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_BFR_REFINER_SURFACE_FACTORY_H</span></div> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../s | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../bfr/surfaceFactory.h"</span></div> |
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·"../bfr/surfaceFactoryCache.h"</span></div> | ||
132 | <div·class="line"><a·id="l0003 | 133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
133 | <div·class="line"><a·id="l0003 | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> |
134 | <div·class="line"><a·id="l0003 | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
135 | <div·class="line"><a·id="l0003 | 136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
137 | <div·class="foldopen"·id="foldopen00036"·data-start="{"·data-end="}"> | ||
136 | <div·class="line"><a·id="l0003 | 138 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a00908.html">···36</a></span><span·class="keyword">namespace·</span>Far·{</div> |
139 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01113.html">TopologyRefiner</a>;</div> | ||
140 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>}</div> | ||
141 | </div> | ||
137 | <div·class="line"><a·id="l0003 | 142 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
143 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">namespace·</span>Bfr·{</div> | ||
144 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | ||
138 | <div·class="foldopen"·id="foldopen0005 | 145 | <div·class="foldopen"·id="foldopen00058"·data-start="{"·data-end="};"> |
139 | <div·class="line"><a·id="l0005 | 146 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a00925.html">···58</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a00925.html">RefinerSurfaceFactoryBase</a>·:·<span·class="keyword">public</span>·<a·class="code·h[·...·truncated·by·diffoscope;·len:·42,·SHA:·edba3e7b6512476c1390d495ac35385a5c0da1cea71b38b256b0b1be51236d0e·...·]</a>·{</div> |
140 | <div·class="line"><a·id="l0005 | 147 | <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="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a00921.html#a1d1cfd8ffb84e947f82999c682b666a7ae1a12d53590e4fd25c9fd9006f19ab5c">···62</a></span>····<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a00921.html#a1d1cfd8ffb84e947f82999c682b666a7">Type</a>·{·<a·class="code·hl_enumvalue"·href="a00921.html#a1d1cfd8ffb84e947f82999c682b666a7ae1a12d53590e4fd25c9fd9006f19ab5c">QUAD</a>,··········</div> | ||
142 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a00921.html#a1d1cfd8ffb84e947f82999c682b666a7acde3f260abb10fb9633e1ca01de9e78d">···63</a></span>················<a·class="code·hl_enumvalue"·href="a00921.html#a1d1cfd8ffb84e947f82999c682b666a7acde3f260abb10fb9633e1ca01de9e78d">TRI</a>,···········</div> | ||
143 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>················<a·class="code·hl_enumvalue"·href="a00921.html#a1d1cfd8ffb84e947f82999c682b666a7a7cbabd8b5f03feec7dda7f68118f0850">QUAD_SUBFACES</a>··</div> | ||
144 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a00921.html#a1d1cfd8ffb84e947f82999c682b666a7a7cbabd8b5f03feec7dda7f68118f0850">···65</a></span>····};</div> | ||
145 | <div·class="line"><a·id="l0006 | 148 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> |
146 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="keyword">public</span>:</div> | ||
147 | <div·class="line"><a·id="l0006 | 149 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> |
150 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a00925.html#af457c931d6d611e35737454f2c483f84">···66</a></span>····<a·class="code·hl_function"·href="a00925.html#af457c931d6d611e35737454f2c483f84">RefinerSurfaceFactoryBase</a>(<a·class="code·hl_class"·href="a01113.html">Far::TopologyRefiner</a>·<span·class="keyword">const</span>·&·mesh,</div> | ||
151 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>······························<a·class="code·hl_class"·href="a00945.html">Options</a>·<span·class="keyword">const</span>·&·options);</div> | ||
148 | <div·class="line"><a·id="l000 | 152 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> |
149 | <div·class="line"><a·id="l000 | 153 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a00925.html#af1812d7cdae22188afec02034f1219cb">···69</a></span>····<a·class="code·hl_function"·href="a00925.html#af1812d7cdae22188afec02034f1219cb">~RefinerSurfaceFactoryBase</a>()·<span·clas[·...·truncated·by·diffoscope;·len:·70,·SHA:·27b39899ed4e475d238d2abf508b7d41e09805094e1e7dfd45b894e53b9b1851·...·];</div> |
150 | <div·class="line"><a·id="l0007 | 154 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> |
151 | <div·class="line"><a·id="l000 | 155 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> |
156 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | ||
157 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a00925.html#ab71a07bb9e45c564b8aabe091482414c">···79</a></span>····<a·class="code·hl_class"·href="a01113.html">Far::TopologyRefiner</a>·<span·class="keyword">const</span>·&·<a·class="code·hl_function"·href="a00925.html#ab71a07bb9e45c564b8aabe091482414c">GetMesh</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_mesh;·}</div> | ||
152 | <div·class="line"><a·id="l0008 | 158 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> |
153 | <div·class="line"><a·id="l0008 | 159 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a00925.html#a9920fb01c4b75c94a953a98008a4baba">···82</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00925.html#a9920fb01c4b75c94a953a98008a4baba">GetNumF[·...·truncated·by·diffoscope;·len:·98,·SHA:·d501d0f9f4908f6ac2707314b5c11638ce6a530eac36dbeb1a0ca8aab3ac189a·...·]·}</div> |
154 | <div·class="line"><a·id="l0008 | 160 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> |
155 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a00921.html#a64a4b29d36851a8d83be05af5b25f886">···86</a></span>····<a·class="code·hl_function"·href="a00921.html#a64a4b29d36851a8d83be05af5b25f886">Parameterization</a>(<a·class="code·hl_class"·href="a00921.html">Parameterization</a>·<span·class="keyword">const</span>·&)·=·<span·class="keywordflow">default</span>;</div> | ||
156 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a00921.html#af488514a0e7868dd273ebe767420c416">···87</a></span>····<a·class="code·hl_class"·href="a00921.html">Parameterization</a>·&·<a·class="code·hl_function"·href="a00921.html#af488514a0e7868dd273ebe767420c416">operator=</a>(<a·class="code·hl_class"·href="a00921.html">Parameterization</a>·<span·class="keyword">const</span>·&)·=·<span·class="keywordflow">default</span>;</div> | ||
157 | <div·class="line"><a·id="l0008 | 161 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a00925.html#aa9be824a572029f3ec1e0c0d6cfecd77">···85</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00925.html#aa9be824a572029f3ec1e0c0d6cfecd77">GetNumF[·...·truncated·by·diffoscope;·len:·114,·SHA:·e2059baf60d5b75a27fd78aaf1a09dc642a7d8d1a1beffb7211d34b193b83521·...·]</div> |
162 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> | ||
163 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span><span·class="keyword">protected</span>:</div> | ||
164 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····<span·class="comment">//</span></div> | ||
165 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="comment">//··Virtual·overrides·to·satisfy·the·SurfaceFactoryMeshAdapter·interface:</span></div> | ||
166 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····<span·class="comment">//</span></div> | ||
167 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00957.html#aebdd02cef87f646218eed308629e9aed">isFaceHole</a>(·<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·faceIndex)·<span·class="keyword">const·override</span>;</div> | ||
168 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····<span·class="keywordtype">int</span>··<a·class="code·hl_function"·href="a00957.html#a46acc55c125fe8d843fd2b74c582abec">getFaceSize</a>(<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·faceIndex)·<span·class="keyword">const·override</span>;</div> | ||
158 | <div·class="line"><a·id="l0009 | 169 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div> |
170 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00957.html#ac8c29cf2fda93d2c3408f80e8371d375">getFaceVertexIndices</a>(<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·faceIndex,</div> | ||
171 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>························<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·vertexIndices[])·<span·class="keyword">const·override</span>;</div> | ||
172 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00957.html#aba5c13d35cdaae43f2a1b4798868747a">getFaceFVarValueIndices</a>(<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·faceIndex,</div> | ||
173 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>························<a·class="code·hl_typedef"·href="a00957.html#af98288d7b5176d7295be622a10c6c64e">FVarID</a>·fvarID,·<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·fvarValueIndices[])·<span·class="keyword">const·override</span>;</div> | ||
159 | <div·class="line"><a·id="l00 | 174 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div> |
175 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00957.html#a6f2eece993bb137b995618881c7f9160">populateFaceVertexDescriptor</a>(<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·faceIndex,·<span·class="keywordtype">int</span>·faceVertex,</div> | ||
176 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>························<a·class="code·hl_class"·href="a00969.html">VertexDescriptor</a>·*·vertexDescriptor)·<span·class="keyword">const·override</span>;</div> | ||
160 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> | ||
161 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a00921.html#a485decc00facb0972f8775a8a20851fa">···98</a></span>····<a·class="code·hl_enumeration"·href="a00921.html#a1d1cfd8ffb84e947f82999c682b666a7">Type</a>·<a·class="code·hl_function"·href="a00921.html#a485decc00facb0972f8775a8a20851fa">GetType</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·(<a·class="code·hl_enumeration"·href="a00921.html#a1d1cfd8ffb84e947f82999c682b666a7">Type</a>)·_type;·}</div> | ||
162 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> | ||
163 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno"><a·class="line"·href="a00921.html#a181e30653909f9d0e0afa92dd44d28ec">··101</a></span>····<span·class="keywordtype">int</span>··<a·class="code·hl_function"·href="a00921.html#a181e30653909f9d0e0afa92dd44d28ec">GetFaceSize</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_faceSize;·}</div> | ||
164 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div> | 177 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div> |
165 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span><span·class="keyword">pub | 178 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00957.html#a2bbf77d68fb983954c51bd91cfe35302">getFaceVertexIncidentFaceVertexIndices</a>(</div> |
179 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>························<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·faceIndex,·<span·class="keywordtype">int</span>·faceVertex,</div> | ||
180 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>························<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·vertexIndices[])·<span·class="keyword">const·override</span>;</div> | ||
181 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00957.html#a269c87ee7505e80e2e4db772ee73a016">getFaceVertexIncidentFaceFVarValueIndices</a>(</div> | ||
182 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>························<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·faceIndex,·<span·class="keywordtype">int</span>·faceVertex,</div> | ||
183 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>························<a·class="code·hl_typedef"·href="a00957.html#af98288d7b5176d7295be622a10c6c64e">FVarID</a>·fvarID,·<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·fvarValueIndices[])·<span·class="keyword">const·override</span>;</div> | ||
166 | <div·class="line"><a·id="l001 | 184 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div> |
185 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>····<span·class="comment">//··Optional·SurfaceFactoryMeshAdapter·overrides·for·regular·patches:</span></div> | ||
186 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00957.html#a72634fd790cc4d1f52801aa5399328b5">getFaceNeighborhoodVertexIndicesIfRegular</a>(</div> | ||
187 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>························<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·faceIndex,</div> | ||
188 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>························<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·vertexIndices[])·<span·class="keyword">const·override</span>;</div> | ||
167 | <div·class="line"><a·id="l0011 | 189 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>·</div> |
168 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>····<span·class="keyword">template</span>·<<span·class="keyword">typename</span>·REAL></div> | ||
169 | <div·class="line"><a·id="l0011 | 190 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00957.html#aa7e32ce7ba896c5ddfe6521ad0022ce2">getFaceNeighborhoodFVarValueIndicesIfRegular</a>(</div> |
191 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>························<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·faceIndex,</div> | ||
192 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>························<a·class="code·hl_typedef"·href="a00957.html#af98288d7b5176d7295be622a10c6c64e">FVarID</a>·fvarID,·<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·fvarValueIndices[])·<span·class="keyword">const·override</span>;</div> | ||
170 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div> | 193 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div> |
171 | <div·class="line"><a·id="l0012 | 194 | <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span><span·class="keyword">private</span>:</div> |
172 | <div·class="line"><a·id="l0012 | 195 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>····<span·class="comment">//</span></div> |
196 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>····<span·class="comment">//··Internal·supporting·methods:</span></div> | ||
197 | <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>····<span·class="comment">//</span></div> | ||
198 | <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>····<span·class="keywordtype">int</span>·getFaceVaryingChannel(<a·class="code·hl_typedef"·href="a00957.html#af98288d7b5176d7295be622a10c6c64e">FVarID</a>·fvarID)·<span·class="keyword">const</span>;</div> | ||
173 | <div·class="line"><a·id="l0012 | 199 | <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>·</div> |
174 | <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>····<span·class="keyword">template</span>·<<span·class="keyword">typename</span>·REAL></div> | ||
175 | <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno"> | 200 | <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>····<span·class="keywordtype">int</span>·getFaceVertexPointIndices(<a·class="code·hl_typedef"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·faceIndex,·<span·class="keywordtype">int</span>·faceVertex,</div> |
Max diff block lines reached; 44724/72660 bytes (61.55%) of diff not shown. |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | 5 | refinerSurfaceFactory.h | |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·2021·Pixar | 8 | 2//·Copyright·2021·Pixar |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
Offset 24, 243 lines modified | Offset 24, 222 lines modified | ||
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24 | 30 | 24 |
31 | 25#ifndef·OPENSUBDIV3_BFR_PARAMETERIZATION_H | ||
32 | 2 | 31 | 25#ifndef·OPENSUBDIV3_BFR_REFINER_SURFACE_FACTORY_H |
32 | 26#define·OPENSUBDIV3_BFR_REFINER_SURFACE_FACTORY_H | ||
33 | 27 | 33 | 27 |
34 | 28#include·"../version.h" | 34 | 28#include·"../version.h" |
35 | 29 | 35 | 29 |
36 | 30#include·"../sdc/types.h" | ||
37 | 3 | 36 | 30#include·"../bfr/surfaceFactory.h" |
37 | 31#include·"../bfr/surfaceFactoryCache.h" | ||
38 | 32 | ||
38 | 3 | 39 | 33namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ |
39 | 3 | 40 | 34namespace·OPENSUBDIV_VERSION·{ |
40 | 3 | 41 | 35 |
42 | _\x83_\x86namespace·Far·{ | ||
43 | 37·class·_\x8T_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r; | ||
44 | 38} | ||
45 | 39 | ||
41 | 46 | 40namespace·Bfr·{ | |
42 | 36 | ||
43 | 47 | 41 | |
48 | _\x85_\x88class·_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8B_\x8a_\x8s_\x8e·:·public·_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y·{ | ||
44 | 5 | 49 | 59public: |
50 | 61 | ||
51 | 65 | ||
52 | _\x86_\x86·_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8B_\x8a_\x8s_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8T_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r·const·&·mesh, | ||
53 | 67·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s·const·&·options); | ||
54 | 68 | ||
55 | _\x86_\x89·_\x8~_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8B_\x8a_\x8s_\x8e()·override·=·default; | ||
56 | 71 | ||
57 | 73 | ||
58 | 77 | ||
59 | _\x87_\x89·_\x8F_\x8a_\x8r_\x8:_\x8:_\x8T_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r·const·&·_\x8G_\x8e_\x8t_\x8M_\x8e_\x8s_\x8h()·const·{·return·_mesh;·} | ||
60 | 80 | ||
45 | _\x86_\x82·enum·_\x8T_\x8y_\x8p_\x8e·{·_\x8Q_\x8U_\x8A_\x8D, | ||
46 | _\x86_\x83·_\x8T_\x8R_\x8I, | ||
47 | 64·_\x8Q_\x8U_\x8A_\x8D_\x8__\x8S_\x8U_\x8B_\x8F_\x8A_\x8C_\x8E_\x8S | ||
48 | _\x86_\x85·}; | ||
49 | 66 | ||
50 | 67public: | ||
51 | 69 | ||
52 | 76 | ||
53 | _\x87_\x88·_\x8P_\x8a_\x8r_\x8a_\x8m_\x8e_\x8t_\x8e_\x8r_\x8i_\x8z_\x8a_\x8t_\x8i_\x8o_\x8n(_\x8S_\x8d_\x8c_\x8:_\x8:_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8T_\x8y_\x8p_\x8e·scheme,·int·faceSize); | ||
54 | 79 | ||
55 | _\x88_\x81·bool·_\x8I_\x8s_\x8V_\x8a_\x8l_\x8i_\x8d()·const·{·return·(_faceSize·>·0);·} | ||
56 | 82 | ||
57 | _\x88_\x84·_\x8P_\x8a_\x8r_\x8a_\x8m_\x8e_\x8t_\x8e_\x8r_\x8i_\x8z_\x8a_\x8t_\x8i_\x8o_\x8n()·:·_type(0),·_uDim(0),·_faceSize(0)·{·} | ||
58 | 85 | ||
59 | _\x88_\x86·_\x8P_\x8a_\x8r_\x8a_\x8m_\x8e_\x8t_\x8e_\x8r_\x8i_\x8z_\x8a_\x8t_\x8i_\x8o_\x8n(_\x8P_\x8a_\x8r_\x8a_\x8m_\x8e_\x8t_\x8e_\x8r_\x8i_\x8z_\x8a_\x8t_\x8i_\x8o_\x8n·const·&)·=·default; | ||
60 | _\x88_\x87·_\x8P_\x8a_\x8r_\x8a_\x8m_\x8e_\x8t_\x8e_\x8r_\x8i_\x8z_\x8a_\x8t_\x8i_\x8o_\x8n·&·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=(_\x8P_\x8a_\x8r_\x8a_\x8m_\x8e_\x8t_\x8e_\x8r_\x8i_\x8z_\x8a_\x8t_\x8i_\x8o_\x8n·const·&)·=·default; | ||
61 | _\x88_\x88·_\x8~_\x8P_\x8a_\x8r_\x8a_\x8m_\x8e_\x8t_\x8e_\x8r_\x8i_\x8z_\x8a_\x8t_\x8i_\x8o_\x8n()·=·default; | ||
62 | 90 | ||
63 | 92 | ||
64 | 96 | ||
65 | _\x89_\x88·_\x8T_\x8y_\x8p_\x8e·_\x8G_\x8e_\x8t_\x8T_\x8y_\x8p_\x8e()·const·{·return·(_\x8T_\x8y_\x8p_\x8e)·_type;·} | ||
66 | 99 | ||
67 | _\x8 | 61 | _\x88_.2·int·_.G_.e_.t_.N_.u_.m_.F_.a_.c_.e_.s()·const·{·return·_numFaces;·} |
62 | 83 | ||
63 | _\x88_\x85·int·_\x8G_\x8e_\x8t_\x8N_\x8u_\x8m_\x8F_\x8V_\x8a_\x8r_\x8C_\x8h_\x8a_\x8n_\x8n_\x8e_\x8l_\x8s()·const·{·return·_numFVarChannels;·} | ||
64 | 87 | ||
65 | 88protected: | ||
66 | 90·// | ||
67 | 91·//·Virtual·overrides·to·satisfy·the·SurfaceFactoryMeshAdapter·interface: | ||
68 | 92·// | ||
69 | 93·bool·_\x8i_\x8s_\x8F_\x8a_\x8c_\x8e_\x8H_\x8o_\x8l_\x8e(·_\x8I_\x8n_\x8d_\x8e_\x8x·faceIndex)·const·override; | ||
70 | 94·int·_\x8g_\x8e_\x8t_\x8F_\x8a_\x8c_\x8e_\x8S_\x8i_\x8z_\x8e(_\x8I_\x8n_\x8d_\x8e_\x8x·faceIndex)·const·override; | ||
71 | 95 | ||
72 | 96·int·_\x8g_\x8e_\x8t_\x8F_\x8a_\x8c_\x8e_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s(_\x8I_\x8n_\x8d_\x8e_\x8x·faceIndex, | ||
73 | 97·_\x8I_\x8n_\x8d_\x8e_\x8x·vertexIndices[])·const·override; | ||
74 | 98·int·_\x8g_\x8e_\x8t_\x8F_\x8a_\x8c_\x8e_\x8F_\x8V_\x8a_\x8r_\x8V_\x8a_\x8l_\x8u_\x8e_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s(_\x8I_\x8n_\x8d_\x8e_\x8x·faceIndex, | ||
75 | 99·_\x8F_\x8V_\x8a_\x8r_\x8I_\x8D·fvarID,·_\x8I_\x8n_\x8d_\x8e_\x8x·fvarValueIndices[])·const·override; | ||
76 | 100 | ||
77 | 101·int·_\x8p_\x8o_\x8p_\x8u_\x8l_\x8a_\x8t_\x8e_\x8F_\x8a_\x8c_\x8e_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r(_\x8I_\x8n_\x8d_\x8e_\x8x·faceIndex,·int·faceVertex, | ||
78 | 102·_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·*·vertexDescriptor)·const·override; | ||
68 | 103 | 79 | 103 |
69 | 104public: | ||
70 | 106 | ||
71 | 116 | ||
72 | 118·template·<typename·REAL> | ||
73 | 80 | 104·int·_.g_.e_.t_.F_.a_.c_.e_.V_.e_.r_.t_.e_.x_.I_.n_.c_.i_.d_.e_.n_.t_.F_.a_.c_.e_.V_.e_.r_.t_.e_.x_.I_.n_.d_.i_.c_.e_.s( | |
81 | 105·_\x8I_\x8n_\x8d_\x8e_\x8x·faceIndex,·int·faceVertex, | ||
82 | 106·_\x8I_\x8n_\x8d_\x8e_\x8x·vertexIndices[])·const·override; | ||
83 | 107·int·_\x8g_\x8e_\x8t_\x8F_\x8a_\x8c_\x8e_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8c_\x8i_\x8d_\x8e_\x8n_\x8t_\x8F_\x8a_\x8c_\x8e_\x8F_\x8V_\x8a_\x8r_\x8V_\x8a_\x8l_\x8u_\x8e_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s( | ||
84 | 108·_\x8I_\x8n_\x8d_\x8e_\x8x·faceIndex,·int·faceVertex, | ||
85 | 109·_\x8F_\x8V_\x8a_\x8r_\x8I_\x8D·fvarID,·_\x8I_\x8n_\x8d_\x8e_\x8x·fvarValueIndices[])·const·override; | ||
86 | 110 | ||
87 | 111·//·Optional·SurfaceFactoryMeshAdapter·overrides·for·regular·patches: | ||
88 | 112·bool·_\x8g_\x8e_\x8t_\x8F_\x8a_\x8c_\x8e_\x8N_\x8e_\x8i_\x8g_\x8h_\x8b_\x8o_\x8r_\x8h_\x8o_\x8o_\x8d_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s_\x8I_\x8f_\x8R_\x8e_\x8g_\x8u_\x8l_\x8a_\x8r( | ||
89 | 113·_\x8I_\x8n_\x8d_\x8e_\x8x·faceIndex, | ||
90 | 114·_\x8I_\x8n_\x8d_\x8e_\x8x·vertexIndices[])·const·override; | ||
91 | 115 | ||
92 | 116·bool·_\x8g_\x8e_\x8t_\x8F_\x8a_\x8c_\x8e_\x8N_\x8e_\x8i_\x8g_\x8h_\x8b_\x8o_\x8r_\x8h_\x8o_\x8o_\x8d_\x8F_\x8V_\x8a_\x8r_\x8V_\x8a_\x8l_\x8u_\x8e_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s_\x8I_\x8f_\x8R_\x8e_\x8g_\x8u_\x8l_\x8a_\x8r( | ||
93 | 117·_\x8I_\x8n_\x8d_\x8e_\x8x·faceIndex, | ||
94 | 118·_\x8F_\x8V_\x8a_\x8r_\x8I_\x8D·fvarID,·_\x8I_\x8n_\x8d_\x8e_\x8x·fvarValueIndices[])·const·override; | ||
74 | 120 | 95 | 120 |
75 | 122·template·<typename·REAL> | ||
76 | _\x81_\x82_\x83·void·_\x8G_\x8e_\x8t_\x8E_\x8d_\x8g_\x8e_\x8C_\x8o_\x8o_\x8r_\x8d(int·edgeIndex,·REAL·t,·REAL·uvCoord[2])·const; | ||
77 | 124 | ||
78 | 126·template·<typename·REAL> | ||
79 | 96 | 121private: | |
97 | 122·// | ||
98 | 123·//·Internal·supporting·methods: | ||
99 | 124·// | ||
100 | 125·int·getFaceVaryingChannel(_\x8F_\x8V_\x8a_\x8r_\x8I_\x8D·fvarID)·const; | ||
101 | 126 | ||
102 | 127·int·getFaceVertexPointIndices(_\x8I_\x8n_\x8d_\x8e_\x8x·faceIndex,·int·faceVertex, | ||
103 | 128·_\x8I_\x8n_\x8d_\x8e_\x8x·indices[],·int·vtxOrFVarChannel)·const; | ||
80 | 129 | 104 | 129 |
Max diff block lines reached; 23457/29620 bytes (79.19%) of diff not shown. |
Offset 351, 15 lines modified | Offset 351, 15 lines modified | ||
351 | <div·class="line"><a·id="l00306"·name="l00306"></a><span·class="lineno">··306</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> | 351 | <div·class="line"><a·id="l00306"·name="l00306"></a><span·class="lineno">··306</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> |
352 | <div·class="line"><a·id="l00307"·name="l00307"></a><span·class="lineno">··307</span>}·<span·class="comment">//·end·namespace·OpenSubdiv</span></div> | 352 | <div·class="line"><a·id="l00307"·name="l00307"></a><span·class="lineno">··307</span>}·<span·class="comment">//·end·namespace·OpenSubdiv</span></div> |
353 | <div·class="line"><a·id="l00308"·name="l00308"></a><span·class="lineno">··308</span>·</div> | 353 | <div·class="line"><a·id="l00308"·name="l00308"></a><span·class="lineno">··308</span>·</div> |
354 | <div·class="line"><a·id="l00309"·name="l00309"></a><span·class="lineno">··309</span><span·class="preprocessor">#endif·</span><span·class="comment">/*·OPENSUBDIV3_FAR_TOPOLOGY_REFINER_H·*/</span><span·class="preprocessor"></span></div> | 354 | <div·class="line"><a·id="l00309"·name="l00309"></a><span·class="lineno">··309</span><span·class="preprocessor">#endif·</span><span·class="comment">/*·OPENSUBDIV3_FAR_TOPOLOGY_REFINER_H·*/</span><span·class="preprocessor"></span></div> |
355 | <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> | 355 | <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> |
356 | <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> | 356 | <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> |
357 | <div·class="ttc"·id="aa00913_html_aa3daa2f428c6be2b1cb394f3a525833d"><div·class="ttname"><a·href="a00913.html#aa3daa2f428c6be2b1cb394f3a525833d">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::SchemeType</a></div><div·class="ttdeci">SchemeType</div><div·class="ttdoc">Enumerated·type·for·all·subdivision·schemes·supported·by·OpenSubdiv.</div><div·class="ttdef"><b>Definition</b>·<a·href="a01484_source.html#l00037">types.h:37</a></div></div> | 357 | <div·class="ttc"·id="aa00913_html_aa3daa2f428c6be2b1cb394f3a525833d"><div·class="ttname"><a·href="a00913.html#aa3daa2f428c6be2b1cb394f3a525833d">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::SchemeType</a></div><div·class="ttdeci">SchemeType</div><div·class="ttdoc">Enumerated·type·for·all·subdivision·schemes·supported·by·OpenSubdiv.</div><div·class="ttdef"><b>Definition</b>·<a·href="a01484_source.html#l00037">types.h:37</a></div></div> |
358 | <div·class="ttc"·id="aa01021_html"><div·class="ttname"><a·href="a01021.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PrimvarRefinerReal</a></div><div·class="ttdoc">Applies·refinement·operations·to·generic·primvar·data.</div><div·class="ttdef"><b>Definition</b>·<a·href="a0072 | 358 | <div·class="ttc"·id="aa01021_html"><div·class="ttname"><a·href="a01021.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PrimvarRefinerReal</a></div><div·class="ttdoc">Applies·refinement·operations·to·generic·primvar·data.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00728_source.html#l00056">primvarRefiner.h:56</a></div></div> |
359 | <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> | 359 | <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> |
360 | <div·class="ttc"·id="aa01105_html"><div·class="ttname"><a·href="a01105.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyLevel</a></div><div·class="ttdoc">An·interface·for·accessing·data·in·a·specific·level·of·a·refined·topology·hierarchy.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00710_source.html#l00049">topologyLevel.h:49</a></div></div> | 360 | <div·class="ttc"·id="aa01105_html"><div·class="ttname"><a·href="a01105.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyLevel</a></div><div·class="ttdoc">An·interface·for·accessing·data·in·a·specific·level·of·a·refined·topology·hierarchy.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00710_source.html#l00049">topologyLevel.h:49</a></div></div> |
361 | <div·class="ttc"·id="aa01109_html"><div·class="ttname"><a·href="a01109.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefinerFactory</a></div><div·class="ttdoc">Factory·for·constructing·TopologyRefiners·from·specific·mesh·classes.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00707_source.html#l00078">topologyRefinerFactory.h:78</a></div></div> | 361 | <div·class="ttc"·id="aa01109_html"><div·class="ttname"><a·href="a01109.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefinerFactory</a></div><div·class="ttdoc">Factory·for·constructing·TopologyRefiners·from·specific·mesh·classes.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00707_source.html#l00078">topologyRefinerFactory.h:78</a></div></div> |
362 | <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> | 362 | <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> |
363 | <div·class="ttc"·id="aa01113_html_a13c709a24feeed80409924510e3efc5e"><div·class="ttname"><a·href="a01113.html#a13c709a24feeed80409924510e3efc5e">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::TopologyRefiner</a></div><div·class="ttdeci">TopologyRefiner(TopologyRefiner·const·&source)</div></div> | 363 | <div·class="ttc"·id="aa01113_html_a13c709a24feeed80409924510e3efc5e"><div·class="ttname"><a·href="a01113.html#a13c709a24feeed80409924510e3efc5e">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::TopologyRefiner</a></div><div·class="ttdeci">TopologyRefiner(TopologyRefiner·const·&source)</div></div> |
364 | <div·class="ttc"·id="aa01113_html_a14bf987459715b918b370247bb24a61c"><div·class="ttname"><a·href="a01113.html#a14bf987459715b918b370247bb24a61c">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::GetMaxValence</a></div><div·class="ttdeci">int·GetMaxValence()·const</div><div·class="ttdoc">Returns·the·maximum·vertex·valence·in·all·levels.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00704_source.html#l00077">topologyRefiner.h:77</a></div></div> | 364 | <div·class="ttc"·id="aa01113_html_a14bf987459715b918b370247bb24a61c"><div·class="ttname"><a·href="a01113.html#a14bf987459715b918b370247bb24a61c">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::GetMaxValence</a></div><div·class="ttdeci">int·GetMaxValence()·const</div><div·class="ttdoc">Returns·the·maximum·vertex·valence·in·all·levels.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00704_source.html#l00077">topologyRefiner.h:77</a></div></div> |
365 | <div·class="ttc"·id="aa01113_html_a1712dfb8f057c939b48f6fb62c4c66e8"><div·class="ttname"><a·href="a01113.html#a1712dfb8f057c939b48f6fb62c4c66e8">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::getLevel</a></div><div·class="ttdeci">Vtr::internal::Level·const·&·getLevel(int·l)·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00704_source.html#l00237">topologyRefiner.h:237</a></div></div> | 365 | <div·class="ttc"·id="aa01113_html_a1712dfb8f057c939b48f6fb62c4c66e8"><div·class="ttname"><a·href="a01113.html#a1712dfb8f057c939b48f6fb62c4c66e8">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::getLevel</a></div><div·class="ttdeci">Vtr::internal::Level·const·&·getLevel(int·l)·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00704_source.html#l00237">topologyRefiner.h:237</a></div></div> |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/far/ | 8 | <title>OpenSubdiv:·opensubdiv/far/topologyDescriptor.h·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 90, 43 lines modified | Offset 90, 31 lines modified | ||
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#nested-classes">Classes</a>·| | 94 | <a·href="#nested-classes">Classes</a>·| |
95 | <a·href="#namespaces">Namespaces</a>··</div> | 95 | <a·href="#namespaces">Namespaces</a>··</div> |
96 | ··<div·class="headertitle"><div·class="title"> | 96 | ··<div·class="headertitle"><div·class="title">topologyDescriptor.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·"<a·class="el"·href="a00704_source.html">../far/topologyRefiner.h</a>"</code><br·/> | ||
101 | <code>#include·"<a·class="el"·href="a00707_source.html">../far/topologyRefinerFactory.h</a>"</code><br·/> | ||
100 | <code>#include·"<a·class="el"·href="a007 | 102 | <code>#include·"<a·class="el"·href="a00743_source.html">../far/error.h</a>"</code><br·/> |
101 | <code>#include·< | 103 | <code>#include·<cassert></code><br·/> |
102 | </div> | 104 | </div> |
103 | <p><a·href="a00713_source.html">Go·to·the·source·code·of·this·file.</a></p> | 105 | <p><a·href="a00713_source.html">Go·to·the·source·code·of·this·file.</a></p> |
104 | <table·class="memberdecls"> | 106 | <table·class="memberdecls"> |
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 107 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
106 | Classes</h2></td></tr> | 108 | Classes</h2></td></tr> |
107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"> | 109 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01097.html">TopologyDescriptor</a></td></tr> |
108 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·spe | 110 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·simple·reference·to·raw·topology·data·for·use·with·<a·class="el"·href="a01109.html"·title="Factory·for·constructing·TopologyRefiners·from·specific·mesh·classes.">TopologyRefinerFactory</a>.··<a·href="a01097.html#details">More...</a><br·/></td></tr> |
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01077.html">StencilTableFactoryReal<·REAL·>::Options</a></td></tr> | ||
111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
112 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01041.html">LimitStencilTableFactoryReal<·REAL·></a></td></tr> | ||
113 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·specialized·factory·for·<a·class="el"·href="a01073.html"·title="Limit·stencil·table·class·wrapping·the·template·for·compatibility.">LimitStencilTable</a>.··<a·href="a01041.html#details">More...</a><br·/></td></tr> | ||
114 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
115 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01081.html">LimitStencilTableFactoryReal<·REAL·>::Options</a></td></tr> | ||
116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
117 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01085.html">LimitStencilTableFactoryReal<·REAL·>::LocationArray</a></td></tr> | ||
118 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Descriptor·for·limit·surface·locations.··<a·href="a01085.html#details">More...</a><br·/></td></tr> | ||
119 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
120 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"> | 112 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01101.html">TopologyDescriptor::FVarChannel</a></td></tr> |
121 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a01049.html"·title="Vertex·stencil·class·wrapping·the·template·for·compatibility.">Stencil</a>·table·factory·class·wrapping·the·template·for·compatibility.··<a·href="a01089.html#details">More...</a><br·/></td></tr> | ||
122 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
123 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01093.html">LimitStencilTableFactory</a></td></tr> | ||
124 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a01049.html"·title="Vertex·stencil·class·wrapping·the·template·for·compatibility.">Stencil</a>·table·factory·class·wrapping·the·template·for·compatibility.··<a·href="a01093.html#details">More...</a><br·/></td></tr> | ||
125 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
126 | </table><table·class="memberdecls"> | 114 | </table><table·class="memberdecls"> |
127 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 115 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
128 | Namespaces</h2></td></tr> | 116 | Namespaces</h2></td></tr> |
129 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 117 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
130 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
131 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 119 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
Offset 135, 13 lines modified | Offset 123, 13 lines modified | ||
135 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 123 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
136 | </table> | 124 | </table> |
137 | </div><!--·contents·--> | 125 | </div><!--·contents·--> |
138 | </div><!--·doc-content·--> | 126 | </div><!--·doc-content·--> |
139 | <!--·start·footer·part·--> | 127 | <!--·start·footer·part·--> |
140 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 128 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
141 | ··<ul> | 129 | ··<ul> |
142 | ····<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"> | 130 | ····<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> |
143 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 131 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
144 | ··</ul> | 132 | ··</ul> |
145 | </div> | 133 | </div> |
146 | </body> | 134 | </body> |
147 | </html> | 135 | </html> |
Offset 1, 43 lines modified | Offset 1, 30 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
6 | 6 | topologyDescriptor.h·File·Reference | |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·"_\x8._\x8._\x8/_\x8f_\x8a_\x8r_\x8/_\x8t_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r_\x8._\x8h" | ||
9 | #include·"_\x8._\x8._\x8/_\x8f_\x8a_\x8r_\x8/_\x8t_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8._\x8h" | ||
8 | #include·"_\x8._\x8._\x8/_\x8f_\x8a_\x8r_\x8/_\x8 | 10 | #include·"_\x8._\x8._\x8/_\x8f_\x8a_\x8r_\x8/_\x8e_.r_.r_.o_.r_\x8._\x8h" |
9 | #include·< | 11 | #include·<cassert> |
10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 12 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
11 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 13 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
12 | ·class· ·_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8R_\x8e_\x8a_\x8l_\x8<_\x8·_\x8R_\x8E_\x8A_\x8L_\x8·_\x8> | ||
13 | 14 | struct· ·_.T_.o_.p_.o_.l_.o_.g_.y_.D_.e_.s_.c_.r_.i_.p_.t_.o_.r | |
15 | ········A·simple·reference·to·raw·topology·data·for·use·with | ||
16 | ·········_\x8T_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
14 | 17 | ||
18 | struct· ·_\x8T_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8F_\x8V_\x8a_\x8r_\x8C_\x8h_\x8a_\x8n_\x8n_\x8e_\x8l | ||
15 | struct· ·_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8R_\x8e_\x8a_\x8l_\x8<_\x8·_\x8R_\x8E_\x8A_\x8L_\x8·_\x8>_\x8:_\x8:_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s | ||
16 | |||
17 | ·class· ·_\x8L_\x8i_\x8m_\x8i_\x8t_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8R_\x8e_\x8a_\x8l_\x8<_\x8·_\x8R_\x8E_\x8A_\x8L_\x8·_\x8> | ||
18 | ········A·specialized·factory·for·_\x8L_\x8i_\x8m_\x8i_\x8t_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
19 | |||
20 | struct· ·_\x8L_\x8i_\x8m_\x8i_\x8t_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8R_\x8e_\x8a_\x8l_\x8<_\x8·_\x8R_\x8E_\x8A_\x8L_\x8·_\x8>_\x8:_\x8:_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s | ||
21 | |||
22 | struct· ·_\x8L_\x8i_\x8m_\x8i_\x8t_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8R_\x8e_\x8a_\x8l_\x8<_\x8·_\x8R_\x8E_\x8A_\x8L_\x8·_\x8>_\x8:_\x8:_\x8L_\x8o_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8A_\x8r_\x8r_\x8a_\x8y | ||
23 | ········Descriptor·for·limit·surface·locations.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
24 | |||
25 | ·class· ·_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y | ||
26 | ········_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l·table·factory·class·wrapping·the·template·for·compatibility. | ||
27 | ·········_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
28 | |||
29 | ·class· ·_\x8L_\x8i_\x8m_\x8i_\x8t_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y | ||
30 | ········_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l·table·factory·class·wrapping·the·template·for·compatibility. | ||
31 | ·········_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
32 | 19 | ||
33 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 20 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
34 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 21 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
35 | 22 | ||
36 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 23 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
37 | 24 | ||
38 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8F_\x8a_\x8r | 25 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8F_\x8a_\x8r |
39 | 26 | ||
40 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 27 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
41 | ····*·_\x8f_\x8a_\x8r | 28 | ····*·_\x8f_\x8a_\x8r |
42 | ····*·_\x8 | 29 | ····*·_\x8t_.o_.p_.o_.l_.o_.g_.y_.D_.e_.s_.c_.r_.i_.p_.t_.o_.r_\x8._\x8h |
43 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 30 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 9 lines modified | Offset 1, 4 lines modified | ||
1 | var·a00713·=·[ | 1 | var·a00713·=·[ |
2 | ····["StencilTableFactoryReal<·REAL·>",·"a01037.html",·"a01037"], | ||
3 | ····[" | 2 | ····["TopologyDescriptor",·"a01097.html",·"a01097"], |
4 | ····["LimitStencilTableFactoryReal<·REAL·>",·"a01041.html",·"a01041"], | ||
5 | ····[" | 3 | ····["FVarChannel",·"a01101.html",·"a01101"] |
6 | ····["LocationArray",·"a01085.html",·"a01085"], | ||
7 | ····["StencilTableFactory",·"a01089.html",·null], | ||
8 | ····["LimitStencilTableFactory",·"a01093.html",·null] | ||
9 | ]; | 4 | ]; |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/far/ | 8 | <title>OpenSubdiv:·opensubdiv/far/topologyDescriptor.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 92, 19 lines modified | Offset 92, 19 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title"> | 98 | ··<div·class="headertitle"><div·class="title">topologyDescriptor.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <a·href="a00713.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> | 101 | <a·href="a00713.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·201 | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·DreamWorks·Animation·LLC.</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> | 106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> |
107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> | 107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> |
108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> | 108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> |
109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> | 109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> |
Offset 118, 358 lines modified | Offset 118, 146 lines modified | ||
118 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div> | 118 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div> |
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_FAR_TOPOLOGY_DESCRIPTOR_H</span></div> | ||
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·OPENSUBDIV3_FAR_TOPOLOGY_DESCRIPTOR_H</span></div> | ||
125 | <div·class="line"><a·id="l0002 | 127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_FAR_STENCILTABLE_FACTORY_H</span></div> | ||
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_FAR_STENCILTABLE_FACTORY_H</span></div> | ||
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | ||
129 | <div·class="line"><a·id="l0002 | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·"../version.h"</span></div> |
130 | <div·class="line"><a·id="l0002 | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"../far/topologyRefiner.h"</span></div> | ||
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../far/topologyRefinerFactory.h"</span></div> | ||
131 | <div·class="line"><a·id="l0003 | 132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·"../far/error.h"</span></div> |
132 | <div·class="line"><a·id="l0003 | 133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
133 | <div·class="line"><a·id="l0003 | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·<cassert></span></div> |
134 | <div·class="line"><a·id="l0003 | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
135 | <div·class="line"><a·id="l0003 | 136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> |
136 | <div·class="line"><a·id="l0003 | 137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
137 | <div·class="line"><a·id="l0003 | 138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> |
138 | <div·class="line"><a·id="l0003 | 139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">namespace·</span>Far·{</div> |
139 | <div·class="line"><a·id="l0003 | 140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">class·</span>TopologyRefiner;</div> | ||
141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> | ||
142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">template</span>·<<span·class="keyword">typename</span>·REAL>·<span·class="keyword">class·</span>StencilReal;</div> | ||
143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">template</span>·<<span·class="keyword">typename</span>·REAL>·<span·class="keyword">class·</span>StencilTableReal;</div> | ||
144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | ||
145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">template</span>·<<span·class="keyword">typename</span>·REAL>·<span·class="keyword">class·</span>LimitStencilReal;</div> | ||
146 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">template</span>·<<span·class="keyword">typename</span>·REAL>·<span·class="keyword">class·</span>LimitStencilTableReal;</div> | ||
147 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
148 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | ||
149 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">template</span>·<<span·class="keyword">typename</span>·REAL></div> | ||
150 | <div·class="foldopen"·id="foldopen000 | 141 | <div·class="foldopen"·id="foldopen00049"·data-start="{"·data-end="};"> |
151 | <div·class="line"><a·id="l000 | 142 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01097.html">···49</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01097.html">TopologyDescriptor</a>·{</div> |
152 | <div·class="line"><a·id="l0005 | 143 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> |
153 | <div·class="line"><a·id="l0005 | 144 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01097.html#a29cac0aff7e6d15e55e9a8285799fe87">···51</a></span>····<span·class="keywordtype">int</span>···········<a·class="code·hl_variable"·href="a01097.html#a29cac0aff7e6d15e55e9a8285799fe8[·...·truncated·by·diffoscope;·len:·19,·SHA:·980159947647d698faabbe6595f92a3f63cfd2ace9f36f9a3dace6e9cd28a640·...·]</div> |
145 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01097.html#a523d3dc0299fc8921db1c26cc908f084">···52</a></span>··················<a·class="code·hl_variable"·href="a01097.html#a523d3dc0299fc8921db1c26cc908f084">numFaces</a>;</div> | ||
154 | <div·class="line"><a·id="l0005 | 146 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> |
147 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01097.html#a79e9d33aa1203818c4b765007d10be63">···54</a></span>····<span·class="keywordtype">int</span>·<span·class="keyword">const</span>···*·<a·class="code·hl_variable"·href="a01097.html#a79e9d33aa1203818c4b765007d10be63">numVertsPerFace</a>;</div> | ||
148 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01097.html#a3f2274c4d3dd54c4e24144e504972b34">···55</a></span>····<a·class="code·hl_typedef"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>·<span·class="keyword">const</span>·*·<a·class="code·hl_variable"·href="a01097.html#a3f2274c4d3dd54c4e24144e504972b34">vertIndicesPerFace</a>;</div> | ||
149 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | ||
150 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01097.html#ab8975c25a0f7d3a9f1fca83e267bc21e">···57</a></span>····<span·class="keywordtype">int</span>···········<a·class="code·hl_variable"·href="a01097.html#ab8975c25a0f7d3a9f1fca83e267bc21e">numCreases</a>;</div> | ||
151 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01097.html#a411a2a927b0270c9e4753dc219763ba5">···58</a></span>····<a·class="code·hl_typedef"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>·<span·class="keyword">const</span>·*·<a·class="code·hl_variable"·href="a01097.html#a411a2a927b0270c9e4753dc219763ba5">creaseVertexIndexPairs</a>;</div> | ||
152 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01097.html#a8cd977015d3ffffc1146c5a4e17d65e0">···59</a></span>····<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·<a·class="code·hl_variable"·href="a01097.html#a8cd977015d3ffffc1146c5a4e17d65e0">creaseWeights</a>;</div> | ||
155 | <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="};"> | ||
156 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01037.html#a46c8a310cf4c094f8c80e1cb8dc1f911">···55</a></span>····<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a01037.html#a46c8a310cf4c094f8c80e1cb8dc1f911">Mode</a>·{</div> | ||
157 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01037.html#a46c8a310cf4c094f8c80e1cb8dc1f911ab491ed84aea170a330914a3f88b16d50">···56</a></span>········<a·class="code·hl_enumvalue"·href="a01037.html#a46c8a310cf4c094f8c80e1cb8dc1f911ab491ed84aea170a330914a3f88b16d50">INTERPOLATE_VERTEX</a>=0,···········</div> | ||
158 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01037.html#a46c8a310cf4c094f8c80e1cb8dc1f911ab18c20abfc04611ab0aec5e1c81bb2ab">···57</a></span>········<a·class="code·hl_enumvalue"·href="a01037.html#a46c8a310cf4c094f8c80e1cb8dc1f911ab18c20abfc04611ab0aec5e1c81bb2ab">INTERPOLATE_VARYING</a>,············</div> | ||
159 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>········<a·class="code·hl_enumvalue"·href="a01037.html#a46c8a310cf4c094f8c80e1cb8dc1f911a4178369e390d2596ce60676642fec077">INTERPOLATE_FACE_VARYING</a>········</div> | ||
160 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01037.html#a46c8a310cf4c094f8c80e1cb8dc1f911a4178369e390d2596ce60676642fec077">···59</a></span>····};</div> | ||
161 | </div> | ||
162 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | 153 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> |
163 | <div·class="foldopen"·id="foldopen00061"·data-start="{"·data-end="};"> | ||
164 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a010 | 154 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01097.html#a5ea0fa49c8b73deae98be1cdf67a48dd">···61</a></span>····<span·class="keywordtype">int</span>···········<a·class="code·hl_variable"·href="a01097.html#a5ea0fa49c8b73deae98be1cdf67a48dd">numCorners</a>;</div> |
155 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01097.html#a3bf794743edda29fbee0653b65b75ba4">···62</a></span>····<a·class="code·hl_typedef"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>·<span·class="keyword">const</span>·*·<a·class="code·hl_variable"·href="a01097.html#a3bf794743edda29fbee0653b65b75ba4">cornerVertexIndices</a>;</div> | ||
156 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01097.html#a6d938f6b0a9ff0fa377ef675aa2c7fda">···63</a></span>····<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·<a·class="code·hl_variable"·href="a01097.html#a6d938f6b0a9ff0fa377ef675aa2c7fda">cornerWeights</a>;</div> | ||
157 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>········</div> | ||
158 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01097.html#aba3adf422acc0fc845afeba3a5df2b8f">···65</a></span>····<span·class="keywordtype">int</span>···········<a·class="code·hl_variable"·href="a01097.html#aba3adf422acc0fc845afeba3a5df2b8f">numHoles</a>;</div> | ||
159 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01097.html#a4fcd8e9a636d89045d364607f2b035a1">···66</a></span>····<a·class="code·hl_typedef"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>·<span·class="keyword">const</span>·*·<a·class="code·hl_variable"·href="a01097.html#a4fcd8e9a636d89045d364607f2b035a1">holeIndices</a>;</div> | ||
165 | <div·class="line"><a·id="l0006 | 160 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> |
161 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01097.html#a75fa7c3542be9d51069674ed3f9d078c">···68</a></span>····<span·class="keywordtype">bool</span>··········<a·class="code·hl_variable"·href="a01097.html#a75fa7c3542be9d51069674ed3f9d078c">isLeftHanded</a>;</div> | ||
162 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | ||
163 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="comment">//··Face-varying·data·channel·--·value·indices·correspond·to·vertex·indices,</span></div> | ||
164 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="comment">//··i.e.·one·for·every·vertex·of·every·face:</span></div> | ||
165 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="comment">//</span></div> | ||
166 | <div·class="foldopen"·id="foldopen000 | 166 | <div·class="foldopen"·id="foldopen00073"·data-start="{"·data-end="};"> |
167 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01077.html#a28d39a844c3a37ab61d32ab7c6352f09">···63</a></span>········<a·class="code·hl_function"·href="a01077.html#a28d39a844c3a37ab61d32ab7c6352f09">Options</a>()·:·<a·class="code·hl_variable"·href="a01077.html#ab7c383a49298cf060574242fe679378f">interpolationMode</a>(<a·class="code·hl_enumvalue"·href="a01037.html#a46c8a310cf4c094f8c80e1cb8dc1f911ab491ed84aea170a330914a3f88b16d50">INTERPOLATE_VERTEX</a>),</div> | ||
168 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····················<a·class="code·hl_variable"·href="a01077.html#a73289d5e55adccde08afd7399a2357f2">generateOffsets</a>(false),</div> | ||
169 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····················<a·class="code·hl_variable"·href="a01077.html#a7091c369d67630320a623dbc4a2b34b7">generateControlVerts</a>(false),</div> | ||
170 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····················<a·class="code·hl_variable"·href="a01077.html#a55457e193a57e08a56663abf8cc838b4">generateIntermediateLevels</a>(true),</div> | ||
171 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····················<a·class="code·hl_variable"·href="a01077.html#a059c9b4a95b37faa88d1dd0fac0adc8d">factorizeIntermediateLevels</a>(true),</div> | ||
172 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····················<a·class="code·hl_variable"·href="a01077.html#a110477b0e61b09d8be1a472df34f6386">maxLevel</a>(10),</div> | ||
173 | <div·class="line"><a·id="l000 | 167 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01101.html">···73</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01101.html">FVarChannel</a>·{</div> |
168 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | ||
169 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01101.html#aa0d5f7bfb1ba01e0cb648ff6fc249437">···75</a></span>········<span·class="keywordtype">int</span>···········<a·class="code·hl_variable"·href="a01101.html#aa0d5f7bfb1ba01e0cb648ff6fc249437">numValues</a>;</div> | ||
170 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01101.html#a123fe78d0e97dc72f5dfd9f27f93f699">···76</a></span>········<a·class="code·hl_typedef"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>·<span·class="keyword">const</span>·*·<a·class="code·hl_variable"·href="a01101.html#a123fe78d0e97dc72f5dfd9f27f93f699">valueIndices</a>;</div> | ||
171 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | ||
172 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01101.html#a029d281df9f5dc8c00b52a35f8e0dfde">···78</a></span>········<a·class="code·hl_function"·href="a01101.html#a029d281df9f5dc8c00b52a35f8e0dfde">FVarChannel</a>()·:·<a·class="code·hl_variable"·href="a01101.html#aa0d5f7bfb1ba01e0cb648ff6fc249437">numValues</a>(0),·<a·class="code·hl_variable"·href="a01101.html#a123fe78d0e97dc72f5dfd9f27f93f699">valueIndices</a>(0)·{·}</div> | ||
173 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····};</div> | ||
174 | </div> | 174 | </div> |
175 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>········</div> | ||
176 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01097.html#ad17511fd9b0cea1b15b6bc31c0fc3e80">···81</a></span>····<span·class="keywordtype">int</span>·················<a·class="code·hl_variable"·href="a01097.html#ad17511fd9b0cea1b15b6bc31c0fc3e80">numFVarChannels</a>;</div> | ||
177 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01097.html#a222697ec045f92879ae194eb2d92b526">···82</a></span>····<a·class="code·hl_struct"·href="a01101.html">FVarChannel</a>·<span·class="keyword">const</span>·*·<a·class="code·hl_variable"·href="a01097.html#a222697ec045f92879ae194eb2d92b526">fvarChannels</a>;</div> | ||
175 | <div·class="line"><a·id="l000 | 178 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> |
179 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01097.html#a8209f1b69b0162ee2e7065d91088113d">···84</a></span>····<a·class="code·hl_function"·href="a01097.html#a8209f1b69b0162ee2e7065d91088113d">TopologyDescriptor</a>();</div> | ||
176 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01077.html#ab7c383a49298cf060574242fe679378f">···71</a></span>········<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01077.html#ab7c383a49298cf060574242fe679378f">interpolationMode</a>···········:·2,·</div> | ||
177 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01077.html#a73289d5e55adccde08afd7399a2357f2">···72</a></span>·····················<a·class="code·hl_variable"·href="a01077.html#a73289d5e55adccde08afd7399a2357f2">generateOffsets</a>·············:·1,·</div> | ||
Max diff block lines reached; 77950/110475 bytes (70.56%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | 5 | topologyDescriptor.h | |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·201 | 8 | 2//·Copyright·2014·DreamWorks·Animation·LLC. |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: | 13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: |
14 | 8// | 14 | 8// |
15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade | 15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade |
Offset 23, 498 lines modified | Offset 23, 208 lines modified | ||
23 | 17// | 23 | 17// |
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24#ifndef·OPENSUBDIV3_FAR_TOPOLOGY_DESCRIPTOR_H | ||
31 | 25#define·OPENSUBDIV3_FAR_TOPOLOGY_DESCRIPTOR_H | ||
32 | 26 | ||
30 | 24 | ||
31 | 25#ifndef·OPENSUBDIV3_FAR_STENCILTABLE_FACTORY_H | ||
32 | 26#define·OPENSUBDIV3_FAR_STENCILTABLE_FACTORY_H | ||
33 | 27 | ||
34 | 2 | 33 | 27#include·"../version.h" |
35 | 29 | ||
36 | 30#include·"../far/patchTable.h" | ||
37 | 31 | ||
38 | 32#include·<vector> | ||
39 | 34 | 28 | |
35 | 29#include·"../far/topologyRefiner.h" | ||
36 | 30#include·"../far/topologyRefinerFactory.h" | ||
37 | 31#include·"../far/error.h" | ||
38 | 32 | ||
39 | 33#include·<cassert> | ||
40 | 34 | ||
40 | 3 | 41 | 35namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ |
41 | 3 | 42 | 36namespace·OPENSUBDIV_VERSION·{ |
42 | 3 | 43 | 37 |
43 | 3 | 44 | 38namespace·Far·{ |
45 | 39 | ||
46 | _\x84_\x89struct·_\x8T_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·{ | ||
47 | 50 | ||
48 | _\x85_\x81·int·_\x8n_\x8u_\x8m_\x8V_\x8e_\x8r_\x8t_\x8i_\x8c_\x8e_\x8s, | ||
49 | _\x85_\x82·_\x8n_\x8u_\x8m_\x8F_\x8a_\x8c_\x8e_\x8s; | ||
50 | 53 | ||
51 | _\x85_\x84·int·const·*·_\x8n_\x8u_\x8m_\x8V_\x8e_\x8r_\x8t_\x8s_\x8P_\x8e_\x8r_\x8F_\x8a_\x8c_\x8e; | ||
52 | _\x85_\x85·_\x8I_\x8n_\x8d_\x8e_\x8x·const·*·_\x8v_\x8e_\x8r_\x8t_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s_\x8P_\x8e_\x8r_\x8F_\x8a_\x8c_\x8e; | ||
53 | 56 | ||
54 | _\x85_\x87·int·_\x8n_\x8u_\x8m_\x8C_\x8r_\x8e_\x8a_\x8s_\x8e_\x8s; | ||
55 | _\x85_\x88·_\x8I_\x8n_\x8d_\x8e_\x8x·const·*·_\x8c_\x8r_\x8e_\x8a_\x8s_\x8e_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8d_\x8e_\x8x_\x8P_\x8a_\x8i_\x8r_\x8s; | ||
56 | _\x85_\x89·float·const·*·_\x8c_\x8r_\x8e_\x8a_\x8s_\x8e_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s; | ||
44 | 38 | ||
45 | 39class·TopologyRefiner; | ||
46 | 40 | ||
47 | 41template·<typename·REAL>·class·StencilReal; | ||
48 | 42template·<typename·REAL>·class·StencilTableReal; | ||
49 | 43 | ||
50 | 44template·<typename·REAL>·class·LimitStencilReal; | ||
51 | 45template·<typename·REAL>·class·LimitStencilTableReal; | ||
52 | 46 | ||
53 | 47 | ||
54 | 50template·<typename·REAL> | ||
55 | _\x85_\x81class·_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8R_\x8e_\x8a_\x8l·{ | ||
56 | 52 | ||
57 | 53public: | ||
58 | 54 | ||
59 | _\x85_\x85·enum·_\x8M_\x8o_\x8d_\x8e·{ | ||
60 | _\x85_\x86·_\x8I_\x8N_\x8T_\x8E_\x8R_\x8P_\x8O_\x8L_\x8A_\x8T_\x8E_\x8__\x8V_\x8E_\x8R_\x8T_\x8E_\x8X=0, | ||
61 | _\x85_\x87·_\x8I_\x8N_\x8T_\x8E_\x8R_\x8P_\x8O_\x8L_\x8A_\x8T_\x8E_\x8__\x8V_\x8A_\x8R_\x8Y_\x8I_\x8N_\x8G, | ||
62 | 58·_\x8I_\x8N_\x8T_\x8E_\x8R_\x8P_\x8O_\x8L_\x8A_\x8T_\x8E_\x8__\x8F_\x8A_\x8C_\x8E_\x8__\x8V_\x8A_\x8R_\x8Y_\x8I_\x8N_\x8G | ||
63 | _\x85_\x89·}; | ||
64 | 60 | 57 | 60 |
58 | _\x86_\x81·int·_\x8n_\x8u_\x8m_\x8C_\x8o_\x8r_\x8n_\x8e_\x8r_\x8s; | ||
59 | _\x86_\x82·_\x8I_\x8n_\x8d_\x8e_\x8x·const·*·_\x8c_\x8o_\x8r_\x8n_\x8e_\x8r_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s; | ||
60 | _\x86_\x83·float·const·*·_\x8c_\x8o_\x8r_\x8n_\x8e_\x8r_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s; | ||
61 | 64 | ||
62 | _\x86_\x85·int·_\x8n_\x8u_\x8m_\x8H_\x8o_\x8l_\x8e_\x8s; | ||
63 | _\x86_\x86·_\x8I_\x8n_\x8d_\x8e_\x8x·const·*·_\x8h_\x8o_\x8l_\x8e_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s; | ||
64 | 67 | ||
65 | _\x86_\x88·bool·_\x8i_\x8s_\x8L_\x8e_\x8f_\x8t_\x8H_\x8a_\x8n_\x8d_\x8e_\x8d; | ||
66 | 69 | ||
67 | 70·//·Face-varying·data·channel·--·value·indices·correspond·to·vertex·indices, | ||
68 | 71·//·i.e.·one·for·every·vertex·of·every·face: | ||
69 | 72·// | ||
65 | _\x86_\x81·struct·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s·{ | ||
66 | 62 | ||
67 | _\x86_\x83·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s()·:·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8p_\x8o_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8M_\x8o_\x8d_\x8e(_\x8I_\x8N_\x8T_\x8E_\x8R_\x8P_\x8O_\x8L_\x8A_\x8T_\x8E_\x8__\x8V_\x8E_\x8R_\x8T_\x8E_\x8X), | ||
68 | 64·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8O_\x8f_\x8f_\x8s_\x8e_\x8t_\x8s(false), | ||
69 | 65·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8C_\x8o_\x8n_\x8t_\x8r_\x8o_\x8l_\x8V_\x8e_\x8r_\x8t_\x8s(false), | ||
70 | 66·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8m_\x8e_\x8d_\x8i_\x8a_\x8t_\x8e_\x8L_\x8e_\x8v_\x8e_\x8l_\x8s(true), | ||
71 | 67·_\x8f_\x8a_\x8c_\x8t_\x8o_\x8r_\x8i_\x8z_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8m_\x8e_\x8d_\x8i_\x8a_\x8t_\x8e_\x8L_\x8e_\x8v_\x8e_\x8l_\x8s(true), | ||
72 | 68·_\x8m_\x8a_\x8x_\x8L_\x8e_\x8v_\x8e_\x8l(10), | ||
73 | 69·_\x8f_\x8v_\x8a_\x8r_\x8C_\x8h_\x8a_\x8n_\x8n_\x8e_\x8l(0)·{·} | ||
74 | 70 | ||
75 | _\x87_\x81·unsigned·int·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8p_\x8o_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8M_\x8o_\x8d_\x8e·:·2, | ||
76 | _\x87_\x82·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8O_\x8f_\x8f_\x8s_\x8e_\x8t_\x8s·:·1, | ||
77 | _\x87_\x83·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8C_\x8o_\x8n_\x8t_\x8r_\x8o_\x8l_\x8V_\x8e_\x8r_\x8t_\x8s·:·1, | ||
78 | _\x87_\x84·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8m_\x8e_\x8d_\x8i_\x8a_\x8t_\x8e_\x8L_\x8e_\x8v_\x8e_\x8l_\x8s·:·1, | ||
79 | _\x87_\x85·_\x8f_\x8a_\x8c_\x8t_\x8o_\x8r_\x8i_\x8z_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8m_\x8e_\x8d_\x8i_\x8a_\x8t_\x8e_\x8L_\x8e_\x8v_\x8e_\x8l_\x8s·:·1, | ||
80 | _\x87_\x88·_\x8m_\x8a_\x8x_\x8L_\x8e_\x8v_\x8e_\x8l·:·4; | ||
81 | _\x87_\x8 | 70 | _\x87_\x83·struct·_.F_.V_.a_.r_.C_.h_.a_.n_.n_.e_.l·{ |
82 | 81·}; | ||
83 | 82 | ||
84 | _\x89_\x84·static·_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e_\x8R_\x8e_\x8a_\x8l_\x8<_\x8R_\x8E_\x8A_\x8L_\x8>·const·*·_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e( | ||
85 | 95·_\x8T_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r·const·&·refiner,·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s·options·=·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s()); | ||
86 | 96 | ||
87 | 97 | ||
88 | _\x81_\x81_\x80·static·_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e_\x8R_\x8e_\x8a_\x8l_\x8<_\x8R_\x8E_\x8A_\x8L_\x8>·const·*·_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e( | ||
89 | 111·int·numTables,·_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e_\x8R_\x8e_\x8a_\x8l_\x8<_\x8R_\x8E_\x8A_\x8L_\x8>·const·**·tables); | ||
90 | 71 | 74 | |
72 | _\x87_\x85·int·_\x8n_\x8u_\x8m_\x8V_\x8a_\x8l_\x8u_\x8e_\x8s; | ||
73 | _\x87_\x86·_\x8I_\x8n_\x8d_\x8e_\x8x·const·*·_\x8v_\x8a_\x8l_\x8u_\x8e_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s; | ||
74 | 77 | ||
75 | _\x87_\x88·_\x8F_\x8V_\x8a_\x8r_\x8C_\x8h_\x8a_\x8n_\x8n_\x8e_\x8l()·:·_\x8n_\x8u_\x8m_\x8V_\x8a_\x8l_\x8u_\x8e_\x8s(0),·_\x8v_\x8a_\x8l_\x8u_\x8e_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s(0)·{·} | ||
76 | 79·}; | ||
77 | 80 | ||
78 | _\x88_\x81·int·_\x8n_\x8u_\x8m_\x8F_\x8V_\x8a_\x8r_\x8C_\x8h_\x8a_\x8n_\x8n_\x8e_\x8l_\x8s; | ||
79 | _\x88_\x82·_\x8F_\x8V_\x8a_\x8r_\x8C_\x8h_\x8a_\x8n_\x8n_\x8e_\x8l·const·*·_\x8f_\x8v_\x8a_\x8r_\x8C_\x8h_\x8a_\x8n_\x8n_\x8e_\x8l_\x8s; | ||
80 | 83 | ||
81 | _\x88_\x84·_\x8T_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r(); | ||
Max diff block lines reached; 43075/50251 bytes (85.72%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/far/t | 8 | <title>OpenSubdiv:·opensubdiv/far/stencilTableFactory.h·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 90, 31 lines modified | Offset 90, 43 lines modified | ||
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#nested-classes">Classes</a>·| | 94 | <a·href="#nested-classes">Classes</a>·| |
95 | <a·href="#namespaces">Namespaces</a>··</div> | 95 | <a·href="#namespaces">Namespaces</a>··</div> |
96 | ··<div·class="headertitle"><div·class="title">t | 96 | ··<div·class="headertitle"><div·class="title">stencilTableFactory.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·"<a·class="el"·href="a00704_source.html">../far/topologyRefiner.h</a>"</code><br·/> | ||
101 | <code>#include·"<a·class="el"·href="a00707_source.html">../far/topologyRefinerFactory.h</a>"</code><br·/> | ||
102 | <code>#include·"<a·class="el"·href="a007 | 100 | <code>#include·"<a·class="el"·href="a00731_source.html">../far/patchTable.h</a>"</code><br·/> |
103 | <code>#include·< | 101 | <code>#include·<vector></code><br·/> |
104 | </div> | 102 | </div> |
105 | <p><a·href="a00716_source.html">Go·to·the·source·code·of·this·file.</a></p> | 103 | <p><a·href="a00716_source.html">Go·to·the·source·code·of·this·file.</a></p> |
106 | <table·class="memberdecls"> | 104 | <table·class="memberdecls"> |
107 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
108 | Classes</h2></td></tr> | 106 | Classes</h2></td></tr> |
109 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"> | 107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01037.html">StencilTableFactoryReal<·REAL·></a></td></tr> |
110 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·s | 108 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·specialized·factory·for·<a·class="el"·href="a01057.html"·title="Stencil·table·class·wrapping·the·template·for·compatibility.">StencilTable</a>.··<a·href="a01037.html#details">More...</a><br·/></td></tr> |
111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01077.html">StencilTableFactoryReal<·REAL·>::Options</a></td></tr> | ||
111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
112 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01041.html">LimitStencilTableFactoryReal<·REAL·></a></td></tr> | ||
113 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·specialized·factory·for·<a·class="el"·href="a01073.html"·title="Limit·stencil·table·class·wrapping·the·template·for·compatibility.">LimitStencilTable</a>.··<a·href="a01041.html#details">More...</a><br·/></td></tr> | ||
114 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
115 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01081.html">LimitStencilTableFactoryReal<·REAL·>::Options</a></td></tr> | ||
116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
117 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01085.html">LimitStencilTableFactoryReal<·REAL·>::LocationArray</a></td></tr> | ||
118 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Descriptor·for·limit·surface·locations.··<a·href="a01085.html#details">More...</a><br·/></td></tr> | ||
119 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
112 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"> | 120 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01089.html">StencilTableFactory</a></td></tr> |
121 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a01049.html"·title="Vertex·stencil·class·wrapping·the·template·for·compatibility.">Stencil</a>·table·factory·class·wrapping·the·template·for·compatibility.··<a·href="a01089.html#details">More...</a><br·/></td></tr> | ||
122 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
123 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01093.html">LimitStencilTableFactory</a></td></tr> | ||
124 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a01049.html"·title="Vertex·stencil·class·wrapping·the·template·for·compatibility.">Stencil</a>·table·factory·class·wrapping·the·template·for·compatibility.··<a·href="a01093.html#details">More...</a><br·/></td></tr> | ||
113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 125 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
114 | </table><table·class="memberdecls"> | 126 | </table><table·class="memberdecls"> |
115 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 127 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
116 | Namespaces</h2></td></tr> | 128 | Namespaces</h2></td></tr> |
117 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 129 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 130 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
119 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 131 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
Offset 123, 13 lines modified | Offset 135, 13 lines modified | ||
123 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 135 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
124 | </table> | 136 | </table> |
125 | </div><!--·contents·--> | 137 | </div><!--·contents·--> |
126 | </div><!--·doc-content·--> | 138 | </div><!--·doc-content·--> |
127 | <!--·start·footer·part·--> | 139 | <!--·start·footer·part·--> |
128 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 140 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
129 | ··<ul> | 141 | ··<ul> |
130 | ····<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">t | 142 | ····<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> |
131 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 143 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
132 | ··</ul> | 144 | ··</ul> |
133 | </div> | 145 | </div> |
134 | </body> | 146 | </body> |
135 | </html> | 147 | </html> |
Offset 1, 30 lines modified | Offset 1, 43 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
6 | t | 6 | stencilTableFactory.h·File·Reference |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·"_\x8._\x8._\x8/_\x8f_\x8a_\x8r_\x8/_\x8t_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r_\x8._\x8h" | ||
9 | #include·"_\x8._\x8._\x8/_\x8f_\x8a_\x8r_\x8/_\x8t_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8._\x8h" | ||
10 | #include·"_\x8._\x8._\x8/_\x8f_\x8a_\x8r_\x8/_\x8 | 8 | #include·"_\x8._\x8._\x8/_\x8f_\x8a_\x8r_\x8/_\x8p_.a_.t_.c_.h_.T_.a_.b_.l_.e_\x8._\x8h" |
11 | #include·< | 9 | #include·<vector> |
12 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
13 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 11 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
12 | ·class· ·_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8R_\x8e_\x8a_\x8l_\x8<_\x8·_\x8R_\x8E_\x8A_\x8L_\x8·_\x8> | ||
13 | ········A·specialized·factory·for·_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
14 | struct· ·_\x8T_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r | ||
15 | ········A·simple·reference·to·raw·topology·data·for·use·with | ||
16 | ·········_\x8T_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
17 | 14 | ||
18 | struct· ·_\x8 | 15 | struct· ·_\x8S_.t_.e_.n_.c_.i_.l_.T_.a_.b_.l_.e_.F_.a_.c_.t_.o_.r_.y_.R_.e_.a_.l_.<_.·_.R_.E_.A_.L_.·_.>_.:_.:_.O_.p_.t_.i_.o_.n_.s |
16 | |||
17 | ·class· ·_\x8L_\x8i_\x8m_\x8i_\x8t_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8R_\x8e_\x8a_\x8l_\x8<_\x8·_\x8R_\x8E_\x8A_\x8L_\x8·_\x8> | ||
18 | ········A·specialized·factory·for·_\x8L_\x8i_\x8m_\x8i_\x8t_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
19 | |||
20 | struct· ·_\x8L_\x8i_\x8m_\x8i_\x8t_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8R_\x8e_\x8a_\x8l_\x8<_\x8·_\x8R_\x8E_\x8A_\x8L_\x8·_\x8>_\x8:_\x8:_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s | ||
21 | |||
22 | struct· ·_\x8L_\x8i_\x8m_\x8i_\x8t_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8R_\x8e_\x8a_\x8l_\x8<_\x8·_\x8R_\x8E_\x8A_\x8L_\x8·_\x8>_\x8:_\x8:_\x8L_\x8o_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8A_\x8r_\x8r_\x8a_\x8y | ||
23 | ········Descriptor·for·limit·surface·locations.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
24 | |||
25 | ·class· ·_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y | ||
26 | ········_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l·table·factory·class·wrapping·the·template·for·compatibility. | ||
27 | ·········_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
28 | |||
29 | ·class· ·_\x8L_\x8i_\x8m_\x8i_\x8t_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y | ||
30 | ········_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l·table·factory·class·wrapping·the·template·for·compatibility. | ||
31 | ·········_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
19 | 32 | ||
20 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 33 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
21 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 34 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
22 | 35 | ||
23 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 36 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
24 | 37 | ||
25 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8F_\x8a_\x8r | 38 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8F_\x8a_\x8r |
26 | 39 | ||
27 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 40 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
28 | ····*·_\x8f_\x8a_\x8r | 41 | ····*·_\x8f_\x8a_\x8r |
29 | ····*·_\x8 | 42 | ····*·_\x8s_.t_.e_.n_.c_.i_.l_.T_.a_.b_.l_.e_.F_.a_.c_.t_.o_.r_.y_\x8._\x8h |
30 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 43 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 4 lines modified | Offset 1, 9 lines modified | ||
1 | var·a00716·=·[ | 1 | var·a00716·=·[ |
2 | ····["StencilTableFactoryReal<·REAL·>",·"a01037.html",·"a01037"], | ||
2 | ····[" | 3 | ····["Options",·"a01077.html",·"a01077"], |
4 | ····["LimitStencilTableFactoryReal<·REAL·>",·"a01041.html",·"a01041"], | ||
3 | ····[" | 5 | ····["Options",·"a01081.html",·"a01081"], |
6 | ····["LocationArray",·"a01085.html",·"a01085"], | ||
7 | ····["StencilTableFactory",·"a01089.html",·null], | ||
8 | ····["LimitStencilTableFactory",·"a01093.html",·null] | ||
4 | ]; | 9 | ]; |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/far/t | 8 | <title>OpenSubdiv:·opensubdiv/far/stencilTableFactory.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 92, 19 lines modified | Offset 92, 19 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title">t | 98 | ··<div·class="headertitle"><div·class="title">stencilTableFactory.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <a·href="a00716.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> | 101 | <a·href="a00716.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·201 | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> | 106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> |
107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> | 107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> |
108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> | 108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> |
109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> | 109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> |
Offset 118, 146 lines modified | Offset 118, 358 lines modified | ||
118 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div> | 118 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div> |
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_FAR_TOPOLOGY_DESCRIPTOR_H</span></div> | ||
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·OPENSUBDIV3_FAR_TOPOLOGY_DESCRIPTOR_H</span></div> | ||
127 | <div·class="line"><a·id="l0002 | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_FAR_STENCILTABLE_FACTORY_H</span></div> | ||
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_FAR_STENCILTABLE_FACTORY_H</span></div> | ||
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | ||
128 | <div·class="line"><a·id="l0002 | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> |
129 | <div·class="line"><a·id="l0002 | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"../far/topologyRefiner.h"</span></div> | ||
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../far/topologyRefinerFactory.h"</span></div> | ||
132 | <div·class="line"><a·id="l0003 | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../far/patchTable.h"</span></div> |
133 | <div·class="line"><a·id="l0003 | 132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
134 | <div·class="line"><a·id="l0003 | 133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·<vector></span></div> |
135 | <div·class="line"><a·id="l0003 | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
136 | <div·class="line"><a·id="l0003 | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> |
137 | <div·class="line"><a·id="l0003 | 136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
138 | <div·class="line"><a·id="l0003 | 137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
139 | <div·class="line"><a·id="l0003 | 138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Far·{</div> |
140 | <div·class="line"><a·id="l0003 | 139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">class·</span>TopologyRefiner;</div> | ||
141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> | ||
142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">template</span>·<<span·class="keyword">typename</span>·REAL>·<span·class="keyword">class·</span>StencilReal;</div> | ||
143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">template</span>·<<span·class="keyword">typename</span>·REAL>·<span·class="keyword">class·</span>StencilTableReal;</div> | ||
144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | ||
145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">template</span>·<<span·class="keyword">typename</span>·REAL>·<span·class="keyword">class·</span>LimitStencilReal;</div> | ||
146 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">template</span>·<<span·class="keyword">typename</span>·REAL>·<span·class="keyword">class·</span>LimitStencilTableReal;</div> | ||
147 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
148 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | ||
149 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">template</span>·<<span·class="keyword">typename</span>·REAL></div> | ||
141 | <div·class="foldopen"·id="foldopen000 | 150 | <div·class="foldopen"·id="foldopen00051"·data-start="{"·data-end="};"> |
142 | <div·class="line"><a·id="l000 | 151 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01037.html">···51</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01037.html">StencilTableFactoryReal</a>·{</div> |
143 | <div·class="line"><a·id="l0005 | 152 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> |
153 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">public</span>:</div> | ||
144 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01097.html#a29cac0aff7e6d15e55e9a8285799fe87">···51</a></span>····<span·class="keywordtype">int</span>···········<a·class="code·hl_variable"·href="a01097.html#a29cac0aff7e6d15e55e9a8285799fe87">numVertices</a>,</div> | ||
145 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01097.html#a523d3dc0299fc8921db1c26cc908f084">···52</a></span>··················<a·class="code·hl_variable"·href="a01097.html#a523d3dc0299fc8921db1c26cc908f084">numFaces</a>;</div> | ||
146 | <div·class="line"><a·id="l0005 | 154 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> |
147 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01097.html#a79e9d33aa1203818c4b765007d10be63">···54</a></span>····<span·class="keywordtype">int</span>·<span·class="keyword">const</span>···*·<a·class="code·hl_variable"·href="a01097.html#a79e9d33aa1203818c4b765007d10be63">numVertsPerFace</a>;</div> | ||
148 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01097.html#a3f2274c4d3dd54c4e24144e504972b34">···55</a></span>····<a·class="code·hl_typedef"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>·<span·class="keyword">const</span>·*·<a·class="code·hl_variable"·href="a01097.html#a3f2274c4d3dd54c4e24144e504972b34">vertIndicesPerFace</a>;</div> | ||
149 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | ||
150 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01097.html#ab8975c25a0f7d3a9f1fca83e267bc21e">···57</a></span>····<span·class="keywordtype">int</span>···········<a·class="code·hl_variable"·href="a01097.html#ab8975c25a0f7d3a9f1fca83e267bc21e">numCreases</a>;</div> | ||
151 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01097.html#a411a2a927b0270c9e4753dc219763ba5">···58</a></span>····<a·class="code·hl_typedef"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>·<span·class="keyword">const</span>·*·<a·class="code·hl_variable"·href="a01097.html#a411a2a927b0270c9e4753dc219763ba5">creaseVertexIndexPairs</a>;</div> | ||
152 | <div·class=" | 155 | <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="};"> |
156 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01037.html#a46c8a310cf4c094f8c80e1cb8dc1f911">···55</a></span>····<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a01037.html#a46c8a310cf4c094f8c80e1cb8dc1f911">Mode</a>·{</div> | ||
157 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01037.html#a46c8a310cf4c094f8c80e1cb8dc1f911ab491ed84aea170a330914a3f88b16d50">···56</a></span>········<a·class="code·hl_enumvalue"·href="a01037.html#a46c8a310cf4c094f8c80e1cb8dc1f911ab491ed84aea170a330914a3f88b16d50">INTERPOLATE_VERTEX</a>=0,···········</div> | ||
158 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01037.html#a46c8a310cf4c094f8c80e1cb8dc1f911ab18c20abfc04611ab0aec5e1c81bb2ab">···57</a></span>········<a·class="code·hl_enumvalue"·href="a01037.html#a46c8a310cf4c094f8c80e1cb8dc1f911ab18c20abfc04611ab0aec5e1c81bb2ab">INTERPOLATE_VARYING</a>,············</div> | ||
159 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>········<a·class="code·hl_enumvalue"·href="a01037.html#a46c8a310cf4c094f8c80e1cb8dc1f911a4178369e390d2596ce60676642fec077">INTERPOLATE_FACE_VARYING</a>········</div> | ||
160 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01037.html#a46c8a310cf4c094f8c80e1cb8dc1f911a4178369e390d2596ce60676642fec077">···59</a></span>····};</div> | ||
161 | </div> | ||
153 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | 162 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> |
163 | <div·class="foldopen"·id="foldopen00061"·data-start="{"·data-end="};"> | ||
164 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01077.html">···61</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01077.html">Options</a>·{</div> | ||
154 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01097.html#a5ea0fa49c8b73deae98be1cdf67a48dd">···61</a></span>····<span·class="keywordtype">int</span>···········<a·class="code·hl_variable"·href="a01097.html#a5ea0fa49c8b73deae98be1cdf67a48dd">numCorners</a>;</div> | ||
155 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01097.html#a3bf794743edda29fbee0653b65b75ba4">···62</a></span>····<a·class="code·hl_typedef"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>·<span·class="keyword">const</span>·*·<a·class="code·hl_variable"·href="a01097.html#a3bf794743edda29fbee0653b65b75ba4">cornerVertexIndices</a>;</div> | ||
156 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01097.html#a6d938f6b0a9ff0fa377ef675aa2c7fda">···63</a></span>····<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·<a·class="code·hl_variable"·href="a01097.html#a6d938f6b0a9ff0fa377ef675aa2c7fda">cornerWeights</a>;</div> | ||
157 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>········</div> | ||
158 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01097.html#aba3adf422acc0fc845afeba3a5df2b8f">···65</a></span>····<span·class="keywordtype">int</span>···········<a·class="code·hl_variable"·href="a01097.html#aba3adf422acc0fc845afeba3a5df2b8f">numHoles</a>;</div> | ||
159 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01097.html#a4fcd8e9a636d89045d364607f2b035a1">···66</a></span>····<a·class="code·hl_typedef"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>·<span·class="keyword">const</span>·*·<a·class="code·hl_variable"·href="a01097.html#a4fcd8e9a636d89045d364607f2b035a1">holeIndices</a>;</div> | ||
160 | <div·class="line"><a·id="l0006 | 165 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> |
161 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01097.html#a75fa7c3542be9d51069674ed3f9d078c">···68</a></span>····<span·class="keywordtype">bool</span>··········<a·class="code·hl_variable"·href="a01097.html#a75fa7c3542be9d51069674ed3f9d078c">isLeftHanded</a>;</div> | ||
162 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | ||
163 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="comment">//··Face-varying·data·channel·--·value·indices·correspond·to·vertex·indices,</span></div> | ||
164 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="comment">//··i.e.·one·for·every·vertex·of·every·face:</span></div> | ||
165 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="comment">//</span></div> | ||
166 | <div·class="foldopen"·id="foldopen000 | 166 | <div·class="foldopen"·id="foldopen00063"·data-start="{"·data-end="}"> |
167 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01101.html">···73</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01101.html">FVarChannel</a>·{</div> | ||
168 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | ||
169 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01101.html#aa0d5f7bfb1ba01e0cb648ff6fc249437">···75</a></span>········<span·class="keywordtype">int</span>···········<a·class="code·hl_variable"·href="a01101.html#aa0d5f7bfb1ba01e0cb648ff6fc249437">numValues</a>;</div> | ||
170 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01101.html#a123fe78d0e97dc72f5dfd9f27f93f699">···76</a></span>········<a·class="code·hl_typedef"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>·<span·class="keyword">const</span>·*·<a·class="code·hl_variable"·href="a01101.html#a123fe78d0e97dc72f5dfd9f27f93f699">valueIndices</a>;</div> | ||
171 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | ||
172 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01101.html#a029d281df9f5dc8c00b52a35f8e0dfde">···78</a></span>········<a·class="code·hl_function"·href="a01101.html#a029d281df9f5dc8c00b52a35f8e0dfde">FVarChannel</a>()·:·<a·class="code·hl_variable"·href="a01101.html#aa0d5f7bfb1ba01e0cb648ff6fc249437">numValues</a>(0),·<a·class="code·hl_variable"·href="a01101.html#a123fe78d0e97dc72f5dfd9f27f93f699">valueIndices</a>(0)·{·}</div> | ||
173 | <div·class="line"><a·id="l000 | 167 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01077.html#a28d39a844c3a37ab61d32ab7c6352f09">···63</a></span>········<a·class="code·hl_function"·href="a01077.html#a28d39a844c3a37ab61d32ab7c6352f09">Options</a>()·:·<a·class="code·hl_varia[·...·truncated·by·diffoscope;·len:·219,·SHA:·b470a82f400ce779c6cb0eeddd6f31adc2c02e25e6e8916e91ca825ad7551831·...·]</div> |
168 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····················<a·class="code·hl_variable"·href="a01077.html#a73289d5e55adccde08afd7399a2357f2">generateOffsets</a>(false),</div> | ||
169 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····················<a·class="code·hl_variable"·href="a01077.html#a7091c369d67630320a623dbc4a2b34b7">generateControlVerts</a>(false),</div> | ||
170 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····················<a·class="code·hl_variable"·href="a01077.html#a55457e193a57e08a56663abf8cc838b4">generateIntermediateLevels</a>(true),</div> | ||
171 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····················<a·class="code·hl_variable"·href="a01077.html#a059c9b4a95b37faa88d1dd0fac0adc8d">factorizeIntermediateLevels</a>(true),</div> | ||
172 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····················<a·class="code·hl_variable"·href="a01077.html#a110477b0e61b09d8be1a472df34f6386">maxLevel</a>(10),</div> | ||
173 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····················<a·class="code·hl_variable"·href="a01077.html#a7cd8273eef086a749ce3d40063fb4a28">fvarChannel</a>(0)·{·}</div> | ||
174 | </div> | 174 | </div> |
175 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>········</div> | ||
176 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01097.html#ad17511fd9b0cea1b15b6bc31c0fc3e80">···81</a></span>····<span·class="keywordtype">int</span>·················<a·class="code·hl_variable"·href="a01097.html#ad17511fd9b0cea1b15b6bc31c0fc3e80">numFVarChannels</a>;</div> | ||
177 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01097.html#a222697ec045f92879ae194eb2d92b526">···82</a></span>····<a·class="code·hl_struct"·href="a01101.html">FVarChannel</a>·<span·class="keyword">const</span>·*·<a·class="code·hl_variable"·href="a01097.html#a222697ec045f92879ae194eb2d92b526">fvarChannels</a>;</div> | ||
178 | <div·class="line"><a·id="l000 | 175 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> |
179 | <div·class="line"><a·id="l000 | 176 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01077.html#ab7c383a49298cf060574242fe679378f">···71</a></span>········<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01077.[·...·truncated·by·diffoscope;·len:·77,·SHA:·cc1317446661b086d1c51912ec7f7ac776b3fe9e55249a2119eb6d0e0988518c·...·]</div> |
177 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01077.html#a73289d5e55adccde08afd7399a2357f2">···72</a></span>·····················<a·class="code·hl_variable"·href="a01077.html#a73289d5e55adccde08afd7399a2357f2">generateOffsets</a>·············:·1,·</div> | ||
Max diff block lines reached; 77950/110475 bytes (70.56%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | t | 5 | stencilTableFactory.h |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·201 | 8 | 2//·Copyright·2013·Pixar |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: | 13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: |
14 | 8// | 14 | 8// |
15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade | 15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade |
Offset 23, 208 lines modified | Offset 23, 498 lines modified | ||
23 | 17// | 23 | 17// |
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24#ifndef·OPENSUBDIV3_FAR_TOPOLOGY_DESCRIPTOR_H | ||
31 | 25#define·OPENSUBDIV3_FAR_TOPOLOGY_DESCRIPTOR_H | ||
32 | 2 | 30 | 24 |
31 | 25#ifndef·OPENSUBDIV3_FAR_STENCILTABLE_FACTORY_H | ||
32 | 26#define·OPENSUBDIV3_FAR_STENCILTABLE_FACTORY_H | ||
33 | 27 | ||
33 | 2 | 34 | 28#include·"../version.h" |
35 | 29 | ||
36 | 30#include·"../far/patchTable.h" | ||
37 | 31 | ||
38 | 32#include·<vector> | ||
39 | 33 | ||
34 | 28 | ||
35 | 29#include·"../far/topologyRefiner.h" | ||
36 | 30#include·"../far/topologyRefinerFactory.h" | ||
37 | 31#include·"../far/error.h" | ||
38 | 32 | ||
39 | 33#include·<cassert> | ||
40 | 34 | ||
41 | 3 | 40 | 34namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ |
42 | 3 | 41 | 35namespace·OPENSUBDIV_VERSION·{ |
43 | 3 | 42 | 36 |
44 | 3 | 43 | 37namespace·Far·{ |
45 | 39 | ||
46 | _\x84_\x89struct·_\x8T_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·{ | ||
47 | 50 | ||
48 | _\x85_\x81·int·_\x8n_\x8u_\x8m_\x8V_\x8e_\x8r_\x8t_\x8i_\x8c_\x8e_\x8s, | ||
49 | _\x85_\x82·_\x8n_\x8u_\x8m_\x8F_\x8a_\x8c_\x8e_\x8s; | ||
50 | 53 | ||
51 | _\x85_\x84·int·const·*·_\x8n_\x8u_\x8m_\x8V_\x8e_\x8r_\x8t_\x8s_\x8P_\x8e_\x8r_\x8F_\x8a_\x8c_\x8e; | ||
52 | _\x85_\x85·_\x8I_\x8n_\x8d_\x8e_\x8x·const·*·_\x8v_\x8e_\x8r_\x8t_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s_\x8P_\x8e_\x8r_\x8F_\x8a_\x8c_\x8e; | ||
53 | 56 | ||
54 | _\x85_\x87·int·_\x8n_\x8u_\x8m_\x8C_\x8r_\x8e_\x8a_\x8s_\x8e_\x8s; | ||
55 | _\x85_\x88·_\x8I_\x8n_\x8d_\x8e_\x8x·const·*·_\x8c_\x8r_\x8e_\x8a_\x8s_\x8e_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8d_\x8e_\x8x_\x8P_\x8a_\x8i_\x8r_\x8s; | ||
56 | 44 | 38 | |
45 | 39class·TopologyRefiner; | ||
46 | 40 | ||
47 | 41template·<typename·REAL>·class·StencilReal; | ||
48 | 42template·<typename·REAL>·class·StencilTableReal; | ||
49 | 43 | ||
50 | 44template·<typename·REAL>·class·LimitStencilReal; | ||
51 | 45template·<typename·REAL>·class·LimitStencilTableReal; | ||
52 | 46 | ||
53 | 47 | ||
54 | 50template·<typename·REAL> | ||
55 | _\x85_\x81class·_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8R_\x8e_\x8a_\x8l·{ | ||
56 | 52 | ||
57 | 53public: | ||
58 | 54 | ||
59 | _\x85_\x85·enum·_\x8M_\x8o_\x8d_\x8e·{ | ||
60 | _\x85_\x86·_\x8I_\x8N_\x8T_\x8E_\x8R_\x8P_\x8O_\x8L_\x8A_\x8T_\x8E_\x8__\x8V_\x8E_\x8R_\x8T_\x8E_\x8X=0, | ||
61 | _\x85_\x87·_\x8I_\x8N_\x8T_\x8E_\x8R_\x8P_\x8O_\x8L_\x8A_\x8T_\x8E_\x8__\x8V_\x8A_\x8R_\x8Y_\x8I_\x8N_\x8G, | ||
62 | 58·_\x8I_\x8N_\x8T_\x8E_\x8R_\x8P_\x8O_\x8L_\x8A_\x8T_\x8E_\x8__\x8F_\x8A_\x8C_\x8E_\x8__\x8V_\x8A_\x8R_\x8Y_\x8I_\x8N_\x8G | ||
63 | _\x85_\x89·}; | ||
57 | 60 | 64 | 60 |
58 | _\x86_\x81·int·_\x8n_\x8u_\x8m_\x8C_\x8o_\x8r_\x8n_\x8e_\x8r_\x8s; | ||
59 | _\x86_\x82·_\x8I_\x8n_\x8d_\x8e_\x8x·const·*·_\x8c_\x8o_\x8r_\x8n_\x8e_\x8r_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s; | ||
60 | _\x86_\x83·float·const·*·_\x8c_\x8o_\x8r_\x8n_\x8e_\x8r_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s; | ||
61 | 64 | ||
62 | _\x86_\x85·int·_\x8n_\x8u_\x8m_\x8H_\x8o_\x8l_\x8e_\x8s; | ||
63 | _\x86_\x86·_\x8I_\x8n_\x8d_\x8e_\x8x·const·*·_\x8h_\x8o_\x8l_\x8e_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s; | ||
64 | 67 | ||
65 | _\x86_\x88·bool·_\x8i_\x8s_\x8L_\x8e_\x8f_\x8t_\x8H_\x8a_\x8n_\x8d_\x8e_\x8d; | ||
66 | 69 | ||
67 | 70·//·Face-varying·data·channel·--·value·indices·correspond·to·vertex·indices, | ||
68 | 71·//·i.e.·one·for·every·vertex·of·every·face: | ||
69 | 65 | _.6_.1·struct·_.O_.p_.t_.i_.o_.n_.s·{ | |
66 | 62 | ||
67 | _\x86_\x83·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s()·:·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8p_\x8o_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8M_\x8o_\x8d_\x8e(_\x8I_\x8N_\x8T_\x8E_\x8R_\x8P_\x8O_\x8L_\x8A_\x8T_\x8E_\x8__\x8V_\x8E_\x8R_\x8T_\x8E_\x8X), | ||
68 | 64·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8O_\x8f_\x8f_\x8s_\x8e_\x8t_\x8s(false), | ||
69 | 65·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8C_\x8o_\x8n_\x8t_\x8r_\x8o_\x8l_\x8V_\x8e_\x8r_\x8t_\x8s(false), | ||
70 | 66·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8m_\x8e_\x8d_\x8i_\x8a_\x8t_\x8e_\x8L_\x8e_\x8v_\x8e_\x8l_\x8s(true), | ||
71 | 67·_\x8f_\x8a_\x8c_\x8t_\x8o_\x8r_\x8i_\x8z_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8m_\x8e_\x8d_\x8i_\x8a_\x8t_\x8e_\x8L_\x8e_\x8v_\x8e_\x8l_\x8s(true), | ||
72 | 68·_\x8m_\x8a_\x8x_\x8L_\x8e_\x8v_\x8e_\x8l(10), | ||
73 | 69·_\x8f_\x8v_\x8a_\x8r_\x8C_\x8h_\x8a_\x8n_\x8n_\x8e_\x8l(0)·{·} | ||
74 | 70 | ||
75 | _\x87_\x81·unsigned·int·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8p_\x8o_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8M_\x8o_\x8d_\x8e·:·2, | ||
76 | _\x87_\x82·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8O_\x8f_\x8f_\x8s_\x8e_\x8t_\x8s·:·1, | ||
77 | _\x87_\x83·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8C_\x8o_\x8n_\x8t_\x8r_\x8o_\x8l_\x8V_\x8e_\x8r_\x8t_\x8s·:·1, | ||
78 | _\x87_\x84·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8m_\x8e_\x8d_\x8i_\x8a_\x8t_\x8e_\x8L_\x8e_\x8v_\x8e_\x8l_\x8s·:·1, | ||
79 | _\x87_\x85·_\x8f_\x8a_\x8c_\x8t_\x8o_\x8r_\x8i_\x8z_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8m_\x8e_\x8d_\x8i_\x8a_\x8t_\x8e_\x8L_\x8e_\x8v_\x8e_\x8l_\x8s·:·1, | ||
80 | _\x87_\x88·_\x8m_\x8a_\x8x_\x8L_\x8e_\x8v_\x8e_\x8l·:·4; | ||
70 | _\x87_\x8 | 81 | _\x87_\x89·unsigned·int·_.f_.v_.a_.r_.C_.h_.a_.n_.n_.e_.l; |
82 | 81·}; | ||
83 | 82 | ||
84 | _\x89_\x84·static·_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e_\x8R_\x8e_\x8a_\x8l_\x8<_\x8R_\x8E_\x8A_\x8L_\x8>·const·*·_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e( | ||
85 | 95·_\x8T_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r·const·&·refiner,·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s·options·=·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s()); | ||
86 | 96 | ||
87 | 97 | ||
88 | _\x81_\x81_\x80·static·_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e_\x8R_\x8e_\x8a_\x8l_\x8<_\x8R_\x8E_\x8A_\x8L_\x8>·const·*·_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e( | ||
89 | 111·int·numTables,·_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e_\x8R_\x8e_\x8a_\x8l_\x8<_\x8R_\x8E_\x8A_\x8L_\x8>·const·**·tables); | ||
90 | 112 | ||
71 | 74 | ||
72 | _\x87_\x85·int·_\x8n_\x8u_\x8m_\x8V_\x8a_\x8l_\x8u_\x8e_\x8s; | ||
73 | _\x87_\x86·_\x8I_\x8n_\x8d_\x8e_\x8x·const·*·_\x8v_\x8a_\x8l_\x8u_\x8e_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s; | ||
74 | 77 | ||
75 | _\x87_\x88·_\x8F_\x8V_\x8a_\x8r_\x8C_\x8h_\x8a_\x8n_\x8n_\x8e_\x8l()·:·_\x8n_\x8u_\x8m_\x8V_\x8a_\x8l_\x8u_\x8e_\x8s(0),·_\x8v_\x8a_\x8l_\x8u_\x8e_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s(0)·{·} | ||
76 | 79·}; | ||
77 | 80 | ||
78 | _\x88_\x81·int·_\x8n_\x8u_\x8m_\x8F_\x8V_\x8a_\x8r_\x8C_\x8h_\x8a_\x8n_\x8n_\x8e_\x8l_\x8s; | ||
79 | _\x88_\x82·_\x8F_\x8V_\x8a_\x8r_\x8C_\x8h_\x8a_\x8n_\x8n_\x8e_\x8l·const·*·_\x8f_\x8v_\x8a_\x8r_\x8C_\x8h_\x8a_\x8n_\x8n_\x8e_\x8l_\x8s; | ||
80 | 83 | ||
81 | _\x88_\x84·_\x8T_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r(); | ||
82 | 85}; | ||
Max diff block lines reached; 43075/50251 bytes (85.72%) of diff not shown. |
Offset 902, 16 lines modified | Offset 902, 16 lines modified | ||
902 | </div> | 902 | </div> |
903 | </div> | 903 | </div> |
904 | </div> | 904 | </div> |
905 | </div> | 905 | </div> |
906 | </div> | 906 | </div> |
907 | <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> | 907 | <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> |
908 | <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> | 908 | <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> |
909 | <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="a0071 | 909 | <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> |
910 | <div·class="ttc"·id="aa01041_html"><div·class="ttname"><a·href="a01041.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilTableFactoryReal</a></div><div·class="ttdoc">A·specialized·factory·for·LimitStencilTable.</div><div·class="ttdef"><b>Definition</b>·<a·href="a0071 | 910 | <div·class="ttc"·id="aa01041_html"><div·class="ttname"><a·href="a01041.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilTableFactoryReal</a></div><div·class="ttdoc">A·specialized·factory·for·LimitStencilTable.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00716_source.html#l00209">stencilTableFactory.h:209</a></div></div> |
911 | <div·class="ttc"·id="aa01045_html"><div·class="ttname"><a·href="a01045.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilReal</a></div><div·class="ttdoc">Vertex·stencil·descriptor.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00719_source.html#l00053">stencilTable.h:53</a></div></div> | 911 | <div·class="ttc"·id="aa01045_html"><div·class="ttname"><a·href="a01045.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilReal</a></div><div·class="ttdoc">Vertex·stencil·descriptor.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00719_source.html#l00053">stencilTable.h:53</a></div></div> |
912 | <div·class="ttc"·id="aa01045_html_a1bacc5a5c4ae6f44d4f06c1dd0adf8f4"><div·class="ttname"><a·href="a01045.html#a1bacc5a5c4ae6f44d4f06c1dd0adf8f4">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilReal::StencilReal</a></div><div·class="ttdeci">StencilReal()</div><div·class="ttdoc">Default·constructor.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00719_source.html#l00057">stencilTable.h:57</a></div></div> | 912 | <div·class="ttc"·id="aa01045_html_a1bacc5a5c4ae6f44d4f06c1dd0adf8f4"><div·class="ttname"><a·href="a01045.html#a1bacc5a5c4ae6f44d4f06c1dd0adf8f4">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilReal::StencilReal</a></div><div·class="ttdeci">StencilReal()</div><div·class="ttdoc">Default·constructor.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00719_source.html#l00057">stencilTable.h:57</a></div></div> |
913 | <div·class="ttc"·id="aa01045_html_a52397f1270007c943b8539338a796608"><div·class="ttname"><a·href="a01045.html#a52397f1270007c943b8539338a796608">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilReal::_size</a></div><div·class="ttdeci">int·*·_size</div><div·class="ttdef"><b>Definition</b>·<a·href="a00719_source.html#l00109">stencilTable.h:109</a></div></div> | 913 | <div·class="ttc"·id="aa01045_html_a52397f1270007c943b8539338a796608"><div·class="ttname"><a·href="a01045.html#a52397f1270007c943b8539338a796608">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilReal::_size</a></div><div·class="ttdeci">int·*·_size</div><div·class="ttdef"><b>Definition</b>·<a·href="a00719_source.html#l00109">stencilTable.h:109</a></div></div> |
914 | <div·class="ttc"·id="aa01045_html_a52ca26745627f4704181d58dc919ae57"><div·class="ttname"><a·href="a01045.html#a52ca26745627f4704181d58dc919ae57">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilReal::StencilReal</a></div><div·class="ttdeci">StencilReal(int·*size,·Index·*indices,·REAL·*weights)</div><div·class="ttdoc">Constructor.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00719_source.html#l00067">stencilTable.h:67</a></div></div> | 914 | <div·class="ttc"·id="aa01045_html_a52ca26745627f4704181d58dc919ae57"><div·class="ttname"><a·href="a01045.html#a52ca26745627f4704181d58dc919ae57">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilReal::StencilReal</a></div><div·class="ttdeci">StencilReal(int·*size,·Index·*indices,·REAL·*weights)</div><div·class="ttdoc">Constructor.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00719_source.html#l00067">stencilTable.h:67</a></div></div> |
915 | <div·class="ttc"·id="aa01045_html_a659a293dd51073a1b9560bb80f687705"><div·class="ttname"><a·href="a01045.html#a659a293dd51073a1b9560bb80f687705">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilReal::Next</a></div><div·class="ttdeci">void·Next()</div><div·class="ttdoc">Advance·to·the·next·stencil·in·the·table.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00719_source.html#l00098">stencilTable.h:98</a></div></div> | 915 | <div·class="ttc"·id="aa01045_html_a659a293dd51073a1b9560bb80f687705"><div·class="ttname"><a·href="a01045.html#a659a293dd51073a1b9560bb80f687705">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilReal::Next</a></div><div·class="ttdeci">void·Next()</div><div·class="ttdoc">Advance·to·the·next·stencil·in·the·table.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00719_source.html#l00098">stencilTable.h:98</a></div></div> |
916 | <div·class="ttc"·id="aa01045_html_a698f69e8409658c6afaf5ea1ff0f15b8"><div·class="ttname"><a·href="a01045.html#a698f69e8409658c6afaf5ea1ff0f15b8">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilReal::StencilReal</a></div><div·class="ttdeci">StencilReal(StencilReal·const·&other)</div><div·class="ttdoc">Copy·constructor.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00719_source.html#l00071">stencilTable.h:71</a></div></div> | 916 | <div·class="ttc"·id="aa01045_html_a698f69e8409658c6afaf5ea1ff0f15b8"><div·class="ttname"><a·href="a01045.html#a698f69e8409658c6afaf5ea1ff0f15b8">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilReal::StencilReal</a></div><div·class="ttdeci">StencilReal(StencilReal·const·&other)</div><div·class="ttdoc">Copy·constructor.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00719_source.html#l00071">stencilTable.h:71</a></div></div> |
917 | <div·class="ttc"·id="aa01045_html_a8b387cbfb5a56ee18bf92d10f3cdad6d"><div·class="ttname"><a·href="a01045.html#a8b387cbfb5a56ee18bf92d10f3cdad6d">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilReal::_indices</a></div><div·class="ttdeci">Index·*·_indices</div><div·class="ttdef"><b>Definition</b>·<a·href="a00719_source.html#l00110">stencilTable.h:110</a></div></div> | 917 | <div·class="ttc"·id="aa01045_html_a8b387cbfb5a56ee18bf92d10f3cdad6d"><div·class="ttname"><a·href="a01045.html#a8b387cbfb5a56ee18bf92d10f3cdad6d">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilReal::_indices</a></div><div·class="ttdeci">Index·*·_indices</div><div·class="ttdef"><b>Definition</b>·<a·href="a00719_source.html#l00110">stencilTable.h:110</a></div></div> |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/far/p | 8 | <title>OpenSubdiv:·opensubdiv/far/patchTableFactory.h·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 90, 43 lines modified | Offset 90, 33 lines modified | ||
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#nested-classes">Classes</a>·| | 94 | <a·href="#nested-classes">Classes</a>·| |
95 | <a·href="#namespaces">Namespaces</a>··</div> | 95 | <a·href="#namespaces">Namespaces</a>··</div> |
96 | ··<div·class="headertitle"><div·class="title">p | 96 | ··<div·class="headertitle"><div·class="title">patchTableFactory.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·"<a·class="el"·href="a01484_source.html">../sdc/types.h</a>"</code><br·/> | ||
101 | <code>#include·"<a·class="el"·href="a00773_source.html">../sdc/options.h</a>"</code><br·/> | ||
102 | <code>#include·"<a·class="el"·href="a00785_source.html">../sdc/bilinearScheme.h</a>"</code><br·/> | ||
103 | <code>#include·"<a·class="el"·href="a00782_source.html">../sdc/catmarkScheme.h</a>"</code><br·/> | ||
104 | <code>#include·"<a·class="el"·href="a00776_source.html">../sdc/loopScheme.h</a>"</code><br·/> | ||
105 | <code>#include·"<a·class="el"·href="a00755_source.html">../vtr/level.h</a>"</code><br·/> | ||
106 | <code>#include·"<a·class="el"·href="a00758_source.html">../vtr/fvarLevel.h</a>"</code><br·/> | ||
107 | <code>#include·"<a·class="el"·href="a00752_source.html">../vtr/refinement.h</a>"</code><br·/> | ||
108 | <code>#include·"<a·class="el"·href="a00761_source.html">../vtr/fvarRefinement.h</a>"</code><br·/> | ||
109 | <code>#include·"<a·class="el"·href="a00746_source.html">../vtr/stackBuffer.h</a>"</code><br·/> | ||
110 | <code>#include·"<a·class="el"·href="a00764_source.html">../vtr/componentInterfaces.h</a>"</code><br·/> | ||
111 | <code>#include·"<a·class="el"·href="a01478_source.html">../far/types.h</a>"</code><br·/> | ||
112 | <code>#include·"<a·class="el"·href="a00743_source.html">../far/error.h</a>"</code><br·/> | ||
113 | <code>#include·"<a·class="el"·href="a00710_source.html">../far/topologyLevel.h</a>"</code><br·/> | ||
114 | <code>#include·"<a·class="el"·href="a00704_source.html">../far/topologyRefiner.h</a>"</code><br·/> | 100 | <code>#include·"<a·class="el"·href="a00704_source.html">../far/topologyRefiner.h</a>"</code><br·/> |
115 | <code>#include·& | 101 | <code>#include·"<a·class="el"·href="a00731_source.html">../far/patchTable.h</a>"</code><br·/> |
116 | </div> | 102 | </div> |
117 | <p><a·href="a00725_source.html">Go·to·the·source·code·of·this·file.</a></p> | 103 | <p><a·href="a00725_source.html">Go·to·the·source·code·of·this·file.</a></p> |
118 | <table·class="memberdecls"> | 104 | <table·class="memberdecls"> |
119 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
120 | Classes</h2></td></tr> | 106 | Classes</h2></td></tr> |
121 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a010 | 107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01009.html">PatchTableFactory</a></td></tr> |
122 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 108 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Factory·for·constructing·a·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">PatchTable</a>·from·a·<a·class="el"·href="a01113.html"·title="Stores·topology·data·for·a·specified·set·of·refinement·options.">TopologyRefiner</[·...·truncated·by·diffoscope;·len:·20,·SHA:·38c999461cc716f4b3c48b158e0fd9c18c3ace36cda6c022ebdf459ae6b1ecca·...·].html#details">More...</a><br·/></td></tr> |
123 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
124 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"> | 110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01013.html">PatchTableFactory::Options</a></td></tr> |
111 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Public·options·for·the·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">PatchTable</a>·factory.··<a·href="a01013.html#details">More...</a><br·/></td></tr> | ||
112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
113 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01017.html">PatchTableFactory::PatchFaceTag</a></td></tr> | ||
114 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Obsolete·internal·struct·not·intended·for·public·use·–·due·to·be·deprecated.··<a·href="a01017.html#details">More...</a><br·/></td></tr> | ||
125 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
126 | </table><table·class="memberdecls"> | 116 | </table><table·class="memberdecls"> |
127 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 117 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
128 | Namespaces</h2></td></tr> | 118 | Namespaces</h2></td></tr> |
129 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 119 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
130 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 120 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
131 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 121 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
Offset 135, 13 lines modified | Offset 125, 13 lines modified | ||
135 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 125 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
136 | </table> | 126 | </table> |
137 | </div><!--·contents·--> | 127 | </div><!--·contents·--> |
138 | </div><!--·doc-content·--> | 128 | </div><!--·doc-content·--> |
139 | <!--·start·footer·part·--> | 129 | <!--·start·footer·part·--> |
140 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 130 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
141 | ··<ul> | 131 | ··<ul> |
142 | ····<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="a00725.html">p | 132 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_7f420b72a822828cfa8b0561c695a5cc.html">far</a></li><li·class="navelem"><a·class="el"·href="a00725.html">patchTableFactory.h</a></li> |
143 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 133 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
144 | ··</ul> | 134 | ··</ul> |
145 | </div> | 135 | </div> |
146 | </body> | 136 | </body> |
147 | </html> | 137 | </html> |
Offset 1, 41 lines modified | Offset 1, 32 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
6 | p | 6 | patchTableFactory.h·File·Reference |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" | ||
9 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8o_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s_\x8._\x8h" | ||
10 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8b_\x8i_\x8l_\x8i_\x8n_\x8e_\x8a_\x8r_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8._\x8h" | ||
11 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8c_\x8a_\x8t_\x8m_\x8a_\x8r_\x8k_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8._\x8h" | ||
12 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8l_\x8o_\x8o_\x8p_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8._\x8h" | ||
13 | #include·"_\x8._\x8._\x8/_\x8v_\x8t_\x8r_\x8/_\x8l_\x8e_\x8v_\x8e_\x8l_\x8._\x8h" | ||
14 | #include·"_\x8._\x8._\x8/_\x8v_\x8t_\x8r_\x8/_\x8f_\x8v_\x8a_\x8r_\x8L_\x8e_\x8v_\x8e_\x8l_\x8._\x8h" | ||
15 | #include·"_\x8._\x8._\x8/_\x8v_\x8t_\x8r_\x8/_\x8r_\x8e_\x8f_\x8i_\x8n_\x8e_\x8m_\x8e_\x8n_\x8t_\x8._\x8h" | ||
16 | #include·"_\x8._\x8._\x8/_\x8v_\x8t_\x8r_\x8/_\x8f_\x8v_\x8a_\x8r_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8m_\x8e_\x8n_\x8t_\x8._\x8h" | ||
17 | #include·"_\x8._\x8._\x8/_\x8v_\x8t_\x8r_\x8/_\x8s_\x8t_\x8a_\x8c_\x8k_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8._\x8h" | ||
18 | #include·"_\x8._\x8._\x8/_\x8v_\x8t_\x8r_\x8/_\x8c_\x8o_\x8m_\x8p_\x8o_\x8n_\x8e_\x8n_\x8t_\x8I_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e_\x8s_\x8._\x8h" | ||
19 | #include·"_\x8._\x8._\x8/_\x8f_\x8a_\x8r_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" | ||
20 | #include·"_\x8._\x8._\x8/_\x8f_\x8a_\x8r_\x8/_\x8e_\x8r_\x8r_\x8o_\x8r_\x8._\x8h" | ||
21 | #include·"_\x8._\x8._\x8/_\x8f_\x8a_\x8r_\x8/_\x8t_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8L_\x8e_\x8v_\x8e_\x8l_\x8._\x8h" | ||
22 | #include·"_\x8._\x8._\x8/_\x8f_\x8a_\x8r_\x8/_\x8t_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r_\x8._\x8h" | 8 | #include·"_\x8._\x8._\x8/_\x8f_\x8a_\x8r_\x8/_\x8t_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r_\x8._\x8h" |
23 | #include· | 9 | #include·"_.._.._./_.f_.a_.r_./_.p_.a_.t_.c_.h_.T_.a_.b_.l_.e_.._.h" |
24 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
25 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 11 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
26 | class· ·_\x8P_\x8r_\x8i_\x8m_\x8v_\x8a_\x8r_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r_\x8R_\x8e_\x8a_\x8l_\x8<_\x8·_\x8R_\x8E_\x8A_\x8L_\x8·_\x8> | ||
27 | 12 | ·class· ·_.P_.a_.t_.c_.h_.T_.a_.b_.l_.e_.F_.a_.c_.t_.o_.r_.y | |
13 | ········Factory·for·constructing·a·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e·from·a·_\x8T_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
28 | 14 | ||
29 | 15 | struct· ·_.P_.a_.t_.c_.h_.T_.a_.b_.l_.e_.F_.a_.c_.t_.o_.r_.y_.:_.:_.O_.p_.t_.i_.o_.n_.s | |
16 | ········Public·options·for·the·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e·factory.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
17 | |||
18 | struct· ·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8F_\x8a_\x8c_\x8e_\x8T_\x8a_\x8g | ||
19 | ········Obsolete·internal·struct·not·intended·for·public·use·–·due·to·be | ||
20 | ·········deprecated.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
30 | 21 | ||
31 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 22 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
32 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 23 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
33 | 24 | ||
34 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 25 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
35 | 26 | ||
36 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8F_\x8a_\x8r | 27 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8F_\x8a_\x8r |
37 | 28 | ||
38 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 29 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
39 | ····*·_\x8f_\x8a_\x8r | 30 | ····*·_\x8f_\x8a_\x8r |
40 | ····*·_\x8p_\x8 | 31 | ····*·_\x8p_\x8a_.t_.c_.h_.T_.a_.b_.l_.e_.F_.a_.c_.t_.o_.r_.y_\x8._\x8h |
41 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 32 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 4 lines modified | Offset 1, 5 lines modified | ||
1 | var·a00725·=·[ | 1 | var·a00725·=·[ |
2 | ····["PrimvarRefinerReal<·REAL·>",·"a01021.html",·"a01021"], | ||
3 | ····["P | 2 | ····["PatchTableFactory",·"a01009.html",·"a01009"], |
3 | ····["Options",·"a01013.html",·"a01013"], | ||
4 | ····["PatchFaceTag",·"a01017.html",·"a01017"] | ||
4 | ]; | 5 | ]; |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/far/p | 8 | <title>OpenSubdiv:·opensubdiv/far/patchTableFactory.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 92, 19 lines modified | Offset 92, 19 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title">p | 98 | ··<div·class="headertitle"><div·class="title">patchTableFactory.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <a·href="a00725.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> | 101 | <a·href="a00725.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·201 | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> | 106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> |
107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> | 107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> |
108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> | 108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> |
109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> | 109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> |
Offset 118, 1233 lines modified | Offset 118, 250 lines modified | ||
118 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div> | 118 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div> |
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_FAR_PRIMVAR_REFINER_H</span></div> | ||
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·OPENSUBDIV3_FAR_PRIMVAR_REFINER_H</span></div> | ||
127 | <div·class="line"><a·id="l0002 | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_FAR_PATCH_TABLE_FACTORY_H</span></div> | ||
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_FAR_PATCH_TABLE_FACTORY_H</span></div> | ||
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | ||
128 | <div·class="line"><a·id="l0002 | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> |
129 | <div·class="line"><a·id="l0002 | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"../sdc/types.h"</span></div> | ||
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../sdc/options.h"</span></div> | ||
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·"../sdc/bilinearScheme.h"</span></div> | ||
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·"../sdc/catmarkScheme.h"</span></div> | ||
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·"../sdc/loopScheme.h"</span></div> | ||
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·"../vtr/level.h"</span></div> | ||
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#include·"../vtr/fvarLevel.h"</span></div> | ||
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#include·"../vtr/refinement.h"</span></div> | ||
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#include·"../vtr/fvarRefinement.h"</span></div> | ||
139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">#include·"../vtr/stackBuffer.h"</span></div> | ||
140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="preprocessor">#include·"../vtr/componentInterfaces.h"</span></div> | ||
141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="preprocessor">#include·"../far/types.h"</span></div> | ||
142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="preprocessor">#include·"../far/error.h"</span></div> | ||
143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="preprocessor">#include·"../far/topologyLevel.h"</span></div> | ||
144 | <div·class="line"><a·id="l000 | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../far/topologyRefiner.h"</span></div> |
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·"../far/patchTable.h"</span></div> | ||
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | ||
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> | ||
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> | ||
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>Far·{</div> | ||
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
139 | <div·class="foldopen"·id="foldopen00040"·data-start="{"·data-end="};"> | ||
140 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a01009.html">···40</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01009.html">PatchTableFactory</a>·{</div> | ||
141 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">public</span>:</div> | ||
145 | <div·class="line"><a·id="l0004 | 142 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> |
146 | <div·class=" | 143 | <div·class="foldopen"·id="foldopen00045"·data-start="{"·data-end="};"> |
144 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01013.html">···45</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01013.html">Options</a>·{</div> | ||
147 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | 145 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> |
148 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> | ||
149 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> | ||
150 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | ||
151 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">namespace·</span>Far·{</div> | ||
152 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | ||
153 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">template</span>·<<span·class="keyword">typename</span>·REAL></div> | ||
154 | <div·class="foldopen"·id="foldopen0005 | 146 | <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="};"> |
155 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01021.html">···56</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01021.html">PrimvarRefinerReal</a>·{</div> | ||
156 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | ||
157 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="keyword">public</span>:</div> | ||
158 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01021.html#a1fe1fbda93c01c326f13929d1c3c6247">···59</a></span>····<a·class="code·hl_function"·href="a01021.html#a1fe1fbda93c01c326f13929d1c3c6247">PrimvarRefinerReal</a>(<a·class="code·hl_class"·href="a01113.html">TopologyRefiner</a>·<span·class="keyword">const</span>·&·refiner)·:·_refiner(refiner)·{·}</div> | ||
159 | <div·class="line"><a·id="l000 | 147 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535">···55</a></span>········<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535">En[·...·truncated·by·diffoscope;·len:·14,·SHA:·f28e9dcf0d198d75856ad57f9c0c91e26a2ce18d38d7d7f08be6c73b71148d70·...·]</div> |
148 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535a39a0bc0d1c407b2b849c2bfaba366b22">···56</a></span>············<a·class="code·hl_enumvalue"·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535a39a0bc0d1c407b2b849c2bfaba366b22">ENDCAP_NONE</a>·=·0,········</div> | ||
149 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535a90f0e9a2c992889cefdf1db954f9d98f">···57</a></span>············<a·class="code·hl_enumvalue"·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535a90f0e9a2c992889cefdf1db954f9d98f">ENDCAP_BILINEAR_BASIS</a>,··</div> | ||
150 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535ac3fc1d183b0bdfbc7bf1cce613c4ff04">···58</a></span>············<a·class="code·hl_enumvalue"·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535ac3fc1d183b0bdfbc7bf1cce613c4ff04">ENDCAP_BSPLINE_BASIS</a>,···</div> | ||
151 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535a2e89c8e5ac21dbd024ec902de51566b0">···59</a></span>············<a·class="code·hl_enumvalue"·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535a2e89c8e5ac21dbd024ec902de51566b0">ENDCAP_GREGORY_BASIS</a>,···</div> | ||
152 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>············<a·class="code·hl_enumvalue"·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535a0c0d3d9e480d64f20f1b32d599c88aa5">ENDCAP_LEGACY_GREGORY</a>···</div> | ||
153 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535a0c0d3d9e480d64f20f1b32d599c88aa5">···61</a></span>········};</div> | ||
154 | </div> | ||
160 | <div·class="line"><a·id="l0006 | 155 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> |
161 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01021.html#a6f7fc8b9ce66fa57ac58ed977cc9c6f0">···62</a></span>····<a·class="code·hl_class"·href="a01113.html">TopologyRefiner</a>·<span·class="keyword">const</span>·&·<a·class="code·hl_function"·href="a01021.html#a6f7fc8b9ce66fa57ac58ed977cc9c6f0">GetTopologyRefiner</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_refiner;·}</div> | ||
162 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | ||
163 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | ||
164 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div> | ||
165 | <div·class="foldopen"·id="foldopen00 | 156 | <div·class="foldopen"·id="foldopen00063"·data-start="{"·data-end="}"> |
166 | <div·class="line"><a·id="l00 | 157 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01013.html#afe7ba5a3a3e0f7b63f27fc527f472528">···63</a></span>········<a·class="code·hl_function"·href="a01013.html#afe7ba5a3a3e0f7b63f27fc527f472528">Options</a>(<span·class="keywordtype">[·...·truncated·by·diffoscope;·len:·71,·SHA:·a3286434fe9ef7f9c0703ab98b07fda0a755cf07d5206e29c07b856e4e7b1f8a·...·]</div> |
158 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·············<a·class="code·hl_variable"·href="a01013.html#a8d3c24dcc455474a3a9498c6b6378cc4">generateAllLevels</a>(false),</div> | ||
159 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·············<a·class="code·hl_variable"·href="a01013.html#a9e322b8f2ad57dd369956f27113b7a8a">includeBaseLevelIndices</a>(true),</div> | ||
160 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·············<a·class="code·hl_variable"·href="a01013.html#a7551f187d9f4a70b27faed7597d96e4f">includeFVarBaseLevelIndices</a>(false),</div> | ||
161 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·············<a·class="code·hl_variable"·href="a01013.html#ae0427ab3b81525a0dfa5d2b510a06461">triangulateQuads</a>(false),</div> | ||
162 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·············<a·class="code·hl_variable"·href="a01013.html#a5834971432c649e28d5a0186f79a60d5">useSingleCreasePatch</a>(false),</div> | ||
163 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·············<a·class="code·hl_variable"·href="a01013.html#a5eba866952b7be15b065060b1f5a81da">useInfSharpPatch</a>(false),</div> | ||
164 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·············<a·class="code·hl_variable"·href="a01013.html#a18b47b281350d10784fd4917be9019f1">maxIsolationLevel</a>(maxIsolation·&·0xf),</div> | ||
165 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·············<a·class="code·hl_variable"·href="a01013.html#a497f7c6fe6944842dd54758e9ec5a8e2">endCapType</a>(<a·class="code·hl_enumvalue"·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535a2e89c8e5ac21dbd024ec902de51566b0">ENDCAP_GREGORY_BASIS</a>),</div> | ||
166 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·············<a·class="code·hl_variable"·href="a01013.html#a113fa8ce12150940afe0215c702cc89d">shareEndCapPatchPoints</a>(true),</div> | ||
167 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·············<a·class="code·hl_variable"·href="a01013.html#a039b27c797bb2b4be4af66798787081e">generateVaryingTables</a>(true),</div> | ||
168 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·············<a·class="code·hl_variable"·href="a01013.html#a728df1785179cd0768a4971b8c34708a">generateVaryingLocalPoints</a>(true),</div> | ||
169 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·············<a·class="code·hl_variable"·href="a01013.html#a97f60d840c3d2830f0c4680783a334e8">generateFVarTables</a>(false),</div> | ||
170 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·············<a·class="code·hl_variable"·href="a01013.html#a91ce5fe0ce9b9ec6c5afcfb6e1ccaa40">patchPrecisionDouble</a>(false),</div> | ||
171 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·············<a·class="code·hl_variable"·href="a01013.html#a3f663e5c2b7e65976b6521c21ea59130">fvarPatchPrecisionDouble</a>(false),</div> | ||
172 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·············<a·class="code·hl_variable"·href="a01013.html#a2a03b250662eec5d267daf6692e4b341">generateFVarLegacyLinearPatches</a>(true),</div> | ||
173 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·············<a·class="code·hl_variable"·href="a01013.html#a0fe3eeef4b5b332c7747a940db43cd8d">generateLegacySharpCornerPatches</a>(true),</div> | ||
174 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·············<a·class="code·hl_variable"·href="a01013.html#ad17511fd9b0cea1b15b6bc31c0fc3e80">numFVarChannels</a>(-1),</div> | ||
175 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·············<a·class="code·hl_variable"·href="a01013.html#a4c1ba8119a16ea0682a870ee7a8282a5">fvarChannelIndices</a>(0)</div> | ||
176 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>········{·}</div> | ||
177 | </div> | ||
178 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> | ||
Max diff block lines reached; 240362/268382 bytes (89.56%) of diff not shown. |
Offset 1, 1 lines modified | Offset 1, 1 lines modified | ||
1 | u | 1 | utf-8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | p | 5 | patchTableFactory.h |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·201 | 8 | 2//·Copyright·2013·Pixar |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: | 13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: |
14 | 8// | 14 | 8// |
15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade | 15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade |
Offset 23, 1388 lines modified | Offset 23, 410 lines modified | ||
23 | 17// | 23 | 17// |
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24#ifndef·OPENSUBDIV3_FAR_PRIMVAR_REFINER_H | ||
31 | 25#define·OPENSUBDIV3_FAR_PRIMVAR_REFINER_H | ||
32 | 2 | 30 | 24 |
31 | 25#ifndef·OPENSUBDIV3_FAR_PATCH_TABLE_FACTORY_H | ||
32 | 26#define·OPENSUBDIV3_FAR_PATCH_TABLE_FACTORY_H | ||
33 | 27 | ||
33 | 2 | 34 | 28#include·"../version.h" |
35 | 29 | ||
34 | 28 | ||
35 | 29#include·"../sdc/types.h" | ||
36 | 30#include·"../sdc/options.h" | ||
37 | 31#include·"../sdc/bilinearScheme.h" | ||
38 | 32#include·"../sdc/catmarkScheme.h" | ||
39 | 33#include·"../sdc/loopScheme.h" | ||
40 | 34#include·"../vtr/level.h" | ||
41 | 35#include·"../vtr/fvarLevel.h" | ||
42 | 36#include·"../vtr/refinement.h" | ||
43 | 37#include·"../vtr/fvarRefinement.h" | ||
44 | 38#include·"../vtr/stackBuffer.h" | ||
45 | 39#include·"../vtr/componentInterfaces.h" | ||
46 | 40#include·"../far/types.h" | ||
47 | 41#include·"../far/error.h" | ||
48 | 42#include·"../far/topologyLevel.h" | ||
49 | 36 | 30#include·"../far/topologyRefiner.h" | |
50 | 44 | ||
51 | 37 | 31#include·"../far/patchTable.h" | |
38 | 32 | ||
39 | 33namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ | ||
40 | 34namespace·OPENSUBDIV_VERSION·{ | ||
41 | 35 | ||
42 | 36namespace·Far·{ | ||
43 | 37 | ||
44 | _\x84_\x80class·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y·{ | ||
45 | 41public: | ||
46 | 42 | ||
47 | _\x84_\x85·struct·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s·{ | ||
52 | 46 | 48 | 46 |
53 | 47namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ | ||
54 | 48namespace·OPENSUBDIV_VERSION·{ | ||
55 | 49 | ||
56 | 50namespace·Far·{ | ||
57 | 51 | ||
58 | 55template·<typename·REAL> | ||
59 | _\x85_\x86class·_\x8P_\x8r_\x8i_\x8m_\x8v_\x8a_\x8r_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r_\x8R_\x8e_\x8a_\x8l·{ | ||
60 | 57 | ||
61 | 58public: | ||
62 | _\x85_\x89·_\x8P_\x8r_\x8i_\x8m_\x8v_\x8a_\x8r_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r_\x8R_\x8e_\x8a_\x8l(_\x8T_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r·const·&·refiner)·:·_refiner(refiner)·{·} | ||
63 | _\x86_\x80·_\x8~_\x8P_\x8r_\x8i_\x8m_\x8v_\x8a_\x8r_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r_\x8R_\x8e_\x8a_\x8l()·{·} | ||
64 | 61 | ||
65 | _\x86_\x82·_\x8T_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r·const·&·_\x8G_\x8e_\x8t_\x8T_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r()·const·{·return·_refiner;·} | ||
66 | 63 | ||
67 | 65 | ||
68 | 100 | ||
69 | _\x81_\x81_\x83·template·<class·T,·class·U>·void·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8p_\x8o_\x8l_\x8a_\x8t_\x8e(int·level,·T·const·&·src,·U·& | ||
70 | 49 | _.5_.5·enum·_.E_.n_.d_.C_.a_.p_.T_.y_.p_.e·{ | |
50 | _\x85_\x86·_\x8E_\x8N_\x8D_\x8C_\x8A_\x8P_\x8__\x8N_\x8O_\x8N_\x8E·=·0, | ||
51 | _\x85_\x87·_\x8E_\x8N_\x8D_\x8C_\x8A_\x8P_\x8__\x8B_\x8I_\x8L_\x8I_\x8N_\x8E_\x8A_\x8R_\x8__\x8B_\x8A_\x8S_\x8I_\x8S, | ||
52 | _\x85_\x88·_\x8E_\x8N_\x8D_\x8C_\x8A_\x8P_\x8__\x8B_\x8S_\x8P_\x8L_\x8I_\x8N_\x8E_\x8__\x8B_\x8A_\x8S_\x8I_\x8S, | ||
53 | _\x85_\x89·_\x8E_\x8N_\x8D_\x8C_\x8A_\x8P_\x8__\x8G_\x8R_\x8E_\x8G_\x8O_\x8R_\x8Y_\x8__\x8B_\x8A_\x8S_\x8I_\x8S, | ||
54 | 60·_\x8E_\x8N_\x8D_\x8C_\x8A_\x8P_\x8__\x8L_\x8E_\x8G_\x8A_\x8C_\x8Y_\x8__\x8G_\x8R_\x8E_\x8G_\x8O_\x8R_\x8Y | ||
55 | _\x86_\x81·}; | ||
56 | 62 | ||
57 | _\x86_\x83·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s(unsigned·int·maxIsolation=10)·: | ||
58 | 64·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8A_\x8l_\x8l_\x8L_\x8e_\x8v_\x8e_\x8l_\x8s(false), | ||
59 | 65·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e_\x8B_\x8a_\x8s_\x8e_\x8L_\x8e_\x8v_\x8e_\x8l_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s(true), | ||
60 | 66·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e_\x8F_\x8V_\x8a_\x8r_\x8B_\x8a_\x8s_\x8e_\x8L_\x8e_\x8v_\x8e_\x8l_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s(false), | ||
61 | 67·_\x8t_\x8r_\x8i_\x8a_\x8n_\x8g_\x8u_\x8l_\x8a_\x8t_\x8e_\x8Q_\x8u_\x8a_\x8d_\x8s(false), | ||
62 | 68·_\x8u_\x8s_\x8e_\x8S_\x8i_\x8n_\x8g_\x8l_\x8e_\x8C_\x8r_\x8e_\x8a_\x8s_\x8e_\x8P_\x8a_\x8t_\x8c_\x8h(false), | ||
63 | 69·_\x8u_\x8s_\x8e_\x8I_\x8n_\x8f_\x8S_\x8h_\x8a_\x8r_\x8p_\x8P_\x8a_\x8t_\x8c_\x8h(false), | ||
64 | 70·_\x8m_\x8a_\x8x_\x8I_\x8s_\x8o_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8L_\x8e_\x8v_\x8e_\x8l(maxIsolation·&·0xf), | ||
65 | 71·_\x8e_\x8n_\x8d_\x8C_\x8a_\x8p_\x8T_\x8y_\x8p_\x8e(_\x8E_\x8N_\x8D_\x8C_\x8A_\x8P_\x8__\x8G_\x8R_\x8E_\x8G_\x8O_\x8R_\x8Y_\x8__\x8B_\x8A_\x8S_\x8I_\x8S), | ||
66 | 72·_\x8s_\x8h_\x8a_\x8r_\x8e_\x8E_\x8n_\x8d_\x8C_\x8a_\x8p_\x8P_\x8a_\x8t_\x8c_\x8h_\x8P_\x8o_\x8i_\x8n_\x8t_\x8s(true), | ||
67 | 73·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8V_\x8a_\x8r_\x8y_\x8i_\x8n_\x8g_\x8T_\x8a_\x8b_\x8l_\x8e_\x8s(true), | ||
68 | 74·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8V_\x8a_\x8r_\x8y_\x8i_\x8n_\x8g_\x8L_\x8o_\x8c_\x8a_\x8l_\x8P_\x8o_\x8i_\x8n_\x8t_\x8s(true), | ||
69 | 75·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8F_\x8V_\x8a_\x8r_\x8T_\x8a_\x8b_\x8l_\x8e_\x8s(false), | ||
70 | 76·_\x8p_\x8a_\x8t_\x8c_\x8h_\x8P_\x8r_\x8e_\x8c_\x8i_\x8s_\x8i_\x8o_\x8n_\x8D_\x8o_\x8u_\x8b_\x8l_\x8e(false), | ||
71 | 77·_\x8f_\x8v_\x8a_\x8r_\x8P_\x8a_\x8t_\x8c_\x8h_\x8P_\x8r_\x8e_\x8c_\x8i_\x8s_\x8i_\x8o_\x8n_\x8D_\x8o_\x8u_\x8b_\x8l_\x8e(false), | ||
72 | 78·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8F_\x8V_\x8a_\x8r_\x8L_\x8e_\x8g_\x8a_\x8c_\x8y_\x8L_\x8i_\x8n_\x8e_\x8a_\x8r_\x8P_\x8a_\x8t_\x8c_\x8h_\x8e_\x8s(true), | ||
73 | 79·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8L_\x8e_\x8g_\x8a_\x8c_\x8y_\x8S_\x8h_\x8a_\x8r_\x8p_\x8C_\x8o_\x8r_\x8n_\x8e_\x8r_\x8P_\x8a_\x8t_\x8c_\x8h_\x8e_\x8s(true), | ||
74 | 80·_\x8n_\x8u_\x8m_\x8F_\x8V_\x8a_\x8r_\x8C_\x8h_\x8a_\x8n_\x8n_\x8e_\x8l_\x8s(-1), | ||
75 | 81·_\x8f_\x8v_\x8a_\x8r_\x8C_\x8h_\x8a_\x8n_\x8n_\x8e_\x8l_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s(0) | ||
76 | 82·{·} | ||
77 | 83 | ||
78 | _\x88_\x85·_\x8E_\x8n_\x8d_\x8C_\x8a_\x8p_\x8T_\x8y_\x8p_\x8e·_\x8G_\x8e_\x8t_\x8E_\x8n_\x8d_\x8C_\x8a_\x8p_\x8T_\x8y_\x8p_\x8e()·const·{·return·(_\x8E_\x8n_\x8d_\x8C_\x8a_\x8p_\x8T_\x8y_\x8p_\x8e)_\x8e_\x8n_\x8d_\x8C_\x8a_\x8p_\x8T_\x8y_\x8p_\x8e;·} | ||
79 | 86 | ||
80 | _\x88_\x88·void·_\x8S_\x8e_\x8t_\x8E_\x8n_\x8d_\x8C_\x8a_\x8p_\x8T_\x8y_\x8p_\x8e(_\x8E_\x8n_\x8d_\x8C_\x8a_\x8p_\x8T_\x8y_\x8p_\x8e·e)·{·_\x8e_\x8n_\x8d_\x8C_\x8a_\x8p_\x8T_\x8y_\x8p_\x8e·=·e·&·0x7;·} | ||
81 | 89 | ||
82 | _\x89_\x81·void·_\x8S_\x8e_\x8t_\x8M_\x8a_\x8x_\x8I_\x8s_\x8o_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8L_\x8e_\x8v_\x8e_\x8l(unsigned·int·level)·{·_\x8m_\x8a_\x8x_\x8I_\x8s_\x8o_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8L_\x8e_\x8v_\x8e_\x8l·=·level·& | ||
83 | 0xf;·} | ||
84 | 92 | ||
85 | _\x89_\x84·template·<typename·REAL>·void·_\x8S_\x8e_\x8t_\x8P_\x8a_\x8t_\x8c_\x8h_\x8P_\x8r_\x8e_\x8c_\x8i_\x8s_\x8i_\x8o_\x8n(); | ||
86 | 95 | ||
87 | _\x89_\x87·template·<typename·REAL>·void·_\x8S_\x8e_\x8t_\x8F_\x8V_\x8a_\x8r_\x8P_\x8a_\x8t_\x8c_\x8h_\x8P_\x8r_\x8e_\x8c_\x8i_\x8s_\x8i_\x8o_\x8n(); | ||
88 | 98 | ||
89 | _\x81_\x80_\x80·_\x8T_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r_\x8:_\x8:_\x8A_\x8d_\x8a_\x8p_\x8t_\x8i_\x8v_\x8e_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s·_\x8G_\x8e_\x8t_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8A_\x8d_\x8a_\x8p_\x8t_\x8i_\x8v_\x8e_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s()·const·{ | ||
90 | 101·_\x8T_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r_\x8:_\x8:_\x8A_\x8d_\x8a_\x8p_\x8t_\x8i_\x8v_\x8e_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s·adaptiveOptions(_\x8m_\x8a_\x8x_\x8I_\x8s_\x8o_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8L_\x8e_\x8v_\x8e_\x8l); | ||
91 | 102 | ||
92 | 103·adaptiveOptions._\x8u_\x8s_\x8e_\x8I_\x8n_\x8f_\x8S_\x8h_\x8a_\x8r_\x8p_\x8P_\x8a_\x8t_\x8c_\x8h·=·_\x8u_\x8s_\x8e_\x8I_\x8n_\x8f_\x8S_\x8h_\x8a_\x8r_\x8p_\x8P_\x8a_\x8t_\x8c_\x8h; | ||
93 | 104·adaptiveOptions._\x8u_\x8s_\x8e_\x8S_\x8i_\x8n_\x8g_\x8l_\x8e_\x8C_\x8r_\x8e_\x8a_\x8s_\x8e_\x8P_\x8a_\x8t_\x8c_\x8h·=·_\x8u_\x8s_\x8e_\x8S_\x8i_\x8n_\x8g_\x8l_\x8e_\x8C_\x8r_\x8e_\x8a_\x8s_\x8e_\x8P_\x8a_\x8t_\x8c_\x8h; | ||
94 | 105·adaptiveOptions._\x8c_\x8o_\x8n_\x8s_\x8i_\x8d_\x8e_\x8r_\x8F_\x8V_\x8a_\x8r_\x8C_\x8h_\x8a_\x8n_\x8n_\x8e_\x8l_\x8s·=·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8F_\x8V_\x8a_\x8r_\x8T_\x8a_\x8b_\x8l_\x8e_\x8s·&& | ||
95 | 106·!_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8F_\x8V_\x8a_\x8r_\x8L_\x8e_\x8g_\x8a_\x8c_\x8y_\x8L_\x8i_\x8n_\x8e_\x8a_\x8r_\x8P_\x8a_\x8t_\x8c_\x8h_\x8e_\x8s; | ||
96 | 107·return·adaptiveOptions; | ||
97 | 108·} | ||
98 | 109 | ||
Max diff block lines reached; 82528/89265 bytes (92.45%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/far/p | 8 | <title>OpenSubdiv:·opensubdiv/far/primvarRefiner.h·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 90, 33 lines modified | Offset 90, 43 lines modified | ||
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#nested-classes">Classes</a>·| | 94 | <a·href="#nested-classes">Classes</a>·| |
95 | <a·href="#namespaces">Namespaces</a>··</div> | 95 | <a·href="#namespaces">Namespaces</a>··</div> |
96 | ··<div·class="headertitle"><div·class="title">p | 96 | ··<div·class="headertitle"><div·class="title">primvarRefiner.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·"<a·class="el"·href="a01484_source.html">../sdc/types.h</a>"</code><br·/> | ||
101 | <code>#include·"<a·class="el"·href="a00773_source.html">../sdc/options.h</a>"</code><br·/> | ||
102 | <code>#include·"<a·class="el"·href="a00782_source.html">../sdc/bilinearScheme.h</a>"</code><br·/> | ||
103 | <code>#include·"<a·class="el"·href="a00785_source.html">../sdc/catmarkScheme.h</a>"</code><br·/> | ||
104 | <code>#include·"<a·class="el"·href="a00776_source.html">../sdc/loopScheme.h</a>"</code><br·/> | ||
105 | <code>#include·"<a·class="el"·href="a00755_source.html">../vtr/level.h</a>"</code><br·/> | ||
106 | <code>#include·"<a·class="el"·href="a00761_source.html">../vtr/fvarLevel.h</a>"</code><br·/> | ||
107 | <code>#include·"<a·class="el"·href="a00752_source.html">../vtr/refinement.h</a>"</code><br·/> | ||
108 | <code>#include·"<a·class="el"·href="a00758_source.html">../vtr/fvarRefinement.h</a>"</code><br·/> | ||
109 | <code>#include·"<a·class="el"·href="a00746_source.html">../vtr/stackBuffer.h</a>"</code><br·/> | ||
110 | <code>#include·"<a·class="el"·href="a00764_source.html">../vtr/componentInterfaces.h</a>"</code><br·/> | ||
111 | <code>#include·"<a·class="el"·href="a01478_source.html">../far/types.h</a>"</code><br·/> | ||
112 | <code>#include·"<a·class="el"·href="a00743_source.html">../far/error.h</a>"</code><br·/> | ||
113 | <code>#include·"<a·class="el"·href="a00710_source.html">../far/topologyLevel.h</a>"</code><br·/> | ||
100 | <code>#include·"<a·class="el"·href="a00704_source.html">../far/topologyRefiner.h</a>"</code><br·/> | 114 | <code>#include·"<a·class="el"·href="a00704_source.html">../far/topologyRefiner.h</a>"</code><br·/> |
101 | <code>#include·& | 115 | <code>#include·<cassert></code><br·/> |
102 | </div> | 116 | </div> |
103 | <p><a·href="a00728_source.html">Go·to·the·source·code·of·this·file.</a></p> | 117 | <p><a·href="a00728_source.html">Go·to·the·source·code·of·this·file.</a></p> |
104 | <table·class="memberdecls"> | 118 | <table·class="memberdecls"> |
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 119 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
106 | Classes</h2></td></tr> | 120 | Classes</h2></td></tr> |
107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a010 | 121 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01021.html">PrimvarRefinerReal<·REAL·></a></td></tr> |
108 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 122 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Applies·refinement·operations·to·generic·primvar·data.··<a·href="a01021.html#details">More...</a><br·/></td></tr> |
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 123 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"> | 124 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01029.html">PrimvarRefiner</a></td></tr> |
111 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Public·options·for·the·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">PatchTable</a>·factory.··<a·href="a01013.html#details">More...</a><br·/></td></tr> | ||
112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
113 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01017.html">PatchTableFactory::PatchFaceTag</a></td></tr> | ||
114 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Obsolete·internal·struct·not·intended·for·public·use·–·due·to·be·deprecated.··<a·href="a01017.html#details">More...</a><br·/></td></tr> | ||
115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 125 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
116 | </table><table·class="memberdecls"> | 126 | </table><table·class="memberdecls"> |
117 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 127 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
118 | Namespaces</h2></td></tr> | 128 | Namespaces</h2></td></tr> |
119 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 129 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
120 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 130 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
121 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 131 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
Offset 125, 13 lines modified | Offset 135, 13 lines modified | ||
125 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 135 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
126 | </table> | 136 | </table> |
127 | </div><!--·contents·--> | 137 | </div><!--·contents·--> |
128 | </div><!--·doc-content·--> | 138 | </div><!--·doc-content·--> |
129 | <!--·start·footer·part·--> | 139 | <!--·start·footer·part·--> |
130 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 140 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
131 | ··<ul> | 141 | ··<ul> |
132 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_7f420b72a822828cfa8b0561c695a5cc.html">far</a></li><li·class="navelem"><a·class="el"·href="a00728.html">p | 142 | ····<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">primvarRefiner.h</a></li> |
133 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 143 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
134 | ··</ul> | 144 | ··</ul> |
135 | </div> | 145 | </div> |
136 | </body> | 146 | </body> |
137 | </html> | 147 | </html> |
Offset 1, 32 lines modified | Offset 1, 41 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
6 | p | 6 | primvarRefiner.h·File·Reference |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" | ||
9 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8o_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s_\x8._\x8h" | ||
10 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8b_\x8i_\x8l_\x8i_\x8n_\x8e_\x8a_\x8r_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8._\x8h" | ||
11 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8c_\x8a_\x8t_\x8m_\x8a_\x8r_\x8k_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8._\x8h" | ||
12 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8l_\x8o_\x8o_\x8p_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8._\x8h" | ||
13 | #include·"_\x8._\x8._\x8/_\x8v_\x8t_\x8r_\x8/_\x8l_\x8e_\x8v_\x8e_\x8l_\x8._\x8h" | ||
14 | #include·"_\x8._\x8._\x8/_\x8v_\x8t_\x8r_\x8/_\x8f_\x8v_\x8a_\x8r_\x8L_\x8e_\x8v_\x8e_\x8l_\x8._\x8h" | ||
15 | #include·"_\x8._\x8._\x8/_\x8v_\x8t_\x8r_\x8/_\x8r_\x8e_\x8f_\x8i_\x8n_\x8e_\x8m_\x8e_\x8n_\x8t_\x8._\x8h" | ||
16 | #include·"_\x8._\x8._\x8/_\x8v_\x8t_\x8r_\x8/_\x8f_\x8v_\x8a_\x8r_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8m_\x8e_\x8n_\x8t_\x8._\x8h" | ||
17 | #include·"_\x8._\x8._\x8/_\x8v_\x8t_\x8r_\x8/_\x8s_\x8t_\x8a_\x8c_\x8k_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8._\x8h" | ||
18 | #include·"_\x8._\x8._\x8/_\x8v_\x8t_\x8r_\x8/_\x8c_\x8o_\x8m_\x8p_\x8o_\x8n_\x8e_\x8n_\x8t_\x8I_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e_\x8s_\x8._\x8h" | ||
19 | #include·"_\x8._\x8._\x8/_\x8f_\x8a_\x8r_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" | ||
20 | #include·"_\x8._\x8._\x8/_\x8f_\x8a_\x8r_\x8/_\x8e_\x8r_\x8r_\x8o_\x8r_\x8._\x8h" | ||
21 | #include·"_\x8._\x8._\x8/_\x8f_\x8a_\x8r_\x8/_\x8t_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8L_\x8e_\x8v_\x8e_\x8l_\x8._\x8h" | ||
8 | #include·"_\x8._\x8._\x8/_\x8f_\x8a_\x8r_\x8/_\x8t_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r_\x8._\x8h" | 22 | #include·"_\x8._\x8._\x8/_\x8f_\x8a_\x8r_\x8/_\x8t_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r_\x8._\x8h" |
9 | #include· | 23 | #include·<cassert> |
10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 24 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
11 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 25 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
12 | ·class· ·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y | ||
13 | 26 | class· ·_.P_.r_.i_.m_.v_.a_.r_.R_.e_.f_.i_.n_.e_.r_.R_.e_.a_.l_.<_.·_.R_.E_.A_.L_.·_.> | |
27 | ·······Applies·refinement·operations·to·generic·primvar·data.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
14 | 28 | ||
29 | class· ·_\x8P_\x8r_\x8i_\x8m_\x8v_\x8a_\x8r_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r | ||
15 | struct· ·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8:_\x8:_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s | ||
16 | ········Public·options·for·the·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e·factory.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
17 | |||
18 | struct· ·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8F_\x8a_\x8c_\x8e_\x8T_\x8a_\x8g | ||
19 | ········Obsolete·internal·struct·not·intended·for·public·use·–·due·to·be | ||
20 | ·········deprecated.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
21 | 30 | ||
22 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 31 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
23 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 32 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
24 | 33 | ||
25 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 34 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
26 | 35 | ||
27 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8F_\x8a_\x8r | 36 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8F_\x8a_\x8r |
28 | 37 | ||
29 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 38 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
30 | ····*·_\x8f_\x8a_\x8r | 39 | ····*·_\x8f_\x8a_\x8r |
31 | ····*·_\x8p_\x8 | 40 | ····*·_\x8p_\x8r_.i_.m_.v_.a_.r_.R_.e_.f_.i_.n_.e_.r_\x8._\x8h |
32 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 41 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 5 lines modified | Offset 1, 4 lines modified | ||
1 | var·a00728·=·[ | 1 | var·a00728·=·[ |
2 | ····["PrimvarRefinerReal<·REAL·>",·"a01021.html",·"a01021"], | ||
3 | ····["PrimvarRefiner",·"a01029.html",·"a01029"] | ||
2 | ····["PatchTableFactory",·"a01009.html",·"a01009"], | ||
3 | ····["Options",·"a01013.html",·"a01013"], | ||
4 | ····["PatchFaceTag",·"a01017.html",·"a01017"] | ||
5 | ]; | 4 | ]; |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/far/p | 8 | <title>OpenSubdiv:·opensubdiv/far/primvarRefiner.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 92, 19 lines modified | Offset 92, 19 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title">p | 98 | ··<div·class="headertitle"><div·class="title">primvarRefiner.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <a·href="a00728.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> | 101 | <a·href="a00728.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·201 | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·DreamWorks·Animation·LLC.</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> | 106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> |
107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> | 107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> |
108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> | 108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> |
109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> | 109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> |
Offset 118, 250 lines modified | Offset 118, 1233 lines modified | ||
118 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div> | 118 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div> |
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_FAR_PRIMVAR_REFINER_H</span></div> | ||
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·OPENSUBDIV3_FAR_PRIMVAR_REFINER_H</span></div> | ||
125 | <div·class="line"><a·id="l0002 | 127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_FAR_PATCH_TABLE_FACTORY_H</span></div> | ||
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_FAR_PATCH_TABLE_FACTORY_H</span></div> | ||
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | ||
129 | <div·class="line"><a·id="l0002 | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·"../version.h"</span></div> |
130 | <div·class="line"><a·id="l0002 | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"../sdc/types.h"</span></div> | ||
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../sdc/options.h"</span></div> | ||
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·"../sdc/bilinearScheme.h"</span></div> | ||
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·"../sdc/catmarkScheme.h"</span></div> | ||
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·"../sdc/loopScheme.h"</span></div> | ||
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·"../vtr/level.h"</span></div> | ||
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#include·"../vtr/fvarLevel.h"</span></div> | ||
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#include·"../vtr/refinement.h"</span></div> | ||
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#include·"../vtr/fvarRefinement.h"</span></div> | ||
139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">#include·"../vtr/stackBuffer.h"</span></div> | ||
140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="preprocessor">#include·"../vtr/componentInterfaces.h"</span></div> | ||
141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="preprocessor">#include·"../far/types.h"</span></div> | ||
142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="preprocessor">#include·"../far/error.h"</span></div> | ||
143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="preprocessor">#include·"../far/topologyLevel.h"</span></div> | ||
131 | <div·class="line"><a·id="l000 | 144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="preprocessor">#include·"../far/topologyRefiner.h"</span></div> |
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·"../far/patchTable.h"</span></div> | ||
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | ||
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> | ||
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> | ||
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>Far·{</div> | ||
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
139 | <div·class="foldopen"·id="foldopen00040"·data-start="{"·data-end="};"> | ||
140 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a01009.html">···40</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01009.html">PatchTableFactory</a>·{</div> | ||
141 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">public</span>:</div> | ||
142 | <div·class="line"><a·id="l0004 | 145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> |
146 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="preprocessor">#include·<cassert></span></div> | ||
143 | <div·class="foldopen"·id="foldopen00045"·data-start="{"·data-end="};"> | ||
144 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01013.html">···45</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01013.html">Options</a>·{</div> | ||
145 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | 147 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> |
148 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> | ||
149 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> | ||
150 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | ||
151 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">namespace·</span>Far·{</div> | ||
152 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | ||
153 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">template</span>·<<span·class="keyword">typename</span>·REAL></div> | ||
146 | <div·class="foldopen"·id="foldopen0005 | 154 | <div·class="foldopen"·id="foldopen00056"·data-start="{"·data-end="};"> |
155 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01021.html">···56</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01021.html">PrimvarRefinerReal</a>·{</div> | ||
156 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | ||
157 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="keyword">public</span>:</div> | ||
158 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01021.html#a1fe1fbda93c01c326f13929d1c3c6247">···59</a></span>····<a·class="code·hl_function"·href="a01021.html#a1fe1fbda93c01c326f13929d1c3c6247">PrimvarRefinerReal</a>(<a·class="code·hl_class"·href="a01113.html">TopologyRefiner</a>·<span·class="keyword">const</span>·&·refiner)·:·_refiner(refiner)·{·}</div> | ||
159 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01021.html#ade7a1750cdc922e27c561520815d8b27">···60</a></span>····<a·class="code·hl_function"·href="a01021.html#ade7a1750cdc922e27c561520815d8b27">~PrimvarRefinerReal</a>()·{·}</div> | ||
147 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535">···55</a></span>········<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535">EndCapType</a>·{</div> | ||
148 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535a39a0bc0d1c407b2b849c2bfaba366b22">···56</a></span>············<a·class="code·hl_enumvalue"·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535a39a0bc0d1c407b2b849c2bfaba366b22">ENDCAP_NONE</a>·=·0,········</div> | ||
149 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535a90f0e9a2c992889cefdf1db954f9d98f">···57</a></span>············<a·class="code·hl_enumvalue"·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535a90f0e9a2c992889cefdf1db954f9d98f">ENDCAP_BILINEAR_BASIS</a>,··</div> | ||
150 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535ac3fc1d183b0bdfbc7bf1cce613c4ff04">···58</a></span>············<a·class="code·hl_enumvalue"·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535ac3fc1d183b0bdfbc7bf1cce613c4ff04">ENDCAP_BSPLINE_BASIS</a>,···</div> | ||
151 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535a2e89c8e5ac21dbd024ec902de51566b0">···59</a></span>············<a·class="code·hl_enumvalue"·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535a2e89c8e5ac21dbd024ec902de51566b0">ENDCAP_GREGORY_BASIS</a>,···</div> | ||
152 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>············<a·class="code·hl_enumvalue"·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535a0c0d3d9e480d64f20f1b32d599c88aa5">ENDCAP_LEGACY_GREGORY</a>···</div> | ||
153 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535a0c0d3d9e480d64f20f1b32d599c88aa5">···61</a></span>········};</div> | ||
154 | </div> | ||
155 | <div·class="line"><a·id="l0006 | 160 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> |
161 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01021.html#a6f7fc8b9ce66fa57ac58ed977cc9c6f0">···62</a></span>····<a·class="code·hl_class"·href="a01113.html">TopologyRefiner</a>·<span·class="keyword">const</span>·&·<a·class="code·hl_function"·href="a01021.html#a6f7fc8b9ce66fa57ac58ed977cc9c6f0">GetTopologyRefiner</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_refiner;·}</div> | ||
162 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | ||
163 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | ||
164 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div> | ||
156 | <div·class="foldopen"·id="foldopen00 | 165 | <div·class="foldopen"·id="foldopen00113"·data-start="{"·data-end="}"> |
166 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno"><a·class="line"·href="a01021.html#ab97b75b7c0fffa06a5948bd6ba7b420d">··113</a></span>····<span·class="keyword">template</span>·<<span·class="keyword">class</span>·T,·<span·class="keyword">class</span>·U>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01021.html#ab97b75b7c0fffa06a5948bd6ba7b420d">Interpolate</a>(<span·class="keywordtype">int</span>·level,·T·<span·class="keyword">const</span>·&·src,·U·&·dst)·<span·class="keyword">const</span>;</div> | ||
157 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01013.html#afe7ba5a3a3e0f7b63f27fc527f472528">···63</a></span>········<a·class="code·hl_function"·href="a01013.html#afe7ba5a3a3e0f7b63f27fc527f472528">Options</a>(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·maxIsolation=10)·:</div> | ||
158 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·············<a·class="code·hl_variable"·href="a01013.html#a8d3c24dcc455474a3a9498c6b6378cc4">generateAllLevels</a>(false),</div> | ||
159 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·············<a·class="code·hl_variable"·href="a01013.html#a9e322b8f2ad57dd369956f27113b7a8a">includeBaseLevelIndices</a>(true),</div> | ||
160 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·············<a·class="code·hl_variable"·href="a01013.html#a7551f187d9f4a70b27faed7597d96e4f">includeFVarBaseLevelIndices</a>(false),</div> | ||
161 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·············<a·class="code·hl_variable"·href="a01013.html#ae0427ab3b81525a0dfa5d2b510a06461">triangulateQuads</a>(false),</div> | ||
162 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·············<a·class="code·hl_variable"·href="a01013.html#a5834971432c649e28d5a0186f79a60d5">useSingleCreasePatch</a>(false),</div> | ||
163 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·············<a·class="code·hl_variable"·href="a01013.html#a5eba866952b7be15b065060b1f5a81da">useInfSharpPatch</a>(false),</div> | ||
164 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·············<a·class="code·hl_variable"·href="a01013.html#a18b47b281350d10784fd4917be9019f1">maxIsolationLevel</a>(maxIsolation·&·0xf),</div> | ||
165 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·············<a·class="code·hl_variable"·href="a01013.html#a497f7c6fe6944842dd54758e9ec5a8e2">endCapType</a>(<a·class="code·hl_enumvalue"·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535a2e89c8e5ac21dbd024ec902de51566b0">ENDCAP_GREGORY_BASIS</a>),</div> | ||
166 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·············<a·class="code·hl_variable"·href="a01013.html#a113fa8ce12150940afe0215c702cc89d">shareEndCapPatchPoints</a>(true),</div> | ||
167 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·············<a·class="code·hl_variable"·href="a01013.html#a039b27c797bb2b4be4af66798787081e">generateVaryingTables</a>(true),</div> | ||
168 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·············<a·class="code·hl_variable"·href="a01013.html#a728df1785179cd0768a4971b8c34708a">generateVaryingLocalPoints</a>(true),</div> | ||
169 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·············<a·class="code·hl_variable"·href="a01013.html#a97f60d840c3d2830f0c4680783a334e8">generateFVarTables</a>(false),</div> | ||
170 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·············<a·class="code·hl_variable"·href="a01013.html#a91ce5fe0ce9b9ec6c5afcfb6e1ccaa40">patchPrecisionDouble</a>(false),</div> | ||
171 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·············<a·class="code·hl_variable"·href="a01013.html#a3f663e5c2b7e65976b6521c21ea59130">fvarPatchPrecisionDouble</a>(false),</div> | ||
172 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·············<a·class="code·hl_variable"·href="a01013.html#a2a03b250662eec5d267daf6692e4b341">generateFVarLegacyLinearPatches</a>(true),</div> | ||
173 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·············<a·class="code·hl_variable"·href="a01013.html#a0fe3eeef4b5b332c7747a940db43cd8d">generateLegacySharpCornerPatches</a>(true),</div> | ||
174 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·············<a·class="code·hl_variable"·href="a01013.html#ad17511fd9b0cea1b15b6bc31c0fc3e80">numFVarChannels</a>(-1),</div> | ||
175 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·············<a·class="code·hl_variable"·href="a01013.html#a4c1ba8119a16ea0682a870ee7a8282a5">fvarChannelIndices</a>(0)</div> | ||
Max diff block lines reached; 240362/268382 bytes (89.56%) of diff not shown. |
Offset 1, 1 lines modified | Offset 1, 1 lines modified | ||
1 | u | 1 | us-ascii |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | p | 5 | primvarRefiner.h |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·201 | 8 | 2//·Copyright·2015·DreamWorks·Animation·LLC. |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: | 13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: |
14 | 8// | 14 | 8// |
15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade | 15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade |
Offset 23, 410 lines modified | Offset 23, 1388 lines modified | ||
23 | 17// | 23 | 17// |
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24#ifndef·OPENSUBDIV3_FAR_PRIMVAR_REFINER_H | ||
31 | 25#define·OPENSUBDIV3_FAR_PRIMVAR_REFINER_H | ||
32 | 26 | ||
30 | 24 | ||
31 | 25#ifndef·OPENSUBDIV3_FAR_PATCH_TABLE_FACTORY_H | ||
32 | 26#define·OPENSUBDIV3_FAR_PATCH_TABLE_FACTORY_H | ||
33 | 27 | ||
34 | 2 | 33 | 27#include·"../version.h" |
35 | 2 | 34 | 28 |
35 | 29#include·"../sdc/types.h" | ||
36 | 30#include·"../sdc/options.h" | ||
37 | 31#include·"../sdc/bilinearScheme.h" | ||
38 | 32#include·"../sdc/catmarkScheme.h" | ||
39 | 33#include·"../sdc/loopScheme.h" | ||
40 | 34#include·"../vtr/level.h" | ||
41 | 35#include·"../vtr/fvarLevel.h" | ||
42 | 36#include·"../vtr/refinement.h" | ||
43 | 37#include·"../vtr/fvarRefinement.h" | ||
44 | 38#include·"../vtr/stackBuffer.h" | ||
45 | 39#include·"../vtr/componentInterfaces.h" | ||
46 | 40#include·"../far/types.h" | ||
47 | 41#include·"../far/error.h" | ||
48 | 42#include·"../far/topologyLevel.h" | ||
36 | 49 | 43#include·"../far/topologyRefiner.h" | |
50 | 44 | ||
51 | 45#include·<cassert> | ||
37 | 31#include·"../far/patchTable.h" | ||
38 | 32 | ||
39 | 33namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ | ||
40 | 34namespace·OPENSUBDIV_VERSION·{ | ||
41 | 35 | ||
42 | 36namespace·Far·{ | ||
43 | 37 | ||
44 | _\x84_\x80class·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y·{ | ||
45 | 41public: | ||
46 | 42 | ||
47 | _\x84_\x85·struct·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s·{ | ||
48 | 46 | 52 | 46 |
53 | 47namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ | ||
54 | 48namespace·OPENSUBDIV_VERSION·{ | ||
55 | 49 | ||
56 | 50namespace·Far·{ | ||
57 | 51 | ||
58 | 55template·<typename·REAL> | ||
59 | _\x85_\x86class·_\x8P_\x8r_\x8i_\x8m_\x8v_\x8a_\x8r_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r_\x8R_\x8e_\x8a_\x8l·{ | ||
60 | 57 | ||
61 | 58public: | ||
62 | _\x85_\x89·_\x8P_\x8r_\x8i_\x8m_\x8v_\x8a_\x8r_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r_\x8R_\x8e_\x8a_\x8l(_\x8T_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r·const·&·refiner)·:·_refiner(refiner)·{·} | ||
63 | _\x86_\x80·_\x8~_\x8P_\x8r_\x8i_\x8m_\x8v_\x8a_\x8r_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r_\x8R_\x8e_\x8a_\x8l()·{·} | ||
64 | 61 | ||
65 | _\x86_\x82·_\x8T_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r·const·&·_\x8G_\x8e_\x8t_\x8T_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r()·const·{·return·_refiner;·} | ||
66 | 63 | ||
67 | 65 | ||
68 | 100 | ||
69 | _\x81_\x81_\x83·template·<class·T,·class·U>·void·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8p_\x8o_\x8l_\x8a_\x8t_\x8e(int·level,·T·const·&·src,·U·& | ||
70 | dst)·const; | ||
49 | _\x85_\x85·enum·_\x8E_\x8n_\x8d_\x8C_\x8a_\x8p_\x8T_\x8y_\x8p_\x8e·{ | ||
50 | _\x85_\x86·_\x8E_\x8N_\x8D_\x8C_\x8A_\x8P_\x8__\x8N_\x8O_\x8N_\x8E·=·0, | ||
51 | _\x85_\x87·_\x8E_\x8N_\x8D_\x8C_\x8A_\x8P_\x8__\x8B_\x8I_\x8L_\x8I_\x8N_\x8E_\x8A_\x8R_\x8__\x8B_\x8A_\x8S_\x8I_\x8S, | ||
52 | _\x85_\x88·_\x8E_\x8N_\x8D_\x8C_\x8A_\x8P_\x8__\x8B_\x8S_\x8P_\x8L_\x8I_\x8N_\x8E_\x8__\x8B_\x8A_\x8S_\x8I_\x8S, | ||
53 | _\x85_\x89·_\x8E_\x8N_\x8D_\x8C_\x8A_\x8P_\x8__\x8G_\x8R_\x8E_\x8G_\x8O_\x8R_\x8Y_\x8__\x8B_\x8A_\x8S_\x8I_\x8S, | ||
54 | 60·_\x8E_\x8N_\x8D_\x8C_\x8A_\x8P_\x8__\x8L_\x8E_\x8G_\x8A_\x8C_\x8Y_\x8__\x8G_\x8R_\x8E_\x8G_\x8O_\x8R_\x8Y | ||
55 | _\x86_\x81·}; | ||
56 | 62 | ||
57 | _\x86_\x83·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s(unsigned·int·maxIsolation=10)·: | ||
58 | 64·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8A_\x8l_\x8l_\x8L_\x8e_\x8v_\x8e_\x8l_\x8s(false), | ||
59 | 65·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e_\x8B_\x8a_\x8s_\x8e_\x8L_\x8e_\x8v_\x8e_\x8l_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s(true), | ||
60 | 66·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e_\x8F_\x8V_\x8a_\x8r_\x8B_\x8a_\x8s_\x8e_\x8L_\x8e_\x8v_\x8e_\x8l_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s(false), | ||
61 | 67·_\x8t_\x8r_\x8i_\x8a_\x8n_\x8g_\x8u_\x8l_\x8a_\x8t_\x8e_\x8Q_\x8u_\x8a_\x8d_\x8s(false), | ||
62 | 68·_\x8u_\x8s_\x8e_\x8S_\x8i_\x8n_\x8g_\x8l_\x8e_\x8C_\x8r_\x8e_\x8a_\x8s_\x8e_\x8P_\x8a_\x8t_\x8c_\x8h(false), | ||
63 | 69·_\x8u_\x8s_\x8e_\x8I_\x8n_\x8f_\x8S_\x8h_\x8a_\x8r_\x8p_\x8P_\x8a_\x8t_\x8c_\x8h(false), | ||
64 | 70·_\x8m_\x8a_\x8x_\x8I_\x8s_\x8o_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8L_\x8e_\x8v_\x8e_\x8l(maxIsolation·&·0xf), | ||
65 | 71·_\x8e_\x8n_\x8d_\x8C_\x8a_\x8p_\x8T_\x8y_\x8p_\x8e(_\x8E_\x8N_\x8D_\x8C_\x8A_\x8P_\x8__\x8G_\x8R_\x8E_\x8G_\x8O_\x8R_\x8Y_\x8__\x8B_\x8A_\x8S_\x8I_\x8S), | ||
66 | 72·_\x8s_\x8h_\x8a_\x8r_\x8e_\x8E_\x8n_\x8d_\x8C_\x8a_\x8p_\x8P_\x8a_\x8t_\x8c_\x8h_\x8P_\x8o_\x8i_\x8n_\x8t_\x8s(true), | ||
67 | 73·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8V_\x8a_\x8r_\x8y_\x8i_\x8n_\x8g_\x8T_\x8a_\x8b_\x8l_\x8e_\x8s(true), | ||
68 | 74·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8V_\x8a_\x8r_\x8y_\x8i_\x8n_\x8g_\x8L_\x8o_\x8c_\x8a_\x8l_\x8P_\x8o_\x8i_\x8n_\x8t_\x8s(true), | ||
69 | 75·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8F_\x8V_\x8a_\x8r_\x8T_\x8a_\x8b_\x8l_\x8e_\x8s(false), | ||
70 | 76·_\x8p_\x8a_\x8t_\x8c_\x8h_\x8P_\x8r_\x8e_\x8c_\x8i_\x8s_\x8i_\x8o_\x8n_\x8D_\x8o_\x8u_\x8b_\x8l_\x8e(false), | ||
71 | 77·_\x8f_\x8v_\x8a_\x8r_\x8P_\x8a_\x8t_\x8c_\x8h_\x8P_\x8r_\x8e_\x8c_\x8i_\x8s_\x8i_\x8o_\x8n_\x8D_\x8o_\x8u_\x8b_\x8l_\x8e(false), | ||
72 | 78·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8F_\x8V_\x8a_\x8r_\x8L_\x8e_\x8g_\x8a_\x8c_\x8y_\x8L_\x8i_\x8n_\x8e_\x8a_\x8r_\x8P_\x8a_\x8t_\x8c_\x8h_\x8e_\x8s(true), | ||
73 | 79·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8L_\x8e_\x8g_\x8a_\x8c_\x8y_\x8S_\x8h_\x8a_\x8r_\x8p_\x8C_\x8o_\x8r_\x8n_\x8e_\x8r_\x8P_\x8a_\x8t_\x8c_\x8h_\x8e_\x8s(true), | ||
74 | 80·_\x8n_\x8u_\x8m_\x8F_\x8V_\x8a_\x8r_\x8C_\x8h_\x8a_\x8n_\x8n_\x8e_\x8l_\x8s(-1), | ||
75 | 81·_\x8f_\x8v_\x8a_\x8r_\x8C_\x8h_\x8a_\x8n_\x8n_\x8e_\x8l_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s(0) | ||
76 | 82·{·} | ||
77 | 83 | ||
78 | _\x88_\x85·_\x8E_\x8n_\x8d_\x8C_\x8a_\x8p_\x8T_\x8y_\x8p_\x8e·_\x8G_\x8e_\x8t_\x8E_\x8n_\x8d_\x8C_\x8a_\x8p_\x8T_\x8y_\x8p_\x8e()·const·{·return·(_\x8E_\x8n_\x8d_\x8C_\x8a_\x8p_\x8T_\x8y_\x8p_\x8e)_\x8e_\x8n_\x8d_\x8C_\x8a_\x8p_\x8T_\x8y_\x8p_\x8e;·} | ||
79 | 86 | ||
80 | _\x88_\x88·void·_\x8S_\x8e_\x8t_\x8E_\x8n_\x8d_\x8C_\x8a_\x8p_\x8T_\x8y_\x8p_\x8e(_\x8E_\x8n_\x8d_\x8C_\x8a_\x8p_\x8T_\x8y_\x8p_\x8e·e)·{·_\x8e_\x8n_\x8d_\x8C_\x8a_\x8p_\x8T_\x8y_\x8p_\x8e·=·e·&·0x7;·} | ||
81 | 89 | ||
82 | _\x89_\x81·void·_\x8S_\x8e_\x8t_\x8M_\x8a_\x8x_\x8I_\x8s_\x8o_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8L_\x8e_\x8v_\x8e_\x8l(unsigned·int·level)·{·_\x8m_\x8a_\x8x_\x8I_\x8s_\x8o_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8L_\x8e_\x8v_\x8e_\x8l·=·level·& | ||
83 | 0xf;·} | ||
84 | 92 | ||
85 | _\x89_\x84·template·<typename·REAL>·void·_\x8S_\x8e_\x8t_\x8P_\x8a_\x8t_\x8c_\x8h_\x8P_\x8r_\x8e_\x8c_\x8i_\x8s_\x8i_\x8o_\x8n(); | ||
86 | 95 | ||
87 | _\x89_\x87·template·<typename·REAL>·void·_\x8S_\x8e_\x8t_\x8F_\x8V_\x8a_\x8r_\x8P_\x8a_\x8t_\x8c_\x8h_\x8P_\x8r_\x8e_\x8c_\x8i_\x8s_\x8i_\x8o_\x8n(); | ||
88 | 98 | ||
89 | _\x81_\x80_\x80·_\x8T_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r_\x8:_\x8:_\x8A_\x8d_\x8a_\x8p_\x8t_\x8i_\x8v_\x8e_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s·_\x8G_\x8e_\x8t_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8A_\x8d_\x8a_\x8p_\x8t_\x8i_\x8v_\x8e_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s()·const·{ | ||
90 | 101·_\x8T_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8y_\x8R_\x8e_\x8f_\x8i_\x8n_\x8e_\x8r_\x8:_\x8:_\x8A_\x8d_\x8a_\x8p_\x8t_\x8i_\x8v_\x8e_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s·adaptiveOptions(_\x8m_\x8a_\x8x_\x8I_\x8s_\x8o_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8L_\x8e_\x8v_\x8e_\x8l); | ||
91 | 102 | ||
92 | 103·adaptiveOptions._\x8u_\x8s_\x8e_\x8I_\x8n_\x8f_\x8S_\x8h_\x8a_\x8r_\x8p_\x8P_\x8a_\x8t_\x8c_\x8h·=·_\x8u_\x8s_\x8e_\x8I_\x8n_\x8f_\x8S_\x8h_\x8a_\x8r_\x8p_\x8P_\x8a_\x8t_\x8c_\x8h; | ||
93 | 104·adaptiveOptions._\x8u_\x8s_\x8e_\x8S_\x8i_\x8n_\x8g_\x8l_\x8e_\x8C_\x8r_\x8e_\x8a_\x8s_\x8e_\x8P_\x8a_\x8t_\x8c_\x8h·=·_\x8u_\x8s_\x8e_\x8S_\x8i_\x8n_\x8g_\x8l_\x8e_\x8C_\x8r_\x8e_\x8a_\x8s_\x8e_\x8P_\x8a_\x8t_\x8c_\x8h; | ||
94 | 105·adaptiveOptions._\x8c_\x8o_\x8n_\x8s_\x8i_\x8d_\x8e_\x8r_\x8F_\x8V_\x8a_\x8r_\x8C_\x8h_\x8a_\x8n_\x8n_\x8e_\x8l_\x8s·=·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8F_\x8V_\x8a_\x8r_\x8T_\x8a_\x8b_\x8l_\x8e_\x8s·&& | ||
95 | 106·!_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8F_\x8V_\x8a_\x8r_\x8L_\x8e_\x8g_\x8a_\x8c_\x8y_\x8L_\x8i_\x8n_\x8e_\x8a_\x8r_\x8P_\x8a_\x8t_\x8c_\x8h_\x8e_\x8s; | ||
96 | 107·return·adaptiveOptions; | ||
Max diff block lines reached; 82528/89265 bytes (92.45%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/vtr/fvar | 8 | <title>OpenSubdiv:·opensubdiv/vtr/fvarRefinement.h·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 89, 23 lines modified | Offset 89, 23 lines modified | ||
89 | </div> | 89 | </div> |
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#namespaces">Namespaces</a>··</div> | 94 | <a·href="#namespaces">Namespaces</a>··</div> |
95 | ··<div·class="headertitle"><div·class="title">fvar | 95 | ··<div·class="headertitle"><div·class="title">fvarRefinement.h·File·Reference</div></div> |
96 | </div><!--header--> | 96 | </div><!--header--> |
97 | <div·class="contents"> | 97 | <div·class="contents"> |
98 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 98 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
99 | <code>#include·"<a·class="el"·href="a01484_source.html">../sdc/types.h</a>"</code><br·/> | 99 | <code>#include·"<a·class="el"·href="a01484_source.html">../sdc/types.h</a>"</code><br·/> |
100 | <code>#include·"<a·class="el"·href="a00779_source.html">../sdc/crease.h</a>"</code><br·/> | 100 | <code>#include·"<a·class="el"·href="a00779_source.html">../sdc/crease.h</a>"</code><br·/> |
101 | <code>#include·"<a·class="el"·href="a00773_source.html">../sdc/options.h</a>"</code><br·/> | ||
102 | <code>#include·"<a·class="el"·href="a01487_source.html">../vtr/types.h</a>"</code><br·/> | 101 | <code>#include·"<a·class="el"·href="a01487_source.html">../vtr/types.h</a>"</code><br·/> |
102 | <code>#include·"<a·class="el"·href="a00752_source.html">../vtr/refinement.h</a>"</code><br·/> | ||
103 | <code>#include·"<a·class="el"·href="a007 | 103 | <code>#include·"<a·class="el"·href="a00761_source.html">../vtr/fvarLevel.h</a>"</code><br·/> |
104 | <code>#include·<vector></code><br·/> | 104 | <code>#include·<vector></code><br·/> |
105 | <code>#include·<cassert></code><br·/> | 105 | <code>#include·<cassert></code><br·/> |
106 | <code>#include·<cstring></code><br·/> | 106 | <code>#include·<cstring></code><br·/> |
107 | </div> | 107 | </div> |
108 | <p><a·href="a00758_source.html">Go·to·the·source·code·of·this·file.</a></p> | 108 | <p><a·href="a00758_source.html">Go·to·the·source·code·of·this·file.</a></p> |
109 | <table·class="memberdecls"> | 109 | <table·class="memberdecls"> |
110 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 110 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
Offset 118, 13 lines modified | Offset 118, 13 lines modified | ||
118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
119 | </table> | 119 | </table> |
120 | </div><!--·contents·--> | 120 | </div><!--·contents·--> |
121 | </div><!--·doc-content·--> | 121 | </div><!--·doc-content·--> |
122 | <!--·start·footer·part·--> | 122 | <!--·start·footer·part·--> |
123 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 123 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
124 | ··<ul> | 124 | ··<ul> |
125 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_bd5473d7d5841d48919aaa9ad0cb1f9b.html">vtr</a></li><li·class="navelem"><a·class="el"·href="a00758.html">fvar | 125 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_bd5473d7d5841d48919aaa9ad0cb1f9b.html">vtr</a></li><li·class="navelem"><a·class="el"·href="a00758.html">fvarRefinement.h</a></li> |
126 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 126 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
127 | ··</ul> | 127 | ··</ul> |
128 | </div> | 128 | </div> |
129 | </body> | 129 | </body> |
130 | </html> | 130 | </html> |
Offset 1, 27 lines modified | Offset 1, 27 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 5 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
6 | fvar | 6 | fvarRefinement.h·File·Reference |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" | 8 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" |
9 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8c_\x8r_\x8e_\x8a_\x8s_\x8e_\x8._\x8h" | 9 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8c_\x8r_\x8e_\x8a_\x8s_\x8e_\x8._\x8h" |
10 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8o_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s_\x8._\x8h" | ||
11 | #include·"_\x8._\x8._\x8/_\x8v_\x8t_\x8r_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" | 10 | #include·"_\x8._\x8._\x8/_\x8v_\x8t_\x8r_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" |
11 | #include·"_\x8._\x8._\x8/_\x8v_\x8t_\x8r_\x8/_\x8r_\x8e_\x8f_\x8i_\x8n_\x8e_\x8m_\x8e_\x8n_\x8t_\x8._\x8h" | ||
12 | #include·"_\x8._\x8._\x8/_\x8v_\x8t_\x8r_\x8/_\x8 | 12 | #include·"_\x8._\x8._\x8/_\x8v_\x8t_\x8r_\x8/_\x8f_.v_.a_.r_.L_\x8e_\x8v_\x8e_\x8l_\x8._\x8h" |
13 | #include·<vector> | 13 | #include·<vector> |
14 | #include·<cassert> | 14 | #include·<cassert> |
15 | #include·<cstring> | 15 | #include·<cstring> |
16 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 16 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
17 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 17 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
18 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 18 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
19 | 19 | ||
20 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 20 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
21 | 21 | ||
22 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8V_\x8t_\x8r | 22 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8V_\x8t_\x8r |
23 | 23 | ||
24 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 24 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
25 | ····*·_\x8v_\x8t_\x8r | 25 | ····*·_\x8v_\x8t_\x8r |
26 | ····*·_\x8f_\x8v_\x8a_\x8r_\x8 | 26 | ····*·_\x8f_\x8v_\x8a_\x8r_\x8R_.e_.f_.i_.n_.e_.m_.e_.n_.t_\x8._\x8h |
27 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 27 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/vtr/fvar | 8 | <title>OpenSubdiv:·opensubdiv/vtr/fvarRefinement.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 92, 15 lines modified | Offset 92, 15 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title">fvar | 98 | ··<div·class="headertitle"><div·class="title">fvarRefinement.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <a·href="a00758.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> | 101 | <a·href="a00758.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·DreamWorks·Animation·LLC.</span></div> | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·DreamWorks·Animation·LLC.</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
Offset 118, 443 lines modified | Offset 118, 115 lines modified | ||
118 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div> | 118 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div> |
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_VTR_FVAR_ | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_VTR_FVAR_REFINEMENT_H</span></div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·OPENSUBDIV3_VTR_FVAR_ | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·OPENSUBDIV3_VTR_FVAR_REFINEMENT_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | 127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·"../version.h"</span></div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·"../version.h"</span></div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"../sdc/types.h"</span></div> | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"../sdc/types.h"</span></div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../sdc/crease.h"</span></div> | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../sdc/crease.h"</span></div> |
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·"../sdc/options.h"</span></div> | ||
133 | <div·class="line"><a·id="l0003 | 132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·"../vtr/types.h"</span></div> |
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·"../vtr/refinement.h"</span></div> | ||
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·"../vtr/ | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·"../vtr/fvarLevel.h"</span></div> |
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#include·<vector></span></div> | 136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#include·<vector></span></div> |
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#include·<cassert></span></div> | 137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#include·<cassert></span></div> |
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#include·<cstring></span></div> | 138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#include·<cstring></span></div> |
139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | 139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | 140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> | 141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> |
142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> | 142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | 143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> |
144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">namespace·</span>Vtr·{</div> | 144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">namespace·</span>Vtr·{</div> |
145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">namespace·</span>internal·{</div> | 145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">namespace·</span>internal·{</div> |
146 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | 146 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> |
147 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="comment">//</span></div> | 147 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="comment">//</span></div> |
148 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="comment">//··FVar | 148 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="comment">//··FVarRefinement:</span></div> |
149 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="comment">//······A· | 149 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="comment">//······A·face-varying·refinement·contains·data·to·support·the·refinement·of·a</span></div> |
150 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="comment">//··particular·face-varying·"channel".··Just·as·Refinement·maintains·a·mapping</span></div> | ||
151 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="comment">//··between·the·components·of·a·parent·Level·and·its·child,·the·face-varying</span></div> | ||
152 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="comment">//··analog·maintains·a·mapping·between·the·face-varying·values·of·a·parent</span></div> | ||
150 | <div·class="line"><a·id="l000 | 153 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="comment">//··FVarLevel·and·its·child.</span></div> |
151 | <div·class="line"><a·id="l0005 | 154 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="comment">//</span></div> |
152 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="comment">//··Analogous·to·a·set·of·vertices·and·face-vertices·that·define·the·topology·for</span></div> | ||
153 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="comment">//··the·geometry,·a·channel·requires·a·set·of·"values"·and·"face-values".··The</span></div> | ||
154 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="comment">//··"values"·are·indices·of·entries·in·a·set·of·face-varying·data,·just·as·vertices</span></div> | ||
155 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="comment">//··are·indices·into·a·set·of·vertex·data.··The·face-values·identify·a·value·for</span></div> | ||
156 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="comment">//··each·vertex·of·the·face,·and·so·define·topology·for·the·values·that·may·be</span></div> | ||
157 | <div·class="line"><a·id="l0005 | 155 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="comment">//··It·turns·out·there·is·little·data·necessary·here,·so·the·class·consists</span></div> |
156 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="comment">//··mainly·of·methods·that·populate·the·child·FVarLevel.··The·mapping·data·in</span></div> | ||
157 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="comment">//··the·refinement·between·Levels·serves·most·purposes·and·all·that·is·required</span></div> | ||
158 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="comment">//··in·addition·is·a·mapping·from·values·in·the·child·FVarLevel·to·the·parent.</span></div> | ||
158 | <div·class="line"><a·id="l0005 | 159 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">//</span></div> |
159 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">//··In·addition·to·the·value·size·and·the·vector·of·face-values·(which·matches·the</span></div> | ||
160 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="comment">//··size·of·the·geometry's·face-vertices),·tags·are·associated·with·each·component</span></div> | ||
161 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="comment">//··to·identify·deviations·of·the·face-varying·topology·from·the·vertex·topology.</span></div> | ||
162 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="comment">//··And·since·there·may·be·a·one-to-many·mapping·between·vertices·and·face-varying</span></div> | ||
163 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="comment">//··values,·that·mapping·is·also·allocated.</span></div> | ||
164 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="comment">//</span></div> | ||
165 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="comment">//··It·turns·out·that·the·mapping·used·is·able·to·completely·encode·the·set·of</span></div> | ||
166 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="comment">//··face-values·and·is·more·amenable·to·refinement.··Currently·the·face-values</span></div> | ||
167 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="comment">//··take·up·almost·half·the·memory·of·this·representation,·so·if·memory·does</span></div> | ||
168 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="comment">//··become·a·concern,·we·do·not·need·to·store·them.··The·only·reason·we·do·so·now</span></div> | ||
169 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="comment">//··is·that·the·face-value·interface·for·specifying·base·topology·and·inspecting</span></div> | ||
170 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="comment">//··subsequent·levels·is·very·familiar·to·that·of·face-vertices·for·clients.··So</span></div> | ||
171 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="comment">//··having·them·available·for·such·access·is·convenient.</span></div> | ||
172 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="comment">//</span></div> | ||
173 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="comment">//··Regarding·scope·and·access...</span></div> | ||
174 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="comment">//······Unclear·at·this·early·state,·but·leaning·towards·nesting·this·class·within</span></div> | ||
175 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="comment">//··Level,·given·the·intimate·dependency·between·the·two.</span></div> | ||
176 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="comment">//······Everything·is·being·declared·public·for·now·to·facilitate·access·until·it's</span></div> | ||
177 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="comment">//··clearer·how·this·functionality·will·be·provided.</span></div> | ||
178 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="comment">//</span></div> | ||
179 | <div·class="line"><a·id="l000 | 160 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword">class·</span>FVarRefinement·{</div> |
180 | <div·class="line"><a·id="l000 | 161 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="keyword">public</span>:</div> |
162 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····FVarRefinement(Refinement·<span·class="keyword">const</span>&·refinement,·FVarLevel&·parent,·FVarLevel&·child);</div> | ||
163 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····~FVarRefinement();</div> | ||
164 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | ||
165 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="keywordtype">int</span>·getChildValueParentSource(<a·class="code·hl_typedef"·href="a00909.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·vIndex,·<span·class="keywordtype">int</span>·sibling)<span·class="keyword">·const·</span>{</div> | ||
166 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>········<span·class="keywordflow">return</span>·_childValueParentSource[_childFVar.getVertexValueOffset(vIndex,·(<a·class="code·hl_typedef"·href="a00909.html#a97c1e0c5ac33f97e2b73fde56b56c363">LocalIndex</a>)sibling)];</div> | ||
167 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····}</div> | ||
168 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | ||
169 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="keywordtype">float</span>·getFractionalWeight(<a·class="code·hl_typedef"·href="a00909.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·pVert,·<a·class="code·hl_typedef"·href="a00909.html#a97c1e0c5ac33f97e2b73fde56b56c363">LocalIndex</a>·pSibling,</div> | ||
170 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······························<a·class="code·hl_typedef"·href="a00909.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·cVert,·<a·class="code·hl_typedef"·href="a00909.html#a97c1e0c5ac33f97e2b73fde56b56c363">LocalIndex</a>·cSibling)·<span·class="keyword">const</span>;</div> | ||
171 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
172 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | ||
173 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="comment">//··Modifiers·supporting·application·of·the·refinement:</span></div> | ||
174 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="keywordtype">void</span>·applyRefinement();</div> | ||
175 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | ||
176 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····<span·class="keywordtype">void</span>·estimateAndAllocateChildValues();</div> | ||
177 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····<span·class="keywordtype">void</span>·populateChildValues();</div> | ||
178 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<span·class="keywordtype">void</span>·populateChildValuesFromFaceVertices();</div> | ||
179 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····<span·class="keywordtype">void</span>·populateChildValuesFromEdgeVertices();</div> | ||
180 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<span·class="keywordtype">int</span>··populateChildValuesForEdgeVertex(<a·class="code·hl_typedef"·href="a00909.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·cVert,·<a·class="code·hl_typedef"·href="a00909.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·pEdge);</div> | ||
181 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····<span·class="keywordtype">void</span>·populateChildValuesFromVertexVertices();</div> | ||
182 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<span·class="keywordtype">int</span>··populateChildValuesForVertexVertex(<a·class="code·hl_typedef"·href="a00909.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·cVert,·<a·class="code·hl_typedef"·href="a00909.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·pVert);</div> | ||
183 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="keywordtype">void</span>·trimAndFinalizeChildValues();</div> | ||
184 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> | ||
185 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="keywordtype">void</span>·propagateEdgeTags();</div> | ||
186 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····<span·class="keywordtype">void</span>·propagateValueTags();</div> | ||
Max diff block lines reached; 65097/90235 bytes (72.14%) of diff not shown. |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | fvar | 5 | fvarRefinement.h |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·2014·DreamWorks·Animation·LLC. | 8 | 2//·Copyright·2014·DreamWorks·Animation·LLC. |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
Offset 23, 484 lines modified | Offset 23, 118 lines modified | ||
23 | 17// | 23 | 17// |
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24#ifndef·OPENSUBDIV3_VTR_FVAR_ | 30 | 24#ifndef·OPENSUBDIV3_VTR_FVAR_REFINEMENT_H |
31 | 25#define·OPENSUBDIV3_VTR_FVAR_ | 31 | 25#define·OPENSUBDIV3_VTR_FVAR_REFINEMENT_H |
32 | 26 | 32 | 26 |
33 | 27#include·"../version.h" | 33 | 27#include·"../version.h" |
34 | 28 | 34 | 28 |
35 | 29#include·"../sdc/types.h" | 35 | 29#include·"../sdc/types.h" |
36 | 30#include·"../sdc/crease.h" | 36 | 30#include·"../sdc/crease.h" |
37 | 31#include·"../sdc/options.h" | ||
38 | 3 | 37 | 31#include·"../vtr/types.h" |
38 | 32#include·"../vtr/refinement.h" | ||
39 | 33#include·"../vtr/ | 39 | 33#include·"../vtr/fvarLevel.h" |
40 | 34 | 40 | 34 |
41 | 35#include·<vector> | 41 | 35#include·<vector> |
42 | 36#include·<cassert> | 42 | 36#include·<cassert> |
43 | 37#include·<cstring> | 43 | 37#include·<cstring> |
44 | 38 | 44 | 38 |
45 | 39 | 45 | 39 |
46 | 40namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ | 46 | 40namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ |
47 | 41namespace·OPENSUBDIV_VERSION·{ | 47 | 41namespace·OPENSUBDIV_VERSION·{ |
48 | 42 | 48 | 42 |
49 | 43namespace·Vtr·{ | 49 | 43namespace·Vtr·{ |
50 | 44namespace·internal·{ | 50 | 44namespace·internal·{ |
51 | 45 | 51 | 45 |
52 | 46// | 52 | 46// |
53 | 47//·FVarLevel: | ||
54 | 48//·A·"face-varying·channel"·includes·the·topology·for·a·set·of·face-varying | ||
55 | 4 | 53 | 47//·FVarRefinement: |
54 | 48//·A·face-varying·refinement·contains·data·to·support·the·refinement·of·a | ||
55 | 49//·particular·face-varying·"channel".·Just·as·Refinement·maintains·a·mapping | ||
56 | 50//·between·the·components·of·a·parent·Level·and·its·child,·the·face-varying | ||
57 | 51//·analog·maintains·a·mapping·between·the·face-varying·values·of·a·parent | ||
58 | 52//·FVarLevel·and·its·child. | ||
56 | 5 | 59 | 53// |
60 | 54//·It·turns·out·there·is·little·data·necessary·here,·so·the·class·consists | ||
61 | 55//·mainly·of·methods·that·populate·the·child·FVarLevel.·The·mapping·data·in | ||
62 | 56//·the·refinement·between·Levels·serves·most·purposes·and·all·that·is | ||
63 | required | ||
64 | 57//·in·addition·is·a·mapping·from·values·in·the·child·FVarLevel·to·the·parent. | ||
57 | 51//·Analogous·to·a·set·of·vertices·and·face-vertices·that·define·the·topology | ||
58 | for | ||
59 | 52//·the·geometry,·a·channel·requires·a·set·of·"values"·and·"face-values".·The | ||
60 | 53//·"values"·are·indices·of·entries·in·a·set·of·face-varying·data,·just·as | ||
61 | vertices | ||
62 | 54//·are·indices·into·a·set·of·vertex·data.·The·face-values·identify·a·value | ||
63 | for | ||
64 | 55//·each·vertex·of·the·face,·and·so·define·topology·for·the·values·that·may·be | ||
65 | 56//·unique·to·each·channel. | ||
66 | 5 | 65 | 58// |
66 | 59class·FVarRefinement·{ | ||
67 | 58//·In·addition·to·the·value·size·and·the·vector·of·face-values·(which·matches | ||
68 | the | ||
69 | 59//·size·of·the·geometry's·face-vertices),·tags·are·associated·with·each | ||
70 | component | ||
71 | 60//·to·identify·deviations·of·the·face-varying·topology·from·the·vertex | ||
72 | topology. | ||
73 | 61//·And·since·there·may·be·a·one-to-many·mapping·between·vertices·and·face- | ||
74 | varying | ||
75 | 62//·values,·that·mapping·is·also·allocated. | ||
76 | 63// | ||
77 | 64//·It·turns·out·that·the·mapping·used·is·able·to·completely·encode·the·set·of | ||
78 | 65//·face-values·and·is·more·amenable·to·refinement.·Currently·the·face-values | ||
79 | 66//·take·up·almost·half·the·memory·of·this·representation,·so·if·memory·does | ||
80 | 67//·become·a·concern,·we·do·not·need·to·store·them.·The·only·reason·we·do·so | ||
81 | now | ||
82 | 68//·is·that·the·face-value·interface·for·specifying·base·topology·and | ||
83 | inspecting | ||
84 | 69//·subsequent·levels·is·very·familiar·to·that·of·face-vertices·for·clients. | ||
85 | So | ||
86 | 70//·having·them·available·for·such·access·is·convenient. | ||
87 | 71// | ||
88 | 72//·Regarding·scope·and·access... | ||
89 | 73//·Unclear·at·this·early·state,·but·leaning·towards·nesting·this·class·within | ||
90 | 74//·Level,·given·the·intimate·dependency·between·the·two. | ||
91 | 75//·Everything·is·being·declared·public·for·now·to·facilitate·access·until | ||
92 | it's | ||
93 | 76//·clearer·how·this·functionality·will·be·provided. | ||
94 | 77// | ||
95 | 78class·FVarLevel·{ | ||
96 | 67 | 60public: | |
68 | 61·FVarRefinement(Refinement·const&·refinement,·FVarLevel&·parent,·FVarLevel& | ||
69 | child); | ||
70 | 62·~FVarRefinement(); | ||
71 | 63 | ||
72 | 64·int·getChildValueParentSource(_\x8I_\x8n_\x8d_\x8e_\x8x·vIndex,·int·sibling)·const·{ | ||
73 | 65·return·_childValueParentSource[_childFVar.getVertexValueOffset(vIndex, | ||
74 | (_\x8L_\x8o_\x8c_\x8a_\x8l_\x8I_\x8n_\x8d_\x8e_\x8x)sibling)]; | ||
75 | 66·} | ||
76 | 67 | ||
77 | 68·float·getFractionalWeight(_\x8I_\x8n_\x8d_\x8e_\x8x·pVert,·_\x8L_\x8o_\x8c_\x8a_\x8l_\x8I_\x8n_\x8d_\x8e_\x8x·pSibling, | ||
78 | 69·_\x8I_\x8n_\x8d_\x8e_\x8x·cVert,·_\x8L_\x8o_\x8c_\x8a_\x8l_\x8I_\x8n_\x8d_\x8e_\x8x·cSibling)·const; | ||
79 | 70 | ||
80 | 71 | ||
81 | 72·//·Modifiers·supporting·application·of·the·refinement: | ||
82 | 73·void·applyRefinement(); | ||
83 | 74 | ||
84 | 75·void·estimateAndAllocateChildValues(); | ||
85 | 76·void·populateChildValues(); | ||
86 | 77·void·populateChildValuesFromFaceVertices(); | ||
87 | 78·void·populateChildValuesFromEdgeVertices(); | ||
88 | 79·int·populateChildValuesForEdgeVertex(_\x8I_\x8n_\x8d_\x8e_\x8x·cVert,·_\x8I_\x8n_\x8d_\x8e_\x8x·pEdge); | ||
89 | 80·void·populateChildValuesFromVertexVertices(); | ||
90 | 81·int·populateChildValuesForVertexVertex(_\x8I_\x8n_\x8d_\x8e_\x8x·cVert,·_\x8I_\x8n_\x8d_\x8e_\x8x·pVert); | ||
91 | 82·void·trimAndFinalizeChildValues(); | ||
92 | 83 | ||
93 | 84·void·propagateEdgeTags(); | ||
94 | 85·void·propagateValueTags(); | ||
95 | 86·void·propagateValueCreases(); | ||
Max diff block lines reached; 16789/23125 bytes (72.60%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/vtr/fvar | 8 | <title>OpenSubdiv:·opensubdiv/vtr/fvarLevel.h·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 89, 23 lines modified | Offset 89, 23 lines modified | ||
89 | </div> | 89 | </div> |
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#namespaces">Namespaces</a>··</div> | 94 | <a·href="#namespaces">Namespaces</a>··</div> |
95 | ··<div·class="headertitle"><div·class="title">fvar | 95 | ··<div·class="headertitle"><div·class="title">fvarLevel.h·File·Reference</div></div> |
96 | </div><!--header--> | 96 | </div><!--header--> |
97 | <div·class="contents"> | 97 | <div·class="contents"> |
98 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 98 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
99 | <code>#include·"<a·class="el"·href="a01484_source.html">../sdc/types.h</a>"</code><br·/> | 99 | <code>#include·"<a·class="el"·href="a01484_source.html">../sdc/types.h</a>"</code><br·/> |
100 | <code>#include·"<a·class="el"·href="a00779_source.html">../sdc/crease.h</a>"</code><br·/> | 100 | <code>#include·"<a·class="el"·href="a00779_source.html">../sdc/crease.h</a>"</code><br·/> |
101 | <code>#include·"<a·class="el"·href="a00773_source.html">../sdc/options.h</a>"</code><br·/> | ||
101 | <code>#include·"<a·class="el"·href="a01487_source.html">../vtr/types.h</a>"</code><br·/> | 102 | <code>#include·"<a·class="el"·href="a01487_source.html">../vtr/types.h</a>"</code><br·/> |
102 | <code>#include·"<a·class="el"·href="a00752_source.html">../vtr/refinement.h</a>"</code><br·/> | ||
103 | <code>#include·"<a·class="el"·href="a0075 | 103 | <code>#include·"<a·class="el"·href="a00755_source.html">../vtr/level.h</a>"</code><br·/> |
104 | <code>#include·<vector></code><br·/> | 104 | <code>#include·<vector></code><br·/> |
105 | <code>#include·<cassert></code><br·/> | 105 | <code>#include·<cassert></code><br·/> |
106 | <code>#include·<cstring></code><br·/> | 106 | <code>#include·<cstring></code><br·/> |
107 | </div> | 107 | </div> |
108 | <p><a·href="a00761_source.html">Go·to·the·source·code·of·this·file.</a></p> | 108 | <p><a·href="a00761_source.html">Go·to·the·source·code·of·this·file.</a></p> |
109 | <table·class="memberdecls"> | 109 | <table·class="memberdecls"> |
110 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 110 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
Offset 118, 13 lines modified | Offset 118, 13 lines modified | ||
118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
119 | </table> | 119 | </table> |
120 | </div><!--·contents·--> | 120 | </div><!--·contents·--> |
121 | </div><!--·doc-content·--> | 121 | </div><!--·doc-content·--> |
122 | <!--·start·footer·part·--> | 122 | <!--·start·footer·part·--> |
123 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 123 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
124 | ··<ul> | 124 | ··<ul> |
125 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_bd5473d7d5841d48919aaa9ad0cb1f9b.html">vtr</a></li><li·class="navelem"><a·class="el"·href="a00761.html">fvar | 125 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_bd5473d7d5841d48919aaa9ad0cb1f9b.html">vtr</a></li><li·class="navelem"><a·class="el"·href="a00761.html">fvarLevel.h</a></li> |
126 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 126 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
127 | ··</ul> | 127 | ··</ul> |
128 | </div> | 128 | </div> |
129 | </body> | 129 | </body> |
130 | </html> | 130 | </html> |
Offset 1, 27 lines modified | Offset 1, 27 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 5 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
6 | fvar | 6 | fvarLevel.h·File·Reference |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" | 8 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" |
9 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8c_\x8r_\x8e_\x8a_\x8s_\x8e_\x8._\x8h" | 9 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8c_\x8r_\x8e_\x8a_\x8s_\x8e_\x8._\x8h" |
10 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8o_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s_\x8._\x8h" | ||
10 | #include·"_\x8._\x8._\x8/_\x8v_\x8t_\x8r_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" | 11 | #include·"_\x8._\x8._\x8/_\x8v_\x8t_\x8r_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" |
11 | #include·"_\x8._\x8._\x8/_\x8v_\x8t_\x8r_\x8/_\x8r_\x8e_\x8f_\x8i_\x8n_\x8e_\x8m_\x8e_\x8n_\x8t_\x8._\x8h" | ||
12 | #include·"_\x8._\x8._\x8/_\x8v_\x8t_\x8r_\x8/_\x8 | 12 | #include·"_\x8._\x8._\x8/_\x8v_\x8t_\x8r_\x8/_\x8l_\x8e_\x8v_\x8e_\x8l_\x8._\x8h" |
13 | #include·<vector> | 13 | #include·<vector> |
14 | #include·<cassert> | 14 | #include·<cassert> |
15 | #include·<cstring> | 15 | #include·<cstring> |
16 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 16 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
17 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 17 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
18 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 18 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
19 | 19 | ||
20 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 20 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
21 | 21 | ||
22 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8V_\x8t_\x8r | 22 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8V_\x8t_\x8r |
23 | 23 | ||
24 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 24 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
25 | ····*·_\x8v_\x8t_\x8r | 25 | ····*·_\x8v_\x8t_\x8r |
26 | ····*·_\x8f_\x8v_\x8a_\x8r_\x8 | 26 | ····*·_\x8f_\x8v_\x8a_\x8r_\x8L_.e_.v_.e_.l_\x8._\x8h |
27 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 27 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/vtr/fvar | 8 | <title>OpenSubdiv:·opensubdiv/vtr/fvarLevel.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 92, 15 lines modified | Offset 92, 15 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title">fvar | 98 | ··<div·class="headertitle"><div·class="title">fvarLevel.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <a·href="a00761.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> | 101 | <a·href="a00761.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·DreamWorks·Animation·LLC.</span></div> | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·DreamWorks·Animation·LLC.</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
Offset 118, 115 lines modified | Offset 118, 443 lines modified | ||
118 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div> | 118 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div> |
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_VTR_FVAR_ | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_VTR_FVAR_LEVEL_H</span></div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·OPENSUBDIV3_VTR_FVAR_ | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·OPENSUBDIV3_VTR_FVAR_LEVEL_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | 127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·"../version.h"</span></div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·"../version.h"</span></div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"../sdc/types.h"</span></div> | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"../sdc/types.h"</span></div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../sdc/crease.h"</span></div> | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../sdc/crease.h"</span></div> |
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·"../sdc/options.h"</span></div> | ||
132 | <div·class="line"><a·id="l0003 | 133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·"../vtr/types.h"</span></div> |
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·"../vtr/refinement.h"</span></div> | ||
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·"../vtr/ | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·"../vtr/level.h"</span></div> |
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#include·<vector></span></div> | 136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#include·<vector></span></div> |
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#include·<cassert></span></div> | 137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#include·<cassert></span></div> |
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#include·<cstring></span></div> | 138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#include·<cstring></span></div> |
139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | 139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | 140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> | 141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> |
142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> | 142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | 143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> |
144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">namespace·</span>Vtr·{</div> | 144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">namespace·</span>Vtr·{</div> |
145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">namespace·</span>internal·{</div> | 145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">namespace·</span>internal·{</div> |
146 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | 146 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> |
147 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="comment">//</span></div> | 147 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="comment">//</span></div> |
148 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="comment">//··FVar | 148 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="comment">//··FVarLevel:</span></div> |
149 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="comment">//······A·"face-varying·channel"·includes·the·topology·for·a·set·of·face-varying</span></div> | ||
149 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="comment">//······A·face-varying·refinement·contains·data·to·support·the·refinement·of·a</span></div> | ||
150 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="comment">//··particular·face-varying·"channel".··Just·as·Refinement·maintains·a·mapping</span></div> | ||
151 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="comment">//··between·the·components·of·a·parent·Level·and·its·child,·the·face-varying</span></div> | ||
152 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="comment">//··analog·maintains·a·mapping·between·the·face-varying·values·of·a·parent</span></div> | ||
153 | <div·class="line"><a·id="l000 | 150 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="comment">//··data,·relative·to·the·topology·of·the·Level·with·which·it·is·associated.</span></div> |
154 | <div·class="line"><a·id="l0005 | 151 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="comment">//</span></div> |
152 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="comment">//··Analogous·to·a·set·of·vertices·and·face-vertices·that·define·the·topology·for</span></div> | ||
153 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="comment">//··the·geometry,·a·channel·requires·a·set·of·"values"·and·"face-values".··The</span></div> | ||
154 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="comment">//··"values"·are·indices·of·entries·in·a·set·of·face-varying·data,·just·as·vertices</span></div> | ||
155 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="comment">//·· | 155 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="comment">//··are·indices·into·a·set·of·vertex·data.··The·face-values·identify·a·value·for</span></div> |
156 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="comment">//··each·vertex·of·the·face,·and·so·define·topology·for·the·values·that·may·be</span></div> | ||
156 | <div·class="line"><a·id="l0005 | 157 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="comment">//··unique·to·each·channel.</span></div> |
157 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="comment">//··the·refinement·between·Levels·serves·most·purposes·and·all·that·is·required</span></div> | ||
158 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="comment">//··in·addition·is·a·mapping·from·values·in·the·child·FVarLevel·to·the·parent.</span></div> | ||
159 | <div·class="line"><a·id="l0005 | 158 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="comment">//</span></div> |
159 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">//··In·addition·to·the·value·size·and·the·vector·of·face-values·(which·matches·the</span></div> | ||
160 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="comment">//··size·of·the·geometry's·face-vertices),·tags·are·associated·with·each·component</span></div> | ||
161 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="comment">//··to·identify·deviations·of·the·face-varying·topology·from·the·vertex·topology.</span></div> | ||
162 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="comment">//··And·since·there·may·be·a·one-to-many·mapping·between·vertices·and·face-varying</span></div> | ||
163 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="comment">//··values,·that·mapping·is·also·allocated.</span></div> | ||
164 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="comment">//</span></div> | ||
165 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="comment">//··It·turns·out·that·the·mapping·used·is·able·to·completely·encode·the·set·of</span></div> | ||
166 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="comment">//··face-values·and·is·more·amenable·to·refinement.··Currently·the·face-values</span></div> | ||
167 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="comment">//··take·up·almost·half·the·memory·of·this·representation,·so·if·memory·does</span></div> | ||
168 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="comment">//··become·a·concern,·we·do·not·need·to·store·them.··The·only·reason·we·do·so·now</span></div> | ||
169 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="comment">//··is·that·the·face-value·interface·for·specifying·base·topology·and·inspecting</span></div> | ||
170 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="comment">//··subsequent·levels·is·very·familiar·to·that·of·face-vertices·for·clients.··So</span></div> | ||
171 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="comment">//··having·them·available·for·such·access·is·convenient.</span></div> | ||
172 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="comment">//</span></div> | ||
173 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="comment">//··Regarding·scope·and·access...</span></div> | ||
174 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="comment">//······Unclear·at·this·early·state,·but·leaning·towards·nesting·this·class·within</span></div> | ||
175 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="comment">//··Level,·given·the·intimate·dependency·between·the·two.</span></div> | ||
176 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="comment">//······Everything·is·being·declared·public·for·now·to·facilitate·access·until·it's</span></div> | ||
177 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="comment">//··clearer·how·this·functionality·will·be·provided.</span></div> | ||
178 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="comment">//</span></div> | ||
160 | <div·class="line"><a·id="l000 | 179 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="keyword">class·</span>FVarLevel·{</div> |
161 | <div·class="line"><a·id="l000 | 180 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="keyword">public</span>:</div> |
162 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····FVarRefinement(Refinement·<span·class="keyword">const</span>&·refinement,·FVarLevel&·parent,·FVarLevel&·child);</div> | ||
163 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····~FVarRefinement();</div> | ||
164 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | ||
165 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="keywordtype">int</span>·getChildValueParentSource(<a·class="code·hl_typedef"·href="a00909.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·vIndex,·<span·class="keywordtype">int</span>·sibling)<span·class="keyword">·const·</span>{</div> | ||
166 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>········<span·class="keywordflow">return</span>·_childValueParentSource[_childFVar.getVertexValueOffset(vIndex,·(<a·class="code·hl_typedef"·href="a00909.html#a97c1e0c5ac33f97e2b73fde56b56c363">LocalIndex</a>)sibling)];</div> | ||
167 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····}</div> | ||
168 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | ||
169 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="keywordtype">float</span>·getFractionalWeight(<a·class="code·hl_typedef"·href="a00909.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·pVert,·<a·class="code·hl_typedef"·href="a00909.html#a97c1e0c5ac33f97e2b73fde56b56c363">LocalIndex</a>·pSibling,</div> | ||
170 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······························<a·class="code·hl_typedef"·href="a00909.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·cVert,·<a·class="code·hl_typedef"·href="a00909.html#a97c1e0c5ac33f97e2b73fde56b56c363">LocalIndex</a>·cSibling)·<span·class="keyword">const</span>;</div> | ||
171 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
172 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | ||
173 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="comment">//··Modifiers·supporting·application·of·the·refinement:</span></div> | ||
174 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="keywordtype">void</span>·applyRefinement();</div> | ||
175 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | ||
176 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····<span·class="keywordtype">void</span>·estimateAndAllocateChildValues();</div> | ||
177 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····<span·class="keywordtype">void</span>·populateChildValues();</div> | ||
178 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<span·class="keywordtype">void</span>·populateChildValuesFromFaceVertices();</div> | ||
179 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····<span·class="keywordtype">void</span>·populateChildValuesFromEdgeVertices();</div> | ||
180 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<span·class="keywordtype">int</span>··populateChildValuesForEdgeVertex(<a·class="code·hl_typedef"·href="a00909.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·cVert,·<a·class="code·hl_typedef"·href="a00909.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·pEdge);</div> | ||
181 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····<span·class="keywordtype">void</span>·populateChildValuesFromVertexVertices();</div> | ||
182 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<span·class="keywordtype">int</span>··populateChildValuesForVertexVertex(<a·class="code·hl_typedef"·href="a00909.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·cVert,·<a·class="code·hl_typedef"·href="a00909.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·pVert);</div> | ||
183 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="keywordtype">void</span>·trimAndFinalizeChildValues();</div> | ||
184 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> | ||
185 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="keywordtype">void</span>·propagateEdgeTags();</div> | ||
186 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····<span·class="keywordtype">void</span>·propagateValueTags();</div> | ||
Max diff block lines reached; 65097/90235 bytes (72.14%) of diff not shown. |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | fvar | 5 | fvarLevel.h |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·2014·DreamWorks·Animation·LLC. | 8 | 2//·Copyright·2014·DreamWorks·Animation·LLC. |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
Offset 23, 118 lines modified | Offset 23, 484 lines modified | ||
23 | 17// | 23 | 17// |
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24#ifndef·OPENSUBDIV3_VTR_FVAR_ | 30 | 24#ifndef·OPENSUBDIV3_VTR_FVAR_LEVEL_H |
31 | 25#define·OPENSUBDIV3_VTR_FVAR_ | 31 | 25#define·OPENSUBDIV3_VTR_FVAR_LEVEL_H |
32 | 26 | 32 | 26 |
33 | 27#include·"../version.h" | 33 | 27#include·"../version.h" |
34 | 28 | 34 | 28 |
35 | 29#include·"../sdc/types.h" | 35 | 29#include·"../sdc/types.h" |
36 | 30#include·"../sdc/crease.h" | 36 | 30#include·"../sdc/crease.h" |
37 | 31#include·"../sdc/options.h" | ||
37 | 3 | 38 | 32#include·"../vtr/types.h" |
38 | 32#include·"../vtr/refinement.h" | ||
39 | 33#include·"../vtr/ | 39 | 33#include·"../vtr/level.h" |
40 | 34 | 40 | 34 |
41 | 35#include·<vector> | 41 | 35#include·<vector> |
42 | 36#include·<cassert> | 42 | 36#include·<cassert> |
43 | 37#include·<cstring> | 43 | 37#include·<cstring> |
44 | 38 | 44 | 38 |
45 | 39 | 45 | 39 |
46 | 40namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ | 46 | 40namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ |
47 | 41namespace·OPENSUBDIV_VERSION·{ | 47 | 41namespace·OPENSUBDIV_VERSION·{ |
48 | 42 | 48 | 42 |
49 | 43namespace·Vtr·{ | 49 | 43namespace·Vtr·{ |
50 | 44namespace·internal·{ | 50 | 44namespace·internal·{ |
51 | 45 | 51 | 45 |
52 | 46// | 52 | 46// |
53 | 47//·FVarLevel: | ||
54 | 48//·A·"face-varying·channel"·includes·the·topology·for·a·set·of·face-varying | ||
55 | 49//·data,·relative·to·the·topology·of·the·Level·with·which·it·is·associated. | ||
53 | 47//·FVarRefinement: | ||
54 | 48//·A·face-varying·refinement·contains·data·to·support·the·refinement·of·a | ||
55 | 49//·particular·face-varying·"channel".·Just·as·Refinement·maintains·a·mapping | ||
56 | 50//·between·the·components·of·a·parent·Level·and·its·child,·the·face-varying | ||
57 | 51//·analog·maintains·a·mapping·between·the·face-varying·values·of·a·parent | ||
58 | 52//·FVarLevel·and·its·child. | ||
59 | 5 | 56 | 50// |
60 | 54//·It·turns·out·there·is·little·data·necessary·here,·so·the·class·consists | ||
61 | 55//·mainly·of·methods·that·populate·the·child·FVarLevel.·The·mapping·data·in | ||
62 | 56//·the·refinement·between·Levels·serves·most·purposes·and·all·that·is | ||
63 | required | ||
64 | 5 | 57 | 51//·Analogous·to·a·set·of·vertices·and·face-vertices·that·define·the·topology |
58 | for | ||
59 | 52//·the·geometry,·a·channel·requires·a·set·of·"values"·and·"face-values".·The | ||
60 | 53//·"values"·are·indices·of·entries·in·a·set·of·face-varying·data,·just·as | ||
61 | vertices | ||
62 | 54//·are·indices·into·a·set·of·vertex·data.·The·face-values·identify·a·value | ||
63 | for | ||
64 | 55//·each·vertex·of·the·face,·and·so·define·topology·for·the·values·that·may·be | ||
65 | 56//·unique·to·each·channel. | ||
65 | 5 | 66 | 57// |
66 | 5 | 67 | 58//·In·addition·to·the·value·size·and·the·vector·of·face-values·(which·matches |
68 | the | ||
69 | 59//·size·of·the·geometry's·face-vertices),·tags·are·associated·with·each | ||
70 | component | ||
71 | 60//·to·identify·deviations·of·the·face-varying·topology·from·the·vertex | ||
72 | topology. | ||
73 | 61//·And·since·there·may·be·a·one-to-many·mapping·between·vertices·and·face- | ||
74 | varying | ||
75 | 62//·values,·that·mapping·is·also·allocated. | ||
76 | 63// | ||
77 | 64//·It·turns·out·that·the·mapping·used·is·able·to·completely·encode·the·set·of | ||
78 | 65//·face-values·and·is·more·amenable·to·refinement.·Currently·the·face-values | ||
79 | 66//·take·up·almost·half·the·memory·of·this·representation,·so·if·memory·does | ||
80 | 67//·become·a·concern,·we·do·not·need·to·store·them.·The·only·reason·we·do·so | ||
81 | now | ||
82 | 68//·is·that·the·face-value·interface·for·specifying·base·topology·and | ||
83 | inspecting | ||
84 | 69//·subsequent·levels·is·very·familiar·to·that·of·face-vertices·for·clients. | ||
85 | So | ||
86 | 70//·having·them·available·for·such·access·is·convenient. | ||
87 | 71// | ||
88 | 72//·Regarding·scope·and·access... | ||
89 | 73//·Unclear·at·this·early·state,·but·leaning·towards·nesting·this·class·within | ||
90 | 74//·Level,·given·the·intimate·dependency·between·the·two. | ||
91 | 75//·Everything·is·being·declared·public·for·now·to·facilitate·access·until | ||
92 | it's | ||
93 | 76//·clearer·how·this·functionality·will·be·provided. | ||
94 | 77// | ||
95 | 78class·FVarLevel·{ | ||
67 | 96 | 79public: | |
68 | 61·FVarRefinement(Refinement·const&·refinement,·FVarLevel&·parent,·FVarLevel& | ||
69 | child); | ||
70 | 62·~FVarRefinement(); | ||
71 | 63 | ||
72 | 64·int·getChildValueParentSource(_\x8I_\x8n_\x8d_\x8e_\x8x·vIndex,·int·sibling)·const·{ | ||
73 | 65·return·_childValueParentSource[_childFVar.getVertexValueOffset(vIndex, | ||
74 | (_\x8L_\x8o_\x8c_\x8a_\x8l_\x8I_\x8n_\x8d_\x8e_\x8x)sibling)]; | ||
75 | 66·} | ||
76 | 67 | ||
77 | 68·float·getFractionalWeight(_\x8I_\x8n_\x8d_\x8e_\x8x·pVert,·_\x8L_\x8o_\x8c_\x8a_\x8l_\x8I_\x8n_\x8d_\x8e_\x8x·pSibling, | ||
78 | 69·_\x8I_\x8n_\x8d_\x8e_\x8x·cVert,·_\x8L_\x8o_\x8c_\x8a_\x8l_\x8I_\x8n_\x8d_\x8e_\x8x·cSibling)·const; | ||
79 | 70 | ||
80 | 71 | ||
81 | 72·//·Modifiers·supporting·application·of·the·refinement: | ||
82 | 73·void·applyRefinement(); | ||
83 | 74 | ||
84 | 75·void·estimateAndAllocateChildValues(); | ||
85 | 76·void·populateChildValues(); | ||
86 | 77·void·populateChildValuesFromFaceVertices(); | ||
87 | 78·void·populateChildValuesFromEdgeVertices(); | ||
88 | 79·int·populateChildValuesForEdgeVertex(_\x8I_\x8n_\x8d_\x8e_\x8x·cVert,·_\x8I_\x8n_\x8d_\x8e_\x8x·pEdge); | ||
89 | 80·void·populateChildValuesFromVertexVertices(); | ||
90 | 81·int·populateChildValuesForVertexVertex(_\x8I_\x8n_\x8d_\x8e_\x8x·cVert,·_\x8I_\x8n_\x8d_\x8e_\x8x·pVert); | ||
91 | 82·void·trimAndFinalizeChildValues(); | ||
92 | 83 | ||
93 | 84·void·propagateEdgeTags(); | ||
94 | 85·void·propagateValueTags(); | ||
95 | 86·void·propagateValueCreases(); | ||
96 | 87·void·reclassifySemisharpValues(); | ||
Max diff block lines reached; 16789/23125 bytes (72.60%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/sdc/ | 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 89, 21 lines modified | Offset 89, 19 lines modified | ||
89 | </div> | 89 | </div> |
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#namespaces">Namespaces</a>··</div> | 94 | <a·href="#namespaces">Namespaces</a>··</div> |
95 | ··<div·class="headertitle"><div·class="title"> | 95 | ··<div·class="headertitle"><div·class="title">bilinearScheme.h·File·Reference</div></div> |
96 | </div><!--header--> | 96 | </div><!--header--> |
97 | <div·class="contents"> | 97 | <div·class="contents"> |
98 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 98 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
99 | <code>#include·"<a·class="el"·href="a00770_source.html">../sdc/scheme.h</a>"</code><br·/> | 99 | <code>#include·"<a·class="el"·href="a00770_source.html">../sdc/scheme.h</a>"</code><br·/> |
100 | <code>#include·<cassert></code><br·/> | ||
101 | <code>#include·<cmath></code><br·/> | ||
102 | </div> | 100 | </div> |
103 | <p><a·href="a00782_source.html">Go·to·the·source·code·of·this·file.</a></p> | 101 | <p><a·href="a00782_source.html">Go·to·the·source·code·of·this·file.</a></p> |
104 | <table·class="memberdecls"> | 102 | <table·class="memberdecls"> |
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 103 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
106 | Namespaces</h2></td></tr> | 104 | Namespaces</h2></td></tr> |
107 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 105 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 113, 13 lines modified | Offset 111, 13 lines modified | ||
113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
114 | </table> | 112 | </table> |
115 | </div><!--·contents·--> | 113 | </div><!--·contents·--> |
116 | </div><!--·doc-content·--> | 114 | </div><!--·doc-content·--> |
117 | <!--·start·footer·part·--> | 115 | <!--·start·footer·part·--> |
118 | <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!·--> |
119 | ··<ul> | 117 | ··<ul> |
120 | ····<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"> | 118 | ····<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">bilinearScheme.h</a></li> |
121 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 119 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
122 | ··</ul> | 120 | ··</ul> |
123 | </div> | 121 | </div> |
124 | </body> | 122 | </body> |
125 | </html> | 123 | </html> |
Offset 1, 22 lines modified | Offset 1, 20 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 5 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
6 | 6 | bilinearScheme.h·File·Reference | |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8s_\x8c_\x8h_\x8e_\x8m_\x8e_\x8._\x8h" | 8 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8s_\x8c_\x8h_\x8e_\x8m_\x8e_\x8._\x8h" |
9 | #include·<cassert> | ||
10 | #include·<cmath> | ||
11 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
12 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 10 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
13 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 11 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
14 | 12 | ||
15 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 13 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
16 | 14 | ||
17 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8S_\x8d_\x8c | 15 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8S_\x8d_\x8c |
18 | 16 | ||
19 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 17 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
20 | ····*·_\x8s_\x8d_\x8c | 18 | ····*·_\x8s_\x8d_\x8c |
21 | ····*·_\x8 | 19 | ····*·_\x8b_.i_.l_.i_.n_.e_.a_.r_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8._\x8h |
22 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 20 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/sdc/ | 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 92, 15 lines modified | Offset 92, 15 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title"> | 98 | ··<div·class="headertitle"><div·class="title">bilinearScheme.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <a·href="a00782.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> | 101 | <a·href="a00782.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·DreamWorks·Animation·LLC.</span></div> | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·DreamWorks·Animation·LLC.</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
Offset 118, 566 lines modified | Offset 118, 193 lines modified | ||
118 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div> | 118 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div> |
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_SDC_ | 125 | <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> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·OPENSUBDIV3_SDC_ | 126 | <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> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | 127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·"../version.h"</span></div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·"../version.h"</span></div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"../sdc/scheme.h"</span></div> | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"../sdc/scheme.h"</span></div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> |
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class=" | 132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> |
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class=" | 133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
135 | <div·class=" | 135 | <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="}"> |
136 | <div·class="line"><a·id="l0003 | 136 | <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> |
137 | <div·class="line"><a·id="l0003 | 137 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Sdc·{</div> | ||
139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
140 | <div·class="line"><a·id="l0003 | 138 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="comment">//</span></div> |
141 | <div·class="line"><a·id="l000 | 139 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="comment">//··Specializations·for·Scheme<SCHEME_BILINEAR>:</span></div> |
142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="comment">//</span></div> | ||
143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | ||
144 | <div·class="line"><a·id="l000 | 140 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="comment">//</span></div> |
145 | <div·class="line"><a·id="l000 | 141 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
146 | <div·class="line"><a·id="l0004 | 142 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="comment">//</span></div> |
143 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="comment">//··Bilinear·traits:</span></div> | ||
144 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="comment">//</span></div> | ||
145 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">template</span>·<></div> | ||
146 | <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<SCHEME_BILINEAR>::GetTopologicalSplitType</a>()·{·<span·class="keywordflow">return</span>·<a·class="code·hl_enumvalue"·href="a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887ba56eed514f6a5971f198c9e421054b513">SPLIT_TO_QUADS</a>;·}</div> | ||
147 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | ||
147 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">template</span>·<></div> | 148 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">template</span>·<></div> |
148 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01333.html#a | 149 | <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<SCHEME_BILINEAR>::GetRegularFaceSize</a[·...·truncated·by·diffoscope;·len:·47,·SHA:·eea76e3636a528016be5ed9a6320827be0ca948d555c534297f759655c222e35·...·];·}</div> |
149 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | 150 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> |
150 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">template</span>·<></div> | 151 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">template</span>·<></div> |
151 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01333.html#a | 152 | <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<SCHEME_BILINEAR>::GetRegularVertexValen[·...·truncated·by·diffoscope;·len:·1,·SHA:·2e7d2c03a9507ae265ecf5b5356885a53393a2029d241394997265a1a25aefc6·...·]e</a>()·{·<span·class="keywordflow">return</span>·4;·}</div> |
152 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | 153 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> |
153 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">template</span>·<></div> | 154 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">template</span>·<></div> |
154 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01333.html#a | 155 | <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<SCHEME_BILINEAR>::GetLocalNeighborhoodS[·...·truncated·by·diffoscope;·len:·53,·SHA:·e88ffbab4054e0e1256cbe1129082a2a80a371384c234a5c19fa5047c7c6a8d8·...·];·}</div> |
155 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | 156 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> |
157 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | ||
158 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="comment">//</span></div> | ||
159 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="comment">//··Refinement·masks:</span></div> | ||
160 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">//</span></div> | ||
156 | <div·class="line"><a·id="l0005 | 161 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword">template</span>·<></div> |
157 | <div·class="line"><a·id="l000 | 162 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="keyword">template</span>·<<span·class="keyword">typename</span>·EDGE,·<span·class="keyword">typename</span>·MASK></div> |
163 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="keywordtype">void</span></div> | ||
164 | <div·class="foldopen"·id="foldopen00062"·data-start="{"·data-end="}"> | ||
165 | <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<SCHEME_BILINEAR>::ComputeEdgeVertexMask</a>(EDGE·<span·class="keyword">const</span>&·edge,·MASK&·mask,</div> | ||
166 | <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> | ||
167 | <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> | ||
168 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····assignCreaseMaskForEdge(edge,·mask);</div> | ||
169 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>}</div> | ||
170 | </div> | ||
158 | <div·class="line"><a·id="l000 | 171 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> |
159 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> | ||
160 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="comment">//</span></div> | ||
161 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="comment">//··Masks·for·edge-vertices:··the·hard·Crease·mask·does·not·need·to·be·specialized</span></div> | ||
162 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="comment">//··(simply·the·midpoint),·so·all·that·is·left·is·the·Smooth·case:</span></div> | ||
163 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="comment">//</span></div> | ||
164 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="comment">//··The·Smooth·mask·is·complicated·by·the·need·to·support·the·"triangle·subdivision"</span></div> | ||
165 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="comment">//··option,·which·applies·different·weighting·in·the·presence·of·triangles.··It·is</span></div> | ||
166 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="comment">//··up·for·debate·as·to·whether·this·is·useful·or·not·--·we·may·be·able·to·deprecate</span></div> | ||
167 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="comment">//··this·option.</span></div> | ||
168 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="comment">//</span></div> | ||
169 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">template</span>·<></div> | 172 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">template</span>·<></div> |
170 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="keyword">template</span>·<<span·class="keyword">typename</span>·E | 173 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="keyword">template</span>·<<span·class="keyword">typename</span>·VERTEX,·<span·class="keyword">typename</span>·MASK></div> |
171 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="keyword | 174 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="keywordtype">void</span></div> |
172 | <div·class="foldopen"·id="foldopen00071"·data-start="{"·data-end="}"> | 175 | <div·class="foldopen"·id="foldopen00071"·data-start="{"·data-end="}"> |
173 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01333.html#a | 176 | <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<SCHEME_BILINEAR>::ComputeVertexVertexMask</a>(VERTEX·<span·class="keyword">const</span>&·vertex,·MASK&·m[·...·truncated·by·diffoscope;·len:·4,·SHA:·670ac05f2b3e7ad9998d057c820e3735972832a327d187df6e6fa47c186f946c·...·]</div> |
177 | <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> | ||
178 | <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> | ||
179 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····assignCornerMaskForVertex(vertex,·mask);</div> | ||
174 | <div·class="line"><a·id="l0007 | 180 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>}</div> |
181 | </div> | ||
175 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·MASK::Weight·Weight;</div> | ||
176 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | ||
177 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····<span·class="keywordtype">int</span>·faceCount·=·edge.GetNumFaces();</div> | ||
178 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | 182 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> |
179 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>· | 183 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> |
180 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span> | 184 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="comment">//</span></div> |
181 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····mask | 185 | <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> |
186 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="comment">//</span></div> | ||
182 | <div·class="line"><a·id="l0008 | 187 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">template</span>·<></div> |
188 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keyword">template</span>·<<span·class="keyword">typename</span>·VERTEX,·<span·class="keyword">typename</span>·MASK></div> | ||
189 | <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> | ||
190 | <div·class="foldopen"·id="foldopen00084"·data-start="{"·data-end="}"> | ||
191 | <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<SCHEME_BILINEAR>::assignCornerLimitMask</a>(VERTEX·<span·class="keyword">const</span>&·<span·class="comment">/*·vertex·*/</span>,·MASK&·posMask)<span·class="keyword">·const·</span>{</div> | ||
183 | <div·class="line"><a·id="l0008 | 192 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> |
193 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····posMask.SetNumVertexWeights(1);</div> | ||
184 | <div·class="line"><a·id="l0008 | 194 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····posMask.SetNumEdgeWeights(0);</div> |
185 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····<span·class="comment">//··Determine·if·we·need·to·inspect·incident·faces·and·apply·alternate·weighting·for</span></div> | ||
Max diff block lines reached; 78604/109713 bytes (71.65%) of diff not shown. |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | 5 | bilinearScheme.h | |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·2014·DreamWorks·Animation·LLC. | 8 | 2//·Copyright·2014·DreamWorks·Animation·LLC. |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
Offset 23, 592 lines modified | Offset 23, 211 lines modified | ||
23 | 17// | 23 | 17// |
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24#ifndef·OPENSUBDIV3_SDC_ | 30 | 24#ifndef·OPENSUBDIV3_SDC_BILINEAR_SCHEME_H |
31 | 25#define·OPENSUBDIV3_SDC_ | 31 | 25#define·OPENSUBDIV3_SDC_BILINEAR_SCHEME_H |
32 | 26 | 32 | 26 |
33 | 27#include·"../version.h" | 33 | 27#include·"../version.h" |
34 | 28 | 34 | 28 |
35 | 29#include·"../sdc/scheme.h" | 35 | 29#include·"../sdc/scheme.h" |
36 | 30 | 36 | 30 |
37 | 31#include·<cassert> | ||
38 | 3 | 37 | 31namespace·_.O_.p_.e_.n_.S_.u_.b_.d_.i_.v·{ |
38 | 32namespace·OPENSUBDIV_VERSION·{ | ||
39 | 33 | 39 | 33 |
40 | 34namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ | ||
41 | 35namespace·OPENSUBDIV_VERSION·{ | ||
42 | 36 | ||
43 | 3 | 40 | _.3_.4namespace·Sdc·{ |
44 | 3 | 41 | 35 |
45 | 3 | 42 | 36// |
46 | 43 | 37//·Specializations·for·Scheme<SCHEME_BILINEAR>: | |
47 | 41// | ||
48 | 42 | ||
49 | 44 | 38// | |
50 | 45 | 39 | |
51 | 4 | 46 | 40// |
47 | 41//·Bilinear·traits: | ||
48 | 42// | ||
52 | 4 | 49 | 43template·<> |
53 | _\x84_\x8 | 50 | _\x84_\x84inline·_.S_.p_.l_.i_.t·_.S_.c_.h_.e_.m_.e_.<_.S_.C_.H_.E_.M_.E_.__.B_.I_.L_.I_.N_.E_.A_.R_\x8>_\x8:_\x8:_\x8G_\x8e_\x8t_\x8T_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8i_\x8c_\x8a_\x8l_\x8S_\x8p_\x8l_\x8i_\x8t_\x8T_\x8y_\x8p_\x8e()·{·return |
54 | _\x8S_\x8P_\x8L_\x8I_\x8T_\x8__\x8T_\x8O_\x8__\x8Q_\x8U_\x8A_\x8D_\x8S;·} | 51 | _\x8S_\x8P_\x8L_\x8I_\x8T_\x8__\x8T_\x8O_\x8__\x8Q_\x8U_\x8A_\x8D_\x8S;·} |
52 | 45 | ||
53 | 46template·<> | ||
54 | _\x84_\x87inline·int·_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8<_\x8S_\x8C_\x8H_\x8E_\x8M_\x8E_\x8__\x8B_\x8I_\x8L_\x8I_\x8N_\x8E_\x8A_\x8R_\x8>_\x8:_\x8:_\x8G_\x8e_\x8t_\x8R_\x8e_\x8g_\x8u_\x8l_\x8a_\x8r_\x8F_\x8a_\x8c_\x8e_\x8S_\x8i_\x8z_\x8e()·{·return·4;·} | ||
55 | 48 | 55 | 48 |
56 | 49template·<> | 56 | 49template·<> |
57 | _\x85_\x80inline·int·_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8<_\x8S_\x8C_\x8H_\x8E_\x8M_\x8E_\x8__\x8 | 57 | _\x85_\x80inline·int·_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8<_\x8S_\x8C_\x8H_\x8E_\x8M_\x8E_\x8__\x8B_.I_.L_.I_.N_.E_.A_.R_.>_.:_.:_.G_.e_.t_.R_.e_.g_.u_.l_.a_.r_.V_.e_.r_.t_.e_.x_.V_.a_.l_.e_.n_.c_\x8e()·{·return·4;·} |
58 | 51 | 58 | 51 |
59 | 52template·<> | 59 | 52template·<> |
60 | _\x85_\x83inline·int·_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8<_\x8S_\x8C_\x8H_\x8E_\x8M_\x8E_\x8__\x8 | 60 | _\x85_\x83inline·int·_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8<_\x8S_\x8C_\x8H_\x8E_\x8M_\x8E_\x8__\x8B_.I_.L_.I_.N_.E_.A_.R_.>_.:_.:_.G_.e_.t_.L_.o_.c_.a_.l_.N_.e_.i_.g_.h_.b_.o_.r_.h_.o_.o_.d_.S_.i_.z_.e()·{·return·0;·} |
61 | 54 | 61 | 54 |
62 | 55 | ||
63 | 56// | ||
64 | 57//·Refinement·masks: | ||
65 | 58// | ||
62 | 5 | 66 | 59template·<> |
67 | 60template·<typename·EDGE,·typename·MASK> | ||
68 | 61void | ||
69 | _\x86_\x82_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8<_\x8S_\x8C_\x8H_\x8E_\x8M_\x8E_\x8__\x8B_\x8I_\x8L_\x8I_\x8N_\x8E_\x8A_\x8R_\x8>_\x8:_\x8:_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8E_\x8d_\x8g_\x8e_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8M_\x8a_\x8s_\x8k(EDGE·const&·edge,·MASK&·mask, | ||
70 | 63·_\x8C_\x8r_\x8e_\x8a_\x8s_\x8e_\x8:_\x8:_\x8R_\x8u_\x8l_\x8e,·_\x8C_\x8r_\x8e_\x8a_\x8s_\x8e_\x8:_\x8:_\x8R_\x8u_\x8l_\x8e)·const·{ | ||
71 | 64·//·This·should·be·inline,·otherwise·trivially·replicate·it: | ||
72 | 65·assignCreaseMaskForEdge(edge,·mask); | ||
73 | 66} | ||
74 | 67 | ||
63 | _\x85_\x86inline·int·_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8<_\x8S_\x8C_\x8H_\x8E_\x8M_\x8E_\x8__\x8C_\x8A_\x8T_\x8M_\x8A_\x8R_\x8K_\x8>_\x8:_\x8:_\x8G_\x8e_\x8t_\x8L_\x8o_\x8c_\x8a_\x8l_\x8N_\x8e_\x8i_\x8g_\x8h_\x8b_\x8o_\x8r_\x8h_\x8o_\x8o_\x8d_\x8S_\x8i_\x8z_\x8e()·{·return·1;·} | ||
64 | 57 | ||
65 | 58 | ||
66 | 59// | ||
67 | 60//·Masks·for·edge-vertices:·the·hard·Crease·mask·does·not·need·to·be | ||
68 | specialized | ||
69 | 61//·(simply·the·midpoint),·so·all·that·is·left·is·the·Smooth·case: | ||
70 | 62// | ||
71 | 63//·The·Smooth·mask·is·complicated·by·the·need·to·support·the·"triangle | ||
72 | subdivision" | ||
73 | 64//·option,·which·applies·different·weighting·in·the·presence·of·triangles.·It | ||
74 | is | ||
75 | 65//·up·for·debate·as·to·whether·this·is·useful·or·not·--·we·may·be·able·to | ||
76 | deprecate | ||
77 | 66//·this·option. | ||
78 | 67// | ||
79 | 68template·<> | 75 | 68template·<> |
80 | 69template·<typename·E | 76 | 69template·<typename·VERTEX,·typename·MASK> |
81 | 70inline·void | ||
82 | _\x87_\x81_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8<_\x8S_\x8C_\x8H_\x8E_\x8M_\x8E_\x8__\x8C_\x8A_\x8T_\x8M_\x8A_\x8R_\x8K_\x8>_\x8:_\x8:_\x8a_\x8s_\x8s_\x8i_\x8g_\x8n_\x8S_\x8m_\x8o_\x8o_\x8t_\x8h_\x8M_\x8a_\x8s_\x8k_\x8F_\x8o_\x8r_\x8E_\x8d_\x8g_\x8e(EDGE·const&·edge,·MASK&·mask) | ||
83 | const·{ | ||
84 | 72 | ||
85 | 73·typedef·typename·MASK::Weight·Weight; | ||
86 | 74 | ||
87 | 7 | 77 | 70void |
78 | _\x87_\x81_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8<_\x8S_\x8C_\x8H_\x8E_\x8M_\x8E_\x8__\x8B_\x8I_\x8L_\x8I_\x8N_\x8E_\x8A_\x8R_\x8>_\x8:_\x8:_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8M_\x8a_\x8s_\x8k(VERTEX·const&·vertex,·MASK& | ||
79 | mask, | ||
80 | 72·_\x8C_\x8r_\x8e_\x8a_\x8s_\x8e_\x8:_\x8:_\x8R_\x8u_\x8l_\x8e,·_\x8C_\x8r_\x8e_\x8a_\x8s_\x8e_\x8:_\x8:_\x8R_\x8u_\x8l_\x8e)·const·{ | ||
81 | 73·//·This·should·be·inline,·otherwise·trivially·replicate·it: | ||
82 | 74·assignCornerMaskForVertex(vertex,·mask); | ||
83 | 75} | ||
88 | 76 | 84 | 76 |
85 | 77 | ||
86 | 78// | ||
87 | 79//·Limit·masks·for·position·--·the·limit·position·of·all·vertices·is·the | ||
88 | refined·vertex. | ||
89 | 80// | ||
90 | 81template·<> | ||
91 | 82template·<typename·VERTEX,·typename·MASK> | ||
92 | 83inline·void | ||
93 | _\x88_\x84_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8<_\x8S_\x8C_\x8H_\x8E_\x8M_\x8E_\x8__\x8B_\x8I_\x8L_\x8I_\x8N_\x8E_\x8A_\x8R_\x8>_\x8:_\x8:_\x8a_\x8s_\x8s_\x8i_\x8g_\x8n_\x8C_\x8o_\x8r_\x8n_\x8e_\x8r_\x8L_\x8i_\x8m_\x8i_\x8t_\x8M_\x8a_\x8s_\x8k(VERTEX·const&·/*·vertex·*/, | ||
94 | MASK&·posMask)·const·{ | ||
95 | 85 | ||
89 | 96 | 86·posMask.SetNumVertexWeights(1); | |
90 | 7 | 97 | 87·posMask.SetNumEdgeWeights(0); |
91 | 98 | 88·posMask.SetNumFaceWeights(0); | |
92 | 8 | 99 | 89·posMask.SetFaceWeightsForFaceCenters(false); |
100 | 90 | ||
93 | 81 | ||
94 | 82·// | ||
95 | 83·//·Determine·if·we·need·to·inspect·incident·faces·and·apply·alternate | ||
96 | weighting·for | ||
97 | 84·//·triangles·--·and·if·so,·determine·which·of·the·two·are·triangles. | ||
98 | 85·// | ||
99 | 86·bool·face0IsTri·=·false; | ||
100 | 87·bool·face1IsTri·=·false; | ||
Max diff block lines reached; 23220/30636 bytes (75.79%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/sdc/ | 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 89, 19 lines modified | Offset 89, 21 lines modified | ||
89 | </div> | 89 | </div> |
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#namespaces">Namespaces</a>··</div> | 94 | <a·href="#namespaces">Namespaces</a>··</div> |
95 | ··<div·class="headertitle"><div·class="title"> | 95 | ··<div·class="headertitle"><div·class="title">catmarkScheme.h·File·Reference</div></div> |
96 | </div><!--header--> | 96 | </div><!--header--> |
97 | <div·class="contents"> | 97 | <div·class="contents"> |
98 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 98 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
99 | <code>#include·"<a·class="el"·href="a00770_source.html">../sdc/scheme.h</a>"</code><br·/> | 99 | <code>#include·"<a·class="el"·href="a00770_source.html">../sdc/scheme.h</a>"</code><br·/> |
100 | <code>#include·<cassert></code><br·/> | ||
101 | <code>#include·<cmath></code><br·/> | ||
100 | </div> | 102 | </div> |
101 | <p><a·href="a00785_source.html">Go·to·the·source·code·of·this·file.</a></p> | 103 | <p><a·href="a00785_source.html">Go·to·the·source·code·of·this·file.</a></p> |
102 | <table·class="memberdecls"> | 104 | <table·class="memberdecls"> |
103 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
104 | Namespaces</h2></td></tr> | 106 | Namespaces</h2></td></tr> |
105 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 107 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 111, 13 lines modified | Offset 113, 13 lines modified | ||
111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
112 | </table> | 114 | </table> |
113 | </div><!--·contents·--> | 115 | </div><!--·contents·--> |
114 | </div><!--·doc-content·--> | 116 | </div><!--·doc-content·--> |
115 | <!--·start·footer·part·--> | 117 | <!--·start·footer·part·--> |
116 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 118 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
117 | ··<ul> | 119 | ··<ul> |
118 | ····<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"> | 120 | ····<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">catmarkScheme.h</a></li> |
119 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 121 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
120 | ··</ul> | 122 | ··</ul> |
121 | </div> | 123 | </div> |
122 | </body> | 124 | </body> |
123 | </html> | 125 | </html> |
Offset 1, 20 lines modified | Offset 1, 22 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 5 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
6 | 6 | catmarkScheme.h·File·Reference | |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8s_\x8c_\x8h_\x8e_\x8m_\x8e_\x8._\x8h" | 8 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8s_\x8c_\x8h_\x8e_\x8m_\x8e_\x8._\x8h" |
9 | #include·<cassert> | ||
10 | #include·<cmath> | ||
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 11 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 12 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
11 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 13 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
12 | 14 | ||
13 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 15 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
14 | 16 | ||
15 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8S_\x8d_\x8c | 17 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8S_\x8d_\x8c |
16 | 18 | ||
17 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 19 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
18 | ····*·_\x8s_\x8d_\x8c | 20 | ····*·_\x8s_\x8d_\x8c |
19 | ····*·_\x8 | 21 | ····*·_\x8c_.a_.t_.m_.a_.r_.k_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8._\x8h |
20 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 22 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/sdc/ | 8 | <title>OpenSubdiv:·opensubdiv/sdc/catmarkScheme.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 92, 15 lines modified | Offset 92, 15 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title"> | 98 | ··<div·class="headertitle"><div·class="title">catmarkScheme.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <a·href="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> | 101 | <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> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·DreamWorks·Animation·LLC.</span></div> | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·DreamWorks·Animation·LLC.</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
Offset 118, 193 lines modified | Offset 118, 566 lines modified | ||
118 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div> | 118 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div> |
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_SDC_ | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_SDC_CATMARK_SCHEME_H</span></div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·OPENSUBDIV3_SDC_ | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·OPENSUBDIV3_SDC_CATMARK_SCHEME_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | 127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·"../version.h"</span></div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·"../version.h"</span></div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"../sdc/scheme.h"</span></div> | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"../sdc/scheme.h"</span></div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> |
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class=" | 132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·<cassert></span></div> |
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class=" | 133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·<cmath></span></div> |
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
135 | <div·class=" | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> |
136 | <div·class="line"><a·id="l0003 | 136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
137 | <div·class="line"><a·id="l0003 | 137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Sdc·{</div> | ||
139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
138 | <div·class="line"><a·id="l0003 | 140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="comment">//</span></div> |
139 | <div·class="line"><a·id="l000 | 141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="comment">//··Specializations·for·Scheme<SCHEME_CATMARK>:</span></div> |
140 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="comment">//</span></div> | ||
141 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | ||
142 | <div·class="line"><a·id="l0004 | 142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="comment">//</span></div> |
143 | <div·class="line"><a·id="l0004 | 143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> |
144 | <div·class="line"><a·id="l0004 | 144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="comment">//</span></div> |
145 | <div·class="line"><a·id="l0004 | 145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="comment">//··Catmark·traits:</span></div> |
146 | <div·class="line"><a·id="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<SCHEME_BILINEAR>::GetTopologicalSplitType</a>()·{·<span·class="keywordflow">return</span>·<a·class="code·hl_enumvalue"·href="a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887ba56eed514f6a5971f198c9e421054b513">SPLIT_TO_QUADS</a>;·}</div> | ||
147 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | 146 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="comment">//</span></div> |
148 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">template</span>·<></div> | 147 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">template</span>·<></div> |
149 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01333.html#a | 148 | <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#a14b97ddde5fba31ca7f933508ee64[·...·truncated·by·diffoscope;·len:·240,·SHA:·b1c4a2b981ae0e77808cbdb38ac9b3a666e1fabc6c445fb6ea7dea0681c10451·...·];·}</div> |
150 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | 149 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> |
151 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">template</span>·<></div> | 150 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">template</span>·<></div> |
152 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01333.html#a | 151 | <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<SCHEME_CATMARK>::GetRegularFaceSize</a>()·{·<span·class="keywordflow">return</span>·4;·}</div> |
153 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | 152 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> |
154 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">template</span>·<></div> | 153 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">template</span>·<></div> |
155 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01333.html#a | 154 | <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<SCHEME_CATMARK>::GetRegularVertexValenc[·...·truncated·by·diffoscope;·len:·51,·SHA:·87a8fe2c53ca4b2195f36070f07d0fe69972156c9cd489a55ef1c5dd08d60226·...·];·}</div> |
156 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | 155 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> |
157 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | ||
158 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="comment">//</span></div> | ||
159 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="comment">//··Refinement·masks:</span></div> | ||
160 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">//</span></div> | ||
161 | <div·class="line"><a·id="l0005 | 156 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">template</span>·<></div> |
157 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="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<SCHEME_CATMARK>::GetLocalNeighborhoodSize</a>()·{·<span·class="keywordflow">return</span>·1;·}</div> | ||
162 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="keyword">template</span>·<<span·class="keyword">typename</span>·EDGE,·<span·class="keyword">typename</span>·MASK></div> | ||
163 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="keywordtype">void</span></div> | ||
164 | <div·class="foldopen"·id="foldopen00062"·data-start="{"·data-end="}"> | ||
165 | <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<SCHEME_BILINEAR>::ComputeEdgeVertexMask</a>(EDGE·<span·class="keyword">const</span>&·edge,·MASK&·mask,</div> | ||
166 | <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> | ||
167 | <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> | ||
168 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····assignCreaseMaskForEdge(edge,·mask);</div> | ||
169 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>}</div> | ||
170 | </div> | ||
171 | <div·class="line"><a·id="l000 | 158 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> |
159 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> | ||
160 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="comment">//</span></div> | ||
161 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="comment">//··Masks·for·edge-vertices:··the·hard·Crease·mask·does·not·need·to·be·specialized</span></div> | ||
162 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="comment">//··(simply·the·midpoint),·so·all·that·is·left·is·the·Smooth·case:</span></div> | ||
163 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="comment">//</span></div> | ||
164 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="comment">//··The·Smooth·mask·is·complicated·by·the·need·to·support·the·"triangle·subdivision"</span></div> | ||
165 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="comment">//··option,·which·applies·different·weighting·in·the·presence·of·triangles.··It·is</span></div> | ||
166 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="comment">//··up·for·debate·as·to·whether·this·is·useful·or·not·--·we·may·be·able·to·deprecate</span></div> | ||
167 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="comment">//··this·option.</span></div> | ||
168 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="comment">//</span></div> | ||
172 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">template</span>·<></div> | 169 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">template</span>·<></div> |
173 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="keyword">template</span>·<<span·class="keyword">typename</span>· | 170 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="keyword">template</span>·<<span·class="keyword">typename</span>·EDGE,·<span·class="keyword">typename</span>·MASK></div> |
174 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="keywordtype">void</span></div> | 171 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="keyword">inline</span>·<span·class="keywordtype">void</span></div> |
175 | <div·class="foldopen"·id="foldopen00071"·data-start="{"·data-end="}"> | 172 | <div·class="foldopen"·id="foldopen00071"·data-start="{"·data-end="}"> |
173 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01333.html#a16cbaf7f173cf2fdc02c992d3a31c925">···71</a></span><a·class="code·hl_function"·href="a01333.html#a059f5c2c9193be58be31955e987a0600">Scheme<SCHEME_CATMARK>::assignSmoothMaskForEdge</a>(EDGE·<span·class="keyword">const</span>&·edge,·MASK&·mask)<span·class="keyword">·const·</span>{</div> | ||
176 | <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<SCHEME_BILINEAR>::ComputeVertexVertexMask</a>(VERTEX·<span·class="keyword">const</span>&·vertex,·MASK&·mask,</div> | ||
177 | <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> | ||
178 | <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> | ||
179 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····assignCornerMaskForVertex(vertex,·mask);</div> | ||
180 | <div·class="line"><a·id="l0007 | 174 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> |
181 | </div> | 175 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·MASK::Weight·Weight;</div> |
176 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | ||
177 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····<span·class="keywordtype">int</span>·faceCount·=·edge.GetNumFaces();</div> | ||
182 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | 178 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> |
183 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | 179 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····mask.SetNumVertexWeights(2);</div> |
184 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span> | 180 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····mask.SetNumEdgeWeights(0);</div> |
181 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····mask.SetNumFaceWeights(faceCount);</div> | ||
185 | <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> | ||
186 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="comment">//</span></div> | ||
187 | <div·class="line"><a·id="l0008 | 182 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····mask.SetFaceWeightsForFaceCenters(<span·class="keyword">true</span>);</div> |
188 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keyword">template</span>·<<span·class="keyword">typename</span>·VERTEX,·<span·class="keyword">typename</span>·MASK></div> | ||
189 | <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> | ||
190 | <div·class="foldopen"·id="foldopen00084"·data-start="{"·data-end="}"> | ||
191 | <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<SCHEME_BILINEAR>::assignCornerLimitMask</a>(VERTEX·<span·class="keyword">const</span>&·<span·class="comment">/*·vertex·*/</span>,·MASK&·posMask)<span·class="keyword">·const·</span>{</div> | ||
192 | <div·class="line"><a·id="l0008 | 183 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> |
193 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····posMask.SetNumVertexWeights(1);</div> | ||
194 | <div·class="line"><a·id="l0008 | 184 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="comment">//</span></div> |
185 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····<span·class="comment">//··Determine·if·we·need·to·inspect·incident·faces·and·apply·alternate·weighting·for</span></div> | ||
Max diff block lines reached; 78604/109713 bytes (71.65%) of diff not shown. |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | 5 | catmarkScheme.h | |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·2014·DreamWorks·Animation·LLC. | 8 | 2//·Copyright·2014·DreamWorks·Animation·LLC. |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
Offset 23, 211 lines modified | Offset 23, 592 lines modified | ||
23 | 17// | 23 | 17// |
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24#ifndef·OPENSUBDIV3_SDC_ | 30 | 24#ifndef·OPENSUBDIV3_SDC_CATMARK_SCHEME_H |
31 | 25#define·OPENSUBDIV3_SDC_ | 31 | 25#define·OPENSUBDIV3_SDC_CATMARK_SCHEME_H |
32 | 26 | 32 | 26 |
33 | 27#include·"../version.h" | 33 | 27#include·"../version.h" |
34 | 28 | 34 | 28 |
35 | 29#include·"../sdc/scheme.h" | 35 | 29#include·"../sdc/scheme.h" |
36 | 30 | 36 | 30 |
37 | 31namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ | ||
38 | 3 | 37 | 31#include·<cassert> |
38 | 32#include·<cmath> | ||
39 | 33 | 39 | 33 |
40 | 34namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ | ||
41 | 35namespace·OPENSUBDIV_VERSION·{ | ||
42 | 36 | ||
40 | 43 | 37namespace·Sdc·{ | |
41 | 3 | 44 | 38 |
42 | 3 | 45 | 39// |
43 | 46 | 40//·Specializations·for·Scheme<SCHEME_CATMARK>: | |
44 | 38// | ||
45 | 39 | ||
46 | 4 | 47 | 41// |
47 | 4 | 48 | 42 |
48 | 4 | 49 | 43// |
50 | 44//·Catmark·traits: | ||
51 | 45// | ||
49 | 43template·<> | ||
50 | _\x84_\x84inline·_\x8S_\x8p_\x8l_\x8i_\x8t·_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8<_\x8S_\x8C_\x8H_\x8E_\x8M_\x8E_\x8__\x8B_\x8I_\x8L_\x8I_\x8N_\x8E_\x8A_\x8R_\x8>_\x8:_\x8:_\x8G_\x8e_\x8t_\x8T_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8i_\x8c_\x8a_\x8l_\x8S_\x8p_\x8l_\x8i_\x8t_\x8T_\x8y_\x8p_\x8e()·{·return | ||
51 | _\x8S_\x8P_\x8L_\x8I_\x8T_\x8__\x8T_\x8O_\x8__\x8Q_\x8U_\x8A_\x8D_\x8S;·} | ||
52 | 45 | ||
53 | 46template·<> | 52 | 46template·<> |
54 | _\x84_\x87inline·i | 53 | _\x84_\x87inline·_.S_.p_.l_.i_.t·_.S_.c_.h_.e_.m_.e_.<_.S_.C_.H_.E_.M_.E_.__.C_.A_.T_.M_.A_.R_.K_.>_.:_.:_.G_.e_.t_.T_.o_.p_.o_.l_.o_.g_.i_.c_.a_.l_.S_.p_.l_.i_.t_.T_.y_.p_.e()·{·return |
54 | _\x8S_\x8P_\x8L_\x8I_\x8T_\x8__\x8T_\x8O_\x8__\x8Q_\x8U_\x8A_\x8D_\x8S;·} | ||
55 | 48 | 55 | 48 |
56 | 49template·<> | 56 | 49template·<> |
57 | _\x85_\x80inline·int·_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8<_\x8S_\x8C_\x8H_\x8E_\x8M_\x8E_\x8__\x8 | 57 | _\x85_\x80inline·int·_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8<_\x8S_\x8C_\x8H_\x8E_\x8M_\x8E_\x8__\x8C_.A_.T_.M_.A_.R_.K_.>_.:_.:_.G_.e_.t_.R_.e_.g_.u_.l_.a_.r_.F_.a_.c_.e_.S_.i_.z_\x8e()·{·return·4;·} |
58 | 51 | 58 | 51 |
59 | 52template·<> | 59 | 52template·<> |
60 | _\x85_\x83inline·int·_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8<_\x8S_\x8C_\x8H_\x8E_\x8M_\x8E_\x8__\x8 | 60 | _\x85_\x83inline·int·_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8<_\x8S_\x8C_\x8H_\x8E_\x8M_\x8E_\x8__\x8C_.A_.T_.M_.A_.R_.K_.>_.:_.:_.G_.e_.t_.R_.e_.g_.u_.l_.a_.r_.V_.e_.r_.t_.e_.x_.V_.a_.l_.e_.n_.c_.e()·{·return·4;·} |
61 | 54 | 61 | 54 |
62 | 55 | ||
63 | 56// | ||
64 | 57//·Refinement·masks: | ||
65 | 58// | ||
66 | 5 | 62 | 55template·<> |
67 | 60template·<typename·EDGE,·typename·MASK> | ||
68 | 61void | ||
69 | _\x86_\x82_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8<_\x8S_\x8C_\x8H_\x8E_\x8M_\x8E_\x8__\x8B_\x8I_\x8L_\x8I_\x8N_\x8E_\x8A_\x8R_\x8>_\x8:_\x8:_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8E_\x8d_\x8g_\x8e_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8M_\x8a_\x8s_\x8k(EDGE·const&·edge,·MASK&·mask, | ||
70 | 63·_\x8C_\x8r_\x8e_\x8a_\x8s_\x8e_\x8:_\x8:_\x8R_\x8u_\x8l_\x8e,·_\x8C_\x8r_\x8e_\x8a_\x8s_\x8e_\x8:_\x8:_\x8R_\x8u_\x8l_\x8e)·const·{ | ||
71 | 64·//·This·should·be·inline,·otherwise·trivially·replicate·it: | ||
72 | 65·assignCreaseMaskForEdge(edge,·mask); | ||
73 | 66} | ||
74 | 6 | 63 | _.5_.6inline·int·_.S_.c_.h_.e_.m_.e_.<_.S_.C_.H_.E_.M_.E_.__.C_.A_.T_.M_.A_.R_.K_.>_.:_.:_.G_.e_.t_.L_.o_.c_.a_.l_.N_.e_.i_.g_.h_.b_.o_.r_.h_.o_.o_.d_.S_.i_.z_.e()·{·return·1;·} |
64 | 57 | ||
65 | 58 | ||
66 | 59// | ||
67 | 60//·Masks·for·edge-vertices:·the·hard·Crease·mask·does·not·need·to·be | ||
68 | specialized | ||
69 | 61//·(simply·the·midpoint),·so·all·that·is·left·is·the·Smooth·case: | ||
70 | 62// | ||
71 | 63//·The·Smooth·mask·is·complicated·by·the·need·to·support·the·"triangle | ||
72 | subdivision" | ||
73 | 64//·option,·which·applies·different·weighting·in·the·presence·of·triangles.·It | ||
74 | is | ||
75 | 65//·up·for·debate·as·to·whether·this·is·useful·or·not·--·we·may·be·able·to | ||
76 | deprecate | ||
77 | 66//·this·option. | ||
78 | 67// | ||
75 | 68template·<> | 79 | 68template·<> |
76 | 69template·<typename· | 80 | 69template·<typename·EDGE,·typename·MASK> |
77 | 70void | ||
78 | _\x87_\x81_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8<_\x8S_\x8C_\x8H_\x8E_\x8M_\x8E_\x8__\x8B_\x8I_\x8L_\x8I_\x8N_\x8E_\x8A_\x8R_\x8>_\x8:_\x8:_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8M_\x8a_\x8s_\x8k(VERTEX·const&·vertex,·MASK& | ||
79 | mask, | ||
80 | 72·_\x8C_\x8r_\x8e_\x8a_\x8s_\x8e_\x8:_\x8:_\x8R_\x8u_\x8l_\x8e,·_\x8C_\x8r_\x8e_\x8a_\x8s_\x8e_\x8:_\x8:_\x8R_\x8u_\x8l_\x8e)·const·{ | ||
81 | 73·//·This·should·be·inline,·otherwise·trivially·replicate·it: | ||
82 | 74·assignCornerMaskForVertex(vertex,·mask); | ||
83 | 7 | 81 | 70inline·void |
82 | _\x87_\x81_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8<_\x8S_\x8C_\x8H_\x8E_\x8M_\x8E_\x8__\x8C_\x8A_\x8T_\x8M_\x8A_\x8R_\x8K_\x8>_\x8:_\x8:_\x8a_\x8s_\x8s_\x8i_\x8g_\x8n_\x8S_\x8m_\x8o_\x8o_\x8t_\x8h_\x8M_\x8a_\x8s_\x8k_\x8F_\x8o_\x8r_\x8E_\x8d_\x8g_\x8e(EDGE·const&·edge,·MASK&·mask) | ||
83 | const·{ | ||
84 | 72 | ||
85 | 73·typedef·typename·MASK::Weight·Weight; | ||
86 | 74 | ||
87 | 75·int·faceCount·=·edge.GetNumFaces(); | ||
84 | 76 | 88 | 76 |
85 | 77 | ||
86 | 78// | ||
87 | 79//·Limit·masks·for·position·--·the·limit·position·of·all·vertices·is·the | ||
88 | refined·vertex. | ||
89 | 80// | ||
90 | 81template·<> | ||
91 | 82template·<typename·VERTEX,·typename·MASK> | ||
92 | 83inline·void | ||
93 | _\x88_\x84_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8<_\x8S_\x8C_\x8H_\x8E_\x8M_\x8E_\x8__\x8B_\x8I_\x8L_\x8I_\x8N_\x8E_\x8A_\x8R_\x8>_\x8:_\x8:_\x8a_\x8s_\x8s_\x8i_\x8g_\x8n_\x8C_\x8o_\x8r_\x8n_\x8e_\x8r_\x8L_\x8i_\x8m_\x8i_\x8t_\x8M_\x8a_\x8s_\x8k(VERTEX·const&·/*·vertex·*/, | ||
94 | MASK&·posMask)·const·{ | ||
95 | 85 | ||
96 | 89 | 77·mask.SetNumVertexWeights(2); | |
97 | 90 | 78·mask.SetNumEdgeWeights(0); | |
98 | 91 | 79·mask.SetNumFaceWeights(faceCount); | |
99 | 8 | 92 | 80·mask.SetFaceWeightsForFaceCenters(true); |
100 | 93 | 81 | |
94 | 82·// | ||
95 | 83·//·Determine·if·we·need·to·inspect·incident·faces·and·apply·alternate | ||
96 | weighting·for | ||
97 | 84·//·triangles·--·and·if·so,·determine·which·of·the·two·are·triangles. | ||
98 | 85·// | ||
99 | 86·bool·face0IsTri·=·false; | ||
100 | 87·bool·face1IsTri·=·false; | ||
101 | 88·bool·useTriangleOption·=·(_options.GetTriangleSubdivision()·==·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s_\x8:_\x8: | ||
Max diff block lines reached; 23220/30668 bytes (75.71%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/ | 8 | <title>OpenSubdiv:·opensubdiv/osd/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 87, 50 lines modified | Offset 87, 24 lines modified | ||
87 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 87 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
88 | </div> | 88 | </div> |
89 | </div> | 89 | </div> |
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | ||
94 | <a·href="#nested-classes">Classes</a>·| | ||
95 | <a·href="#namespaces">Namespaces</a>··</div> | ||
96 | ··<div·class="headertitle"><div·class="title"> | 93 | ··<div·class="headertitle"><div·class="title">opencl.h·File·Reference</div></div> |
97 | </div><!--header--> | 94 | </div><!--header--> |
98 | <div·class="contents"> | 95 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·& | 96 | <div·class="textblock"><code>#include·<CL/opencl.h></code><br·/> |
100 | <code>#include·<vector></code><br·/> | ||
101 | <code>#include·"<a·class="el"·href="a00899_source.html">../osd/bufferDescriptor.h</a>"</code><br·/> | ||
102 | <code>#include·"<a·class="el"·href="a01481_source.html">../osd/types.h</a>"</code><br·/> | ||
103 | </div> | 97 | </div> |
104 | <p><a·href="a00791_source.html">Go·to·the·source·code·of·this·file.</a></p> | 98 | <p><a·href="a00791_source.html">Go·to·the·source·code·of·this·file.</a></p> |
105 | <table·class="memberdecls"> | ||
106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
107 | Classes</h2></td></tr> | ||
108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01173.html">CudaStencilTable</a></td></tr> | ||
109 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">CUDA·stencil·table.··<a·href="a01173.html#details">More...</a><br·/></td></tr> | ||
110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
111 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01177.html">CudaEvaluator</a></td></tr> | ||
112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
113 | </table><table·class="memberdecls"> | ||
114 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | ||
115 | Namespaces</h2></td></tr> | ||
116 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | ||
117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
118 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | ||
119 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
120 | <tr·class="memitem:a00908"·id="r_a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr> | ||
121 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
122 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> | ||
123 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
124 | </table> | ||
125 | </div><!--·contents·--> | 99 | </div><!--·contents·--> |
126 | </div><!--·doc-content·--> | 100 | </div><!--·doc-content·--> |
127 | <!--·start·footer·part·--> | 101 | <!--·start·footer·part·--> |
128 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 102 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
129 | ··<ul> | 103 | ··<ul> |
130 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00791.html"> | 104 | ····<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">opencl.h</a></li> |
131 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 105 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
132 | ··</ul> | 106 | ··</ul> |
133 | </div> | 107 | </div> |
134 | </body> | 108 | </body> |
135 | </html> | 109 | </html> |
Offset 1, 30 lines modified | Offset 1, 11 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | opencl.h·File·Reference | ||
6 | #include·<CL/opencl.h> | ||
5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | ||
6 | cudaEvaluator.h·File·Reference | ||
7 | #include·"../version.h" | ||
8 | #include·<vector> | ||
9 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8._\x8h" | ||
10 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" | ||
11 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 7 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
12 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | ||
13 | class· ·_\x8C_\x8u_\x8d_\x8a_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e | ||
14 | ·······CUDA·stencil·table.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
15 | |||
16 | class· ·_\x8C_\x8u_\x8d_\x8a_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r | ||
17 | |||
18 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | ||
19 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | ||
20 | |||
21 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | ||
22 | |||
23 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8F_\x8a_\x8r | ||
24 | |||
25 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d | ||
26 | |||
27 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 8 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
28 | ····*·_\x8o_\x8s_\x8d | 9 | ····*·_\x8o_\x8s_\x8d |
29 | ····*·_\x8 | 10 | ····*·_\x8o_.p_.e_.n_.c_.l_\x8._\x8h |
30 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 11 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/ | 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 92, 19 lines modified | Offset 92, 19 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title"> | 98 | ··<div·class="headertitle"><div·class="title">opencl.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <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> | 101 | <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> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·201 | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·Pixar</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> | 106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> |
107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> | 107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> |
108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> | 108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> |
109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> | 109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> |
Offset 119, 582 lines modified | Offset 119, 32 lines modified | ||
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_ | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_OPENCL_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_ | 127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_OPENCL_H</span></div> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#if·defined(OPENSUBDIV_HAS_CLEW)</span></div> | ||
129 | <div·class="line"><a·id="l0002 | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#··include·<clew.h></span></div> |
130 | <div·class="line"><a·id="l000 | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#else</span></div> |
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#··if·defined(__APPLE__)</span></div> | ||
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#····include·<OpenCL/opencl.h></span></div> | ||
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#··else</span></div> | ||
131 | <div·class="line"><a·id="l0003 | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#····include·<CL/opencl.h></span></div> |
132 | <div·class="line"><a·id="l0003 | 136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#··endif</span></div> |
133 | <div·class="line"><a·id="l0003 | 137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#endif</span></div> |
134 | <div·class="line"><a·id="l0003 | 138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> |
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> | ||
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> | ||
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | ||
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Far·{</div> | ||
139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">class·</span>PatchTable;</div> | ||
140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keyword">class·</span>StencilTable;</div> | ||
141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">class·</span>LimitStencilTable;</div> | ||
142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>}</div> | ||
143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | ||
144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">namespace·</span>Osd·{</div> | ||
145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> | ||
146 | <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="};"> | ||
147 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01173.html">···52</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01173.html">CudaStencilTable</a>·{</div> | ||
148 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">public</span>:</div> | ||
149 | <div·class="foldopen"·id="foldopen00054"·data-start="{"·data-end="}"> | ||
150 | <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> | ||
151 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····································<span·class="keywordtype">void</span>·*deviceContext·=·NULL)·{</div> | ||
152 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>········(void)deviceContext;··<span·class="comment">//·unused</span></div> | ||
153 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········<span·class="keywordflow">return</span>·<span·class="keyword">new</span>·<a·class="code·hl_class"·href="a01173.html">CudaStencilTable</a>(stencilTable);</div> | ||
154 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····}</div> | ||
155 | </div> | ||
156 | <div·class="foldopen"·id="foldopen00059"·data-start="{"·data-end="}"> | ||
157 | <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> | ||
158 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····································<span·class="keywordtype">void</span>·*deviceContext·=·NULL)·{</div> | ||
159 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>········(void)deviceContext;··<span·class="comment">//·unused</span></div> | ||
160 | <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_class"·href="a01173.html">CudaStencilTable</a>(limitStencilTable);</div> | ||
161 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····}</div> | ||
162 | </div> | ||
163 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | ||
164 | <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> | ||
165 | <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> | ||
166 | <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> | ||
167 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | ||
168 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="comment">//·interfaces·needed·for·CudaCompute</span></div> | ||
169 | <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> | ||
170 | <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> | ||
171 | <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> | ||
172 | <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> | ||
173 | <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> | ||
174 | <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> | ||
175 | <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> | ||
176 | <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> | ||
177 | <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> | ||
178 | <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> | ||
179 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> | ||
180 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">private</span>:</div> | ||
181 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="keywordtype">void</span>·*·_sizes,</div> | ||
182 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·········*·_offsets,</div> | ||
183 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·········*·_indices,</div> | ||
184 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·········*·_weights,</div> | ||
185 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·········*·_duWeights,</div> | ||
186 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·········*·_dvWeights,</div> | ||
187 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·········*·_duuWeights,</div> | ||
188 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·········*·_duvWeights,</div> | ||
189 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·········*·_dvvWeights;</div> | ||
190 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="keywordtype">int</span>·_numStencils;</div> | ||
191 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>};</div> | ||
192 | </div> | ||
193 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> | ||
194 | <div·class="foldopen"·id="foldopen00094"·data-start="{"·data-end="};"> | ||
195 | <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> | ||
196 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span><span·class="keyword">public</span>:</div> | ||
197 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> | ||
198 | <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>····<span·class="keyword">template</span>·<<span·class="keyword">typename</span>·SRC_BUFFER,·<span·class="keyword">typename</span>·DST_BUFFER,·<span·class="keyword">typename</span>·STENCIL_TABLE></div> | ||
199 | <div·class="foldopen"·id="foldopen00126"·data-start="{"·data-end="}"> | ||
200 | <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno"><a·class="line"·href="a01177.html#a68186cd64196498ff6a31e55a822f468">··126</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01177.html#a68186cd64196498ff6a31e55a822f468">EvalStencils</a>(</div> | ||
201 | <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>········SRC_BUFFER·*srcBuffer,·<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&srcDesc,</div> | ||
202 | <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>········DST_BUFFER·*dstBuffer,·<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDesc,</div> | ||
203 | <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>········STENCIL_TABLE·<span·class="keyword">const</span>·*stencilTable,</div> | ||
204 | <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>········<span·class="keyword">const</span>·<span·class="keywordtype">void</span>·*instance·=·NULL,</div> | ||
205 | <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>········<span·class="keywordtype">void</span>·*·deviceContext·=·NULL)·{</div> | ||
Max diff block lines reached; 952/128109 bytes (0.74%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | 5 | opencl.h | |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·201 | 8 | 2//·Copyright·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·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: | 13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: |
14 | 8// | 14 | 8// |
15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade | 15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade |
Offset 24, 737 lines modified | Offset 24, 25 lines modified | ||
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24 | 30 | 24 |
31 | 25#ifndef·OPENSUBDIV3_OSD_ | 31 | 25#ifndef·OPENSUBDIV3_OSD_OPENCL_H |
32 | 26#define·OPENSUBDIV3_OSD_ | 32 | 26#define·OPENSUBDIV3_OSD_OPENCL_H |
33 | 27 | 33 | 27 |
34 | 28#if·defined(OPENSUBDIV_HAS_CLEW) | ||
35 | 29#·include·<clew.h> | ||
36 | 30#else | ||
37 | 31#·if·defined(__APPLE__) | ||
38 | 32#·include·<OpenCL/opencl.h> | ||
39 | 33#·else | ||
40 | 34#·include·<CL/opencl.h> | ||
41 | 35#·endif | ||
42 | 36#endif | ||
34 | 28#include·"../version.h" | ||
35 | 29 | ||
36 | 30#include·<vector> | ||
37 | 31#include·"../osd/bufferDescriptor.h" | ||
38 | 32#include·"../osd/types.h" | ||
39 | 33 | ||
40 | 34namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ | ||
41 | 35namespace·OPENSUBDIV_VERSION·{ | ||
42 | 36 | ||
43 | 37namespace·Far·{ | ||
44 | 38·class·PatchTable; | ||
45 | 39·class·StencilTable; | ||
46 | 40·class·LimitStencilTable; | ||
47 | 41} | ||
48 | 42 | ||
49 | 43namespace·Osd·{ | ||
50 | 44 | ||
51 | _\x85_\x82class·_\x8C_\x8u_\x8d_\x8a_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·{ | ||
52 | 53public: | ||
53 | _\x85_\x84·static·_\x8C_\x8u_\x8d_\x8a_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·*_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·const·*stencilTable, | ||
54 | 55·void·*deviceContext·=·NULL)·{ | ||
55 | 56·(void)deviceContext;·//·unused | ||
56 | 57·return·new·_\x8C_\x8u_\x8d_\x8a_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e(stencilTable); | ||
57 | 58·} | ||
58 | _\x85_\x89·static·_\x8C_\x8u_\x8d_\x8a_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·*_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8L_\x8i_\x8m_\x8i_\x8t_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·const | ||
59 | *limitStencilTable, | ||
60 | 60·void·*deviceContext·=·NULL)·{ | ||
61 | 61·(void)deviceContext;·//·unused | ||
62 | 62·return·new·_\x8C_\x8u_\x8d_\x8a_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e(limitStencilTable); | ||
63 | 63·} | ||
64 | 64 | ||
65 | _\x86_\x85·explicit·_\x8C_\x8u_\x8d_\x8a_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·const·*stencilTable); | ||
66 | _\x86_\x86·explicit·_\x8C_\x8u_\x8d_\x8a_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8L_\x8i_\x8m_\x8i_\x8t_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·const·*limitStencilTable); | ||
67 | _\x86_\x87·_\x8~_\x8C_\x8u_\x8d_\x8a_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e(); | ||
68 | 68 | ||
69 | 69·//·interfaces·needed·for·CudaCompute | ||
70 | _\x87_\x80·void·*_\x8G_\x8e_\x8t_\x8S_\x8i_\x8z_\x8e_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_sizes;·} | ||
71 | _\x87_\x81·void·*_\x8G_\x8e_\x8t_\x8O_\x8f_\x8f_\x8s_\x8e_\x8t_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_offsets;·} | ||
72 | _\x87_\x82·void·*_\x8G_\x8e_\x8t_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_indices;·} | ||
73 | _\x87_\x83·void·*_\x8G_\x8e_\x8t_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_weights;·} | ||
74 | _\x87_\x84·void·*_\x8G_\x8e_\x8t_\x8D_\x8u_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_duWeights;·} | ||
75 | _\x87_\x85·void·*_\x8G_\x8e_\x8t_\x8D_\x8v_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_dvWeights;·} | ||
76 | _\x87_\x86·void·*_\x8G_\x8e_\x8t_\x8D_\x8u_\x8u_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_duuWeights;·} | ||
77 | _\x87_\x87·void·*_\x8G_\x8e_\x8t_\x8D_\x8u_\x8v_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_duvWeights;·} | ||
78 | _\x87_\x88·void·*_\x8G_\x8e_\x8t_\x8D_\x8v_\x8v_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_dvvWeights;·} | ||
79 | _\x87_\x89·int·_\x8G_\x8e_\x8t_\x8N_\x8u_\x8m_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s()·const·{·return·_numStencils;·} | ||
80 | 80 | ||
81 | 81private: | ||
82 | 82·void·*·_sizes, | ||
83 | 83·*·_offsets, | ||
84 | 84·*·_indices, | ||
85 | 85·*·_weights, | ||
86 | 86·*·_duWeights, | ||
87 | 87·*·_dvWeights, | ||
88 | 88·*·_duuWeights, | ||
89 | 89·*·_duvWeights, | ||
90 | 90·*·_dvvWeights; | ||
91 | 91·int·_numStencils; | ||
92 | 92}; | ||
93 | 93 | ||
94 | _\x89_\x84class·_\x8C_\x8u_\x8d_\x8a_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r·{ | ||
95 | 95public: | ||
96 | 101 | ||
97 | 125·template·<typename·SRC_BUFFER,·typename·DST_BUFFER,·typename·STENCIL_TABLE> | ||
98 | _\x81_\x82_\x86·static·bool·_\x8E_\x8v_\x8a_\x8l_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s( | ||
99 | 127·SRC_BUFFER·*srcBuffer,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, | ||
100 | 128·DST_BUFFER·*dstBuffer,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, | ||
101 | 129·STENCIL_TABLE·const·*stencilTable, | ||
102 | 130·const·void·*instance·=·NULL, | ||
103 | 131·void·*·deviceContext·=·NULL)·{ | ||
104 | 132 | ||
105 | 133·(void)instance;·//·unused | ||
106 | 134·(void)deviceContext;·//·unused | ||
107 | 135·return·_\x8E_\x8v_\x8a_\x8l_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s(srcBuffer->BindCudaBuffer(),·srcDesc, | ||
108 | 136·dstBuffer->BindCudaBuffer(),·dstDesc, | ||
109 | 137·(int·const·*)stencilTable->GetSizesBuffer(), | ||
110 | 138·(int·const·*)stencilTable->GetOffsetsBuffer(), | ||
111 | 139·(int·const·*)stencilTable->GetIndicesBuffer(), | ||
112 | 140·(float·const·*)stencilTable->GetWeightsBuffer(), | ||
113 | 141·/*start·=·*/·0, | ||
114 | 142·/*end·=·*/·stencilTable->GetNumStencils()); | ||
115 | 143·} | ||
116 | 144 | ||
117 | _\x81_\x87_\x81·static·bool·_\x8E_\x8v_\x8a_\x8l_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s( | ||
118 | 172·const·float·*src,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, | ||
119 | 173·float·*dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, | ||
120 | 174·const·int·*·sizes, | ||
121 | 175·const·int·*·offsets, | ||
122 | 176·const·int·*·indices, | ||
123 | 177·const·float·*·weights, | ||
124 | 178·int·start,·int·end); | ||
125 | 179 | ||
Max diff block lines reached; 198/46830 bytes (0.42%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/c | 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 90, 41 lines modified | Offset 90, 47 lines modified | ||
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#nested-classes">Classes</a>·| | 94 | <a·href="#nested-classes">Classes</a>·| |
95 | <a·href="#namespaces">Namespaces</a>··</div> | 95 | <a·href="#namespaces">Namespaces</a>··</div> |
96 | ··<div·class="headertitle"><div·class="title">c | 96 | ··<div·class="headertitle"><div·class="title">cudaEvaluator.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·<vector></code><br·/> | ||
101 | <code>#include·"<a·class="el"·href="a00899_source.html">../osd/bufferDescriptor.h</a>"</code><br·/> | ||
100 | <code>#include·"<a·class="el"·href="a0 | 102 | <code>#include·"<a·class="el"·href="a01481_source.html">../osd/types.h</a>"</code><br·/> |
101 | </div> | 103 | </div> |
102 | <p><a·href="a00794_source.html">Go·to·the·source·code·of·this·file.</a></p> | 104 | <p><a·href="a00794_source.html">Go·to·the·source·code·of·this·file.</a></p> |
103 | <table·class="memberdecls"> | 105 | <table·class="memberdecls"> |
104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
105 | Classes</h2></td></tr> | 107 | Classes</h2></td></tr> |
108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01173.html">CudaStencilTable</a></td></tr> | ||
109 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">CUDA·stencil·table.··<a·href="a01173.html#details">More...</a><br·/></td></tr> | ||
110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a011 | 111 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01177.html">CudaEvaluator</a></td></tr> |
107 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Concrete·vertex·buffer·class·for·OpenCL·subdivision.··<a·href="a01149.html#details">More...</a><br·/></td></tr> | ||
108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
109 | </table><table·class="memberdecls"> | 113 | </table><table·class="memberdecls"> |
110 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 114 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
111 | Namespaces</h2></td></tr> | 115 | Namespaces</h2></td></tr> |
112 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 116 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
114 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 118 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 119 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
120 | <tr·class="memitem:a00908"·id="r_a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr> | ||
121 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
116 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> | 122 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> |
117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 123 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
118 | </table> | 124 | </table> |
119 | </div><!--·contents·--> | 125 | </div><!--·contents·--> |
120 | </div><!--·doc-content·--> | 126 | </div><!--·doc-content·--> |
121 | <!--·start·footer·part·--> | 127 | <!--·start·footer·part·--> |
122 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 128 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
123 | ··<ul> | 129 | ··<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="a00794.html">c | 130 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00794.html">cudaEvaluator.h</a></li> |
125 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 131 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
126 | ··</ul> | 132 | ··</ul> |
127 | </div> | 133 | </div> |
128 | </body> | 134 | </body> |
129 | </html> | 135 | </html> |
Offset 1, 24 lines modified | Offset 1, 30 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
6 | c | 6 | cudaEvaluator.h·File·Reference |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·<vector> | ||
9 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8._\x8h" | ||
8 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8 | 10 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8t_.y_.p_.e_.s_\x8._\x8h" |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 11 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 12 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
11 | class· ·_\x8C_\x8L_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r | ||
12 | 13 | class· ·_.C_.u_.d_.a_.S_.t_.e_.n_.c_.i_.l_.T_.a_.b_.l_.e | |
14 | ·······CUDA·stencil·table.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
15 | |||
16 | class· ·_\x8C_\x8u_\x8d_\x8a_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r | ||
13 | 17 | ||
14 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 18 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
15 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 19 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
16 | 20 | ||
17 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 21 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
18 | 22 | ||
23 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8F_\x8a_\x8r | ||
24 | |||
19 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d | 25 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d |
20 | 26 | ||
21 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 27 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
22 | ····*·_\x8o_\x8s_\x8d | 28 | ····*·_\x8o_\x8s_\x8d |
23 | ····*·_\x8c_\x8 | 29 | ····*·_\x8c_\x8u_.d_.a_.E_.v_.a_.l_.u_.a_.t_.o_\x8r_\x8._\x8h |
24 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 30 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 3 lines modified | Offset 1, 4 lines modified | ||
1 | var·a00794·=·[ | 1 | var·a00794·=·[ |
2 | ····["C | 2 | ····["CudaStencilTable",·"a01173.html",·"a01173"], |
3 | ····["CudaEvaluator",·"a01177.html",·null] | ||
3 | ]; | 4 | ]; |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/c | 8 | <title>OpenSubdiv:·opensubdiv/osd/cudaEvaluator.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 92, 19 lines modified | Offset 92, 19 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title">c | 98 | ··<div·class="headertitle"><div·class="title">cudaEvaluator.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <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> | 101 | <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> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·201 | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> | 106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> |
107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> | 107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> |
108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> | 108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> |
109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> | 109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> |
Offset 119, 95 lines modified | Offset 119, 582 lines modified | ||
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_C | 126 | <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> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_C | 127 | <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> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | ||
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·<vector></span></div> | ||
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·"../osd/bufferDescriptor.h"</span></div> | ||
130 | <div·class="line"><a·id="l000 | 133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·"../osd/types.h"</span></div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | ||
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> | ||
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> | ||
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> | ||
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> | ||
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | ||
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Far·{</div> | ||
139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">class·</span>PatchTable;</div> | ||
140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keyword">class·</span>StencilTable;</div> | ||
141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">class·</span>LimitStencilTable;</div> | ||
142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>}</div> | ||
143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | ||
135 | <div·class="line"><a·id="l000 | 144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">namespace·</span>Osd·{</div> |
136 | <div·class="line"><a·id="l000 | 145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> |
137 | <div·class="foldopen"·id="foldopen000 | 146 | <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="};"> |
138 | <div·class="line"><a·id="l000 | 147 | <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> |
139 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | ||
140 | <div·class="line"><a·id="l000 | 148 | <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="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> | ||
142 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | ||
143 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····<span·class="keyword">template</span>·<<span·class="keyword">typename</span>·DEVICE_CONTEXT></div> | ||
144 | <div·class="foldopen"·id="foldopen000 | 149 | <div·class="foldopen"·id="foldopen00054"·data-start="{"·data-end="}"> |
145 | <div·class="line"><a·id="l000 | 150 | <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_func[·...·truncated·by·diffoscope;·len:·184,·SHA:·caec8c5cd785cf7b1b7d0946bdfd6fbf91fb685edb594bcbf5a3d0fbdc1d18ed·...·],</div> |
146 | <div·class="line"><a·id="l0005 | 151 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····································<span·class="keywordtype">void</span>·*deviceContext·=·NULL)·{</div> |
147 | <div·class="line"><a·id="l0005 | 152 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>········(void)deviceContext;··<span·class="comment">//·unused</span></div> |
153 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········<span·class="keywordflow">return</span>·<span·class="keyword">new</span>·<a·class="code·hl_class"·href="a01173.html">CudaStencilTable</a>(stencilTable);</div> | ||
148 | <div·class="line"><a·id="l0005 | 154 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····}</div> |
149 | </div> | 155 | </div> |
150 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> | ||
151 | <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> | ||
152 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | ||
153 | <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> | ||
154 | <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> | ||
155 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | ||
156 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·DEVICE_CONTEXT></div> | ||
157 | <div·class="foldopen"·id="foldopen000 | 156 | <div·class="foldopen"·id="foldopen00059"·data-start="{"·data-end="}"> |
158 | <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> | ||
159 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····················DEVICE_CONTEXT·context,·</div> | ||
160 | <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> | ||
161 | <div·class="line"><a·id="l000 | 157 | <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_func[·...·truncated·by·diffoscope;·len:·195,·SHA:·4f8f24053db2ff4fdf2a33dd08da005016acec8ab9927f8337a4cc546e9cdc56·...·]</div> |
158 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····································<span·class="keywordtype">void</span>·*deviceContext·=·NULL)·{</div> | ||
159 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>········(void)deviceContext;··<span·class="comment">//·unused</span></div> | ||
160 | <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_class"·href="a01173.html">CudaStencilTable</a>(limitStencilTable);</div> | ||
162 | <div·class="line"><a·id="l0006 | 161 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····}</div> |
163 | </div> | 162 | </div> |
163 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | ||
164 | <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> | ||
165 | <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> | ||
166 | <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> | ||
164 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | 167 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> |
165 | <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> | ||
166 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | ||
167 | <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> | ||
168 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | ||
169 | <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> | ||
170 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | ||
171 | <div·class="line"><a·id="l000 | 168 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="comment">//·interfaces·needed·for·CudaCompute</span></div> |
172 | <div·class="line"><a·id="l000 | 169 | <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">GetS[·...·truncated·by·diffoscope;·len:·103,·SHA:·56d3c25714711a72670a83e8eb19a32470c4dae3c43c480517836712facf0cf6·...·]</div> |
170 | <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> | ||
171 | <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> | ||
172 | <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> | ||
173 | <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> | ||
174 | <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> | ||
175 | <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> | ||
176 | <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> | ||
177 | <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> | ||
178 | <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> | ||
173 | <div·class="line"><a·id="l0008 | 179 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> |
174 | <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">allocate</a>(cl_context·clContext);</div> | ||
175 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> | ||
176 | <div·class="line"><a·id="l0008 | 180 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">private</span>:</div> |
181 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="keywordtype">void</span>·*·_sizes,</div> | ||
182 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·········*·_offsets,</div> | ||
183 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·········*·_indices,</div> | ||
184 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·········*·_weights,</div> | ||
Max diff block lines reached; 114511/140785 bytes (81.34%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | c | 5 | cudaEvaluator.h |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·201 | 8 | 2//·Copyright·2015·Pixar |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: | 13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: |
14 | 8// | 14 | 8// |
15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade | 15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade |
Offset 24, 114 lines modified | Offset 24, 737 lines modified | ||
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24 | 30 | 24 |
31 | 25#ifndef·OPENSUBDIV3_OSD_CL_VERTEX_BUFFER_H | ||
32 | 2 | 31 | 25#ifndef·OPENSUBDIV3_OSD_CUDA_EVALUATOR_H |
32 | 26#define·OPENSUBDIV3_OSD_CUDA_EVALUATOR_H | ||
33 | 27 | 33 | 27 |
34 | 28#include·"../version.h" | 34 | 28#include·"../version.h" |
35 | 29 | ||
36 | 30#include·<vector> | ||
37 | 31#include·"../osd/bufferDescriptor.h" | ||
35 | 38 | 32#include·"../osd/types.h" | |
36 | 30 | ||
37 | 31namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ | ||
38 | 32namespace·OPENSUBDIV_VERSION·{ | ||
39 | 33 | 39 | 33 |
40 | 34namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ | ||
41 | 35namespace·OPENSUBDIV_VERSION·{ | ||
42 | 36 | ||
43 | 37namespace·Far·{ | ||
44 | 38·class·PatchTable; | ||
45 | 39·class·StencilTable; | ||
46 | 40·class·LimitStencilTable; | ||
47 | 41} | ||
48 | 42 | ||
40 | 49 | 43namespace·Osd·{ | |
50 | 44 | ||
51 | _\x85_\x82class·_\x8C_\x8u_\x8d_\x8a_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·{ | ||
41 | 35 | ||
42 | _\x84_\x82class·_\x8C_\x8L_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r·{ | ||
43 | 43 | ||
44 | 52 | 53public: | |
53 | _\x85_\x84·static·_\x8C_\x8u_\x8d_\x8a_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·*_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·const·*stencilTable, | ||
54 | 55·void·*deviceContext·=·NULL)·{ | ||
55 | 56·(void)deviceContext;·//·unused | ||
56 | 57·return·new·_\x8C_\x8u_\x8d_\x8a_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e(stencilTable); | ||
45 | _\x84_\x86·static·_\x8C_\x8L_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r·*·_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(int·numElements,·int·numVertices,·cl_context | ||
46 | clContext); | ||
47 | 47 | ||
48 | 48·template·<typename·DEVICE_CONTEXT> | ||
49 | _\x84_\x89·static·_\x8C_\x8L_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r·*·_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(int·numElements,·int·numVertices, | ||
50 | 50·DEVICE_CONTEXT·context)·{ | ||
51 | 51·return·_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(numElements,·numVertices,·context->GetContext()); | ||
52 | 5 | 57 | 58·} |
58 | _\x85_\x89·static·_\x8C_\x8u_\x8d_\x8a_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·*_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8L_\x8i_\x8m_\x8i_\x8t_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·const | ||
59 | *limitStencilTable, | ||
60 | 60·void·*deviceContext·=·NULL)·{ | ||
61 | 61·(void)deviceContext;·//·unused | ||
62 | 62·return·new·_\x8C_\x8u_\x8d_\x8a_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e(limitStencilTable); | ||
53 | 53 | ||
54 | _\x85_\x85·_\x8~_\x8C_\x8L_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r(); | ||
55 | 56 | ||
56 | _\x85_\x89·void·_\x8U_\x8p_\x8d_\x8a_\x8t_\x8e_\x8D_\x8a_\x8t_\x8a(const·float·*src,·int·startVertex,·int·numVertices, | ||
57 | cl_command_queue·clQueue, | ||
58 | 60·cl_event*·startEvents·=·NULL,·unsigned·int·numStartEvents·=·0,·cl_event* | ||
59 | endEvent·=·NULL); | ||
60 | 61 | ||
61 | 62·template<typename·DEVICE_CONTEXT> | ||
62 | _\x86_\x83·void·_\x8U_\x8p_\x8d_\x8a_\x8t_\x8e_\x8D_\x8a_\x8t_\x8a(const·float·*src,·int·startVertex,·int·numVertices, | ||
63 | 64·DEVICE_CONTEXT·context, | ||
64 | 65·cl_event*·startEvents·=·NULL,·unsigned·int·numStartEvents·=·0,·cl_event* | ||
65 | endEvent·=·NULL)·{ | ||
66 | 66·_\x8U_\x8p_\x8d_\x8a_\x8t_\x8e_\x8D_\x8a_\x8t_\x8a(src,·startVertex,·numVertices,·context->GetCommandQueue(), | ||
67 | startEvents,·numStartEvents,·endEvent); | ||
68 | 6 | 63 | 63·} |
64 | 64 | ||
65 | _\x86_\x85·explicit·_\x8C_\x8u_\x8d_\x8a_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·const·*stencilTable); | ||
66 | _\x86_\x86·explicit·_\x8C_\x8u_\x8d_\x8a_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8L_\x8i_\x8m_\x8i_\x8t_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·const·*limitStencilTable); | ||
67 | _\x86_\x87·_\x8~_\x8C_\x8u_\x8d_\x8a_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e(); | ||
69 | 68 | 68 | 68 |
70 | _\x87_\x80·int·_\x8G_\x8e_\x8t_\x8N_\x8u_\x8m_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8s()·const; | ||
71 | 71 | ||
72 | _\x87_\x83·int·_\x8G_\x8e_\x8t_\x8N_\x8u_\x8m_\x8V_\x8e_\x8r_\x8t_\x8i_\x8c_\x8e_\x8s()·const; | ||
73 | 74 | ||
74 | _\x87_\x86·cl_mem·_\x8B_\x8i_\x8n_\x8d_\x8C_\x8L_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r(cl_command_queue·queue); | ||
75 | 77 | ||
76 | 78protected: | ||
77 | _\x88_\x80·_\x8C_\x8L_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r(int·numElements,·int·numVertices,·cl_context·clContext); | ||
78 | 81 | ||
79 | _\x88_\x84·bool·_\x8a_\x8l_\x8l_\x8o_\x8c_\x8a_\x8t_\x8e(cl_context·clContext); | ||
80 | 69 | 69·//·interfaces·needed·for·CudaCompute | |
70 | _\x87_\x80·void·*_\x8G_\x8e_\x8t_\x8S_\x8i_\x8z_\x8e_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_sizes;·} | ||
71 | _\x87_\x81·void·*_\x8G_\x8e_\x8t_\x8O_\x8f_\x8f_\x8s_\x8e_\x8t_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_offsets;·} | ||
72 | _\x87_\x82·void·*_\x8G_\x8e_\x8t_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_indices;·} | ||
73 | _\x87_\x83·void·*_\x8G_\x8e_\x8t_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_weights;·} | ||
74 | _\x87_\x84·void·*_\x8G_\x8e_\x8t_\x8D_\x8u_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_duWeights;·} | ||
75 | _\x87_\x85·void·*_\x8G_\x8e_\x8t_\x8D_\x8v_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_dvWeights;·} | ||
76 | _\x87_\x86·void·*_\x8G_\x8e_\x8t_\x8D_\x8u_\x8u_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_duuWeights;·} | ||
77 | _\x87_\x87·void·*_\x8G_\x8e_\x8t_\x8D_\x8u_\x8v_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_duvWeights;·} | ||
78 | _\x87_\x88·void·*_\x8G_\x8e_\x8t_\x8D_\x8v_\x8v_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_dvvWeights;·} | ||
79 | _\x87_\x89·int·_\x8G_\x8e_\x8t_\x8N_\x8u_\x8m_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s()·const·{·return·_numStencils;·} | ||
80 | 80 | ||
81 | 8 | 81 | 81private: |
82 | 87·int·_numElements; | ||
83 | 88·int·_numVertices; | ||
84 | 8 | 82 | 82·void·*·_sizes, |
83 | 83·*·_offsets, | ||
84 | 84·*·_indices, | ||
85 | 85·*·_weights, | ||
86 | 86·*·_duWeights, | ||
87 | 87·*·_dvWeights, | ||
88 | 88·*·_duuWeights, | ||
89 | 89·*·_duvWeights, | ||
90 | 90·*·_dvvWeights; | ||
91 | 91·int·_numStencils; | ||
85 | 9 | 92 | 92}; |
86 | 91 | ||
Max diff block lines reached; 46330/52049 bytes (89.01%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/ | 8 | <title>OpenSubdiv:·opensubdiv/osd/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 87, 24 lines modified | Offset 87, 44 lines modified | ||
87 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 87 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
88 | </div> | 88 | </div> |
89 | </div> | 89 | </div> |
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | ||
94 | <a·href="#nested-classes">Classes</a>·| | ||
95 | <a·href="#namespaces">Namespaces</a>··</div> | ||
93 | ··<div·class="headertitle"><div·class="title"> | 96 | ··<div·class="headertitle"><div·class="title">clVertexBuffer.h·File·Reference</div></div> |
94 | </div><!--header--> | 97 | </div><!--header--> |
95 | <div·class="contents"> | 98 | <div·class="contents"> |
96 | <div·class="textblock"><code>#include·& | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·"<a·class="el"·href="a00791_source.html">../osd/opencl.h</a>"</code><br·/> | ||
97 | </div> | 101 | </div> |
98 | <p><a·href="a00797_source.html">Go·to·the·source·code·of·this·file.</a></p> | 102 | <p><a·href="a00797_source.html">Go·to·the·source·code·of·this·file.</a></p> |
103 | <table·class="memberdecls"> | ||
104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
105 | Classes</h2></td></tr> | ||
106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01149.html">CLVertexBuffer</a></td></tr> | ||
107 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Concrete·vertex·buffer·class·for·OpenCL·subdivision.··<a·href="a01149.html#details">More...</a><br·/></td></tr> | ||
108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
109 | </table><table·class="memberdecls"> | ||
110 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | ||
111 | Namespaces</h2></td></tr> | ||
112 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | ||
113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
114 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | ||
115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
116 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> | ||
117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
118 | </table> | ||
99 | </div><!--·contents·--> | 119 | </div><!--·contents·--> |
100 | </div><!--·doc-content·--> | 120 | </div><!--·doc-content·--> |
101 | <!--·start·footer·part·--> | 121 | <!--·start·footer·part·--> |
102 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 122 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
103 | ··<ul> | 123 | ··<ul> |
104 | ····<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"> | 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="a00797.html">clVertexBuffer.h</a></li> |
105 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 125 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
106 | ··</ul> | 126 | ··</ul> |
107 | </div> | 127 | </div> |
108 | </body> | 128 | </body> |
109 | </html> | 129 | </html> |
Offset 1, 11 lines modified | Offset 1, 24 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | opencl.h·File·Reference | ||
6 | 5 | _.C_.l_.a_.s_.s_.e_.s·|·_.N_.a_.m_.e_.s_.p_.a_.c_.e_.s | |
6 | clVertexBuffer.h·File·Reference | ||
7 | #include·"../version.h" | ||
8 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8o_\x8p_\x8e_\x8n_\x8c_\x8l_\x8._\x8h" | ||
7 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | ||
11 | class· ·_\x8C_\x8L_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r | ||
12 | ·······Concrete·vertex·buffer·class·for·OpenCL·subdivision.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
13 | |||
14 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | ||
15 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | ||
16 | |||
17 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | ||
18 | |||
19 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d | ||
20 | |||
8 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 21 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
9 | ····*·_\x8o_\x8s_\x8d | 22 | ····*·_\x8o_\x8s_\x8d |
10 | ····*·_\x8 | 23 | ····*·_\x8c_.l_.V_.e_.r_.t_.e_.x_.B_.u_.f_.f_.e_.r_\x8._\x8h |
11 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 24 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/ | 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 92, 19 lines modified | Offset 92, 19 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title"> | 98 | ··<div·class="headertitle"><div·class="title">clVertexBuffer.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <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> | 101 | <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> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·201 | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> | 106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> |
107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> | 107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> |
108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> | 108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> |
109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> | 109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> |
Offset 119, 32 lines modified | Offset 119, 95 lines modified | ||
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_ | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_CL_VERTEX_BUFFER_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_ | 127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_CL_VERTEX_BUFFER_H</span></div> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#i | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor"># | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"../osd/opencl.h"</span></div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#else</span></div> | ||
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#··if·defined(__APPLE__)</span></div> | ||
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#····include·<OpenCL/opencl.h></span></div> | ||
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#··else</span></div> | ||
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#····include·<CL/opencl.h></span></div> | ||
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#··endif</span></div> | ||
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#endif</span></div> | ||
138 | <div·class="line"><a·id="l0003 | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> |
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> | ||
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> | ||
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | ||
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span>Osd·{</div> | ||
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
137 | <div·class="foldopen"·id="foldopen00042"·data-start="{"·data-end="};"> | ||
138 | <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> | ||
139 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | ||
140 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">public</span>:</div> | ||
141 | <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> | ||
142 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | ||
143 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····<span·class="keyword">template</span>·<<span·class="keyword">typename</span>·DEVICE_CONTEXT></div> | ||
144 | <div·class="foldopen"·id="foldopen00049"·data-start="{"·data-end="}"> | ||
145 | <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> | ||
146 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>···································DEVICE_CONTEXT·context)·{</div> | ||
147 | <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->GetContext());</div> | ||
148 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····}</div> | ||
149 | </div> | ||
150 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> | ||
151 | <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> | ||
152 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | ||
153 | <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> | ||
154 | <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> | ||
155 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | ||
156 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·DEVICE_CONTEXT></div> | ||
157 | <div·class="foldopen"·id="foldopen00063"·data-start="{"·data-end="}"> | ||
158 | <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> | ||
159 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····················DEVICE_CONTEXT·context,·</div> | ||
160 | <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> | ||
161 | <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->GetCommandQueue(),·startEvents,·numStartEvents,·endEvent);</div> | ||
162 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····}</div> | ||
163 | </div> | ||
164 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | ||
165 | <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> | ||
166 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | ||
167 | <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> | ||
168 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | ||
169 | <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> | ||
170 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | ||
171 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="keyword">protected</span>:</div> | ||
172 | <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">int</span>·numElements,·<span·class="keywordtype">int</span>·numVertices,·cl_context·clContext);</div> | ||
173 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> | ||
174 | <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">allocate</a>(cl_context·clContext);</div> | ||
175 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> | ||
176 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="keyword">private</span>:</div> | ||
177 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<span·class="keywordtype">int</span>·_numElements;</div> | ||
178 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····<span·class="keywordtype">int</span>·_numVertices;</div> | ||
179 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····cl_mem·_clMemory;</div> | ||
180 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>};</div> | ||
181 | </div> | ||
182 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> | ||
183 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>}··<span·class="comment">//·end·namespace·Osd</span></div> | ||
184 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> | ||
185 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>}··<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> | ||
186 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> | ||
187 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> | ||
188 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>}··<span·class="comment">//·end·namespace·OpenSubdiv</span></div> | ||
189 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> | ||
139 | <div·class="line"><a·id="l000 | 190 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span><span·class="preprocessor">#endif··</span><span·class="comment">//·OPENSUBDIV3_OSD_CL_VERTEX_BUFFER_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> | ||
192 | <div·class="ttc"·id="aa01149_html"><div·class="ttname"><a·href="a01149.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLVertexBuffer</a></div><div·class="ttdoc">Concrete·vertex·buffer·class·for·OpenCL·subdivision.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00797_source.html#l00042">clVertexBuffer.h:42</a></div></div> | ||
193 | <div·class="ttc"·id="aa01149_html_a2cf1549497a0e50dde24baad4792e08c"><div·class="ttname"><a·href="a01149.html#a2cf1549497a0e50dde24baad4792e08c">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLVertexBuffer::UpdateData</a></div><div·class="ttdeci">void·UpdateData(const·float·*src,·int·startVertex,·int·numVertices,·DEVICE_CONTEXT·context,·cl_event·*startEvents=NULL,·unsigned·int·numStartEvents=0,·cl_event·*endEvent=NULL)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00797_source.html#l00063">clVertexBuffer.h:63</a></div></div> | ||
194 | <div·class="ttc"·id="aa01149_html_a4801ba3ea81294d3e7e3da970863896e"><div·class="ttname"><a·href="a01149.html#a4801ba3ea81294d3e7e3da970863896e">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLVertexBuffer::~CLVertexBuffer</a></div><div·class="ttdeci">~CLVertexBuffer()</div><div·class="ttdoc">Destructor.</div></div> | ||
195 | <div·class="ttc"·id="aa01149_html_a48e2b665b557d5f3f838bc552152160b"><div·class="ttname"><a·href="a01149.html#a48e2b665b557d5f3f838bc552152160b">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLVertexBuffer::CLVertexBuffer</a></div><div·class="ttdeci">CLVertexBuffer(int·numElements,·int·numVertices,·cl_context·clContext)</div><div·class="ttdoc">Constructor.</div></div> | ||
196 | <div·class="ttc"·id="aa01149_html_a7259d1296f30e13d171cd892708d8d0a"><div·class="ttname"><a·href="a01149.html#a7259d1296f30e13d171cd892708d8d0a">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLVertexBuffer::UpdateData</a></div><div·class="ttdeci">void·UpdateData(const·float·*src,·int·startVertex,·int·numVertices,·cl_command_queue·clQueue,·cl_event·*startEvents=NULL,·unsigned·int·numStartEvents=0,·cl_event·*endEvent=NULL)</div></div> | ||
197 | <div·class="ttc"·id="aa01149_html_a77cee40767fd4936f20a8f9d9d9ea625"><div·class="ttname"><a·href="a01149.html#a77cee40767fd4936f20a8f9d9d9ea625">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLVertexBuffer::GetNumElements</a></div><div·class="ttdeci">int·GetNumElements()·const</div><div·class="ttdoc">Returns·how·many·elements·defined·in·this·vertex·buffer.</div></div> | ||
198 | <div·class="ttc"·id="aa01149_html_a7ff15d15ad0fe31e5cb9a1e6c19f09b0"><div·class="ttname"><a·href="a01149.html#a7ff15d15ad0fe31e5cb9a1e6c19f09b0">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLVertexBuffer::allocate</a></div><div·class="ttdeci">bool·allocate(cl_context·clContext)</div></div> | ||
199 | <div·class="ttc"·id="aa01149_html_aaf4a32b8a414eff77000c584c2015cb7"><div·class="ttname"><a·href="a01149.html#aaf4a32b8a414eff77000c584c2015cb7">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLVertexBuffer::GetNumVertices</a></div><div·class="ttdeci">int·GetNumVertices()·const</div><div·class="ttdoc">Returns·how·many·vertices·allocated·in·this·vertex·buffer.</div></div> | ||
200 | <div·class="ttc"·id="aa01149_html_ac5f331ad354f94f90a08a928f7f57bba"><div·class="ttname"><a·href="a01149.html#ac5f331ad354f94f90a08a928f7f57bba">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLVertexBuffer::Create</a></div><div·class="ttdeci">static·CLVertexBuffer·*·Create(int·numElements,·int·numVertices,·cl_context·clContext)</div><div·class="ttdoc">Creator.·Returns·NULL·if·error.</div></div> | ||
201 | <div·class="ttc"·id="aa01149_html_ad1ac8e33d52862dac84a2da1483fee51"><div·class="ttname"><a·href="a01149.html#ad1ac8e33d52862dac84a2da1483fee51">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLVertexBuffer::Create</a></div><div·class="ttdeci">static·CLVertexBuffer·*·Create(int·numElements,·int·numVertices,·DEVICE_CONTEXT·context)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00797_source.html#l00049">clVertexBuffer.h:49</a></div></div> | ||
202 | <div·class="ttc"·id="aa01149_html_ad9c25d5b96f9d5e971f677d32b406ec6"><div·class="ttname"><a·href="a01149.html#ad9c25d5b96f9d5e971f677d32b406ec6">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLVertexBuffer::BindCLBuffer</a></div><div·class="ttdeci">cl_mem·BindCLBuffer(cl_command_queue·queue)</div><div·class="ttdoc">Returns·the·CL·memory·object.</div></div> | ||
Max diff block lines reached; 953/22483 bytes (4.24%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | 5 | clVertexBuffer.h | |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·201 | 8 | 2//·Copyright·2013·Pixar |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: | 13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: |
14 | 8// | 14 | 8// |
15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade | 15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade |
Offset 24, 25 lines modified | Offset 24, 114 lines modified | ||
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24 | 30 | 24 |
31 | 25#ifndef·OPENSUBDIV3_OSD_ | 31 | 25#ifndef·OPENSUBDIV3_OSD_CL_VERTEX_BUFFER_H |
32 | 26#define·OPENSUBDIV3_OSD_ | 32 | 26#define·OPENSUBDIV3_OSD_CL_VERTEX_BUFFER_H |
33 | 27 | 33 | 27 |
34 | 28#if·defined(OPENSUBDIV_HAS_CLEW) | ||
35 | 29#·include·<clew.h> | ||
36 | 30#else | ||
37 | 31#·if·defined(__APPLE__) | ||
38 | 32#·include·<OpenCL/opencl.h> | ||
39 | 33#·else | ||
40 | 34#·include·<CL/opencl.h> | ||
41 | 35#·endif | ||
42 | 36#endif | ||
43 | 34 | 28#include·"../version.h" | |
35 | 29#include·"../osd/opencl.h" | ||
36 | 30 | ||
37 | 31namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ | ||
38 | 32namespace·OPENSUBDIV_VERSION·{ | ||
39 | 33 | ||
40 | 34namespace·Osd·{ | ||
41 | 35 | ||
42 | _\x84_\x82class·_\x8C_\x8L_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r·{ | ||
43 | 43 | ||
44 | 44public: | ||
45 | _\x84_\x86·static·_\x8C_\x8L_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r·*·_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(int·numElements,·int·numVertices,·cl_context | ||
46 | clContext); | ||
47 | 47 | ||
48 | 48·template·<typename·DEVICE_CONTEXT> | ||
49 | _\x84_\x89·static·_\x8C_\x8L_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r·*·_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(int·numElements,·int·numVertices, | ||
50 | 50·DEVICE_CONTEXT·context)·{ | ||
51 | 51·return·_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(numElements,·numVertices,·context->GetContext()); | ||
52 | 52·} | ||
53 | 53 | ||
54 | _\x85_\x85·_\x8~_\x8C_\x8L_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r(); | ||
55 | 56 | ||
56 | _\x85_\x89·void·_\x8U_\x8p_\x8d_\x8a_\x8t_\x8e_\x8D_\x8a_\x8t_\x8a(const·float·*src,·int·startVertex,·int·numVertices, | ||
57 | cl_command_queue·clQueue, | ||
58 | 60·cl_event*·startEvents·=·NULL,·unsigned·int·numStartEvents·=·0,·cl_event* | ||
59 | endEvent·=·NULL); | ||
60 | 61 | ||
61 | 62·template<typename·DEVICE_CONTEXT> | ||
62 | _\x86_\x83·void·_\x8U_\x8p_\x8d_\x8a_\x8t_\x8e_\x8D_\x8a_\x8t_\x8a(const·float·*src,·int·startVertex,·int·numVertices, | ||
63 | 64·DEVICE_CONTEXT·context, | ||
64 | 65·cl_event*·startEvents·=·NULL,·unsigned·int·numStartEvents·=·0,·cl_event* | ||
65 | endEvent·=·NULL)·{ | ||
66 | 66·_\x8U_\x8p_\x8d_\x8a_\x8t_\x8e_\x8D_\x8a_\x8t_\x8a(src,·startVertex,·numVertices,·context->GetCommandQueue(), | ||
67 | startEvents,·numStartEvents,·endEvent); | ||
68 | 67·} | ||
69 | 68 | ||
70 | _\x87_\x80·int·_\x8G_\x8e_\x8t_\x8N_\x8u_\x8m_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8s()·const; | ||
71 | 71 | ||
72 | _\x87_\x83·int·_\x8G_\x8e_\x8t_\x8N_\x8u_\x8m_\x8V_\x8e_\x8r_\x8t_\x8i_\x8c_\x8e_\x8s()·const; | ||
73 | 74 | ||
74 | _\x87_\x86·cl_mem·_\x8B_\x8i_\x8n_\x8d_\x8C_\x8L_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r(cl_command_queue·queue); | ||
75 | 77 | ||
76 | 78protected: | ||
77 | _\x88_\x80·_\x8C_\x8L_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r(int·numElements,·int·numVertices,·cl_context·clContext); | ||
78 | 81 | ||
79 | _\x88_\x84·bool·_\x8a_\x8l_\x8l_\x8o_\x8c_\x8a_\x8t_\x8e(cl_context·clContext); | ||
80 | 85 | ||
81 | 86private: | ||
82 | 87·int·_numElements; | ||
83 | 88·int·_numVertices; | ||
84 | 89·cl_mem·_clMemory; | ||
85 | 90}; | ||
86 | 91 | ||
87 | 92}·//·end·namespace·Osd | ||
88 | 93 | ||
89 | 94}·//·end·namespace·OPENSUBDIV_VERSION | ||
90 | 95using·namespace·OPENSUBDIV_VERSION; | ||
91 | 96 | ||
92 | 97}·//·end·namespace·OpenSubdiv | ||
93 | 98 | ||
44 | 94 | 99#endif·//·OPENSUBDIV3_OSD_CL_VERTEX_BUFFER_H | |
95 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | ||
96 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8l_\x8i_\x8m_\x8i_\x8t_\x8s_\x8._\x8h_\x8:_\x83_\x82 | ||
97 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8C_\x8L_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r | ||
98 | Concrete·vertex·buffer·class·for·OpenCL·subdivision. | ||
99 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8c_\x8l_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8._\x8h_\x8:_\x84_\x82 | ||
100 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8C_\x8L_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8:_\x8:_\x8U_\x8p_\x8d_\x8a_\x8t_\x8e_\x8D_\x8a_\x8t_\x8a | ||
101 | void·UpdateData(const·float·*src,·int·startVertex,·int·numVertices, | ||
102 | DEVICE_CONTEXT·context,·cl_event·*startEvents=NULL,·unsigned·int | ||
103 | numStartEvents=0,·cl_event·*endEvent=NULL) | ||
104 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8c_\x8l_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8._\x8h_\x8:_\x86_\x83 | ||
105 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8C_\x8L_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8:_\x8:_\x8~_\x8C_\x8L_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r | ||
106 | ~CLVertexBuffer() | ||
107 | Destructor. | ||
108 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8C_\x8L_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8:_\x8:_\x8C_\x8L_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r | ||
109 | CLVertexBuffer(int·numElements,·int·numVertices,·cl_context·clContext) | ||
110 | Constructor. | ||
111 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8C_\x8L_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8:_\x8:_\x8U_\x8p_\x8d_\x8a_\x8t_\x8e_\x8D_\x8a_\x8t_\x8a | ||
112 | void·UpdateData(const·float·*src,·int·startVertex,·int·numVertices, | ||
113 | cl_command_queue·clQueue,·cl_event·*startEvents=NULL,·unsigned·int | ||
114 | numStartEvents=0,·cl_event·*endEvent=NULL) | ||
115 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8C_\x8L_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8:_\x8:_\x8G_\x8e_\x8t_\x8N_\x8u_\x8m_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8s | ||
116 | int·GetNumElements()·const | ||
117 | Returns·how·many·elements·defined·in·this·vertex·buffer. | ||
118 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8C_\x8L_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8:_\x8:_\x8a_\x8l_\x8l_\x8o_\x8c_\x8a_\x8t_\x8e | ||
119 | bool·allocate(cl_context·clContext) | ||
120 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8C_\x8L_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8:_\x8:_\x8G_\x8e_\x8t_\x8N_\x8u_\x8m_\x8V_\x8e_\x8r_\x8t_\x8i_\x8c_\x8e_\x8s | ||
121 | int·GetNumVertices()·const | ||
122 | Returns·how·many·vertices·allocated·in·this·vertex·buffer. | ||
123 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8C_\x8L_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8:_\x8:_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e | ||
124 | static·CLVertexBuffer·*·Create(int·numElements,·int·numVertices,·cl_context | ||
125 | clContext) | ||
Max diff block lines reached; 201/7222 bytes (2.78%) of diff not shown. |
Offset 94, 15 lines modified | Offset 94, 15 lines modified | ||
94 | ··<div·class="summary"> | 94 | ··<div·class="summary"> |
95 | <a·href="#nested-classes">Classes</a>·| | 95 | <a·href="#nested-classes">Classes</a>·| |
96 | <a·href="#namespaces">Namespaces</a>··</div> | 96 | <a·href="#namespaces">Namespaces</a>··</div> |
97 | ··<div·class="headertitle"><div·class="title">clPatchTable.h·File·Reference</div></div> | 97 | ··<div·class="headertitle"><div·class="title">clPatchTable.h·File·Reference</div></div> |
98 | </div><!--header--> | 98 | </div><!--header--> |
99 | <div·class="contents"> | 99 | <div·class="contents"> |
100 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 100 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
101 | <code>#include·"<a·class="el"·href="a0079 | 101 | <code>#include·"<a·class="el"·href="a00791_source.html">../osd/opencl.h</a>"</code><br·/> |
102 | <code>#include·"../osd/nonCopyable.h"</code><br·/> | 102 | <code>#include·"../osd/nonCopyable.h"</code><br·/> |
103 | <code>#include·"<a·class="el"·href="a01481_source.html">../osd/types.h</a>"</code><br·/> | 103 | <code>#include·"<a·class="el"·href="a01481_source.html">../osd/types.h</a>"</code><br·/> |
104 | <code>#include·<vector></code><br·/> | 104 | <code>#include·<vector></code><br·/> |
105 | </div> | 105 | </div> |
106 | <p><a·href="a00800_source.html">Go·to·the·source·code·of·this·file.</a></p> | 106 | <p><a·href="a00800_source.html">Go·to·the·source·code·of·this·file.</a></p> |
107 | <table·class="memberdecls"> | 107 | <table·class="memberdecls"> |
108 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 108 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/ | 8 | <title>OpenSubdiv:·opensubdiv/osd/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 90, 40 lines modified | Offset 90, 47 lines modified | ||
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#nested-classes">Classes</a>·| | 94 | <a·href="#nested-classes">Classes</a>·| |
95 | <a·href="#namespaces">Namespaces</a>··</div> | 95 | <a·href="#namespaces">Namespaces</a>··</div> |
96 | ··<div·class="headertitle"><div·class="title"> | 96 | ··<div·class="headertitle"><div·class="title">clEvaluator.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·& | 100 | <code>#include·"<a·class="el"·href="a00791_source.html">../osd/opencl.h</a>"</code><br·/> |
101 | <code>#include·"<a·class="el"·href="a01481_source.html">../osd/types.h</a>"</code><br·/> | ||
102 | <code>#include·"<a·class="el"·href="a00899_source.html">../osd/bufferDescriptor.h</a>"</code><br·/> | ||
101 | </div> | 103 | </div> |
102 | <p><a·href="a00803_source.html">Go·to·the·source·code·of·this·file.</a></p> | 104 | <p><a·href="a00803_source.html">Go·to·the·source·code·of·this·file.</a></p> |
103 | <table·class="memberdecls"> | 105 | <table·class="memberdecls"> |
104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
105 | Classes</h2></td></tr> | 107 | Classes</h2></td></tr> |
106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01137.html">CLStencilTable</a></td></tr> |
109 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">OpenCL·stencil·table.··<a·href="a01137.html#details">More...</a><br·/></td></tr> | ||
110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
111 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01141.html">CLEvaluator</a></td></tr> | ||
107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
108 | </table><table·class="memberdecls"> | 113 | </table><table·class="memberdecls"> |
109 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 114 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
110 | Namespaces</h2></td></tr> | 115 | Namespaces</h2></td></tr> |
111 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 116 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
113 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 118 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
114 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 119 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
120 | <tr·class="memitem:a00908"·id="r_a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr> | ||
121 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
115 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> | 122 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> |
116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 123 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
117 | </table> | 124 | </table> |
118 | </div><!--·contents·--> | 125 | </div><!--·contents·--> |
119 | </div><!--·doc-content·--> | 126 | </div><!--·doc-content·--> |
120 | <!--·start·footer·part·--> | 127 | <!--·start·footer·part·--> |
121 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 128 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
122 | ··<ul> | 129 | ··<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="a00803.html"> | 130 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00803.html">clEvaluator.h</a></li> |
124 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 131 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
125 | ··</ul> | 132 | ··</ul> |
126 | </div> | 133 | </div> |
127 | </body> | 134 | </body> |
128 | </html> | 135 | </html> |
Offset 1, 23 lines modified | Offset 1, 30 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
6 | 6 | clEvaluator.h·File·Reference | |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include· | 8 | #include·"_.._.._./_.o_.s_.d_./_.o_.p_.e_.n_.c_.l_.._.h" |
9 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" | ||
10 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8._\x8h" | ||
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 11 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 12 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
11 | class· ·_\x8 | 13 | class· ·_\x8C_.L_.S_.t_.e_.n_.c_.i_.l_.T_.a_.b_.l_.e |
14 | ·······OpenCL·stencil·table.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
15 | |||
16 | class· ·_\x8C_\x8L_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r | ||
12 | 17 | ||
13 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 18 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
14 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 19 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
15 | 20 | ||
16 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 21 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
17 | 22 | ||
23 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8F_\x8a_\x8r | ||
24 | |||
18 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d | 25 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d |
19 | 26 | ||
20 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 27 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
21 | ····*·_\x8o_\x8s_\x8d | 28 | ····*·_\x8o_\x8s_\x8d |
22 | ····*·_\x8 | 29 | ····*·_\x8c_.l_.E_.v_.a_.l_.u_.a_.t_.o_.r_\x8._\x8h |
23 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 30 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 3 lines modified | Offset 1, 4 lines modified | ||
1 | var·a00803·=·[ | 1 | var·a00803·=·[ |
2 | ····[" | 2 | ····["CLStencilTable",·"a01137.html",·"a01137"], |
3 | ····["CLEvaluator",·"a01141.html",·"a01141"] | ||
3 | ]; | 4 | ]; |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/ | 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 92, 19 lines modified | Offset 92, 19 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title"> | 98 | ··<div·class="headertitle"><div·class="title">clEvaluator.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <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> | 101 | <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> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·201 | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> | 106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> |
107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> | 107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> |
108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> | 108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> |
109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> | 109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> |
Offset 119, 53 lines modified | Offset 119, 1283 lines modified | ||
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_ | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_CL_EVALUATOR_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_ | 127 | <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> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> | Diff chunk too large, falling back to line-by-line diff (1200 lines added, 26 lines removed) |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·& | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../osd/opencl.h"</span></div> |
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | 132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·"../osd/types.h"</span></div> |
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class=" | 133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·"../osd/bufferDescriptor.h"</span></div> |
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span> | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> |
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span> | 136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span> | 137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | 138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Far·{</div> |
139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword"> | 139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">class·</span>PatchTable;</div> |
140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | 140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keyword">class·</span>StencilTable;</div> |
141 | <div·class=" | 141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">class·</span>LimitStencilTable;</div> |
142 | <div·class="line"><a·id="l0004 | 142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>}</div> |
143 | <div·class="line"><a·id="l0004 | 143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> |
144 | <div·class="line"><a·id="l0004 | 144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">namespace·</span>Osd·{</div> |
145 | <div·class="line"><a·id="l0004 | 145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> |
146 | <div·class=" | 146 | <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="};"> |
147 | </div> | 147 | <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> |
148 | <div·class="line"><a·id="l000 | 148 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">public</span>:</div> |
149 | <div·class="line"><a·id="l000 | 149 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····<span·class="keyword">template</span>·<<span·class="keyword">typename</span>·DEVICE_CONTEXT></div> |
150 | <div·class=" | 150 | <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="}"> |
151 | <div·class="line"><a·id="l000 | 151 | <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_functi[·...·truncated·by·diffoscope;·len:·183,·SHA:·96eb3475fa82b3029d2c68046638bae21c37f29e1e3ca86065be34bf76c27119·...·]</div> |
152 | <div·class="line"><a·id="l000 | 152 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··································DEVICE_CONTEXT·context)·{</div> |
153 | <div·class="line"><a·id="l0005 | 153 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········<span·class="keywordflow">return</span>·<span·class="keyword">new</span>·<a·class="code·hl_class"·href="a01137.html">CLStencilTable</a>(stencilTable,·context->GetContext());</div> |
154 | <div·class="line"><a·id="l0005 | 154 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····}</div> |
155 | < | 155 | </div> |
156 | <div·class="line"><a·id="l0005 | 156 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> |
157 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keyword">template</span>·<<span·class="keyword">typename</span>·DEVICE_CONTEXT></div> | ||
158 | <div·class="foldopen"·id="foldopen00061"·data-start="{"·data-end="}"> | ||
159 | <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> | ||
160 | <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> | ||
161 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········DEVICE_CONTEXT·context)·{</div> | ||
162 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>········<span·class="keywordflow">return</span>·<span·class="keyword">new</span>·<a·class="code·hl_class"·href="a01137.html">CLStencilTable</a>(limitStencilTable,·context->GetContext());</div> | ||
163 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····}</div> | ||
164 | </div> | ||
165 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> | ||
166 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="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> | ||
167 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>···················cl_context·clContext);</div> | ||
168 | <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> | ||
169 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>···················cl_context·clContext);</div> | ||
170 | <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> | ||
171 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> | ||
172 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="comment">//·interfaces·needed·for·CLComputeKernel</span></div> | ||
173 | <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> | ||
174 | <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> | ||
175 | <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> | ||
176 | <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> | ||
177 | <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> | ||
178 | <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> | ||
179 | <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> | ||
180 | <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> | ||
181 | <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> | ||
182 | <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> | ||
183 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> | ||
184 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span><span·class="keyword">private</span>:</div> | ||
185 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····cl_mem·_sizes;</div> | ||
186 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····cl_mem·_offsets;</div> | ||
187 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····cl_mem·_indices;</div> | ||
188 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····cl_mem·_weights;</div> | ||
189 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····cl_mem·_duWeights;</div> | ||
190 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····cl_mem·_dvWeights;</div> | ||
191 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····cl_mem·_duuWeights;</div> | ||
192 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····cl_mem·_duvWeights;</div> | ||
193 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····cl_mem·_dvvWeights;</div> | ||
194 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>····<span·class="keywordtype">int</span>·_numStencils;</div> | ||
195 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>};</div> | ||
196 | </div> | ||
197 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> | ||
198 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span><span·class="comment">//·---------------------------------------------------------------------------</span></div> | ||
199 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> | ||
200 | <div·class="foldopen"·id="foldopen00100"·data-start="{"·data-end="};"> | ||
201 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a01141.html">··100</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01141.html">CLEvaluator</a>·{</div> | ||
202 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span><span·class="keyword">public</span>:</div> | ||
203 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno"><a·class="line"·href="a01141.html#a2c24b70c9312d8dff3fecb9ddea52c44">··102</a></span>····<span·class="keyword">typedef</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_typedef"·href="a01141.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a>;</div> | ||
204 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div> | ||
205 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>····<span·class="keyword">template</span>·<<span·class="keyword">typename</span>·DEVICE_CONTEXT></div> | ||
206 | <div·class="foldopen"·id="foldopen00106"·data-start="{"·data-end="}"> | ||
207 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno"><a·class="line"·href="a01141.html#a3a2faa1170cedd851fea7266e0ff7eda">··106</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01141.html">CLEvaluator</a>·*<a·class="code·hl_function"·href="a01141.html#a3a2faa1170cedd851fea7266e0ff7eda">Create</a>(<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&srcDesc,</div> | ||
208 | <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>·&dstDesc,</div> | ||
Max diff block lines reached; 40884/254942 bytes (16.04%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | 5 | clEvaluator.h | |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·201 | 8 | 2//·Copyright·2015·Pixar |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: | 13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: |
14 | 8// | 14 | 8// |
15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade | 15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade |
Offset 24, 50 lines modified | Offset 24, 1553 lines modified | ||
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24 | 30 | 24 |
31 | 25#ifndef·OPENSUBDIV3_OSD_ | 31 | 25#ifndef·OPENSUBDIV3_OSD_CL_EVALUATOR_H |
32 | 26#define·OPENSUBDIV3_OSD_ | 32 | 26#define·OPENSUBDIV3_OSD_CL_EVALUATOR_H |
33 | 27 | 33 | 27 |
34 | 28#include·"../version.h" | 34 | 28#include·"../version.h" | Diff chunk too large, falling back to line-by-line diff (1135 lines added, 24 lines removed) |
35 | 29 | 35 | 29 |
36 | 30#include· | 36 | 30#include·"../osd/opencl.h" |
37 | 31 | 37 | 31#include·"../osd/types.h" |
38 | 32 | 38 | 32#include·"../osd/bufferDescriptor.h" |
39 | 33 | 39 | 33 |
40 | 34 | 40 | 34namespace·_.O_.p_.e_.n_.S_.u_.b_.d_.i_.v·{ |
41 | 35namespace· | 41 | 35namespace·OPENSUBDIV_VERSION·{ |
42 | 36 | 42 | 36 |
43 | 37 | 43 | 37namespace·Far·{ |
44 | 38 | 44 | 38·class·PatchTable; |
45 | 39 | 45 | 39·class·StencilTable; |
46 | 46 | 40·class·LimitStencilTable; | |
47 | 41 | 47 | 41} |
48 | 48 | 42 | |
49 | 49 | 43namespace·Osd·{ | |
50 | 44 | 50 | 44 |
51 | 51 | _.5_.2class·_.C_.L_.S_.t_.e_.n_.c_.i_.l_.T_.a_.b_.l_.e·{ | |
52 | 52 | 53public: | |
53 | 4 | 53 | 54·template·<typename·DEVICE_CONTEXT> |
54 | 54 | _.5_.5·static·_.C_.L_.S_.t_.e_.n_.c_.i_.l_.T_.a_.b_.l_.e·*_.C_.r_.e_.a_.t_.e(_.F_.a_.r_.:_.:_.S_.t_.e_.n_.c_.i_.l_.T_.a_.b_.l_.e·const·*stencilTable, | |
55 | 55 | 56·DEVICE_CONTEXT·context)·{ | |
56 | 5 | 56 | 57·return·new·_.C_.L_.S_.t_.e_.n_.c_.i_.l_.T_.a_.b_.l_.e(stencilTable,·context->GetContext()); |
57 | 5 | 57 | 58·} |
58 | 5 | 58 | 59 |
59 | 59 | 60·template·<typename·DEVICE_CONTEXT> | |
60 | _\x86_\x81·static·_\x8C_\x8L_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·*_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e( | ||
61 | 62·_\x8F_\x8a_\x8r_\x8:_\x8:_\x8L_\x8i_\x8m_\x8i_\x8t_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·const·*limitStencilTable, | ||
62 | 63·DEVICE_CONTEXT·context)·{ | ||
63 | 64·return·new·_\x8C_\x8L_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e(limitStencilTable,·context->GetContext()); | ||
64 | 65·} | ||
65 | 66 | ||
66 | _\x86_\x87·_\x8C_\x8L_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·const·*stencilTable, | ||
67 | 68·cl_context·clContext); | ||
68 | _\x86_\x89·_\x8C_\x8L_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8L_\x8i_\x8m_\x8i_\x8t_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·const·*limitStencilTable, | ||
69 | 70·cl_context·clContext); | ||
70 | _\x87_\x81·_\x8~_\x8C_\x8L_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e(); | ||
71 | 72 | ||
72 | 73·//·interfaces·needed·for·CLComputeKernel | ||
73 | _\x87_\x84·cl_mem·_\x8G_\x8e_\x8t_\x8S_\x8i_\x8z_\x8e_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_sizes;·} | ||
74 | _\x87_\x85·cl_mem·_\x8G_\x8e_\x8t_\x8O_\x8f_\x8f_\x8s_\x8e_\x8t_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_offsets;·} | ||
75 | _\x87_\x86·cl_mem·_\x8G_\x8e_\x8t_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_indices;·} | ||
76 | _\x87_\x87·cl_mem·_\x8G_\x8e_\x8t_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_weights;·} | ||
77 | _\x87_\x88·cl_mem·_\x8G_\x8e_\x8t_\x8D_\x8u_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_duWeights;·} | ||
78 | _\x87_\x89·cl_mem·_\x8G_\x8e_\x8t_\x8D_\x8v_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_dvWeights;·} | ||
79 | _\x88_\x80·cl_mem·_\x8G_\x8e_\x8t_\x8D_\x8u_\x8u_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_duuWeights;·} | ||
80 | _\x88_\x81·cl_mem·_\x8G_\x8e_\x8t_\x8D_\x8u_\x8v_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_duvWeights;·} | ||
81 | _\x88_\x82·cl_mem·_\x8G_\x8e_\x8t_\x8D_\x8v_\x8v_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_dvvWeights;·} | ||
82 | _\x88_\x83·int·_\x8G_\x8e_\x8t_\x8N_\x8u_\x8m_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s()·const·{·return·_numStencils;·} | ||
83 | 84 | ||
84 | 85private: | ||
85 | 86·cl_mem·_sizes; | ||
86 | 87·cl_mem·_offsets; | ||
87 | 88·cl_mem·_indices; | ||
88 | 89·cl_mem·_weights; | ||
89 | 90·cl_mem·_duWeights; | ||
90 | 91·cl_mem·_dvWeights; | ||
91 | 92·cl_mem·_duuWeights; | ||
92 | 93·cl_mem·_duvWeights; | ||
93 | 94·cl_mem·_dvvWeights; | ||
94 | 95·int·_numStencils; | ||
95 | 96}; | ||
96 | 97 | ||
97 | 98//·-------------------------------------------------------------------------- | ||
98 | - | ||
99 | 99 | ||
100 | _\x81_\x80_\x80class·_\x8C_\x8L_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r·{ | ||
101 | 101public: | ||
102 | _\x81_\x80_\x82·typedef·bool·_\x8I_\x8n_\x8s_\x8t_\x8a_\x8n_\x8t_\x8i_\x8a_\x8t_\x8a_\x8b_\x8l_\x8e; | ||
103 | 103 | ||
104 | 105·template·<typename·DEVICE_CONTEXT> | ||
105 | _\x81_\x80_\x86·static·_\x8C_\x8L_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r·*_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, | ||
106 | 107·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, | ||
107 | 108·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&duDesc, | ||
108 | 109·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dvDesc, | ||
109 | 110·DEVICE_CONTEXT·deviceContext)·{ | ||
110 | 111·return·_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(srcDesc,·dstDesc,·duDesc,·dvDesc, | ||
111 | 112·deviceContext->GetContext(), | ||
112 | 113·deviceContext->GetCommandQueue()); | ||
113 | 114·} | ||
114 | 115 | ||
115 | _\x81_\x81_\x86·static·_\x8C_\x8L_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r·*·_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, | ||
116 | 117·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, | ||
117 | 118·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&duDesc, | ||
118 | 119·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dvDesc, | ||
119 | 120·cl_context·clContext, | ||
120 | 121·cl_command_queue·clCommandQueue)·{ | ||
121 | 122·_\x8C_\x8L_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r·*instance·=·new·_\x8C_\x8L_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r(clContext,·clCommandQueue); | ||
122 | 123·if·(instance->_\x8C_\x8o_\x8m_\x8p_\x8i_\x8l_\x8e(srcDesc,·dstDesc,·duDesc,·dvDesc)) | ||
123 | 124·return·instance; | ||
124 | 125·delete·instance; | ||
125 | 126·return·NULL; | ||
126 | 127·} | ||
127 | 128 | ||
128 | 130·template·<typename·DEVICE_CONTEXT> | ||
129 | _\x81_\x83_\x81·static·_\x8C_\x8L_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r·*_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, | ||
130 | 132·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, | ||
131 | 133·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&duDesc, | ||
132 | 134·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dvDesc, | ||
133 | 135·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&duuDesc, | ||
Max diff block lines reached; 35060/86569 bytes (40.50%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/ | 8 | <title>OpenSubdiv:·opensubdiv/osd/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 90, 47 lines modified | Offset 90, 40 lines modified | ||
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#nested-classes">Classes</a>·| | 94 | <a·href="#nested-classes">Classes</a>·| |
95 | <a·href="#namespaces">Namespaces</a>··</div> | 95 | <a·href="#namespaces">Namespaces</a>··</div> |
96 | ··<div·class="headertitle"><div·class="title"> | 96 | ··<div·class="headertitle"><div·class="title">mtlCommon.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·<cstddef></code><br·/> | ||
100 | <code>#include·"<a·class="el"·href="a00797_source.html">../osd/opencl.h</a>"</code><br·/> | ||
101 | <code>#include·"<a·class="el"·href="a01481_source.html">../osd/types.h</a>"</code><br·/> | ||
102 | <code>#include·"<a·class="el"·href="a00899_source.html">../osd/bufferDescriptor.h</a>"</code><br·/> | ||
103 | </div> | 101 | </div> |
104 | <p><a·href="a00806_source.html">Go·to·the·source·code·of·this·file.</a></p> | 102 | <p><a·href="a00806_source.html">Go·to·the·source·code·of·this·file.</a></p> |
105 | <table·class="memberdecls"> | 103 | <table·class="memberdecls"> |
106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
107 | Classes</h2></td></tr> | 105 | Classes</h2></td></tr> |
108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01277.html">MTLContext</a></td></tr> |
109 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">OpenCL·stencil·table.··<a·href="a01137.html#details">More...</a><br·/></td></tr> | ||
110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
111 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01141.html">CLEvaluator</a></td></tr> | ||
112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
113 | </table><table·class="memberdecls"> | 108 | </table><table·class="memberdecls"> |
114 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 109 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
115 | Namespaces</h2></td></tr> | 110 | Namespaces</h2></td></tr> |
116 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 111 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
118 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 113 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
119 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 114 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
120 | <tr·class="memitem:a00908"·id="r_a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr> | ||
121 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
122 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> | 115 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> |
123 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
124 | </table> | 117 | </table> |
125 | </div><!--·contents·--> | 118 | </div><!--·contents·--> |
126 | </div><!--·doc-content·--> | 119 | </div><!--·doc-content·--> |
127 | <!--·start·footer·part·--> | 120 | <!--·start·footer·part·--> |
128 | <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!·--> |
129 | ··<ul> | 122 | ··<ul> |
130 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00806.html"> | 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="a00806.html">mtlCommon.h</a></li> |
131 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 124 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
132 | ··</ul> | 125 | ··</ul> |
133 | </div> | 126 | </div> |
134 | </body> | 127 | </body> |
135 | </html> | 128 | </html> |
Offset 1, 30 lines modified | Offset 1, 23 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
6 | 6 | mtlCommon.h·File·Reference | |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·<cstddef> | ||
8 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8o_\x8p_\x8e_\x8n_\x8c_\x8l_\x8._\x8h" | ||
9 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" | ||
10 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8._\x8h" | ||
11 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
12 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 10 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
11 | class· ·_\x8M_\x8T_\x8L_\x8C_\x8o_\x8n_\x8t_\x8e_\x8x_\x8t | ||
13 | class· ·_\x8C_\x8L_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e | ||
14 | ·······OpenCL·stencil·table.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
15 | |||
16 | class· ·_\x8C_\x8L_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r | ||
17 | 12 | ||
18 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 13 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
19 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 14 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
20 | 15 | ||
21 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 16 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
22 | 17 | ||
23 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8F_\x8a_\x8r | ||
24 | |||
25 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d | 18 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d |
26 | 19 | ||
27 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 20 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
28 | ····*·_\x8o_\x8s_\x8d | 21 | ····*·_\x8o_\x8s_\x8d |
29 | ····*·_\x8 | 22 | ····*·_\x8m_.t_.l_.C_.o_.m_.m_.o_.n_\x8._\x8h |
30 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 23 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 4 lines modified | Offset 1, 3 lines modified | ||
1 | var·a00806·=·[ | 1 | var·a00806·=·[ |
2 | ····["MTLContext",·"a01277.html",·"a01277"] | ||
2 | ····["CLStencilTable",·"a01137.html",·"a01137"], | ||
3 | ····["CLEvaluator",·"a01141.html",·"a01141"] | ||
4 | ]; | 3 | ]; |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/ | 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 92, 19 lines modified | Offset 92, 19 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title"> | 98 | ··<div·class="headertitle"><div·class="title">mtlCommon.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <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> | 101 | <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> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·201 | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> | 106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> |
107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> | 107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> |
108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> | 108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> |
109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> | 109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> |
Offset 119, 1283 lines modified | Offset 119, 53 lines modified | ||
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_ | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_MTL_COMMON_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_ | 127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_MTL_COMMON_H</span></div> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> | Diff chunk too large, falling back to line-by-line diff (26 lines added, 1200 lines removed) |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·& | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·<cstddef></span></div> |
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span> | 132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class=" | 133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">@protocol·</span>MTLDevice;</div> |
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">@protocol·</span>MTLCommandQueue;</div> |
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span> | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span> | 136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> |
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | 137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span> | 138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> |
139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span> | 139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">namespace·</span>Osd·{</div> |
140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>· | 140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
141 | <div·class=" | 141 | <div·class="foldopen"·id="foldopen00040"·data-start="{"·data-end="};"> |
142 | <div·class="line"><a·id="l0004 | 142 | <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> |
143 | <div·class="line"><a·id="l0004 | 143 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">public</span>:</div> |
144 | <div·class="line"><a·id="l0004 | 144 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a01277.html#a7d70f5acf4efd89092645b4c44e480cf">···42</a></span>········id<MTLDevice>·<a·class="code·hl_variable"·href="a01277.html#a7d70f5acf4efd89092645b4c44e480cf">device</a>·=·<span·c[·...·truncated·by·diffoscope;·len:·30,·SHA:·77420bf1bff6e31bb8d7cae4b67fdbab8253b05b5853d46dacfdbddd43db33a4·...·]</div> |
145 | <div·class="line"><a·id="l0004 | 145 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01277.html#a66809eb79c7e79a491fd8c889465166b">···43</a></span>········id<MTLCommandQueue>·<a·class="code·hl_variable"·href="a01277.html#a66809eb79c7e79a491fd8c889465166b">commandQueue</[·...·truncated·by·diffoscope;·len:·42,·SHA:·9f848c65ef3cc17647ac06a0bab053a1dd0b214efb3b1f7fb115b05eee007e14·...·]</div> |
146 | <div·class=" | 146 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>};</div> |
147 | < | 147 | </div> |
148 | <div·class="line"><a·id="l000 | 148 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> |
149 | <div·class="line"><a·id="l000 | 149 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>}·<span·class="comment">//·end·namespace·Osd</span></div> |
150 | <div·class=" | 150 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> |
151 | <div·class="line"><a·id="l000 | 151 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>}·<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> |
152 | <div·class="line"><a·id="l000 | 152 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> |
153 | <div·class="line"><a·id="l0005 | 153 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> |
154 | <div·class="line"><a·id="l0005 | 154 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>}·<span·class="comment">//·end·namespace·OpenSubdiv</span></div> |
155 | </div> | 155 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> |
156 | <div·class="line"><a·id="l0005 | 156 | <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> |
157 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keyword">template</span>·<<span·class="keyword">typename</span>·DEVICE_CONTEXT></div> | ||
158 | <div·class="foldopen"·id="foldopen00061"·data-start="{"·data-end="}"> | ||
159 | <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> | ||
160 | <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> | ||
161 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········DEVICE_CONTEXT·context)·{</div> | ||
162 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>········<span·class="keywordflow">return</span>·<span·class="keyword">new</span>·<a·class="code·hl_class"·href="a01137.html">CLStencilTable</a>(limitStencilTable,·context->GetContext());</div> | ||
163 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····}</div> | ||
164 | </div> | ||
165 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> | ||
166 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="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> | ||
167 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>···················cl_context·clContext);</div> | ||
168 | <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> | ||
169 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>···················cl_context·clContext);</div> | ||
170 | <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> | ||
171 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> | ||
172 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="comment">//·interfaces·needed·for·CLComputeKernel</span></div> | ||
173 | <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> | ||
174 | <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> | ||
175 | <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> | ||
176 | <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> | ||
177 | <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> | ||
178 | <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> | ||
179 | <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> | ||
180 | <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> | ||
181 | <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> | ||
182 | <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> | ||
183 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> | ||
184 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span><span·class="keyword">private</span>:</div> | ||
185 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····cl_mem·_sizes;</div> | ||
186 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····cl_mem·_offsets;</div> | ||
187 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····cl_mem·_indices;</div> | ||
188 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····cl_mem·_weights;</div> | ||
189 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····cl_mem·_duWeights;</div> | ||
190 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····cl_mem·_dvWeights;</div> | ||
191 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····cl_mem·_duuWeights;</div> | ||
192 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····cl_mem·_duvWeights;</div> | ||
193 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····cl_mem·_dvvWeights;</div> | ||
194 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>····<span·class="keywordtype">int</span>·_numStencils;</div> | ||
195 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>};</div> | ||
196 | </div> | ||
197 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> | ||
198 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span><span·class="comment">//·---------------------------------------------------------------------------</span></div> | ||
199 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> | ||
200 | <div·class="foldopen"·id="foldopen00100"·data-start="{"·data-end="};"> | ||
201 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a01141.html">··100</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01141.html">CLEvaluator</a>·{</div> | ||
202 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span><span·class="keyword">public</span>:</div> | ||
203 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno"><a·class="line"·href="a01141.html#a2c24b70c9312d8dff3fecb9ddea52c44">··102</a></span>····<span·class="keyword">typedef</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_typedef"·href="a01141.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a>;</div> | ||
204 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div> | ||
205 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>····<span·class="keyword">template</span>·<<span·class="keyword">typename</span>·DEVICE_CONTEXT></div> | ||
206 | <div·class="foldopen"·id="foldopen00106"·data-start="{"·data-end="}"> | ||
207 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno"><a·class="line"·href="a01141.html#a3a2faa1170cedd851fea7266e0ff7eda">··106</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01141.html">CLEvaluator</a>·*<a·class="code·hl_function"·href="a01141.html#a3a2faa1170cedd851fea7266e0ff7eda">Create</a>(<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&srcDesc,</div> | ||
208 | <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>·&dstDesc,</div> | ||
Max diff block lines reached; 40884/254942 bytes (16.04%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | 5 | mtlCommon.h | |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·201 | 8 | 2//·Copyright·2013·Pixar |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: | 13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: |
14 | 8// | 14 | 8// |
15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade | 15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade |
Offset 24, 1553 lines modified | Offset 24, 50 lines modified | ||
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24 | 30 | 24 |
31 | 25#ifndef·OPENSUBDIV3_OSD_ | 31 | 25#ifndef·OPENSUBDIV3_OSD_MTL_COMMON_H |
32 | 26#define·OPENSUBDIV3_OSD_ | 32 | 26#define·OPENSUBDIV3_OSD_MTL_COMMON_H |
33 | 27 | 33 | 27 |
34 | 28#include·"../version.h" | 34 | 28#include·"../version.h" | Diff chunk too large, falling back to line-by-line diff (24 lines added, 1135 lines removed) |
35 | 29 | 35 | 29 |
36 | 30#include· | 36 | 30#include·<cstddef> |
37 | 31 | 37 | 31 |
38 | 32 | 38 | 32@protocol·MTLDevice; |
39 | 33 | 39 | 33@protocol·MTLCommandQueue; |
40 | 34 | 40 | 34 |
41 | 35namespace·O | 41 | 35namespace·_.O_.p_.e_.n_.S_.u_.b_.d_.i_.v·{ |
42 | 36 | 42 | 36namespace·OPENSUBDIV_VERSION·{ |
43 | 37 | 43 | 37 |
44 | 38 | 44 | 38namespace·Osd·{ |
45 | 39 | 45 | 39 |
46 | 4 | 46 | _.4_.0class·_.M_.T_.L_.C_.o_.n_.t_.e_.x_.t·{ |
47 | 41 | 47 | 41public: |
48 | 42 | 48 | _.4_.2·id<MTLDevice>·_.d_.e_.v_.i_.c_.e·=·nullptr; |
49 | 43na | 49 | _.4_.3·id<MTLCommandQueue>·_.c_.o_.m_.m_.a_.n_.d_.Q_.u_.e_.u_.e·=·nullptr; |
50 | 44 | 50 | 44}; |
51 | 51 | 45 | |
52 | 52 | 46}·//·end·namespace·Osd | |
53 | 53 | 47 | |
54 | 54 | 48}·//·end·namespace·OPENSUBDIV_VERSION | |
55 | 55 | 49using·namespace·OPENSUBDIV_VERSION; | |
56 | 5 | 56 | 50 |
57 | 5 | 57 | 51}·//·end·namespace·OpenSubdiv |
58 | 5 | 58 | 52 |
59 | 59 | 53#endif·//OPENSUBDIV3_OSD_MTL_COMMON_H | |
60 | _\x86_\x81·static·_\x8C_\x8L_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·*_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e( | ||
61 | 62·_\x8F_\x8a_\x8r_\x8:_\x8:_\x8L_\x8i_\x8m_\x8i_\x8t_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·const·*limitStencilTable, | ||
62 | 63·DEVICE_CONTEXT·context)·{ | ||
63 | 64·return·new·_\x8C_\x8L_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e(limitStencilTable,·context->GetContext()); | ||
64 | 65·} | ||
65 | 66 | ||
66 | _\x86_\x87·_\x8C_\x8L_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·const·*stencilTable, | ||
67 | 68·cl_context·clContext); | ||
68 | _\x86_\x89·_\x8C_\x8L_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8L_\x8i_\x8m_\x8i_\x8t_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·const·*limitStencilTable, | ||
69 | 70·cl_context·clContext); | ||
70 | _\x87_\x81·_\x8~_\x8C_\x8L_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e(); | ||
71 | 72 | ||
72 | 73·//·interfaces·needed·for·CLComputeKernel | ||
73 | _\x87_\x84·cl_mem·_\x8G_\x8e_\x8t_\x8S_\x8i_\x8z_\x8e_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_sizes;·} | ||
74 | _\x87_\x85·cl_mem·_\x8G_\x8e_\x8t_\x8O_\x8f_\x8f_\x8s_\x8e_\x8t_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_offsets;·} | ||
75 | _\x87_\x86·cl_mem·_\x8G_\x8e_\x8t_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_indices;·} | ||
76 | _\x87_\x87·cl_mem·_\x8G_\x8e_\x8t_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_weights;·} | ||
77 | _\x87_\x88·cl_mem·_\x8G_\x8e_\x8t_\x8D_\x8u_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_duWeights;·} | ||
78 | _\x87_\x89·cl_mem·_\x8G_\x8e_\x8t_\x8D_\x8v_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_dvWeights;·} | ||
79 | _\x88_\x80·cl_mem·_\x8G_\x8e_\x8t_\x8D_\x8u_\x8u_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_duuWeights;·} | ||
80 | _\x88_\x81·cl_mem·_\x8G_\x8e_\x8t_\x8D_\x8u_\x8v_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_duvWeights;·} | ||
81 | _\x88_\x82·cl_mem·_\x8G_\x8e_\x8t_\x8D_\x8v_\x8v_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_dvvWeights;·} | ||
82 | _\x88_\x83·int·_\x8G_\x8e_\x8t_\x8N_\x8u_\x8m_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s()·const·{·return·_numStencils;·} | ||
83 | 84 | ||
84 | 85private: | ||
85 | 86·cl_mem·_sizes; | ||
86 | 87·cl_mem·_offsets; | ||
87 | 88·cl_mem·_indices; | ||
88 | 89·cl_mem·_weights; | ||
89 | 90·cl_mem·_duWeights; | ||
90 | 91·cl_mem·_dvWeights; | ||
91 | 92·cl_mem·_duuWeights; | ||
92 | 93·cl_mem·_duvWeights; | ||
93 | 94·cl_mem·_dvvWeights; | ||
94 | 95·int·_numStencils; | ||
95 | 96}; | ||
96 | 97 | ||
97 | 98//·-------------------------------------------------------------------------- | ||
98 | - | ||
99 | 99 | ||
100 | _\x81_\x80_\x80class·_\x8C_\x8L_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r·{ | ||
101 | 101public: | ||
102 | _\x81_\x80_\x82·typedef·bool·_\x8I_\x8n_\x8s_\x8t_\x8a_\x8n_\x8t_\x8i_\x8a_\x8t_\x8a_\x8b_\x8l_\x8e; | ||
103 | 103 | ||
104 | 105·template·<typename·DEVICE_CONTEXT> | ||
105 | _\x81_\x80_\x86·static·_\x8C_\x8L_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r·*_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, | ||
106 | 107·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, | ||
107 | 108·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&duDesc, | ||
108 | 109·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dvDesc, | ||
109 | 110·DEVICE_CONTEXT·deviceContext)·{ | ||
110 | 111·return·_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(srcDesc,·dstDesc,·duDesc,·dvDesc, | ||
111 | 112·deviceContext->GetContext(), | ||
112 | 113·deviceContext->GetCommandQueue()); | ||
113 | 114·} | ||
114 | 115 | ||
115 | _\x81_\x81_\x86·static·_\x8C_\x8L_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r·*·_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, | ||
116 | 117·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, | ||
117 | 118·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&duDesc, | ||
118 | 119·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dvDesc, | ||
119 | 120·cl_context·clContext, | ||
120 | 121·cl_command_queue·clCommandQueue)·{ | ||
121 | 122·_\x8C_\x8L_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r·*instance·=·new·_\x8C_\x8L_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r(clContext,·clCommandQueue); | ||
122 | 123·if·(instance->_\x8C_\x8o_\x8m_\x8p_\x8i_\x8l_\x8e(srcDesc,·dstDesc,·duDesc,·dvDesc)) | ||
123 | 124·return·instance; | ||
124 | 125·delete·instance; | ||
125 | 126·return·NULL; | ||
126 | 127·} | ||
127 | 128 | ||
128 | 130·template·<typename·DEVICE_CONTEXT> | ||
129 | _\x81_\x83_\x81·static·_\x8C_\x8L_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r·*_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, | ||
130 | 132·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, | ||
131 | 133·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&duDesc, | ||
132 | 134·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dvDesc, | ||
133 | 135·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&duuDesc, | ||
Max diff block lines reached; 35060/86569 bytes (40.50%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/mtl | 8 | <title>OpenSubdiv:·opensubdiv/osd/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 88, 43 lines modified | Offset 88, 43 lines modified | ||
88 | </div> | 88 | </div> |
89 | </div> | 89 | </div> |
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#nested-classes">Classes</a>·| | ||
94 | <a·href="#namespaces">Namespaces</a>· | 95 | <a·href="#namespaces">Namespaces</a>··</div> |
95 | <a·href="#typedef-members">Typedefs</a>··</div> | ||
96 | ··<div·class="headertitle"><div·class="title">mtl | 96 | ··<div·class="headertitle"><div·class="title">mtlPatchShaderSource.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code> | 99 | <div·class="textblock"><code>import·"../version.h"</code><br·/> |
100 | <code> | 100 | <code>import·"<a·class="el"·href="a00740_source.html">../far/patchDescriptor.h</a>"</code><br·/> |
101 | <code> | 101 | <code>import·<string></code><br·/> |
102 | </div> | 102 | </div> |
103 | <p><a·href="a00809_source.html">Go·to·the·source·code·of·this·file.</a></p> | 103 | <p><a·href="a00809_source.html">Go·to·the·source·code·of·this·file.</a></p> |
104 | <table·class="memberdecls"> | 104 | <table·class="memberdecls"> |
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
106 | Classes</h2></td></tr> | ||
107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01293.html">MTLPatchShaderSource</a></td></tr> | ||
108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
109 | </table><table·class="memberdecls"> | ||
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 110 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
106 | Namespaces</h2></td></tr> | 111 | Namespaces</h2></td></tr> |
107 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 112 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
109 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 114 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
111 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> | 116 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> |
112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
113 | </table><table·class="memberdecls"> | ||
114 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
115 | Typedefs</h2></td></tr> | ||
116 | <tr·class="memitem:aa41e5b43fe46eeb0f97ff6ebdb1935aa"·id="r_aa41e5b43fe46eeb0f97ff6ebdb1935aa"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01261.html">MeshInterface</a><·<a·class="el"·href="a01297.html">MTLPatchTable</a>·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#aa41e5b43fe46eeb0f97ff6ebdb1935aa">MTLMeshInterface</a></td></tr> | ||
117 | <tr·class="separator:aa41e5b43fe46eeb0f97ff6ebdb1935aa"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
118 | </table> | 118 | </table> |
119 | </div><!--·contents·--> | 119 | </div><!--·contents·--> |
120 | </div><!--·doc-content·--> | 120 | </div><!--·doc-content·--> |
121 | <!--·start·footer·part·--> | 121 | <!--·start·footer·part·--> |
122 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 122 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
123 | ··<ul> | 123 | ··<ul> |
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="a00809.html">mtl | 124 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00809.html">mtlPatchShaderSource.h</a></li> |
125 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 125 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
126 | ··</ul> | 126 | ··</ul> |
127 | </div> | 127 | </div> |
128 | </body> | 128 | </body> |
129 | </html> | 129 | </html> |
Offset 1, 24 lines modified | Offset 1, 24 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8T_\x8y_\x8p_\x8e_\x8d_\x8e_\x8f_\x8s | ||
6 | mtlMesh.h·File·Reference | ||
7 | #include·"../version.h" | ||
8 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8m_\x8e_\x8s_\x8h_\x8._\x8h" | ||
9 | 5 | _.C_.l_.a_.s_.s_.e_.s·|·_.N_.a_.m_.e_.s_.p_.a_.c_.e_.s | |
6 | mtlPatchShaderSource.h·File·Reference | ||
7 | import·"../version.h" | ||
8 | import·"_\x8._\x8._\x8/_\x8f_\x8a_\x8r_\x8/_\x8p_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8._\x8h" | ||
9 | import·<string> | ||
10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
11 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | ||
12 | class· ·_\x8M_\x8T_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e | ||
13 | |||
11 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 14 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
12 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 15 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
13 | 16 | ||
14 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 17 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
15 | 18 | ||
16 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d | 19 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d |
17 | 20 | ||
18 | T\x8Ty\x8yp\x8pe\x8ed\x8de\x8ef\x8fs\x8s | ||
19 | typedef·_\x8M_\x8e_\x8s_\x8h_\x8I_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e<·_\x8M_\x8T_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e·> ·_\x8M_\x8T_\x8L_\x8M_\x8e_\x8s_\x8h_\x8I_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e | ||
20 | |||
21 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 21 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
22 | ····*·_\x8o_\x8s_\x8d | 22 | ····*·_\x8o_\x8s_\x8d |
23 | ····*·_\x8m_\x8t_\x8l_\x8 | 23 | ····*·_\x8m_\x8t_\x8l_\x8P_.a_.t_.c_.h_.S_.h_.a_.d_.e_.r_.S_.o_.u_.r_.c_.e_\x8._\x8h |
24 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 24 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | var·a00809·=·[ | 1 | var·a00809·=·[ |
2 | ····["MTL | 2 | ····["MTLPatchShaderSource",·"a01293.html",·null] |
3 | ]; | 3 | ]; |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/mtl | 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 92, 15 lines modified | Offset 92, 15 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title">mtl | 98 | ··<div·class="headertitle"><div·class="title">mtlPatchShaderSource.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <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> | 101 | <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> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div> | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
Offset 119, 44 lines modified | Offset 119, 74 lines modified | ||
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_MTL_ | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_MTL_PATCH_SHADER_SOURCE_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_MTL_ | 127 | <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> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#i | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#import·"../version.h"</span></div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#i | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#import·"../far/patchDescriptor.h"</span></div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#i | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#import·<string></span></div> |
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | 132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | ||
134 | <div·class="line"><a·id="l0003 | 133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> |
135 | <div·class="line"><a·id="l0003 | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
136 | <div·class="line"><a·id="l0003 | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
137 | <div·class="line"><a·id="l0003 | 136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>Osd·{</div> |
138 | <div·class="line"><a·id="l0003 | 137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a00912.html#aa41e5b43fe46eeb0f97ff6ebdb1935aa">···38</a></span><span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01261.html">MeshInterface<MTLPatchTable></a>·<a·class="code·hl_typedef"·href="a00912.html#aa41e5b43fe46eeb0f97ff6ebdb1935aa">MTLMeshInterface</a>;</div> | ||
140 | <div·class=" | 138 | <div·class="foldopen"·id="foldopen00037"·data-start="{"·data-end="};"> |
139 | <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> | ||
141 | <div·class="line"><a·id="l000 | 140 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">public</span>:</div> |
141 | <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> | ||
142 | <div·class="line"><a·id="l0004 | 142 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> |
143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>}·<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> | ||
144 | <div·class="line"><a·id="l0004 | 143 | <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#ad41c6e1dc4a5cd6ee4f33fc5a8e15d[·...·truncated·by·diffoscope;·len:·35,·SHA:·caadb339d21a279c12201422d2f3db0ebe0a84ecad1b40ab79fe34b406503872·...·];</div> |
144 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | ||
145 | <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="code·hl_enumeration"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type);</div> | ||
145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> | 146 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> |
146 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span> | 147 | <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[·...·truncated·by·diffoscope;·len:·107,·SHA:·173da2b1003f417a333e7cfbb1b49a98f00470a41b6b5f2f0abcdd89ba0e06a2·...·]</div> |
147 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | 148 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> |
149 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><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> | ||
150 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
151 | <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> | ||
152 | <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> | ||
153 | <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> | ||
154 | <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> | ||
155 | <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> | ||
156 | <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> | ||
157 | <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> | ||
158 | <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> | ||
159 | <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> | ||
160 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>};</div> | ||
161 | </div> | ||
162 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | ||
163 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>}··<span·class="comment">//·end·namespace·Osd</span></div> | ||
164 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | ||
165 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>}··<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> | ||
166 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> | ||
167 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····</div> | ||
168 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>}·<span·class="comment">//·end·namespace·OpenSubdiv</span></div> | ||
169 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
148 | <div·class="line"><a·id="l000 | 170 | <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> |
149 | <div·class="ttc"·id="aa00905_html"><div·class="ttname"><a·href="a00905.html">OpenSubdiv</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00698_source.html#l00032">limits.h:32</a></div></div> | 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> |
150 | <div·class="ttc"·id="aa00912_html_aa41e5b43fe46eeb0f97ff6ebdb1935aa"><div·class="ttname"><a·href="a00912.html#aa41e5b43fe46eeb0f97ff6ebdb1935aa">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLMeshInterface</a></div><div·class="ttdeci">MeshInterface<·MTLPatchTable·>·MTLMeshInterface</div><div·class="ttdef"><b>Definition</b>·<a·href="a00809_source.html#l00038">mtlMesh.h:38</a></div></div> | ||
151 | <div·class="ttc"·id="aa0 | 172 | <div·class="ttc"·id="aa00973_html_a1d1cfd8ffb84e947f82999c682b666a7"><div·class="ttname"><a·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor::Type</a></div><div·class="ttdeci">Type</div><div·class="ttdef"><b>Definition</b>·[·...·truncated·by·diffoscope;·len:·55,·SHA:·0a396286e1f4f434198bdc2a82e4de6c857346eb94cf6ce541fa11952fb9afbf·...·]8</a></div></div> |
173 | <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="a00809_source.html#l00037">mtlPatchShaderSource.h:37</a></div></div> | ||
174 | <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> | ||
175 | <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> | ||
176 | <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> | ||
177 | <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> | ||
178 | <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> | ||
179 | <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> | ||
180 | <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> | ||
181 | <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> | ||
152 | </div><!--·fragment·--></div><!--·contents·--> | 182 | </div><!--·fragment·--></div><!--·contents·--> |
153 | </div><!--·doc-content·--> | 183 | </div><!--·doc-content·--> |
154 | <!--·start·footer·part·--> | 184 | <!--·start·footer·part·--> |
155 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 185 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
156 | ··<ul> | 186 | ··<ul> |
157 | ····<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">mtl | 187 | ····<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">mtlPatchShaderSource.h</a></li> |
158 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 188 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
159 | ··</ul> | 189 | ··</ul> |
160 | </div> | 190 | </div> |
161 | </body> | 191 | </body> |
162 | </html> | 192 | </html> |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | mtl | 5 | mtlPatchShaderSource.h |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·2013·Pixar | 8 | 2//·Copyright·2013·Pixar |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
Offset 24, 41 lines modified | Offset 24, 87 lines modified | ||
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24 | 30 | 24 |
31 | 25#ifndef·OPENSUBDIV3_OSD_MTL_ | 31 | 25#ifndef·OPENSUBDIV3_OSD_MTL_PATCH_SHADER_SOURCE_H |
32 | 26#define·OPENSUBDIV3_OSD_MTL_ | 32 | 26#define·OPENSUBDIV3_OSD_MTL_PATCH_SHADER_SOURCE_H |
33 | 27 | 33 | 27 |
34 | 28#i | 34 | 28#import·"../version.h" |
35 | 29#include·"../osd/mesh.h" | ||
36 | 35 | 29#import·"../far/patchDescriptor.h" | |
36 | 30#import·<string> | ||
37 | 31 | 37 | 31 |
38 | 32 | ||
39 | 3 | 38 | 32namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ |
40 | 3 | 39 | 33namespace·OPENSUBDIV_VERSION·{ |
41 | 3 | 40 | 34 |
42 | 3 | 41 | 35namespace·Osd·{ |
43 | 37 | ||
44 | _\x83_\x88typedef·_\x8M_\x8e_\x8s_\x8h_\x8I_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e_\x8<_\x8M_\x8T_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e_\x8>·_\x8M_\x8T_\x8L_\x8M_\x8e_\x8s_\x8h_\x8I_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e; | ||
45 | 39 | ||
46 | 40}·//·end·namespace·Osd | ||
47 | 41 | ||
48 | 42}·//·end·namespace·OPENSUBDIV_VERSION | ||
49 | 42 | 36 | |
43 | _\x83_\x87class·_\x8M_\x8T_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e·{ | ||
44 | 38·public: | ||
45 | _\x83_\x89·static·std::string·_\x8G_\x8e_\x8t_\x8C_\x8o_\x8m_\x8m_\x8o_\x8n_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e(); | ||
46 | 40 | ||
47 | _\x84_\x81·static·std::string·_\x8G_\x8e_\x8t_\x8P_\x8a_\x8t_\x8c_\x8h_\x8B_\x8a_\x8s_\x8i_\x8s_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e(); | ||
48 | 42 | ||
49 | _\x84_\x83·static·std::string·_\x8G_\x8e_\x8t_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8T_\x8y_\x8p_\x8e·type); | ||
50 | 44 | 50 | 44 |
51 | 45 | 51 | _.4_.5·static·std::string·_.G_.e_.t_.H_.u_.l_.l_.S_.h_.a_.d_.e_.r_.S_.o_.u_.r_.c_.e(_.F_.a_.r_.:_.:_.P_.a_.t_.c_.h_.D_.e_.s_.c_.r_.i_.p_.t_.o_.r_.:_.:_.T_.y_.p_.e·type); |
52 | 46 | 52 | 46 |
53 | _\x84_\x87·static·std::string·_\x8G_\x8e_\x8t_\x8D_\x8o_\x8m_\x8a_\x8i_\x8n_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8T_\x8y_\x8p_\x8e·type); | ||
54 | 48 | ||
55 | _\x85_\x83·static·std::string·_\x8G_\x8e_\x8t_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e( | ||
56 | 54·_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8T_\x8y_\x8p_\x8e·type, | ||
57 | 55·_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8T_\x8y_\x8p_\x8e·fvarType); | ||
58 | _\x85_\x86·static·std::string·_\x8G_\x8e_\x8t_\x8H_\x8u_\x8l_\x8l_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e( | ||
59 | 57·_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8T_\x8y_\x8p_\x8e·type, | ||
60 | 58·_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8T_\x8y_\x8p_\x8e·fvarType); | ||
61 | _\x85_\x89·static·std::string·_\x8G_\x8e_\x8t_\x8D_\x8o_\x8m_\x8a_\x8i_\x8n_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e( | ||
62 | 60·_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8T_\x8y_\x8p_\x8e·type, | ||
63 | 61·_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8T_\x8y_\x8p_\x8e·fvarType); | ||
64 | 62}; | ||
65 | 63 | ||
66 | 64}·//·end·namespace·Osd | ||
67 | 65 | ||
68 | 66}·//·end·namespace·OPENSUBDIV_VERSION | ||
69 | 67using·namespace·OPENSUBDIV_VERSION; | ||
70 | 68 | ||
71 | 69}·//·end·namespace·OpenSubdiv | ||
72 | 70 | ||
53 | 73 | 71#endif·//·OPENSUBDIV3_OSD_MTL_PATCH_SHADER_SOURCE | |
54 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 74 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
55 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8l_\x8i_\x8m_\x8i_\x8t_\x8s_\x8._\x8h_\x8:_\x83_\x82 | 75 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8l_\x8i_\x8m_\x8i_\x8t_\x8s_\x8._\x8h_\x8:_\x83_\x82 |
76 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8T_\x8y_\x8p_\x8e | ||
77 | Type | ||
78 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8p_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8._\x8h_\x8:_\x84_\x88 | ||
56 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8M_\x8T_\x8L_\x8 | 79 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8M_\x8T_\x8L_\x8P_.a_.t_.c_.h_.S_.h_.a_.d_.e_.r_.S_.o_.u_.r_\x8c_\x8e |
80 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8m_\x8t_\x8l_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8._\x8h_\x8:_\x83_\x87 | ||
57 | MeshInterface<·MTLPatchTable·>·MTLMeshInterface | ||
58 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8m_\x8t_\x8l_\x8M_\x8e_\x8s_\x8h_\x8._\x8h_\x8:_\x83_\x88 | ||
59 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8M_\x8 | 81 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8M_\x8T_.L_.P_.a_.t_.c_.h_.S_.h_.a_.d_.e_.r_.S_.o_.u_.r_.c_.e_.:_.: |
60 | 82 | _.G_.e_.t_.V_.e_.r_.t_.e_.x_.S_.h_.a_.d_.e_.r_.S_.o_.u_.r_.c_.e | |
83 | static·std::string·GetVertexShaderSource(Far::PatchDescriptor::Type·type) | ||
84 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8M_\x8T_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8:_\x8:_\x8G_\x8e_\x8t_\x8H_\x8u_\x8l_\x8l_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e | ||
85 | static·std::string·GetHullShaderSource(Far::PatchDescriptor::Type·type,·Far:: | ||
86 | PatchDescriptor::Type·fvarType) | ||
87 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8M_\x8T_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8:_\x8: | ||
88 | _\x8G_\x8e_\x8t_\x8D_\x8o_\x8m_\x8a_\x8i_\x8n_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e | ||
89 | static·std::string·GetDomainShaderSource(Far::PatchDescriptor::Type·type) | ||
90 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8M_\x8T_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8:_\x8: | ||
91 | _\x8G_\x8e_\x8t_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e | ||
92 | static·std::string·GetVertexShaderSource(Far::PatchDescriptor::Type·type,·Far:: | ||
93 | PatchDescriptor::Type·fvarType) | ||
94 | Deprecated. | ||
95 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8M_\x8T_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8:_\x8: | ||
96 | _\x8G_\x8e_\x8t_\x8D_\x8o_\x8m_\x8a_\x8i_\x8n_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e | ||
97 | static·std::string·GetDomainShaderSource(Far::PatchDescriptor::Type·type,·Far:: | ||
98 | PatchDescriptor::Type·fvarType) | ||
99 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8M_\x8T_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8:_\x8:_\x8G_\x8e_\x8t_\x8H_\x8u_\x8l_\x8l_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e | ||
100 | static·std::string·GetHullShaderSource(Far::PatchDescriptor::Type·type) | ||
101 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8M_\x8T_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8:_\x8: | ||
102 | _\x8G_\x8e_\x8t_\x8P_\x8a_\x8t_\x8c_\x8h_\x8B_\x8a_\x8s_\x8i_\x8s_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e | ||
103 | static·std::string·GetPatchBasisShaderSource() | ||
104 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8M_\x8T_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8:_\x8: | ||
105 | _\x8G_\x8e_\x8t_\x8C_\x8o_\x8m_\x8m_\x8o_\x8n_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e | ||
106 | static·std::string·GetCommonShaderSource() | ||
61 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 107 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
62 | ····*·_\x8o_\x8s_\x8d | 108 | ····*·_\x8o_\x8s_\x8d |
63 | ····*·_\x8m_\x8t_\x8l_\x8 | 109 | ····*·_\x8m_\x8t_\x8l_\x8P_.a_.t_.c_.h_.S_.h_.a_.d_.e_.r_.S_.o_.u_.r_.c_.e_\x8._\x8h |
64 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 110 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/mtl | 8 | <title>OpenSubdiv:·opensubdiv/osd/mtlMesh.h·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 88, 43 lines modified | Offset 88, 43 lines modified | ||
88 | </div> | 88 | </div> |
89 | </div> | 89 | </div> |
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#nested-classes">Classes</a>·| | ||
95 | <a·href="#namespaces">Namespaces</a>· | 94 | <a·href="#namespaces">Namespaces</a>·| |
95 | <a·href="#typedef-members">Typedefs</a>··</div> | ||
96 | ··<div·class="headertitle"><div·class="title">mtl | 96 | ··<div·class="headertitle"><div·class="title">mtlMesh.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>i | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>i | 100 | <code>#include·"<a·class="el"·href="a00887_source.html">../osd/mesh.h</a>"</code><br·/> |
101 | <code>i | 101 | <code>#include·"<a·class="el"·href="a00815_source.html">../osd/mtlPatchTable.h</a>"</code><br·/> |
102 | </div> | 102 | </div> |
103 | <p><a·href="a00812_source.html">Go·to·the·source·code·of·this·file.</a></p> | 103 | <p><a·href="a00812_source.html">Go·to·the·source·code·of·this·file.</a></p> |
104 | <table·class="memberdecls"> | 104 | <table·class="memberdecls"> |
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
106 | Classes</h2></td></tr> | ||
107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01293.html">MTLPatchShaderSource</a></td></tr> | ||
108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
109 | </table><table·class="memberdecls"> | ||
110 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
111 | Namespaces</h2></td></tr> | 106 | Namespaces</h2></td></tr> |
112 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 107 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
114 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 109 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
116 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> | 111 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> |
117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
113 | </table><table·class="memberdecls"> | ||
114 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
115 | Typedefs</h2></td></tr> | ||
116 | <tr·class="memitem:aa41e5b43fe46eeb0f97ff6ebdb1935aa"·id="r_aa41e5b43fe46eeb0f97ff6ebdb1935aa"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01261.html">MeshInterface</a><·<a·class="el"·href="a01297.html">MTLPatchTable</a>·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#aa41e5b43fe46eeb0f97ff6ebdb1935aa">MTLMeshInterface</a></td></tr> | ||
117 | <tr·class="separator:aa41e5b43fe46eeb0f97ff6ebdb1935aa"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
118 | </table> | 118 | </table> |
119 | </div><!--·contents·--> | 119 | </div><!--·contents·--> |
120 | </div><!--·doc-content·--> | 120 | </div><!--·doc-content·--> |
121 | <!--·start·footer·part·--> | 121 | <!--·start·footer·part·--> |
122 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 122 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
123 | ··<ul> | 123 | ··<ul> |
124 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00812.html">mtl | 124 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00812.html">mtlMesh.h</a></li> |
125 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 125 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
126 | ··</ul> | 126 | ··</ul> |
127 | </div> | 127 | </div> |
128 | </body> | 128 | </body> |
129 | </html> | 129 | </html> |
Offset 1, 24 lines modified | Offset 1, 24 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | ||
6 | mtlPatchShaderSource.h·File·Reference | ||
7 | import·"../version.h" | ||
8 | import·"_\x8._\x8._\x8/_\x8f_\x8a_\x8r_\x8/_\x8p_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8._\x8h" | ||
9 | 5 | _.N_.a_.m_.e_.s_.p_.a_.c_.e_.s·|·_.T_.y_.p_.e_.d_.e_.f_.s | |
6 | mtlMesh.h·File·Reference | ||
7 | #include·"../version.h" | ||
8 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8m_\x8e_\x8s_\x8h_\x8._\x8h" | ||
9 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8m_\x8t_\x8l_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e_\x8._\x8h" | ||
10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
11 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | ||
12 | class· ·_\x8M_\x8T_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e | ||
13 | |||
14 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 11 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
15 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 12 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
16 | 13 | ||
17 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 14 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
18 | 15 | ||
19 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d | 16 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d |
20 | 17 | ||
18 | T\x8Ty\x8yp\x8pe\x8ed\x8de\x8ef\x8fs\x8s | ||
19 | typedef·_\x8M_\x8e_\x8s_\x8h_\x8I_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e<·_\x8M_\x8T_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e·> ·_\x8M_\x8T_\x8L_\x8M_\x8e_\x8s_\x8h_\x8I_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e | ||
20 | |||
21 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 21 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
22 | ····*·_\x8o_\x8s_\x8d | 22 | ····*·_\x8o_\x8s_\x8d |
23 | ····*·_\x8m_\x8t_\x8l_\x8 | 23 | ····*·_\x8m_\x8t_\x8l_\x8M_.e_.s_.h_\x8._\x8h |
24 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 24 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | var·a00812·=·[ | 1 | var·a00812·=·[ |
2 | ····["MTL | 2 | ····["MTLMeshInterface",·"a00812.html#aa41e5b43fe46eeb0f97ff6ebdb1935aa",·null] |
3 | ]; | 3 | ]; |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/mtl | 8 | <title>OpenSubdiv:·opensubdiv/osd/mtlMesh.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 92, 15 lines modified | Offset 92, 15 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title">mtl | 98 | ··<div·class="headertitle"><div·class="title">mtlMesh.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <a·href="a00812.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> | 101 | <a·href="a00812.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div> | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
Offset 119, 74 lines modified | Offset 119, 44 lines modified | ||
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_MTL_ | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_MTL_MESH_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_MTL_ | 127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_MTL_MESH_H</span></div> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#i | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#i | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"../osd/mesh.h"</span></div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#i | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../osd/mtlPatchTable.h"</span></div> |
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | 132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | ||
133 | <div·class="line"><a·id="l0003 | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> |
134 | <div·class="line"><a·id="l0003 | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
135 | <div·class="line"><a·id="l0003 | 136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
136 | <div·class="line"><a·id="l0003 | 137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>Osd·{</div> |
137 | <div·class="line"><a·id="l0003 | 138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> |
138 | <div·class="foldopen"·id="foldopen00037"·data-start="{"·data-end="};"> | ||
139 | <div·class="line"><a·id="l0003 | 139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a00912.html#aa41e5b43fe46eeb0f97ff6ebdb1935aa">···38</a></span><span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01261.html">MeshInterface<MTLPatchTable></a>·<a·class=[·...·truncated·by·diffoscope;·len:·92,·SHA:·1d8990d5f86d8dc5bccafb9823e25ac2f90e13b9e1b313ec3b918a5ffff6fabb·...·]</div> |
140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | ||
140 | <div·class="line"><a·id="l000 | 141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>}·<span·class="comment">//·end·namespace·Osd</span></div> |
141 | <div·class="line"><a·id="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> | ||
142 | <div·class="line"><a·id="l0004 | 142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> |
143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>}·<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> | ||
144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> | ||
143 | <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> | ||
144 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | ||
145 | <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="code·hl_enumeration"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type);</div> | ||
146 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> | 145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> |
147 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"> | 146 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>}·<span·class="comment">//·end·namespace·OpenSubdiv</span></div> |
148 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | 147 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> |
149 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><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> | ||
150 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
151 | <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> | ||
152 | <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> | ||
153 | <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> | ||
154 | <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> | ||
155 | <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> | ||
156 | <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> | ||
157 | <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> | ||
158 | <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> | ||
159 | <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> | ||
160 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>};</div> | ||
161 | </div> | ||
162 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | ||
163 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>}··<span·class="comment">//·end·namespace·Osd</span></div> | ||
164 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | ||
165 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>}··<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> | ||
166 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> | ||
167 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····</div> | ||
168 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>}·<span·class="comment">//·end·namespace·OpenSubdiv</span></div> | ||
169 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
170 | <div·class="line"><a·id="l000 | 148 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="preprocessor">#endif·</span><span·class="comment">//·OPENSUBDIV3_OSD_MTL_MESH_H</span></div> |
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> | 149 | <div·class="ttc"·id="aa00905_html"><div·class="ttname"><a·href="a00905.html">OpenSubdiv</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00698_source.html#l00032">limits.h:32</a></div></div> |
150 | <div·class="ttc"·id="aa00912_html_aa41e5b43fe46eeb0f97ff6ebdb1935aa"><div·class="ttname"><a·href="a00912.html#aa41e5b43fe46eeb0f97ff6ebdb1935aa">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLMeshInterface</a></div><div·class="ttdeci">MeshInterface<·MTLPatchTable·>·MTLMeshInterface</div><div·class="ttdef"><b>Definition</b>·<a·href="a00812_source.html#l00038">mtlMesh.h:38</a></div></div> | ||
151 | <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> | ||
172 | <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> | ||
173 | <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> | ||
174 | <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> | ||
175 | <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> | ||
176 | <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> | ||
177 | <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> | ||
178 | <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> | ||
179 | <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> | ||
180 | <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> | ||
181 | <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> | ||
182 | </div><!--·fragment·--></div><!--·contents·--> | 152 | </div><!--·fragment·--></div><!--·contents·--> |
183 | </div><!--·doc-content·--> | 153 | </div><!--·doc-content·--> |
184 | <!--·start·footer·part·--> | 154 | <!--·start·footer·part·--> |
185 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 155 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
186 | ··<ul> | 156 | ··<ul> |
187 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00812.html">mtl | 157 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00812.html">mtlMesh.h</a></li> |
188 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 158 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
189 | ··</ul> | 159 | ··</ul> |
190 | </div> | 160 | </div> |
191 | </body> | 161 | </body> |
192 | </html> | 162 | </html> |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | mtl | 5 | mtlMesh.h |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·2013·Pixar | 8 | 2//·Copyright·2013·Pixar |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
Offset 24, 87 lines modified | Offset 24, 41 lines modified | ||
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24 | 30 | 24 |
31 | 25#ifndef·OPENSUBDIV3_OSD_MTL_ | 31 | 25#ifndef·OPENSUBDIV3_OSD_MTL_MESH_H |
32 | 26#define·OPENSUBDIV3_OSD_MTL_ | 32 | 26#define·OPENSUBDIV3_OSD_MTL_MESH_H |
33 | 27 | 33 | 27 |
34 | 28#i | 34 | 28#include·"../version.h" |
35 | 29#import·"../far/patchDescriptor.h" | ||
36 | 35 | 29#include·"../osd/mesh.h" | |
36 | 30#include·"../osd/mtlPatchTable.h" | ||
37 | 31 | 37 | 31 |
38 | 32 | ||
38 | 3 | 39 | 33namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ |
39 | 3 | 40 | 34namespace·OPENSUBDIV_VERSION·{ |
40 | 3 | 41 | 35 |
41 | 3 | 42 | 36namespace·Osd·{ |
43 | 37 | ||
44 | _\x83_\x88typedef·_\x8M_\x8e_\x8s_\x8h_\x8I_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e_\x8<_\x8M_\x8T_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e_\x8>·_\x8M_\x8T_\x8L_\x8M_\x8e_\x8s_\x8h_\x8I_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e; | ||
45 | 39 | ||
46 | 40}·//·end·namespace·Osd | ||
47 | 41 | ||
48 | 42}·//·end·namespace·OPENSUBDIV_VERSION | ||
49 | 43using·namespace·OPENSUBDIV_VERSION; | ||
42 | 36 | ||
43 | _\x83_\x87class·_\x8M_\x8T_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e·{ | ||
44 | 38·public: | ||
45 | _\x83_\x89·static·std::string·_\x8G_\x8e_\x8t_\x8C_\x8o_\x8m_\x8m_\x8o_\x8n_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e(); | ||
46 | 40 | ||
47 | _\x84_\x81·static·std::string·_\x8G_\x8e_\x8t_\x8P_\x8a_\x8t_\x8c_\x8h_\x8B_\x8a_\x8s_\x8i_\x8s_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e(); | ||
48 | 42 | ||
49 | _\x84_\x83·static·std::string·_\x8G_\x8e_\x8t_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8T_\x8y_\x8p_\x8e·type); | ||
50 | 44 | 50 | 44 |
51 | 51 | 45}·//·end·namespace·OpenSubdiv | |
52 | 46 | 52 | 46 |
53 | _\x84_\x87·static·std::string·_\x8G_\x8e_\x8t_\x8D_\x8o_\x8m_\x8a_\x8i_\x8n_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8T_\x8y_\x8p_\x8e·type); | ||
54 | 48 | ||
55 | _\x85_\x83·static·std::string·_\x8G_\x8e_\x8t_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e( | ||
56 | 54·_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8T_\x8y_\x8p_\x8e·type, | ||
57 | 55·_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8T_\x8y_\x8p_\x8e·fvarType); | ||
58 | _\x85_\x86·static·std::string·_\x8G_\x8e_\x8t_\x8H_\x8u_\x8l_\x8l_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e( | ||
59 | 57·_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8T_\x8y_\x8p_\x8e·type, | ||
60 | 58·_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8T_\x8y_\x8p_\x8e·fvarType); | ||
61 | _\x85_\x89·static·std::string·_\x8G_\x8e_\x8t_\x8D_\x8o_\x8m_\x8a_\x8i_\x8n_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e( | ||
62 | 60·_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8T_\x8y_\x8p_\x8e·type, | ||
63 | 61·_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8T_\x8y_\x8p_\x8e·fvarType); | ||
64 | 62}; | ||
65 | 63 | ||
66 | 64}·//·end·namespace·Osd | ||
67 | 65 | ||
68 | 66}·//·end·namespace·OPENSUBDIV_VERSION | ||
69 | 67using·namespace·OPENSUBDIV_VERSION; | ||
70 | 68 | ||
71 | 69}·//·end·namespace·OpenSubdiv | ||
72 | 70 | ||
73 | 53 | 47#endif·//·OPENSUBDIV3_OSD_MTL_MESH_H | |
74 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 54 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
75 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8l_\x8i_\x8m_\x8i_\x8t_\x8s_\x8._\x8h_\x8:_\x83_\x82 | 55 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8l_\x8i_\x8m_\x8i_\x8t_\x8s_\x8._\x8h_\x8:_\x83_\x82 |
76 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8T_\x8y_\x8p_\x8e | ||
77 | Type | ||
78 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8p_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8._\x8h_\x8:_\x84_\x88 | ||
79 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8M_\x8T_\x8L_\x8 | 56 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8M_\x8T_\x8L_\x8M_.e_.s_.h_.I_.n_.t_.e_.r_.f_.a_\x8c_\x8e |
80 | 57 | MeshInterface<·MTLPatchTable·>·MTLMeshInterface | |
58 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8m_\x8t_\x8l_\x8M_\x8e_\x8s_\x8h_\x8._\x8h_\x8:_\x83_\x88 | ||
81 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8M_\x8 | 59 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8M_\x8e_.s_.h_.I_.n_.t_.e_.r_.f_.a_.c_.e |
60 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8m_\x8e_\x8s_\x8h_\x8._\x8h_\x8:_\x86_\x88 | ||
82 | _\x8G_\x8e_\x8t_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e | ||
83 | static·std::string·GetVertexShaderSource(Far::PatchDescriptor::Type·type) | ||
84 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8M_\x8T_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8:_\x8:_\x8G_\x8e_\x8t_\x8H_\x8u_\x8l_\x8l_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e | ||
85 | static·std::string·GetHullShaderSource(Far::PatchDescriptor::Type·type,·Far:: | ||
86 | PatchDescriptor::Type·fvarType) | ||
87 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8M_\x8T_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8:_\x8: | ||
88 | _\x8G_\x8e_\x8t_\x8D_\x8o_\x8m_\x8a_\x8i_\x8n_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e | ||
89 | static·std::string·GetDomainShaderSource(Far::PatchDescriptor::Type·type) | ||
90 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8M_\x8T_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8:_\x8: | ||
91 | _\x8G_\x8e_\x8t_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e | ||
92 | static·std::string·GetVertexShaderSource(Far::PatchDescriptor::Type·type,·Far:: | ||
93 | PatchDescriptor::Type·fvarType) | ||
94 | Deprecated. | ||
95 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8M_\x8T_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8:_\x8: | ||
96 | _\x8G_\x8e_\x8t_\x8D_\x8o_\x8m_\x8a_\x8i_\x8n_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e | ||
97 | static·std::string·GetDomainShaderSource(Far::PatchDescriptor::Type·type,·Far:: | ||
98 | PatchDescriptor::Type·fvarType) | ||
99 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8M_\x8T_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8:_\x8:_\x8G_\x8e_\x8t_\x8H_\x8u_\x8l_\x8l_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e | ||
100 | static·std::string·GetHullShaderSource(Far::PatchDescriptor::Type·type) | ||
101 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8M_\x8T_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8:_\x8: | ||
102 | _\x8G_\x8e_\x8t_\x8P_\x8a_\x8t_\x8c_\x8h_\x8B_\x8a_\x8s_\x8i_\x8s_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e | ||
103 | static·std::string·GetPatchBasisShaderSource() | ||
104 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8M_\x8T_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8:_\x8: | ||
105 | _\x8G_\x8e_\x8t_\x8C_\x8o_\x8m_\x8m_\x8o_\x8n_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e | ||
106 | static·std::string·GetCommonShaderSource() | ||
107 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 61 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
108 | ····*·_\x8o_\x8s_\x8d | 62 | ····*·_\x8o_\x8s_\x8d |
109 | ····*·_\x8m_\x8t_\x8l_\x8 | 63 | ····*·_\x8m_\x8t_\x8l_\x8M_.e_.s_.h_\x8._\x8h |
110 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 64 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 97, 15 lines modified | Offset 97, 15 lines modified | ||
97 | ··<div·class="headertitle"><div·class="title">mtlPatchTable.h·File·Reference</div></div> | 97 | ··<div·class="headertitle"><div·class="title">mtlPatchTable.h·File·Reference</div></div> |
98 | </div><!--header--> | 98 | </div><!--header--> |
99 | <div·class="contents"> | 99 | <div·class="contents"> |
100 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 100 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
101 | <code>#include·"<a·class="el"·href="a00740_source.html">../far/patchDescriptor.h</a>"</code><br·/> | 101 | <code>#include·"<a·class="el"·href="a00740_source.html">../far/patchDescriptor.h</a>"</code><br·/> |
102 | <code>#include·"../osd/nonCopyable.h"</code><br·/> | 102 | <code>#include·"../osd/nonCopyable.h"</code><br·/> |
103 | <code>#include·"<a·class="el"·href="a01481_source.html">../osd/types.h</a>"</code><br·/> | 103 | <code>#include·"<a·class="el"·href="a01481_source.html">../osd/types.h</a>"</code><br·/> |
104 | <code>#include·"<a·class="el"·href="a0080 | 104 | <code>#include·"<a·class="el"·href="a00806_source.html">../osd/mtlCommon.h</a>"</code><br·/> |
105 | </div> | 105 | </div> |
106 | <p><a·href="a00815_source.html">Go·to·the·source·code·of·this·file.</a></p> | 106 | <p><a·href="a00815_source.html">Go·to·the·source·code·of·this·file.</a></p> |
107 | <table·class="memberdecls"> | 107 | <table·class="memberdecls"> |
108 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 108 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
109 | Classes</h2></td></tr> | 109 | Classes</h2></td></tr> |
110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01297.html">MTLPatchTable</a></td></tr> | 110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01297.html">MTLPatchTable</a></td></tr> |
111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 199, 15 lines modified | Offset 199, 15 lines modified | ||
199 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> | 199 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> |
200 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>}·<span·class="comment">//end·namespace·OpenSubdiv</span></div> | 200 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>}·<span·class="comment">//end·namespace·OpenSubdiv</span></div> |
201 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> | 201 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> |
202 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span><span·class="preprocessor">#endif·</span><span·class="comment">//end·OPENSUBDIV3_OSD_MTL_PATCH_TABLE_H</span></div> | 202 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span><span·class="preprocessor">#endif·</span><span·class="comment">//end·OPENSUBDIV3_OSD_MTL_PATCH_TABLE_H</span></div> |
203 | <div·class="ttc"·id="aa00905_html"><div·class="ttname"><a·href="a00905.html">OpenSubdiv</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00698_source.html#l00032">limits.h:32</a></div></div> | 203 | <div·class="ttc"·id="aa00905_html"><div·class="ttname"><a·href="a00905.html">OpenSubdiv</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00698_source.html#l00032">limits.h:32</a></div></div> |
204 | <div·class="ttc"·id="aa00912_html_a98098cd229f60d2397d84a76fe654a31"><div·class="ttname"><a·href="a00912.html#a98098cd229f60d2397d84a76fe654a31">OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchArrayVector</a></div><div·class="ttdeci">std::vector<·PatchArray·>·PatchArrayVector</div><div·class="ttdef"><b>Definition</b>·<a·href="a01481_source.html#l00132">types.h:132</a></div></div> | 204 | <div·class="ttc"·id="aa00912_html_a98098cd229f60d2397d84a76fe654a31"><div·class="ttname"><a·href="a00912.html#a98098cd229f60d2397d84a76fe654a31">OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchArrayVector</a></div><div·class="ttdeci">std::vector<·PatchArray·>·PatchArrayVector</div><div·class="ttdef"><b>Definition</b>·<a·href="a01481_source.html#l00132">types.h:132</a></div></div> |
205 | <div·class="ttc"·id="aa00993_html"><div·class="ttname"><a·href="a00993.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable</a></div><div·class="ttdoc">Container·for·arrays·of·parametric·patches.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00731_source.html#l00055">patchTable.h:55</a></div></div> | 205 | <div·class="ttc"·id="aa00993_html"><div·class="ttname"><a·href="a00993.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable</a></div><div·class="ttdoc">Container·for·arrays·of·parametric·patches.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00731_source.html#l00055">patchTable.h:55</a></div></div> |
206 | <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="a0080 | 206 | <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> |
207 | <div·class="ttc"·id="aa01297_html"><div·class="ttname"><a·href="a01297.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchTable</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00815_source.html#l00046">mtlPatchTable.h:46</a></div></div> | 207 | <div·class="ttc"·id="aa01297_html"><div·class="ttname"><a·href="a01297.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchTable</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00815_source.html#l00046">mtlPatchTable.h:46</a></div></div> |
208 | <div·class="ttc"·id="aa01297_html_a18e3d09b0c7b7552f8e419e36788166a"><div·class="ttname"><a·href="a01297.html#a18e3d09b0c7b7552f8e419e36788166a">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchTable::GetPatchArrays</a></div><div·class="ttdeci">PatchArrayVector·const·&·GetPatchArrays()·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00815_source.html#l00061">mtlPatchTable.h:61</a></div></div> | 208 | <div·class="ttc"·id="aa01297_html_a18e3d09b0c7b7552f8e419e36788166a"><div·class="ttname"><a·href="a01297.html#a18e3d09b0c7b7552f8e419e36788166a">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchTable::GetPatchArrays</a></div><div·class="ttdeci">PatchArrayVector·const·&·GetPatchArrays()·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00815_source.html#l00061">mtlPatchTable.h:61</a></div></div> |
209 | <div·class="ttc"·id="aa01297_html_a2246e8e016510f81c7ac9ead81d7c6eb"><div·class="ttname"><a·href="a01297.html#a2246e8e016510f81c7ac9ead81d7c6eb">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchTable::allocate</a></div><div·class="ttdeci">bool·allocate(Far::PatchTable·const·*farPatchTable,·MTLContext·*context)</div></div> | 209 | <div·class="ttc"·id="aa01297_html_a2246e8e016510f81c7ac9ead81d7c6eb"><div·class="ttname"><a·href="a01297.html#a2246e8e016510f81c7ac9ead81d7c6eb">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchTable::allocate</a></div><div·class="ttdeci">bool·allocate(Far::PatchTable·const·*farPatchTable,·MTLContext·*context)</div></div> |
210 | <div·class="ttc"·id="aa01297_html_a24c34d2b403d22f2d3bcfdf6f5005ee4"><div·class="ttname"><a·href="a01297.html#a24c34d2b403d22f2d3bcfdf6f5005ee4">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchTable::Create</a></div><div·class="ttdeci">static·MTLPatchTable·*·Create(Far::PatchTable·const·*farPatchTable,·MTLContext·*context)</div></div> | 210 | <div·class="ttc"·id="aa01297_html_a24c34d2b403d22f2d3bcfdf6f5005ee4"><div·class="ttname"><a·href="a01297.html#a24c34d2b403d22f2d3bcfdf6f5005ee4">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchTable::Create</a></div><div·class="ttdeci">static·MTLPatchTable·*·Create(Far::PatchTable·const·*farPatchTable,·MTLContext·*context)</div></div> |
211 | <div·class="ttc"·id="aa01297_html_a2ad5c87b20355961bc623d1c1ece01f8"><div·class="ttname"><a·href="a01297.html#a2ad5c87b20355961bc623d1c1ece01f8">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchTable::GetVaryingPatchIndexBuffer</a></div><div·class="ttdeci">id<·MTLBuffer·>·GetVaryingPatchIndexBuffer()·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00815_source.html#l00066">mtlPatchTable.h:66</a></div></div> | 211 | <div·class="ttc"·id="aa01297_html_a2ad5c87b20355961bc623d1c1ece01f8"><div·class="ttname"><a·href="a01297.html#a2ad5c87b20355961bc623d1c1ece01f8">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchTable::GetVaryingPatchIndexBuffer</a></div><div·class="ttdeci">id<·MTLBuffer·>·GetVaryingPatchIndexBuffer()·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00815_source.html#l00066">mtlPatchTable.h:66</a></div></div> |
212 | <div·class="ttc"·id="aa01297_html_a39ae7f640465cdd116c1f87b81308fb5"><div·class="ttname"><a·href="a01297.html#a39ae7f640465cdd116c1f87b81308fb5">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchTable::_fvarIndexBuffers</a></div><div·class="ttdeci">std::vector<·id<·MTLBuffer·>·>·_fvarIndexBuffers</div><div·class="ttdef"><b>Definition</b>·<a·href="a00815_source.html#l00086">mtlPatchTable.h:86</a></div></div> | 212 | <div·class="ttc"·id="aa01297_html_a39ae7f640465cdd116c1f87b81308fb5"><div·class="ttname"><a·href="a01297.html#a39ae7f640465cdd116c1f87b81308fb5">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchTable::_fvarIndexBuffers</a></div><div·class="ttdeci">std::vector<·id<·MTLBuffer·>·>·_fvarIndexBuffers</div><div·class="ttdef"><b>Definition</b>·<a·href="a00815_source.html#l00086">mtlPatchTable.h:86</a></div></div> |
213 | <div·class="ttc"·id="aa01297_html_a3d306565eb0af09fa64cabc6d72c6755"><div·class="ttname"><a·href="a01297.html#a3d306565eb0af09fa64cabc6d72c6755">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchTable::GetFVarPatchParamBuffer</a></div><div·class="ttdeci">id<·MTLBuffer·>·GetFVarPatchParamBuffer(int·fvarChannel=0)·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00815_source.html#l00071">mtlPatchTable.h:71</a></div></div> | 213 | <div·class="ttc"·id="aa01297_html_a3d306565eb0af09fa64cabc6d72c6755"><div·class="ttname"><a·href="a01297.html#a3d306565eb0af09fa64cabc6d72c6755">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchTable::GetFVarPatchParamBuffer</a></div><div·class="ttdeci">id<·MTLBuffer·>·GetFVarPatchParamBuffer(int·fvarChannel=0)·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00815_source.html#l00071">mtlPatchTable.h:71</a></div></div> |
Offset 96, 15 lines modified | Offset 96, 15 lines modified | ||
96 | <a·href="#namespaces">Namespaces</a>··</div> | 96 | <a·href="#namespaces">Namespaces</a>··</div> |
97 | ··<div·class="headertitle"><div·class="title">mtlLegacyGregoryPatchTable.h·File·Reference</div></div> | 97 | ··<div·class="headertitle"><div·class="title">mtlLegacyGregoryPatchTable.h·File·Reference</div></div> |
98 | </div><!--header--> | 98 | </div><!--header--> |
99 | <div·class="contents"> | 99 | <div·class="contents"> |
100 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 100 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
101 | <code>#include·"<a·class="el"·href="a00731_source.html">../far/patchTable.h</a>"</code><br·/> | 101 | <code>#include·"<a·class="el"·href="a00731_source.html">../far/patchTable.h</a>"</code><br·/> |
102 | <code>#include·"../osd/nonCopyable.h"</code><br·/> | 102 | <code>#include·"../osd/nonCopyable.h"</code><br·/> |
103 | <code>#include·"<a·class="el"·href="a0080 | 103 | <code>#include·"<a·class="el"·href="a00806_source.html">../osd/mtlCommon.h</a>"</code><br·/> |
104 | </div> | 104 | </div> |
105 | <p><a·href="a00818_source.html">Go·to·the·source·code·of·this·file.</a></p> | 105 | <p><a·href="a00818_source.html">Go·to·the·source·code·of·this·file.</a></p> |
106 | <table·class="memberdecls"> | 106 | <table·class="memberdecls"> |
107 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 107 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
108 | Classes</h2></td></tr> | 108 | Classes</h2></td></tr> |
109 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01289.html">MTLLegacyGregoryPatchTable</a></td></tr> | 109 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01289.html">MTLLegacyGregoryPatchTable</a></td></tr> |
110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 203, 15 lines modified | Offset 203, 15 lines modified | ||
203 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>}·<span·class="comment">//end·namespace·OpenSuddiv</span></div> | 203 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>}·<span·class="comment">//end·namespace·OpenSuddiv</span></div> |
204 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> | 204 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> |
205 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span><span·class="preprocessor">#endif·</span><span·class="comment">//·OPENSUBDIV3_OSD_MTL_LEGACY_GREGORY_PATCH_TABLE_H</span></div> | 205 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span><span·class="preprocessor">#endif·</span><span·class="comment">//·OPENSUBDIV3_OSD_MTL_LEGACY_GREGORY_PATCH_TABLE_H</span></div> |
206 | <div·class="ttc"·id="aa00905_html"><div·class="ttname"><a·href="a00905.html">OpenSubdiv</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00698_source.html#l00032">limits.h:32</a></div></div> | 206 | <div·class="ttc"·id="aa00905_html"><div·class="ttname"><a·href="a00905.html">OpenSubdiv</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00698_source.html#l00032">limits.h:32</a></div></div> |
207 | <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> | 207 | <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> |
208 | <div·class="ttc"·id="aa00973_html_a1d1cfd8ffb84e947f82999c682b666a7ac4ae10df9c13e44880ca7be341e44f2a"><div·class="ttname"><a·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7ac4ae10df9c13e44880ca7be341e44f2a">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor::GREGORY_BOUNDARY</a></div><div·class="ttdeci">@·GREGORY_BOUNDARY</div><div·class="ttdef"><b>Definition</b>·<a·href="a00740_source.html#l00061">patchDescriptor.h:61</a></div></div> | 208 | <div·class="ttc"·id="aa00973_html_a1d1cfd8ffb84e947f82999c682b666a7ac4ae10df9c13e44880ca7be341e44f2a"><div·class="ttname"><a·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7ac4ae10df9c13e44880ca7be341e44f2a">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor::GREGORY_BOUNDARY</a></div><div·class="ttdeci">@·GREGORY_BOUNDARY</div><div·class="ttdef"><b>Definition</b>·<a·href="a00740_source.html#l00061">patchDescriptor.h:61</a></div></div> |
209 | <div·class="ttc"·id="aa00993_html"><div·class="ttname"><a·href="a00993.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable</a></div><div·class="ttdoc">Container·for·arrays·of·parametric·patches.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00731_source.html#l00055">patchTable.h:55</a></div></div> | 209 | <div·class="ttc"·id="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> |
210 | <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="a0080 | 210 | <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> |
211 | <div·class="ttc"·id="aa01289_html"><div·class="ttname"><a·href="a01289.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLLegacyGregoryPatchTable</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00818_source.html#l00041">mtlLegacyGregoryPatchTable.h:43</a></div></div> | 211 | <div·class="ttc"·id="aa01289_html"><div·class="ttname"><a·href="a01289.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLLegacyGregoryPatchTable</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00818_source.html#l00041">mtlLegacyGregoryPatchTable.h:43</a></div></div> |
212 | <div·class="ttc"·id="aa01289_html_a176fb87b7ba47d5c2c2a6d332e2687ce"><div·class="ttname"><a·href="a01289.html#a176fb87b7ba47d5c2c2a6d332e2687ce">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLLegacyGregoryPatchTable::GetQuadOffsetsBase</a></div><div·class="ttdeci">int·GetQuadOffsetsBase(Far::PatchDescriptor::Type·type)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00818_source.html#l00071">mtlLegacyGregoryPatchTable.h:71</a></div></div> | 212 | <div·class="ttc"·id="aa01289_html_a176fb87b7ba47d5c2c2a6d332e2687ce"><div·class="ttname"><a·href="a01289.html#a176fb87b7ba47d5c2c2a6d332e2687ce">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLLegacyGregoryPatchTable::GetQuadOffsetsBase</a></div><div·class="ttdeci">int·GetQuadOffsetsBase(Far::PatchDescriptor::Type·type)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00818_source.html#l00071">mtlLegacyGregoryPatchTable.h:71</a></div></div> |
213 | <div·class="ttc"·id="aa01289_html_a25a5b8f002589cba7fd380492019ece8"><div·class="ttname"><a·href="a01289.html#a25a5b8f002589cba7fd380492019ece8">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLLegacyGregoryPatchTable::Create</a></div><div·class="ttdeci">static·MTLLegacyGregoryPatchTable·*·Create(Far::PatchTable·const·*farPatchTable,·DEVICE_CONTEXT·context)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00818_source.html#l00048">mtlLegacyGregoryPatchTable.h:48</a></div></div> | 213 | <div·class="ttc"·id="aa01289_html_a25a5b8f002589cba7fd380492019ece8"><div·class="ttname"><a·href="a01289.html#a25a5b8f002589cba7fd380492019ece8">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLLegacyGregoryPatchTable::Create</a></div><div·class="ttdeci">static·MTLLegacyGregoryPatchTable·*·Create(Far::PatchTable·const·*farPatchTable,·DEVICE_CONTEXT·context)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00818_source.html#l00048">mtlLegacyGregoryPatchTable.h:48</a></div></div> |
214 | <div·class="ttc"·id="aa01289_html_a7e1414cf8ab619f18f532b58f614b123"><div·class="ttname"><a·href="a01289.html#a7e1414cf8ab619f18f532b58f614b123">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLLegacyGregoryPatchTable::GetVertexValenceBuffer</a></div><div·class="ttdeci">id<·MTLBuffer·>·GetVertexValenceBuffer()·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00818_source.html#l00061">mtlLegacyGregoryPatchTable.h:61</a></div></div> | 214 | <div·class="ttc"·id="aa01289_html_a7e1414cf8ab619f18f532b58f614b123"><div·class="ttname"><a·href="a01289.html#a7e1414cf8ab619f18f532b58f614b123">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLLegacyGregoryPatchTable::GetVertexValenceBuffer</a></div><div·class="ttdeci">id<·MTLBuffer·>·GetVertexValenceBuffer()·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00818_source.html#l00061">mtlLegacyGregoryPatchTable.h:61</a></div></div> |
215 | <div·class="ttc"·id="aa01289_html_a846f5698d4874b41374c2ac6c52c3ea2"><div·class="ttname"><a·href="a01289.html#a846f5698d4874b41374c2ac6c52c3ea2">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLLegacyGregoryPatchTable::GetQuadOffsetsBuffer</a></div><div·class="ttdeci">id<·MTLBuffer·>·GetQuadOffsetsBuffer()·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00818_source.html#l00066">mtlLegacyGregoryPatchTable.h:66</a></div></div> | 215 | <div·class="ttc"·id="aa01289_html_a846f5698d4874b41374c2ac6c52c3ea2"><div·class="ttname"><a·href="a01289.html#a846f5698d4874b41374c2ac6c52c3ea2">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLLegacyGregoryPatchTable::GetQuadOffsetsBuffer</a></div><div·class="ttdeci">id<·MTLBuffer·>·GetQuadOffsetsBuffer()·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00818_source.html#l00066">mtlLegacyGregoryPatchTable.h:66</a></div></div> |
216 | <div·class="ttc"·id="aa01289_html_ac51e7db7abdd0eaaca33d4947bbe41b4"><div·class="ttname"><a·href="a01289.html#ac51e7db7abdd0eaaca33d4947bbe41b4">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLLegacyGregoryPatchTable::Create</a></div><div·class="ttdeci">static·MTLLegacyGregoryPatchTable·*·Create(Far::PatchTable·const·*farPatchTable,·MTLContext·*context)</div></div> | 216 | <div·class="ttc"·id="aa01289_html_ac51e7db7abdd0eaaca33d4947bbe41b4"><div·class="ttname"><a·href="a01289.html#ac51e7db7abdd0eaaca33d4947bbe41b4">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLLegacyGregoryPatchTable::Create</a></div><div·class="ttdeci">static·MTLLegacyGregoryPatchTable·*·Create(Far::PatchTable·const·*farPatchTable,·MTLContext·*context)</div></div> |
217 | <div·class="ttc"·id="aa01289_html_ad922644c53b64f5b60565065f09cbd17"><div·class="ttname"><a·href="a01289.html#ad922644c53b64f5b60565065f09cbd17">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLLegacyGregoryPatchTable::UpdateVertexBuffer</a></div><div·class="ttdeci">void·UpdateVertexBuffer(id<·MTLBuffer·>·vbo,·int·numVertices,·int·numVertexElements,·MTLContext·*context)</div></div> | 217 | <div·class="ttc"·id="aa01289_html_ad922644c53b64f5b60565065f09cbd17"><div·class="ttname"><a·href="a01289.html#ad922644c53b64f5b60565065f09cbd17">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLLegacyGregoryPatchTable::UpdateVertexBuffer</a></div><div·class="ttdeci">void·UpdateVertexBuffer(id<·MTLBuffer·>·vbo,·int·numVertices,·int·numVertexElements,·MTLContext·*context)</div></div> |
Offset 96, 15 lines modified | Offset 96, 15 lines modified | ||
96 | <a·href="#namespaces">Namespaces</a>··</div> | 96 | <a·href="#namespaces">Namespaces</a>··</div> |
97 | ··<div·class="headertitle"><div·class="title">mtlComputeEvaluator.h·File·Reference</div></div> | 97 | ··<div·class="headertitle"><div·class="title">mtlComputeEvaluator.h·File·Reference</div></div> |
98 | </div><!--header--> | 98 | </div><!--header--> |
99 | <div·class="contents"> | 99 | <div·class="contents"> |
100 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 100 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
101 | <code>#include·"<a·class="el"·href="a01481_source.html">../osd/types.h</a>"</code><br·/> | 101 | <code>#include·"<a·class="el"·href="a01481_source.html">../osd/types.h</a>"</code><br·/> |
102 | <code>#include·"<a·class="el"·href="a00899_source.html">../osd/bufferDescriptor.h</a>"</code><br·/> | 102 | <code>#include·"<a·class="el"·href="a00899_source.html">../osd/bufferDescriptor.h</a>"</code><br·/> |
103 | <code>#include·"<a·class="el"·href="a0080 | 103 | <code>#include·"<a·class="el"·href="a00806_source.html">../osd/mtlCommon.h</a>"</code><br·/> |
104 | </div> | 104 | </div> |
105 | <p><a·href="a00821_source.html">Go·to·the·source·code·of·this·file.</a></p> | 105 | <p><a·href="a00821_source.html">Go·to·the·source·code·of·this·file.</a></p> |
106 | <table·class="memberdecls"> | 106 | <table·class="memberdecls"> |
107 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 107 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
108 | Classes</h2></td></tr> | 108 | Classes</h2></td></tr> |
109 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01281.html">MTLStencilTable</a></td></tr> | 109 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01281.html">MTLStencilTable</a></td></tr> |
110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 1187, 15 lines modified | Offset 1187, 15 lines modified | ||
1187 | <div·class="line"><a·id="l02166"·name="l02166"></a><span·class="lineno">·2166</span>·</div> | 1187 | <div·class="line"><a·id="l02166"·name="l02166"></a><span·class="lineno">·2166</span>·</div> |
1188 | <div·class="line"><a·id="l02167"·name="l02167"></a><span·class="lineno">·2167</span><span·class="preprocessor">#endif·</span><span·class="comment">//·OPENSUBDIV3_OSD_MTL_COMPUTE_EVALUATOR_H</span></div> | 1188 | <div·class="line"><a·id="l02167"·name="l02167"></a><span·class="lineno">·2167</span><span·class="preprocessor">#endif·</span><span·class="comment">//·OPENSUBDIV3_OSD_MTL_COMPUTE_EVALUATOR_H</span></div> |
1189 | <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> | 1189 | <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> |
1190 | <div·class="ttc"·id="aa00912_html_a98098cd229f60d2397d84a76fe654a31"><div·class="ttname"><a·href="a00912.html#a98098cd229f60d2397d84a76fe654a31">OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchArrayVector</a></div><div·class="ttdeci">std::vector<·PatchArray·>·PatchArrayVector</div><div·class="ttdef"><b>Definition</b>·<a·href="a01481_source.html#l00132">types.h:132</a></div></div> | 1190 | <div·class="ttc"·id="aa00912_html_a98098cd229f60d2397d84a76fe654a31"><div·class="ttname"><a·href="a00912.html#a98098cd229f60d2397d84a76fe654a31">OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchArrayVector</a></div><div·class="ttdeci">std::vector<·PatchArray·>·PatchArrayVector</div><div·class="ttdef"><b>Definition</b>·<a·href="a01481_source.html#l00132">types.h:132</a></div></div> |
1191 | <div·class="ttc"·id="aa01057_html"><div·class="ttname"><a·href="a01057.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTable</a></div><div·class="ttdoc">Stencil·table·class·wrapping·the·template·for·compatibility.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00719_source.html#l00273">stencilTable.h:273</a></div></div> | 1191 | <div·class="ttc"·id="aa01057_html"><div·class="ttname"><a·href="a01057.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTable</a></div><div·class="ttdoc">Stencil·table·class·wrapping·the·template·for·compatibility.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00719_source.html#l00273">stencilTable.h:273</a></div></div> |
1192 | <div·class="ttc"·id="aa01073_html"><div·class="ttname"><a·href="a01073.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilTable</a></div><div·class="ttdoc">Limit·stencil·table·class·wrapping·the·template·for·compatibility.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00719_source.html#l00583">stencilTable.h:583</a></div></div> | 1192 | <div·class="ttc"·id="aa01073_html"><div·class="ttname"><a·href="a01073.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilTable</a></div><div·class="ttdoc">Limit·stencil·table·class·wrapping·the·template·for·compatibility.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00719_source.html#l00583">stencilTable.h:583</a></div></div> |
1193 | <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="a00899_source.html#l00061">bufferDescriptor.h:61</a></div></div> | 1193 | <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="a00899_source.html#l00061">bufferDescriptor.h:61</a></div></div> |
1194 | <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="a0080 | 1194 | <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> |
1195 | <div·class="ttc"·id="aa01281_html"><div·class="ttname"><a·href="a01281.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLStencilTable</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00821_source.html#l00050">mtlComputeEvaluator.h:51</a></div></div> | 1195 | <div·class="ttc"·id="aa01281_html"><div·class="ttname"><a·href="a01281.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLStencilTable</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00821_source.html#l00050">mtlComputeEvaluator.h:51</a></div></div> |
1196 | <div·class="ttc"·id="aa01281_html_a015dc72c3360b4841ee2b3feb06c106f"><div·class="ttname"><a·href="a01281.html#a015dc72c3360b4841ee2b3feb06c106f">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLStencilTable::MTLStencilTable</a></div><div·class="ttdeci">MTLStencilTable(Far::LimitStencilTable·const·*stencilTable,·MTLContext·*context)</div></div> | 1196 | <div·class="ttc"·id="aa01281_html_a015dc72c3360b4841ee2b3feb06c106f"><div·class="ttname"><a·href="a01281.html#a015dc72c3360b4841ee2b3feb06c106f">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLStencilTable::MTLStencilTable</a></div><div·class="ttdeci">MTLStencilTable(Far::LimitStencilTable·const·*stencilTable,·MTLContext·*context)</div></div> |
1197 | <div·class="ttc"·id="aa01281_html_a13aa05ad0482bad5182feb3cd75b4168"><div·class="ttname"><a·href="a01281.html#a13aa05ad0482bad5182feb3cd75b4168">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLStencilTable::GetDuWeightsBuffer</a></div><div·class="ttdeci">id<·MTLBuffer·>·GetDuWeightsBuffer()·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00821_source.html#l00069">mtlComputeEvaluator.h:69</a></div></div> | 1197 | <div·class="ttc"·id="aa01281_html_a13aa05ad0482bad5182feb3cd75b4168"><div·class="ttname"><a·href="a01281.html#a13aa05ad0482bad5182feb3cd75b4168">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLStencilTable::GetDuWeightsBuffer</a></div><div·class="ttdeci">id<·MTLBuffer·>·GetDuWeightsBuffer()·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00821_source.html#l00069">mtlComputeEvaluator.h:69</a></div></div> |
1198 | <div·class="ttc"·id="aa01281_html_a1ace4fd3d4d8b840a5b48415175ea8bc"><div·class="ttname"><a·href="a01281.html#a1ace4fd3d4d8b840a5b48415175ea8bc">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLStencilTable::~MTLStencilTable</a></div><div·class="ttdeci">~MTLStencilTable()</div></div> | 1198 | <div·class="ttc"·id="aa01281_html_a1ace4fd3d4d8b840a5b48415175ea8bc"><div·class="ttname"><a·href="a01281.html#a1ace4fd3d4d8b840a5b48415175ea8bc">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLStencilTable::~MTLStencilTable</a></div><div·class="ttdeci">~MTLStencilTable()</div></div> |
1199 | <div·class="ttc"·id="aa01281_html_a2f1e271aba868c291f9e0a9e9d1ace47"><div·class="ttname"><a·href="a01281.html#a2f1e271aba868c291f9e0a9e9d1ace47">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLStencilTable::GetDvvWeightsBuffer</a></div><div·class="ttdeci">id<·MTLBuffer·>·GetDvvWeightsBuffer()·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00821_source.html#l00073">mtlComputeEvaluator.h:73</a></div></div> | 1199 | <div·class="ttc"·id="aa01281_html_a2f1e271aba868c291f9e0a9e9d1ace47"><div·class="ttname"><a·href="a01281.html#a2f1e271aba868c291f9e0a9e9d1ace47">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLStencilTable::GetDvvWeightsBuffer</a></div><div·class="ttdeci">id<·MTLBuffer·>·GetDvvWeightsBuffer()·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00821_source.html#l00073">mtlComputeEvaluator.h:73</a></div></div> |
1200 | <div·class="ttc"·id="aa01281_html_a45e329ffe9fe4e32a1b21bfc89a6763f"><div·class="ttname"><a·href="a01281.html#a45e329ffe9fe4e32a1b21bfc89a6763f">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLStencilTable::MTLStencilTable</a></div><div·class="ttdeci">MTLStencilTable(Far::StencilTable·const·*stencilTable,·MTLContext·*context)</div></div> | 1200 | <div·class="ttc"·id="aa01281_html_a45e329ffe9fe4e32a1b21bfc89a6763f"><div·class="ttname"><a·href="a01281.html#a45e329ffe9fe4e32a1b21bfc89a6763f">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLStencilTable::MTLStencilTable</a></div><div·class="ttdeci">MTLStencilTable(Far::StencilTable·const·*stencilTable,·MTLContext·*context)</div></div> |
1201 | <div·class="ttc"·id="aa01281_html_a4dec46cc7a06c6c1687109e48f04e085"><div·class="ttname"><a·href="a01281.html#a4dec46cc7a06c6c1687109e48f04e085">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLStencilTable::GetDuuWeightsBuffer</a></div><div·class="ttdeci">id<·MTLBuffer·>·GetDuuWeightsBuffer()·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00821_source.html#l00071">mtlComputeEvaluator.h:71</a></div></div> | 1201 | <div·class="ttc"·id="aa01281_html_a4dec46cc7a06c6c1687109e48f04e085"><div·class="ttname"><a·href="a01281.html#a4dec46cc7a06c6c1687109e48f04e085">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLStencilTable::GetDuuWeightsBuffer</a></div><div·class="ttdeci">id<·MTLBuffer·>·GetDuuWeightsBuffer()·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00821_source.html#l00071">mtlComputeEvaluator.h:71</a></div></div> |
Offset 94, 15 lines modified | Offset 94, 15 lines modified | ||
94 | ··<div·class="summary"> | 94 | ··<div·class="summary"> |
95 | <a·href="#nested-classes">Classes</a>·| | 95 | <a·href="#nested-classes">Classes</a>·| |
96 | <a·href="#namespaces">Namespaces</a>··</div> | 96 | <a·href="#namespaces">Namespaces</a>··</div> |
97 | ··<div·class="headertitle"><div·class="title">mtlVertexBuffer.h·File·Reference</div></div> | 97 | ··<div·class="headertitle"><div·class="title">mtlVertexBuffer.h·File·Reference</div></div> |
98 | </div><!--header--> | 98 | </div><!--header--> |
99 | <div·class="contents"> | 99 | <div·class="contents"> |
100 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 100 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
101 | <code>#include·"<a·class="el"·href="a0080 | 101 | <code>#include·"<a·class="el"·href="a00806_source.html">../osd/mtlCommon.h</a>"</code><br·/> |
102 | </div> | 102 | </div> |
103 | <p><a·href="a00824_source.html">Go·to·the·source·code·of·this·file.</a></p> | 103 | <p><a·href="a00824_source.html">Go·to·the·source·code·of·this·file.</a></p> |
104 | <table·class="memberdecls"> | 104 | <table·class="memberdecls"> |
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
106 | Classes</h2></td></tr> | 106 | Classes</h2></td></tr> |
107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01301.html">CPUMTLVertexBuffer</a></td></tr> | 107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01301.html">CPUMTLVertexBuffer</a></td></tr> |
108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 187, 15 lines modified | Offset 187, 15 lines modified | ||
187 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>}·<span·class="comment">//end·namespace·OPENSUBDIV_VERSION</span></div> | 187 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>}·<span·class="comment">//end·namespace·OPENSUBDIV_VERSION</span></div> |
188 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> | 188 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> |
189 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> | 189 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> |
190 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>}·<span·class="comment">//end·namespace·OpenSubdiv</span></div> | 190 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>}·<span·class="comment">//end·namespace·OpenSubdiv</span></div> |
191 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | 191 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> |
192 | <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> | 192 | <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> |
193 | <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> | 193 | <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> |
194 | <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="a0080 | 194 | <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> |
195 | <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="a00824_source.html#l00039">mtlVertexBuffer.h:39</a></div></div> | 195 | <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="a00824_source.html#l00039">mtlVertexBuffer.h:39</a></div></div> |
196 | <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<·MTLBuffer·>·BindVBO(MTLContext·*context)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00824_source.html#l00058">mtlVertexBuffer.h:58</a></div></div> | 196 | <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<·MTLBuffer·>·BindVBO(MTLContext·*context)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00824_source.html#l00058">mtlVertexBuffer.h:58</a></div></div> |
197 | <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> | 197 | <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> |
198 | <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> | 198 | <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> |
199 | <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="a00824_source.html#l00045">mtlVertexBuffer.h:45</a></div></div> | 199 | <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="a00824_source.html#l00045">mtlVertexBuffer.h:45</a></div></div> |
200 | <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> | 200 | <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> |
201 | <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="a00824_source.html#l00050">mtlVertexBuffer.h:50</a></div></div> | 201 | <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="a00824_source.html#l00050">mtlVertexBuffer.h:50</a></div></div> |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/d | 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 88, 43 lines modified | Offset 88, 43 lines modified | ||
88 | </div> | 88 | </div> |
89 | </div> | 89 | </div> |
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#nested-classes">Classes</a>·| | ||
94 | <a·href="#namespaces">Namespaces</a>· | 95 | <a·href="#namespaces">Namespaces</a>··</div> |
95 | <a·href="#typedef-members">Typedefs</a>··</div> | ||
96 | ··<div·class="headertitle"><div·class="title">d | 96 | ··<div·class="headertitle"><div·class="title">hlslPatchShaderSource.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·<string></code><br·/> | ||
100 | <code>#include·"<a·class="el"·href="a00 | 101 | <code>#include·"<a·class="el"·href="a00740_source.html">../far/patchDescriptor.h</a>"</code><br·/> |
101 | <code>#include·"<a·class="el"·href="a00836_source.html">../osd/d3d11PatchTable.h</a>"</code><br·/> | ||
102 | </div> | 102 | </div> |
103 | <p><a·href="a00827_source.html">Go·to·the·source·code·of·this·file.</a></p> | 103 | <p><a·href="a00827_source.html">Go·to·the·source·code·of·this·file.</a></p> |
104 | <table·class="memberdecls"> | 104 | <table·class="memberdecls"> |
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
106 | Classes</h2></td></tr> | ||
107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01257.html">HLSLPatchShaderSource</a></td></tr> | ||
108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
109 | </table><table·class="memberdecls"> | ||
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 110 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
106 | Namespaces</h2></td></tr> | 111 | Namespaces</h2></td></tr> |
107 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 112 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
109 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 114 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
111 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> | 116 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> |
112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
113 | </table><table·class="memberdecls"> | ||
114 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
115 | Typedefs</h2></td></tr> | ||
116 | <tr·class="memitem:ae5c8e80d05d6eaee105d8eecfa9ab609"·id="r_ae5c8e80d05d6eaee105d8eecfa9ab609"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01261.html">MeshInterface</a><·<a·class="el"·href="a01201.html">D3D11PatchTable</a>·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#ae5c8e80d05d6eaee105d8eecfa9ab609">D3D11MeshInterface</a></td></tr> | ||
117 | <tr·class="separator:ae5c8e80d05d6eaee105d8eecfa9ab609"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
118 | </table> | 118 | </table> |
119 | </div><!--·contents·--> | 119 | </div><!--·contents·--> |
120 | </div><!--·doc-content·--> | 120 | </div><!--·doc-content·--> |
121 | <!--·start·footer·part·--> | 121 | <!--·start·footer·part·--> |
122 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 122 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
123 | ··<ul> | 123 | ··<ul> |
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="a00827.html">d | 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="a00827.html">hlslPatchShaderSource.h</a></li> |
125 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 125 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
126 | ··</ul> | 126 | ··</ul> |
127 | </div> | 127 | </div> |
128 | </body> | 128 | </body> |
129 | </html> | 129 | </html> |
Offset 1, 24 lines modified | Offset 1, 24 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8T_\x8y_\x8p_\x8e_\x8d_\x8e_\x8f_\x8s | ||
6 | 5 | _.C_.l_.a_.s_.s_.e_.s·|·_.N_.a_.m_.e_.s_.p_.a_.c_.e_.s | |
6 | hlslPatchShaderSource.h·File·Reference | ||
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8m_\x8e_\x8s_\x8h_\x8._\x8h" | ||
9 | #include· | 8 | #include·<string> |
9 | #include·"_\x8._\x8._\x8/_\x8f_\x8a_\x8r_\x8/_\x8p_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8._\x8h" | ||
10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
11 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | ||
12 | class· ·_\x8H_\x8L_\x8S_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e | ||
13 | |||
11 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 14 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
12 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 15 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
13 | 16 | ||
14 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 17 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
15 | 18 | ||
16 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d | 19 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d |
17 | 20 | ||
18 | T\x8Ty\x8yp\x8pe\x8ed\x8de\x8ef\x8fs\x8s | ||
19 | typedef·_\x8M_\x8e_\x8s_\x8h_\x8I_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e<·_\x8D_\x83_\x8D_\x81_\x81_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e·> ·_\x8D_\x83_\x8D_\x81_\x81_\x8M_\x8e_\x8s_\x8h_\x8I_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e | ||
20 | |||
21 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 21 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
22 | ····*·_\x8o_\x8s_\x8d | 22 | ····*·_\x8o_\x8s_\x8d |
23 | ····*·_\x8d_. | 23 | ····*·_\x8h_.l_.s_.l_.P_.a_.t_.c_.h_.S_.h_.a_.d_.e_.r_.S_.o_.u_.r_.c_.e_\x8._\x8h |
24 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 24 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | var·a00827·=·[ | 1 | var·a00827·=·[ |
2 | ····[" | 2 | ····["HLSLPatchShaderSource",·"a01257.html",·null] |
3 | ]; | 3 | ]; |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/d | 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 92, 19 lines modified | Offset 92, 19 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title">d | 98 | ··<div·class="headertitle"><div·class="title">hlslPatchShaderSource.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <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> | 101 | <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> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·201 | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> | 106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> |
107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> | 107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> |
108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> | 108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> |
109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> | 109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> |
Offset 119, 45 lines modified | Offset 119, 61 lines modified | ||
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_ | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_HLSL_PATCH_SHADER_SOURCE_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_ | 127 | <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> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·<string></span></div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../ | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../far/patchDescriptor.h"</span></div> |
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·"../osd/d3d11PatchTable.h"</span></div> | ||
133 | <div·class="line"><a·id="l0003 | 132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
134 | <div·class="line"><a·id="l0003 | 133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> |
135 | <div·class="line"><a·id="l0003 | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
136 | <div·class="line"><a·id="l0003 | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
137 | <div·class="line"><a·id="l0003 | 136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>Osd·{</div> |
138 | <div·class="line"><a·id="l0003 | 137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
139 | <div·class=" | 138 | <div·class="foldopen"·id="foldopen00037"·data-start="{"·data-end="};"> |
139 | <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> | ||
140 | <div·class="line"><a·id="l0003 | 140 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">public</span>:</div> |
141 | <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> | ||
141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> | 142 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> |
142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span> | 143 | <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> |
143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | 144 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> |
145 | <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> | ||
144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>}·<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> | ||
145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> | ||
146 | <div·class="line"><a·id="l0004 | 146 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> |
147 | <div·class="line"><a·id="l0004 | 147 | <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#a97a09fe0a378798cafdff72e115e37[·...·truncated·by·diffoscope;·len:·149,·SHA:·5aa3faf28424f0b8eeeb439ab3f4501b1014449576301ec870d382e7b02f7c40·...·]</div> |
148 | <div·class="line"><a·id="l0004 | 148 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> |
149 | <div·class="line"><a·id="l0004 | 149 | <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#a733309309efe67ba5d1acd7d0a9ff6[·...·truncated·by·diffoscope;·len:·151,·SHA:·b566a8154a647a8f8a6006a3a69ba84f9c90e6ecf7e9ee2e9d34e650f98f5d3e·...·]</div> |
150 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>};</div> | ||
151 | </div> | ||
152 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | ||
153 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>}··<span·class="comment">//·end·namespace·Osd</span></div> | ||
154 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | ||
155 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>}··<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> | ||
156 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> | ||
157 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | ||
158 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>}·<span·class="comment">//·end·namespace·OpenSubdiv</span></div> | ||
159 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | ||
160 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="preprocessor">#endif··</span><span·class="comment">//·OPENSUBDIV3_OSD_HLSL_PATCH_SHADER_SOURCE_H</span></div> | ||
150 | <div·class="ttc"·id="aa00905_html"><div·class="ttname"><a·href="a00905.html">OpenSubdiv</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00698_source.html#l00032">limits.h:32</a></div></div> | 161 | <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="aa009 | 162 | <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[·...·truncated·by·diffoscope;·len:·53,·SHA:·fe1ab8a5b0dad429ede5a65046a8a3fd523c7f6167493041412720a4de6ee79d·...·]8</a></div></div> |
152 | <div·class="ttc"·id="aa012 | 163 | <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="a00827_source.html#l00037">hlslPatchShaderSource.h:37</a></div></div> |
164 | <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> | ||
165 | <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> | ||
166 | <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> | ||
167 | <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> | ||
168 | <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> | ||
153 | </div><!--·fragment·--></div><!--·contents·--> | 169 | </div><!--·fragment·--></div><!--·contents·--> |
154 | </div><!--·doc-content·--> | 170 | </div><!--·doc-content·--> |
155 | <!--·start·footer·part·--> | 171 | <!--·start·footer·part·--> |
156 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 172 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
157 | ··<ul> | 173 | ··<ul> |
158 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00827.html">d | 174 | ····<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">hlslPatchShaderSource.h</a></li> |
159 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 175 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
160 | ··</ul> | 176 | ··</ul> |
161 | </div> | 177 | </div> |
162 | </body> | 178 | </body> |
163 | </html> | 179 | </html> |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | d | 5 | hlslPatchShaderSource.h |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·201 | 8 | 2//·Copyright·2015·Pixar |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: | 13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: |
14 | 8// | 14 | 8// |
15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade | 15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade |
Offset 24, 42 lines modified | Offset 24, 65 lines modified | ||
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24 | 30 | 24 |
31 | 25#ifndef·OPENSUBDIV3_OSD_D3D11MESH_H | ||
32 | 2 | 31 | 25#ifndef·OPENSUBDIV3_OSD_HLSL_PATCH_SHADER_SOURCE_H |
32 | 26#define·OPENSUBDIV3_OSD_HLSL_PATCH_SHADER_SOURCE_H | ||
33 | 27 | 33 | 27 |
34 | 28#include·"../version.h" | 34 | 28#include·"../version.h" |
35 | 29#include·<string> | ||
36 | 30#include·"../far/patchDescriptor.h" | ||
37 | 31 | ||
35 | 29 | ||
36 | 30#include·"../osd/mesh.h" | ||
37 | 31#include·"../osd/d3d11PatchTable.h" | ||
38 | 32 | ||
39 | 3 | 38 | 32namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ |
40 | 3 | 39 | 33namespace·OPENSUBDIV_VERSION·{ |
41 | 3 | 40 | 34 |
42 | 3 | 41 | 35namespace·Osd·{ |
43 | 37 | ||
44 | _\x83_\x88typedef·_\x8M_\x8e_\x8s_\x8h_\x8I_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e_\x8<_\x8D_\x83_\x8D_\x81_\x81_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e_\x8>·_\x8D_\x83_\x8D_\x81_\x81_\x8M_\x8e_\x8s_\x8h_\x8I_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e; | ||
45 | 3 | 42 | 36 |
43 | _\x83_\x87class·_\x8H_\x8L_\x8S_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e·{ | ||
44 | 38public: | ||
45 | _\x83_\x89·static·std::string·_\x8G_\x8e_\x8t_\x8C_\x8o_\x8m_\x8m_\x8o_\x8n_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e(); | ||
46 | 40 | 46 | 40 |
47 | 41 | 47 | _.4_.1·static·std::string·_.G_.e_.t_.P_.a_.t_.c_.h_.B_.a_.s_.i_.s_.S_.h_.a_.d_.e_.r_.S_.o_.u_.r_.c_.e(); |
48 | 42 | 48 | 42 |
49 | _\x84_\x83·static·std::string·_\x8G_\x8e_\x8t_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8T_\x8y_\x8p_\x8e·type); | ||
50 | 44 | ||
51 | _\x84_\x85·static·std::string·_\x8G_\x8e_\x8t_\x8H_\x8u_\x8l_\x8l_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8T_\x8y_\x8p_\x8e·type); | ||
52 | 46 | ||
53 | _\x84_\x87·static·std::string·_\x8G_\x8e_\x8t_\x8D_\x8o_\x8m_\x8a_\x8i_\x8n_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8T_\x8y_\x8p_\x8e·type); | ||
54 | 48}; | ||
55 | 49 | ||
56 | 50}·//·end·namespace·Osd | ||
57 | 51 | ||
49 | 58 | 52}·//·end·namespace·OPENSUBDIV_VERSION | |
50 | 59 | 53using·namespace·OPENSUBDIV_VERSION; | |
51 | 60 | 54 | |
52 | 61 | 55}·//·end·namespace·OpenSubdiv | |
53 | 47 | ||
54 | 62 | 56 | |
63 | 57#endif·//·OPENSUBDIV3_OSD_HLSL_PATCH_SHADER_SOURCE_H | ||
55 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 64 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
56 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8l_\x8i_\x8m_\x8i_\x8t_\x8s_\x8._\x8h_\x8:_\x83_\x82 | 65 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8l_\x8i_\x8m_\x8i_\x8t_\x8s_\x8._\x8h_\x8:_\x83_\x82 |
66 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8T_\x8y_\x8p_\x8e | ||
67 | Type | ||
68 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8p_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8._\x8h_\x8:_\x84_\x88 | ||
57 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8 | 69 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8H_.L_.S_.L_.P_.a_.t_.c_.h_.S_.h_.a_.d_.e_.r_.S_.o_.u_.r_\x8c_\x8e |
70 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8h_\x8l_\x8s_\x8l_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8._\x8h_\x8:_\x83_\x87 | ||
58 | MeshInterface<·D3D11PatchTable·>·D3D11MeshInterface | ||
59 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8d_\x83_\x8d_\x81_\x81_\x8M_\x8e_\x8s_\x8h_\x8._\x8h_\x8:_\x83_\x88 | ||
60 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8 | 71 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8H_.L_.S_.L_.P_.a_.t_.c_.h_.S_.h_.a_.d_.e_.r_.S_.o_.u_.r_.c_.e_.:_.: |
61 | 72 | _.G_.e_.t_.V_.e_.r_.t_.e_.x_.S_.h_.a_.d_.e_.r_.S_.o_.u_.r_.c_.e | |
73 | static·std::string·GetVertexShaderSource(Far::PatchDescriptor::Type·type) | ||
74 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8H_\x8L_\x8S_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8:_\x8: | ||
75 | _\x8G_\x8e_\x8t_\x8D_\x8o_\x8m_\x8a_\x8i_\x8n_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e | ||
76 | static·std::string·GetDomainShaderSource(Far::PatchDescriptor::Type·type) | ||
77 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8H_\x8L_\x8S_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8:_\x8:_\x8G_\x8e_\x8t_\x8H_\x8u_\x8l_\x8l_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e | ||
78 | static·std::string·GetHullShaderSource(Far::PatchDescriptor::Type·type) | ||
79 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8H_\x8L_\x8S_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8:_\x8: | ||
80 | _\x8G_\x8e_\x8t_\x8P_\x8a_\x8t_\x8c_\x8h_\x8B_\x8a_\x8s_\x8i_\x8s_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e | ||
81 | static·std::string·GetPatchBasisShaderSource() | ||
82 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8H_\x8L_\x8S_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8:_\x8: | ||
83 | _\x8G_\x8e_\x8t_\x8C_\x8o_\x8m_\x8m_\x8o_\x8n_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e | ||
84 | static·std::string·GetCommonShaderSource() | ||
62 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 85 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
63 | ····*·_\x8o_\x8s_\x8d | 86 | ····*·_\x8o_\x8s_\x8d |
64 | ····*·_\x8d_. | 87 | ····*·_\x8h_.l_.s_.l_.P_.a_.t_.c_.h_.S_.h_.a_.d_.e_.r_.S_.o_.u_.r_.c_.e_\x8._\x8h |
65 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 88 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/ | 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 88, 43 lines modified | Offset 88, 43 lines modified | ||
88 | </div> | 88 | </div> |
89 | </div> | 89 | </div> |
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#nested-classes">Classes</a>·| | ||
95 | <a·href="#namespaces">Namespaces</a>· | 94 | <a·href="#namespaces">Namespaces</a>·| |
95 | <a·href="#typedef-members">Typedefs</a>··</div> | ||
96 | ··<div·class="headertitle"><div·class="title"> | 96 | ··<div·class="headertitle"><div·class="title">d3d11Mesh.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·<string></code><br·/> | ||
101 | <code>#include·"<a·class="el"·href="a00 | 100 | <code>#include·"<a·class="el"·href="a00887_source.html">../osd/mesh.h</a>"</code><br·/> |
101 | <code>#include·"<a·class="el"·href="a00836_source.html">../osd/d3d11PatchTable.h</a>"</code><br·/> | ||
102 | </div> | 102 | </div> |
103 | <p><a·href="a00830_source.html">Go·to·the·source·code·of·this·file.</a></p> | 103 | <p><a·href="a00830_source.html">Go·to·the·source·code·of·this·file.</a></p> |
104 | <table·class="memberdecls"> | 104 | <table·class="memberdecls"> |
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
106 | Classes</h2></td></tr> | ||
107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01257.html">HLSLPatchShaderSource</a></td></tr> | ||
108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
109 | </table><table·class="memberdecls"> | ||
110 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
111 | Namespaces</h2></td></tr> | 106 | Namespaces</h2></td></tr> |
112 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 107 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
114 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 109 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
116 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> | 111 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> |
117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
113 | </table><table·class="memberdecls"> | ||
114 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
115 | Typedefs</h2></td></tr> | ||
116 | <tr·class="memitem:ae5c8e80d05d6eaee105d8eecfa9ab609"·id="r_ae5c8e80d05d6eaee105d8eecfa9ab609"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01261.html">MeshInterface</a><·<a·class="el"·href="a01201.html">D3D11PatchTable</a>·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#ae5c8e80d05d6eaee105d8eecfa9ab609">D3D11MeshInterface</a></td></tr> | ||
117 | <tr·class="separator:ae5c8e80d05d6eaee105d8eecfa9ab609"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
118 | </table> | 118 | </table> |
119 | </div><!--·contents·--> | 119 | </div><!--·contents·--> |
120 | </div><!--·doc-content·--> | 120 | </div><!--·doc-content·--> |
121 | <!--·start·footer·part·--> | 121 | <!--·start·footer·part·--> |
122 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 122 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
123 | ··<ul> | 123 | ··<ul> |
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="a00830.html"> | 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="a00830.html">d3d11Mesh.h</a></li> |
125 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 125 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
126 | ··</ul> | 126 | ··</ul> |
127 | </div> | 127 | </div> |
128 | </body> | 128 | </body> |
129 | </html> | 129 | </html> |
Offset 1, 24 lines modified | Offset 1, 24 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | ||
6 | 5 | _.N_.a_.m_.e_.s_.p_.a_.c_.e_.s·|·_.T_.y_.p_.e_.d_.e_.f_.s | |
6 | d3d11Mesh.h·File·Reference | ||
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·<string> | ||
9 | #include·"_\x8._\x8._\x8/_\x8 | 8 | #include·"_\x8._\x8._\x8/_\x8o_.s_.d_./_.m_.e_.s_.h_\x8._\x8h" |
9 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8d_\x83_\x8d_\x81_\x81_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e_\x8._\x8h" | ||
10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
11 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | ||
12 | class· ·_\x8H_\x8L_\x8S_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e | ||
13 | |||
14 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 11 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
15 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 12 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
16 | 13 | ||
17 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 14 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
18 | 15 | ||
19 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d | 16 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d |
20 | 17 | ||
18 | T\x8Ty\x8yp\x8pe\x8ed\x8de\x8ef\x8fs\x8s | ||
19 | typedef·_\x8M_\x8e_\x8s_\x8h_\x8I_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e<·_\x8D_\x83_\x8D_\x81_\x81_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e·> ·_\x8D_\x83_\x8D_\x81_\x81_\x8M_\x8e_\x8s_\x8h_\x8I_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e | ||
20 | |||
21 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 21 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
22 | ····*·_\x8o_\x8s_\x8d | 22 | ····*·_\x8o_\x8s_\x8d |
23 | ····*·_\x8 | 23 | ····*·_\x8d_.3_.d_.1_.1_.M_.e_.s_.h_\x8._\x8h |
24 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 24 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | var·a00830·=·[ | 1 | var·a00830·=·[ |
2 | ····[" | 2 | ····["D3D11MeshInterface",·"a00830.html#ae5c8e80d05d6eaee105d8eecfa9ab609",·null] |
3 | ]; | 3 | ]; |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/ | 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 92, 19 lines modified | Offset 92, 19 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title"> | 98 | ··<div·class="headertitle"><div·class="title">d3d11Mesh.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <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> | 101 | <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> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·201 | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> | 106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> |
107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> | 107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> |
108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> | 108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> |
109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> | 109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> |
Offset 119, 61 lines modified | Offset 119, 45 lines modified | ||
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_ | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_D3D11MESH_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_ | 127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_D3D11MESH_H</span></div> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span> | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../ | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../osd/mesh.h"</span></div> |
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·"../osd/d3d11PatchTable.h"</span></div> | ||
132 | <div·class="line"><a·id="l0003 | 133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
133 | <div·class="line"><a·id="l0003 | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> |
134 | <div·class="line"><a·id="l0003 | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
135 | <div·class="line"><a·id="l0003 | 136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
136 | <div·class="line"><a·id="l0003 | 137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>Osd·{</div> |
137 | <div·class="line"><a·id="l0003 | 138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> |
139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a00912.html#ae5c8e80d05d6eaee105d8eecfa9ab609">···38</a></span><span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01261.html">MeshInterface<D3D11PatchTable></a>·<a·class="code·hl_typedef"·href="a00912.html#ae5c8e80d05d6eaee105d8eecfa9ab609">D3D11MeshInterface</a>;</div> | ||
138 | <div·class="foldopen"·id="foldopen00037"·data-start="{"·data-end="};"> | ||
139 | <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> | ||
140 | <div·class="line"><a·id="l0003 | 140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
141 | <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> | ||
142 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> | 141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> |
143 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"> | 142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>}·<span·class="comment">//·end·namespace·Osd</span></div> |
144 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | 143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> |
145 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"> | 144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>}·<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> |
145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> | ||
146 | <div·class="line"><a·id="l0004 | 146 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> |
147 | <div·class="line"><a·id="l0004 | 147 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>}··<span·class="comment">//·end·namespace·OpenSubdiv</span></div> |
148 | <div·class="line"><a·id="l0004 | 148 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> |
149 | <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> | ||
150 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>};</div> | ||
151 | </div> | ||
152 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | ||
153 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>}··<span·class="comment">//·end·namespace·Osd</span></div> | ||
154 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | ||
155 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>}··<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> | ||
156 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> | ||
157 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | ||
158 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>}·<span·class="comment">//·end·namespace·OpenSubdiv</span></div> | ||
159 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | ||
160 | <div·class="line"><a·id="l000 | 149 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="preprocessor">#endif··</span><span·class="comment">//·OPENSUBDIV3_OSD_D3D11MESH_H</span></div> |
161 | <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="aa00912_html_ae5c8e80d05d6eaee105d8eecfa9ab609"><div·class="ttname"><a·href="a00912.html#ae5c8e80d05d6eaee105d8eecfa9ab609">OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11MeshInterface</a></div><div·class="ttdeci">MeshInterface<·D3D11PatchTable·>·D3D11MeshInterface</div><div·class="ttdef"><b>Definition</b>·<a·href="a00830_source.html#l00038">d3d11Mesh.h:38</a></div></div> | ||
152 | <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> | ||
162 | <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> | ||
163 | <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="a00830_source.html#l00037">hlslPatchShaderSource.h:37</a></div></div> | ||
164 | <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> | ||
165 | <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> | ||
166 | <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> | ||
167 | <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> | ||
168 | <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> | ||
169 | </div><!--·fragment·--></div><!--·contents·--> | 153 | </div><!--·fragment·--></div><!--·contents·--> |
170 | </div><!--·doc-content·--> | 154 | </div><!--·doc-content·--> |
171 | <!--·start·footer·part·--> | 155 | <!--·start·footer·part·--> |
172 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 156 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
173 | ··<ul> | 157 | ··<ul> |
174 | ····<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"> | 158 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00830.html">d3d11Mesh.h</a></li> |
175 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 159 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
176 | ··</ul> | 160 | ··</ul> |
177 | </div> | 161 | </div> |
178 | </body> | 162 | </body> |
179 | </html> | 163 | </html> |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | 5 | d3d11Mesh.h | |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·201 | 8 | 2//·Copyright·2013·Pixar |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: | 13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: |
14 | 8// | 14 | 8// |
15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade | 15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade |
Offset 24, 65 lines modified | Offset 24, 42 lines modified | ||
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24 | 30 | 24 |
31 | 25#ifndef·OPENSUBDIV3_OSD_HLSL_PATCH_SHADER_SOURCE_H | ||
32 | 2 | 31 | 25#ifndef·OPENSUBDIV3_OSD_D3D11MESH_H |
32 | 26#define·OPENSUBDIV3_OSD_D3D11MESH_H | ||
33 | 27 | 33 | 27 |
34 | 28#include·"../version.h" | 34 | 28#include·"../version.h" |
35 | 29#include·<string> | ||
36 | 30#include·"../far/patchDescriptor.h" | ||
37 | 35 | 29 | |
36 | 30#include·"../osd/mesh.h" | ||
37 | 31#include·"../osd/d3d11PatchTable.h" | ||
38 | 32 | ||
38 | 3 | 39 | 33namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ |
39 | 3 | 40 | 34namespace·OPENSUBDIV_VERSION·{ |
40 | 3 | 41 | 35 |
41 | 3 | 42 | 36namespace·Osd·{ |
43 | 37 | ||
44 | _\x83_\x88typedef·_\x8M_\x8e_\x8s_\x8h_\x8I_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e_\x8<_\x8D_\x83_\x8D_\x81_\x81_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e_\x8>·_\x8D_\x83_\x8D_\x81_\x81_\x8M_\x8e_\x8s_\x8h_\x8I_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e; | ||
45 | 39 | ||
42 | 36 | ||
43 | _\x83_\x87class·_\x8H_\x8L_\x8S_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e·{ | ||
44 | 38public: | ||
45 | _\x83_\x89·static·std::string·_\x8G_\x8e_\x8t_\x8C_\x8o_\x8m_\x8m_\x8o_\x8n_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e(); | ||
46 | 40 | 46 | 40 |
47 | 47 | 41}·//·end·namespace·Osd | |
48 | 42 | 48 | 42 |
49 | _\x84_\x83·static·std::string·_\x8G_\x8e_\x8t_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8T_\x8y_\x8p_\x8e·type); | ||
50 | 44 | ||
51 | _\x84_\x85·static·std::string·_\x8G_\x8e_\x8t_\x8H_\x8u_\x8l_\x8l_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8T_\x8y_\x8p_\x8e·type); | ||
52 | 46 | ||
53 | _\x84_\x87·static·std::string·_\x8G_\x8e_\x8t_\x8D_\x8o_\x8m_\x8a_\x8i_\x8n_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8T_\x8y_\x8p_\x8e·type); | ||
54 | 48}; | ||
55 | 49 | ||
56 | 50}·//·end·namespace·Osd | ||
57 | 51 | ||
58 | 49 | 43}·//·end·namespace·OPENSUBDIV_VERSION | |
59 | 50 | 44using·namespace·OPENSUBDIV_VERSION; | |
60 | 51 | 45 | |
61 | 52 | 46}·//·end·namespace·OpenSubdiv | |
62 | 56 | ||
63 | 53 | 47 | |
54 | 48#endif·//·OPENSUBDIV3_OSD_D3D11MESH_H | ||
64 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 55 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
65 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8l_\x8i_\x8m_\x8i_\x8t_\x8s_\x8._\x8h_\x8:_\x83_\x82 | 56 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8l_\x8i_\x8m_\x8i_\x8t_\x8s_\x8._\x8h_\x8:_\x83_\x82 |
66 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8T_\x8y_\x8p_\x8e | ||
67 | Type | ||
68 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8p_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8._\x8h_\x8:_\x84_\x88 | ||
69 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8 | 57 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8D_.3_.D_.1_.1_.M_.e_.s_.h_.I_.n_.t_.e_.r_.f_.a_\x8c_\x8e |
70 | 58 | MeshInterface<·D3D11PatchTable·>·D3D11MeshInterface | |
59 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8d_\x83_\x8d_\x81_\x81_\x8M_\x8e_\x8s_\x8h_\x8._\x8h_\x8:_\x83_\x88 | ||
71 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8 | 60 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8M_.e_.s_.h_.I_.n_.t_.e_.r_.f_.a_.c_.e |
61 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8m_\x8e_\x8s_\x8h_\x8._\x8h_\x8:_\x86_\x88 | ||
72 | _\x8G_\x8e_\x8t_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e | ||
73 | static·std::string·GetVertexShaderSource(Far::PatchDescriptor::Type·type) | ||
74 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8H_\x8L_\x8S_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8:_\x8: | ||
75 | _\x8G_\x8e_\x8t_\x8D_\x8o_\x8m_\x8a_\x8i_\x8n_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e | ||
76 | static·std::string·GetDomainShaderSource(Far::PatchDescriptor::Type·type) | ||
77 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8H_\x8L_\x8S_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8:_\x8:_\x8G_\x8e_\x8t_\x8H_\x8u_\x8l_\x8l_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e | ||
78 | static·std::string·GetHullShaderSource(Far::PatchDescriptor::Type·type) | ||
79 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8H_\x8L_\x8S_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8:_\x8: | ||
80 | _\x8G_\x8e_\x8t_\x8P_\x8a_\x8t_\x8c_\x8h_\x8B_\x8a_\x8s_\x8i_\x8s_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e | ||
81 | static·std::string·GetPatchBasisShaderSource() | ||
82 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8H_\x8L_\x8S_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8:_\x8: | ||
83 | _\x8G_\x8e_\x8t_\x8C_\x8o_\x8m_\x8m_\x8o_\x8n_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e | ||
84 | static·std::string·GetCommonShaderSource() | ||
85 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 62 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
86 | ····*·_\x8o_\x8s_\x8d | 63 | ····*·_\x8o_\x8s_\x8d |
87 | ····*·_\x8 | 64 | ····*·_\x8d_.3_.d_.1_.1_.M_.e_.s_.h_\x8._\x8h |
88 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 65 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/ | 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 90, 45 lines modified | Offset 90, 41 lines modified | ||
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#nested-classes">Classes</a>·| | 94 | <a·href="#nested-classes">Classes</a>·| |
95 | <a·href="#namespaces">Namespaces</a>··</div> | 95 | <a·href="#namespaces">Namespaces</a>··</div> |
96 | ··<div·class="headertitle"><div·class="title"> | 96 | ··<div·class="headertitle"><div·class="title">cpuD3D11VertexBuffer.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·& | 100 | <code>#include·<cstddef></code><br·/> |
101 | </div> | 101 | </div> |
102 | <p><a·href="a00842_source.html">Go·to·the·source·code·of·this·file.</a></p> | 102 | <p><a·href="a00842_source.html">Go·to·the·source·code·of·this·file.</a></p> |
103 | <table·class="memberdecls"> | 103 | <table·class="memberdecls"> |
104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
105 | Classes</h2></td></tr> | 105 | Classes</h2></td></tr> |
106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01189.html">D3D11StencilTable</a></td></tr> | ||
107 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">D3D11·stencil·table.··<a·href="a01189.html#details">More...</a><br·/></td></tr> | ||
108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
109 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a011 | 106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01153.html">CpuD3D11VertexBuffer</a></td></tr> |
107 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Concrete·vertex·buffer·class·for·Cpu·subdivision·and·DirectX·drawing.··<a·href="a01153.html#details">More...</a><br·/></td></tr> | ||
110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
111 | </table><table·class="memberdecls"> | 109 | </table><table·class="memberdecls"> |
112 | <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> |
113 | Namespaces</h2></td></tr> | 111 | Namespaces</h2></td></tr> |
114 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 112 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
116 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 114 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
118 | <tr·class="memitem:a00908"·id="r_a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr> | ||
119 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
120 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> | 116 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> |
121 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
122 | </table> | 118 | </table> |
123 | </div><!--·contents·--> | 119 | </div><!--·contents·--> |
124 | </div><!--·doc-content·--> | 120 | </div><!--·doc-content·--> |
125 | <!--·start·footer·part·--> | 121 | <!--·start·footer·part·--> |
126 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 122 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
127 | ··<ul> | 123 | ··<ul> |
128 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00842.html"> | 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="a00842.html">cpuD3D11VertexBuffer.h</a></li> |
129 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 125 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
130 | ··</ul> | 126 | ··</ul> |
131 | </div> | 127 | </div> |
132 | </body> | 128 | </body> |
133 | </html> | 129 | </html> |
Offset 1, 28 lines modified | Offset 1, 25 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
6 | 6 | cpuD3D11VertexBuffer.h·File·Reference | |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include· | 8 | #include·<cstddef> |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 10 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
11 | class· ·_\x8C_\x8p_\x8u_\x8D_\x83_\x8D_\x81_\x81_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r | ||
12 | ·······Concrete·vertex·buffer·class·for·Cpu·subdivision·and·DirectX·drawing. | ||
13 | ········_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
11 | class· ·_\x8D_\x83_\x8D_\x81_\x81_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e | ||
12 | ·······D3D11·stencil·table.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
13 | |||
14 | class· ·_\x8D_\x83_\x8D_\x81_\x81_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r | ||
15 | 14 | ||
16 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 15 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
17 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 16 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
18 | 17 | ||
19 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 18 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
20 | 19 | ||
21 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8F_\x8a_\x8r | ||
22 | |||
23 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d | 20 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d |
24 | 21 | ||
25 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 22 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
26 | ····*·_\x8o_\x8s_\x8d | 23 | ····*·_\x8o_\x8s_\x8d |
27 | ····*·_\x8 | 24 | ····*·_\x8c_.p_.u_.D_.3_.D_.1_.1_.V_.e_.r_.t_.e_.x_.B_.u_.f_.f_.e_\x8r_\x8._\x8h |
28 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 25 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 4 lines modified | Offset 1, 3 lines modified | ||
1 | var·a00842·=·[ | 1 | var·a00842·=·[ |
2 | ····["CpuD3D11VertexBuffer",·"a01153.html",·"a01153"] | ||
2 | ····["D3D11StencilTable",·"a01189.html",·"a01189"], | ||
3 | ····["D3D11ComputeEvaluator",·"a01193.html",·"a01193"] | ||
4 | ]; | 3 | ]; |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/ | 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 92, 19 lines modified | Offset 92, 19 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title"> | 98 | ··<div·class="headertitle"><div·class="title">cpuD3D11VertexBuffer.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <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> | 101 | <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> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·201 | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> | 106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> |
107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> | 107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> |
108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> | 108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> |
109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> | 109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> |
Offset 119, 225 lines modified | Offset 119, 91 lines modified | ||
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_D3D11_ | 126 | <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> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_D3D11_ | 127 | <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> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·<cstddef></span></div> | ||
130 | <div·class="line"><a·id="l000 | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">struct·</span>ID3D11DeviceContext;</div> | ||
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">struct·</span>ID3D11Buffer;</div> | 132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">struct·</span>ID3D11Buffer;</div> |
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">struct·</span>ID3D11 | 133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">struct·</span>ID3D11Device;</div> |
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">struct·</span>ID3D11 | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">struct·</span>ID3D11DeviceContext;</div> |
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span> | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword"> | 136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> |
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword"> | 137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | 138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> |
139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class=" | 139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">namespace·</span>Osd·{</div> |
140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | 140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> | ||
142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> | ||
143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | ||
144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">namespace·</span>Far·{</div> | ||
145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">class·</span>StencilTable;</div> | ||
146 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>}</div> | ||
147 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
148 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="keyword">namespace·</span>Osd·{</div> | ||
149 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
150 | <div·class="foldopen"·id="foldopen00056"·data-start="{"·data-end="};"> | ||
151 | <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> | ||
152 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">public</span>:</div> | ||
153 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="keyword">template</span>·<<span·class="keyword">typename</span>·DEVICE_CONTEXT></div> | ||
154 | <div·class="foldopen"·id="foldopen00059"·data-start="{"·data-end="}"> | ||
155 | <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> | ||
156 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······································DEVICE_CONTEXT·context)·{</div> | ||
157 | <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_class"·href="a01189.html">D3D11StencilTable</a>(stencilTable,·context->GetDeviceContext());</div> | ||
158 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····}</div> | ||
159 | </div> | ||
160 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | ||
161 | <div·class="foldopen"·id="foldopen000 | 141 | <div·class="foldopen"·id="foldopen00048"·data-start="{"·data-end="};"> |
162 | <div·class="line"><a·id="l000 | 142 | <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> |
143 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">public</span>:</div> | ||
144 | <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> | ||
163 | <div·class="line"><a·id="l000 | 145 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·········································ID3D11DeviceContext·*deviceContext);</div> |
164 | <div·class="line"><a·id="l000 | 146 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> |
147 | <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> | ||
148 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | ||
149 | <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> | ||
150 | <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="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | ||
152 | <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> | ||
153 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | ||
154 | <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> | ||
165 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>· | 155 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> |
156 | <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> | ||
166 | </div> | ||
167 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | ||
168 | <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> | ||
169 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·······················ID3D11DeviceContext·*deviceContext);</div> | ||
170 | <div·class="line"><a·id="l0007 | 157 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> |
171 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a011 | 158 | <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> |
172 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | 159 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> |
160 | <div·class="foldopen"·id="foldopen00075"·data-start="{"·data-end="}"> | ||
161 | <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> | ||
162 | <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> | ||
163 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····}</div> | ||
164 | </div> | ||
173 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<span·class="comment">//·interfaces·needed·for·D3D11ComputeEvaluator</span></div> | ||
174 | <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> | ||
175 | <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> | ||
176 | <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> | ||
177 | <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> | ||
178 | <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> | ||
179 | <div·class="line"><a·id="l000 | 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="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> | ||
168 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | ||
169 | <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> | ||
170 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> | ||
180 | <div·class="line"><a·id="l0008 | 171 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span><span·class="keyword">private</span>:</div> |
172 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="keywordtype">int</span>·_numElements;</div> | ||
173 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<span·class="keywordtype">int</span>·_numVertices;</div> | ||
181 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····ID3D11ShaderResourceView·*_sizes;</div> | ||
182 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····ID3D11ShaderResourceView·*_offsets;</div> | ||
183 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····ID3D11ShaderResourceView·*_indices;</div> | ||
184 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····ID3D11ShaderResourceView·*_weights;</div> | ||
185 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····ID3D11Buffer·*_sizesBuffer;</div> | ||
Max diff block lines reached; 36616/59854 bytes (61.18%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | 5 | cpuD3D11VertexBuffer.h | |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·201 | 8 | 2//·Copyright·2013·Pixar |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: | 13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: |
14 | 8// | 14 | 8// |
15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade | 15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade |
Offset 24, 272 lines modified | Offset 24, 105 lines modified | ||
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24 | 30 | 24 |
31 | 25#ifndef·OPENSUBDIV3_OSD_D3D11_ | 31 | 25#ifndef·OPENSUBDIV3_OSD_CPU_D3D11_VERTEX_BUFFER_H |
32 | 26#define·OPENSUBDIV3_OSD_D3D11_ | 32 | 26#define·OPENSUBDIV3_OSD_CPU_D3D11_VERTEX_BUFFER_H |
33 | 27 | 33 | 27 |
34 | 28#include·"../version.h" | 34 | 28#include·"../version.h" |
35 | 29 | ||
36 | 35 | 29#include·<cstddef> | |
36 | 30 | ||
37 | 31struct·ID3D11Buffer; | 37 | 31struct·ID3D11Buffer; |
38 | 32struct·ID3D11ComputeShader; | ||
39 | 33struct·ID3D11ClassLinkage; | ||
40 | 34struct·ID3D11ClassInstance; | ||
41 | 35struct·ID3D11ShaderResourceView; | ||
42 | 3 | 38 | 32struct·ID3D11Device; |
39 | 33struct·ID3D11DeviceContext; | ||
40 | 34 | ||
41 | 35namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ | ||
42 | 36namespace·OPENSUBDIV_VERSION·{ | ||
43 | 37 | 43 | 37 |
44 | 38 | 44 | 38namespace·Osd·{ |
45 | 39 | 45 | 39 |
46 | _\x84_\x88class·_\x8C_\x8p_\x8u_\x8D_\x83_\x8D_\x81_\x81_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r·{ | ||
46 | 40namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ | ||
47 | 41namespace·OPENSUBDIV_VERSION·{ | ||
48 | 42 | ||
49 | 43namespace·Far·{ | ||
50 | 44·class·StencilTable; | ||
51 | 45} | ||
52 | 46 | ||
53 | 47namespace·Osd·{ | ||
54 | 48 | ||
55 | _\x85_\x86class·_\x8D_\x83_\x8D_\x81_\x81_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·{ | ||
56 | 47 | 49public: | |
48 | _\x85_\x81·static·_\x8C_\x8p_\x8u_\x8D_\x83_\x8D_\x81_\x81_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r·*·_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(int·numElements,·int·numVertices, | ||
57 | 58·template·<typename·DEVICE_CONTEXT> | ||
58 | _\x85_\x89·static·_\x8D_\x83_\x8D_\x81_\x81_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·*_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·const·*stencilTable, | ||
59 | 60·DEVICE_CONTEXT·context)·{ | ||
60 | 61·return·new·_\x8D_\x83_\x8D_\x81_\x81_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e(stencilTable,·context->GetDeviceContext()); | ||
61 | 62·} | ||
62 | 63 | ||
63 | _\x86_\x84·static·_\x8D_\x83_\x8D_\x81_\x81_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·*_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·const·*stencilTable, | ||
64 | 65·ID3D11DeviceContext·*deviceContext)·{ | ||
65 | 66·return·new·_\x8D_\x83_\x8D_\x81_\x81_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e(stencilTable,·deviceContext); | ||
66 | 67·} | ||
67 | 68 | ||
68 | _\x86_\x89·_\x8D_\x83_\x8D_\x81_\x81_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·const·*stencilTable, | ||
69 | 49 | 52·ID3D11DeviceContext·*deviceContext); | |
70 | 71 | ||
71 | 50 | 53 | |
51 | _\x85_\x85·virtual·_\x8~_\x8C_\x8p_\x8u_\x8D_\x83_\x8D_\x81_\x81_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r(); | ||
52 | 56 | ||
53 | _\x85_\x89·void·_\x8U_\x8p_\x8d_\x8a_\x8t_\x8e_\x8D_\x8a_\x8t_\x8a(const·float·*src,·int·startVertex,·int·numVertices, | ||
54 | 60·void·*deviceContext·=·NULL); | ||
55 | 61 | ||
56 | _\x86_\x83·int·_\x8G_\x8e_\x8t_\x8N_\x8u_\x8m_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8s()·const; | ||
57 | 64 | ||
58 | _\x86_\x86·int·_\x8G_\x8e_\x8t_\x8N_\x8u_\x8m_\x8V_\x8e_\x8r_\x8t_\x8i_\x8c_\x8e_\x8s()·const; | ||
59 | 67 | ||
60 | _\x86_\x89·float·*·_\x8B_\x8i_\x8n_\x8d_\x8C_\x8p_\x8u_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r(); | ||
61 | 70 | ||
62 | _\x87_\x82·ID3D11Buffer·*_\x8B_\x8i_\x8n_\x8d_\x8D_\x83_\x8D_\x81_\x81_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r(ID3D11DeviceContext·*deviceContext); | ||
72 | 73 | 63 | 73 |
73 | 74·//·interfaces·needed·for·D3D11ComputeEvaluator | ||
74 | _\x87_\x85·ID3D11ShaderResourceView·*_\x8G_\x8e_\x8t_\x8S_\x8i_\x8z_\x8e_\x8s_\x8S_\x8R_\x8V()·const·{·return·_sizes;·} | ||
75 | _\x87_\x86·ID3D11ShaderResourceView·*_\x8G_\x8e_\x8t_\x8O_\x8f_\x8f_\x8s_\x8e_\x8t_\x8s_\x8S_\x8R_\x8V()·const·{·return·_offsets;·} | ||
76 | _\x87_\x87·ID3D11ShaderResourceView·*_\x8G_\x8e_\x8t_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s_\x8S_\x8R_\x8V()·const·{·return·_indices;·} | ||
77 | _\x87_\x88·ID3D11ShaderResourceView·*_\x8G_\x8e_\x8t_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8S_\x8R_\x8V()·const·{·return·_weights;·} | ||
78 | _\x87_\x89·int·_\x8G_\x8e_\x8t_\x8N_\x8u_\x8m_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s()·const·{·return·_numStencils;·} | ||
79 | 64 | _.7_.5·ID3D11Buffer·*_.B_.i_.n_.d_.V_.B_.O(ID3D11DeviceContext·*deviceContext)·{ | |
65 | 76·return·_\x8B_\x8i_\x8n_\x8d_\x8D_\x83_\x8D_\x81_\x81_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r(deviceContext); | ||
66 | 77·} | ||
67 | 78 | ||
68 | 79protected: | ||
69 | _\x88_\x81·_\x8C_\x8p_\x8u_\x8D_\x83_\x8D_\x81_\x81_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r(int·numElements,·int·numVertices); | ||
70 | 82 | ||
71 | _\x88_\x83·bool·_\x8a_\x8l_\x8l_\x8o_\x8c_\x8a_\x8t_\x8e(ID3D11Device·*device); | ||
72 | 84 | ||
80 | 8 | 73 | 85private: |
74 | 86·int·_numElements; | ||
75 | 87·int·_numVertices; | ||
81 | 82·ID3D11ShaderResourceView·*_sizes; | ||
82 | 83·ID3D11ShaderResourceView·*_offsets; | ||
83 | 84·ID3D11ShaderResourceView·*_indices; | ||
84 | 85·ID3D11ShaderResourceView·*_weights; | ||
85 | 86·ID3D11Buffer·*_sizesBuffer; | ||
86 | 87·ID3D11Buffer·*_offsetsBuffer; | ||
87 | 88·ID3D11Buffer·*_ | 76 | 88·ID3D11Buffer·*_d3d11Buffer; |
77 | 89·float·*_cpuBuffer; | ||
88 | 89·ID3D11Buffer·*_weightsBuffer; | ||
89 | 90 | ||
90 | 91·int·_numStencils; | ||
91 | 9 | 78 | 90}; |
79 | 91 | ||
80 | 92}·//·end·namespace·Osd | ||
92 | 93 | 81 | 93 |
93 | 94//·-------------------------------------------------------------------------- | ||
94 | - | ||
95 | 95 | ||
96 | _\x89_\x86class·_\x8D_\x83_\x8D_\x81_\x81_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r·{ | ||
97 | 97public: | ||
98 | _\x89_\x88·typedef·bool·_\x8I_\x8n_\x8s_\x8t_\x8a_\x8n_\x8t_\x8i_\x8a_\x8t_\x8a_\x8b_\x8l_\x8e; | ||
99 | _\x89_\x89·static·_\x8D_\x83_\x8D_\x81_\x81_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r·*·_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, | ||
100 | 100·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, | ||
101 | 101·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&duDesc, | ||
102 | 102·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dvDesc, | ||
Max diff block lines reached; 12586/22723 bytes (55.39%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/ | 8 | <title>OpenSubdiv:·opensubdiv/osd/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 90, 41 lines modified | Offset 90, 45 lines modified | ||
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#nested-classes">Classes</a>·| | 94 | <a·href="#nested-classes">Classes</a>·| |
95 | <a·href="#namespaces">Namespaces</a>··</div> | 95 | <a·href="#namespaces">Namespaces</a>··</div> |
96 | ··<div·class="headertitle"><div·class="title"> | 96 | ··<div·class="headertitle"><div·class="title">d3d11ComputeEvaluator.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·& | 100 | <code>#include·"<a·class="el"·href="a00899_source.html">../osd/bufferDescriptor.h</a>"</code><br·/> |
101 | </div> | 101 | </div> |
102 | <p><a·href="a00845_source.html">Go·to·the·source·code·of·this·file.</a></p> | 102 | <p><a·href="a00845_source.html">Go·to·the·source·code·of·this·file.</a></p> |
103 | <table·class="memberdecls"> | 103 | <table·class="memberdecls"> |
104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
105 | Classes</h2></td></tr> | 105 | Classes</h2></td></tr> |
106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01189.html">D3D11StencilTable</a></td></tr> | ||
107 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">D3D11·stencil·table.··<a·href="a01189.html#details">More...</a><br·/></td></tr> | ||
108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a011 | 109 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01193.html">D3D11ComputeEvaluator</a></td></tr> |
107 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Concrete·vertex·buffer·class·for·Cpu·subdivision·and·DirectX·drawing.··<a·href="a01153.html#details">More...</a><br·/></td></tr> | ||
108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
109 | </table><table·class="memberdecls"> | 111 | </table><table·class="memberdecls"> |
110 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 112 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
111 | Namespaces</h2></td></tr> | 113 | Namespaces</h2></td></tr> |
112 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 114 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
114 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 116 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
118 | <tr·class="memitem:a00908"·id="r_a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr> | ||
119 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
116 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> | 120 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> |
117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 121 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
118 | </table> | 122 | </table> |
119 | </div><!--·contents·--> | 123 | </div><!--·contents·--> |
120 | </div><!--·doc-content·--> | 124 | </div><!--·doc-content·--> |
121 | <!--·start·footer·part·--> | 125 | <!--·start·footer·part·--> |
122 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 126 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
123 | ··<ul> | 127 | ··<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="a00845.html"> | 128 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00845.html">d3d11ComputeEvaluator.h</a></li> |
125 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 129 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
126 | ··</ul> | 130 | ··</ul> |
127 | </div> | 131 | </div> |
128 | </body> | 132 | </body> |
129 | </html> | 133 | </html> |
Offset 1, 25 lines modified | Offset 1, 28 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
6 | 6 | d3d11ComputeEvaluator.h·File·Reference | |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include· | 8 | #include·"_.._.._./_.o_.s_.d_./_.b_.u_.f_.f_.e_.r_.D_.e_.s_.c_.r_.i_.p_.t_.o_.r_.._.h" |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 10 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
11 | class· ·_\x8C_\x8p_\x8u_\x8D_\x83_\x8D_\x81_\x81_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r | ||
12 | ·······Concrete·vertex·buffer·class·for·Cpu·subdivision·and·DirectX·drawing. | ||
13 | ·· | 11 | class· ·_.D_.3_.D_.1_.1_.S_.t_.e_.n_.c_.i_.l_.T_.a_.b_.l_.e |
12 | ·······D3D11·stencil·table.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
13 | |||
14 | class· ·_\x8D_\x83_\x8D_\x81_\x81_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r | ||
14 | 15 | ||
15 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 16 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
16 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 17 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
17 | 18 | ||
18 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 19 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
19 | 20 | ||
21 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8F_\x8a_\x8r | ||
22 | |||
20 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d | 23 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d |
21 | 24 | ||
22 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 25 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
23 | ····*·_\x8o_\x8s_\x8d | 26 | ····*·_\x8o_\x8s_\x8d |
24 | ····*·_\x8 | 27 | ····*·_\x8d_.3_.d_.1_.1_.C_.o_.m_.p_.u_.t_.e_.E_.v_.a_.l_.u_.a_.t_.o_\x8r_\x8._\x8h |
25 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 28 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 3 lines modified | Offset 1, 4 lines modified | ||
1 | var·a00845·=·[ | 1 | var·a00845·=·[ |
2 | ····[" | 2 | ····["D3D11StencilTable",·"a01189.html",·"a01189"], |
3 | ····["D3D11ComputeEvaluator",·"a01193.html",·"a01193"] | ||
3 | ]; | 4 | ]; |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/ | 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 92, 19 lines modified | Offset 92, 19 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title"> | 98 | ··<div·class="headertitle"><div·class="title">d3d11ComputeEvaluator.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <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> | 101 | <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> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·201 | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> | 106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> |
107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> | 107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> |
108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> | 108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> |
109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> | 109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> |
Offset 119, 91 lines modified | Offset 119, 225 lines modified | ||
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_ | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_D3D11_COMPUTE_EVALUATOR_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_ | 127 | <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> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·<cstddef></span></div> | ||
131 | <div·class="line"><a·id="l000 | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">struct·</span>ID3D11DeviceContext;</div> | ||
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">struct·</span>ID3D11Buffer;</div> | 132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">struct·</span>ID3D11Buffer;</div> |
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">struct·</span>ID3D11 | 133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">struct·</span>ID3D11ComputeShader;</div> |
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">struct·</span>ID3D11 | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">struct·</span>ID3D11ClassLinkage;</div> |
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">struct·</span>ID3D11ClassInstance;</div> |
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword"> | 136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">struct·</span>ID3D11ShaderResourceView;</div> |
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword"> | 137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">struct·</span>ID3D11UnorderedAccessView;</div> |
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | 138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> |
139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class=" | 139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">#include·"../osd/bufferDescriptor.h"</span></div> |
140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | 140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> | ||
142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> | ||
143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | ||
144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">namespace·</span>Far·{</div> | ||
145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">class·</span>StencilTable;</div> | ||
146 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>}</div> | ||
147 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
148 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="keyword">namespace·</span>Osd·{</div> | ||
149 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
150 | <div·class="foldopen"·id="foldopen00056"·data-start="{"·data-end="};"> | ||
151 | <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> | ||
152 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">public</span>:</div> | ||
153 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="keyword">template</span>·<<span·class="keyword">typename</span>·DEVICE_CONTEXT></div> | ||
154 | <div·class="foldopen"·id="foldopen00059"·data-start="{"·data-end="}"> | ||
155 | <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> | ||
156 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······································DEVICE_CONTEXT·context)·{</div> | ||
157 | <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_class"·href="a01189.html">D3D11StencilTable</a>(stencilTable,·context->GetDeviceContext());</div> | ||
158 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····}</div> | ||
159 | </div> | ||
160 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | ||
141 | <div·class="foldopen"·id="foldopen000 | 161 | <div·class="foldopen"·id="foldopen00064"·data-start="{"·data-end="}"> |
162 | <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> | ||
142 | <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> | ||
143 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">public</span>:</div> | ||
144 | <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> | ||
145 | <div·class="line"><a·id="l000 | 163 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>······································ID3D11DeviceContext·*deviceContext)·{</div> |
164 | <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_class"·href="a01189.html">D3D11StencilTable</a>(stencilTable,·deviceContext);</div> | ||
146 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> | ||
147 | <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> | ||
148 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | ||
149 | <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> | ||
150 | <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="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | ||
152 | <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> | ||
153 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | ||
154 | <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> | ||
155 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | 165 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····}</div> |
156 | < | 166 | </div> |
167 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | ||
168 | <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> | ||
169 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·······················ID3D11DeviceContext·*deviceContext);</div> | ||
157 | <div·class="line"><a·id="l0007 | 170 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> |
158 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a011 | 171 | <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> |
159 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | 172 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> |
160 | <div·class="foldopen"·id="foldopen00075"·data-start="{"·data-end="}"> | ||
161 | <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> | ||
162 | <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> | ||
163 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····}</div> | ||
164 | </div> | 173 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<span·class="comment">//·interfaces·needed·for·D3D11ComputeEvaluator</span></div> |
174 | <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> | ||
175 | <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> | ||
176 | <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> | ||
177 | <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> | ||
178 | <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> | ||
165 | <div·class="line"><a·id="l000 | 179 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</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="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> | ||
168 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | ||
169 | <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> | ||
170 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> | ||
171 | <div·class="line"><a·id="l0008 | 180 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">private</span>:</div> |
172 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="keywordtype">int</span>·_numElements;</div> | ||
173 | <div·class="line"><a·id="l0008 | 181 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····ID3D11ShaderResourceView·*_sizes;</div> |
182 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····ID3D11ShaderResourceView·*_offsets;</div> | ||
183 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····ID3D11ShaderResourceView·*_indices;</div> | ||
184 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····ID3D11ShaderResourceView·*_weights;</div> | ||
185 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····ID3D11Buffer·*_sizesBuffer;</div> | ||
186 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····ID3D11Buffer·*_offsetsBuffer;</div> | ||
Max diff block lines reached; 36616/59854 bytes (61.18%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | 5 | d3d11ComputeEvaluator.h | |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·201 | 8 | 2//·Copyright·2015·Pixar |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: | 13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: |
14 | 8// | 14 | 8// |
15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade | 15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade |
Offset 24, 105 lines modified | Offset 24, 272 lines modified | ||
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24 | 30 | 24 |
31 | 25#ifndef·OPENSUBDIV3_OSD_ | 31 | 25#ifndef·OPENSUBDIV3_OSD_D3D11_COMPUTE_EVALUATOR_H |
32 | 26#define·OPENSUBDIV3_OSD_ | 32 | 26#define·OPENSUBDIV3_OSD_D3D11_COMPUTE_EVALUATOR_H |
33 | 27 | 33 | 27 |
34 | 28#include·"../version.h" | 34 | 28#include·"../version.h" |
35 | 29#include·<cstddef> | ||
36 | 35 | 29 | |
36 | 30struct·ID3D11DeviceContext; | ||
37 | 31struct·ID3D11Buffer; | 37 | 31struct·ID3D11Buffer; |
38 | 32struct·ID3D11Device; | ||
39 | 33struct·ID3D11DeviceContext; | ||
40 | 34 | ||
41 | 35namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ | ||
42 | 3 | 38 | 32struct·ID3D11ComputeShader; |
39 | 33struct·ID3D11ClassLinkage; | ||
40 | 34struct·ID3D11ClassInstance; | ||
41 | 35struct·ID3D11ShaderResourceView; | ||
42 | 36struct·ID3D11UnorderedAccessView; | ||
43 | 37 | 43 | 37 |
44 | 38n | 44 | 38#include·"../osd/bufferDescriptor.h" |
45 | 39 | 45 | 39 |
46 | 46 | 40namespace·_.O_.p_.e_.n_.S_.u_.b_.d_.i_.v·{ | |
47 | 41namespace·OPENSUBDIV_VERSION·{ | ||
48 | 42 | ||
49 | 43namespace·Far·{ | ||
50 | 44·class·StencilTable; | ||
51 | 45} | ||
52 | 46 | ||
53 | 47namespace·Osd·{ | ||
54 | 48 | ||
55 | _\x85_\x86class·_\x8D_\x83_\x8D_\x81_\x81_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·{ | ||
47 | 56 | 57public: | |
48 | 57 | 58·template·<typename·DEVICE_CONTEXT> | |
58 | _\x85_\x89·static·_\x8D_\x83_\x8D_\x81_\x81_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·*_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·const·*stencilTable, | ||
59 | 60·DEVICE_CONTEXT·context)·{ | ||
60 | 61·return·new·_\x8D_\x83_\x8D_\x81_\x81_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e(stencilTable,·context->GetDeviceContext()); | ||
61 | 62·} | ||
62 | 63 | ||
63 | _\x86_\x84·static·_\x8D_\x83_\x8D_\x81_\x81_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·*_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·const·*stencilTable, | ||
64 | 65·ID3D11DeviceContext·*deviceContext)·{ | ||
65 | 66·return·new·_\x8D_\x83_\x8D_\x81_\x81_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e(stencilTable,·deviceContext); | ||
66 | 67·} | ||
67 | 68 | ||
68 | _\x86_\x89·_\x8D_\x83_\x8D_\x81_\x81_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·const·*stencilTable, | ||
49 | 69 | 70·ID3D11DeviceContext·*deviceContext); | |
70 | 71 | ||
71 | _\x87_\x82·_\x8~_\x8D_\x83_\x8D_\x81_\x81_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e(); | ||
50 | 53 | ||
51 | _\x85_\x85·virtual·_\x8~_\x8C_\x8p_\x8u_\x8D_\x83_\x8D_\x81_\x81_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r(); | ||
52 | 56 | ||
53 | _\x85_\x89·void·_\x8U_\x8p_\x8d_\x8a_\x8t_\x8e_\x8D_\x8a_\x8t_\x8a(const·float·*src,·int·startVertex,·int·numVertices, | ||
54 | 60·void·*deviceContext·=·NULL); | ||
55 | 61 | ||
56 | _\x86_\x83·int·_\x8G_\x8e_\x8t_\x8N_\x8u_\x8m_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8s()·const; | ||
57 | 64 | ||
58 | _\x86_\x86·int·_\x8G_\x8e_\x8t_\x8N_\x8u_\x8m_\x8V_\x8e_\x8r_\x8t_\x8i_\x8c_\x8e_\x8s()·const; | ||
59 | 67 | ||
60 | _\x86_\x89·float·*·_\x8B_\x8i_\x8n_\x8d_\x8C_\x8p_\x8u_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r(); | ||
61 | 70 | ||
62 | _\x87_\x82·ID3D11Buffer·*_\x8B_\x8i_\x8n_\x8d_\x8D_\x83_\x8D_\x81_\x81_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r(ID3D11DeviceContext·*deviceContext); | ||
63 | 73 | 72 | 73 |
73 | 74·//·interfaces·needed·for·D3D11ComputeEvaluator | ||
74 | _\x87_\x85·ID3D11ShaderResourceView·*_\x8G_\x8e_\x8t_\x8S_\x8i_\x8z_\x8e_\x8s_\x8S_\x8R_\x8V()·const·{·return·_sizes;·} | ||
75 | _\x87_\x86·ID3D11ShaderResourceView·*_\x8G_\x8e_\x8t_\x8O_\x8f_\x8f_\x8s_\x8e_\x8t_\x8s_\x8S_\x8R_\x8V()·const·{·return·_offsets;·} | ||
76 | _\x87_\x87·ID3D11ShaderResourceView·*_\x8G_\x8e_\x8t_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s_\x8S_\x8R_\x8V()·const·{·return·_indices;·} | ||
77 | _\x87_\x88·ID3D11ShaderResourceView·*_\x8G_\x8e_\x8t_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8S_\x8R_\x8V()·const·{·return·_weights;·} | ||
78 | _\x87_\x89·int·_\x8G_\x8e_\x8t_\x8N_\x8u_\x8m_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s()·const·{·return·_numStencils;·} | ||
79 | 80 | ||
64 | _\x87_\x85·ID3D11Buffer·*_\x8B_\x8i_\x8n_\x8d_\x8V_\x8B_\x8O(ID3D11DeviceContext·*deviceContext)·{ | ||
65 | 76·return·_\x8B_\x8i_\x8n_\x8d_\x8D_\x83_\x8D_\x81_\x81_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r(deviceContext); | ||
66 | 77·} | ||
67 | 78 | ||
68 | 79protected: | ||
69 | _\x88_\x81·_\x8C_\x8p_\x8u_\x8D_\x83_\x8D_\x81_\x81_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r(int·numElements,·int·numVertices); | ||
70 | 82 | ||
71 | _\x88_\x83·bool·_\x8a_\x8l_\x8l_\x8o_\x8c_\x8a_\x8t_\x8e(ID3D11Device·*device); | ||
72 | 84 | ||
73 | 8 | 80 | 81private: |
74 | 86·int·_numElements; | ||
75 | 8 | 81 | 82·ID3D11ShaderResourceView·*_sizes; |
82 | 83·ID3D11ShaderResourceView·*_offsets; | ||
83 | 84·ID3D11ShaderResourceView·*_indices; | ||
84 | 85·ID3D11ShaderResourceView·*_weights; | ||
85 | 86·ID3D11Buffer·*_sizesBuffer; | ||
86 | 87·ID3D11Buffer·*_offsetsBuffer; | ||
76 | 88·ID3D11Buffer·*_d | 87 | 88·ID3D11Buffer·*_indicesBuffer; |
77 | 89· | 88 | 89·ID3D11Buffer·*_weightsBuffer; |
89 | 90 | ||
90 | 91·int·_numStencils; | ||
78 | 9 | 91 | 92}; |
79 | 91 | ||
80 | 92}·//·end·namespace·Osd | ||
81 | 93 | 92 | 93 |
93 | 94//·-------------------------------------------------------------------------- | ||
94 | - | ||
95 | 95 | ||
96 | _\x89_\x86class·_\x8D_\x83_\x8D_\x81_\x81_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r·{ | ||
97 | 97public: | ||
98 | _\x89_\x88·typedef·bool·_\x8I_\x8n_\x8s_\x8t_\x8a_\x8n_\x8t_\x8i_\x8a_\x8t_\x8a_\x8b_\x8l_\x8e; | ||
99 | _\x89_\x89·static·_\x8D_\x83_\x8D_\x81_\x81_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r·*·_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, | ||
100 | 100·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, | ||
101 | 101·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&duDesc, | ||
102 | 102·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dvDesc, | ||
103 | 103·ID3D11DeviceContext·*deviceContext); | ||
104 | 104 | ||
Max diff block lines reached; 12586/22723 bytes (55.39%) of diff not shown. |
Offset 95, 15 lines modified | Offset 95, 15 lines modified | ||
95 | <a·href="#namespaces">Namespaces</a>·| | 95 | <a·href="#namespaces">Namespaces</a>·| |
96 | <a·href="#typedef-members">Typedefs</a>··</div> | 96 | <a·href="#typedef-members">Typedefs</a>··</div> |
97 | ··<div·class="headertitle"><div·class="title">glMesh.h·File·Reference</div></div> | 97 | ··<div·class="headertitle"><div·class="title">glMesh.h·File·Reference</div></div> |
98 | </div><!--header--> | 98 | </div><!--header--> |
99 | <div·class="contents"> | 99 | <div·class="contents"> |
100 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 100 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
101 | <code>#include·"<a·class="el"·href="a00887_source.html">../osd/mesh.h</a>"</code><br·/> | 101 | <code>#include·"<a·class="el"·href="a00887_source.html">../osd/mesh.h</a>"</code><br·/> |
102 | <code>#include·"<a·class="el"·href="a0086 | 102 | <code>#include·"<a·class="el"·href="a00860_source.html">../osd/glPatchTable.h</a>"</code><br·/> |
103 | </div> | 103 | </div> |
104 | <p><a·href="a00857_source.html">Go·to·the·source·code·of·this·file.</a></p> | 104 | <p><a·href="a00857_source.html">Go·to·the·source·code·of·this·file.</a></p> |
105 | <table·class="memberdecls"> | 105 | <table·class="memberdecls"> |
106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
107 | Namespaces</h2></td></tr> | 107 | Namespaces</h2></td></tr> |
108 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 108 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/gl | 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 90, 42 lines modified | Offset 90, 45 lines modified | ||
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#nested-classes">Classes</a>·| | 94 | <a·href="#nested-classes">Classes</a>·| |
95 | <a·href="#namespaces">Namespaces</a>··</div> | 95 | <a·href="#namespaces">Namespaces</a>··</div> |
96 | ··<div·class="headertitle"><div·class="title">gl | 96 | ··<div·class="headertitle"><div·class="title">glPatchTable.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·"../osd/nonCopyable.h"</code><br·/> | ||
100 | <code>#include·"<a·class="el"·href="a00884_source.html">../osd/opengl.h</a>"</code><br·/> | 101 | <code>#include·"<a·class="el"·href="a00884_source.html">../osd/opengl.h</a>"</code><br·/> |
102 | <code>#include·"<a·class="el"·href="a01481_source.html">../osd/types.h</a>"</code><br·/> | ||
101 | <code>#include·< | 103 | <code>#include·<vector></code><br·/> |
102 | </div> | 104 | </div> |
103 | <p><a·href="a00860_source.html">Go·to·the·source·code·of·this·file.</a></p> | 105 | <p><a·href="a00860_source.html">Go·to·the·source·code·of·this·file.</a></p> |
104 | <table·class="memberdecls"> | 106 | <table·class="memberdecls"> |
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 107 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
106 | Classes</h2></td></tr> | 108 | Classes</h2></td></tr> |
107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a012 | 109 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01229.html">GLPatchTable</a></td></tr> |
108 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Concrete·vertex·buffer·class·for·GLSL·subdivision·and·OpenGL·drawing.··<a·href="a01237.html#details">More...</a><br·/></td></tr> | ||
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
110 | </table><table·class="memberdecls"> | 111 | </table><table·class="memberdecls"> |
111 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 112 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
112 | Namespaces</h2></td></tr> | 113 | Namespaces</h2></td></tr> |
113 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 114 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
114 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
115 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 116 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
118 | <tr·class="memitem:a00908"·id="r_a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr> | ||
119 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
117 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> | 120 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> |
118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 121 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
119 | </table> | 122 | </table> |
120 | </div><!--·contents·--> | 123 | </div><!--·contents·--> |
121 | </div><!--·doc-content·--> | 124 | </div><!--·doc-content·--> |
122 | <!--·start·footer·part·--> | 125 | <!--·start·footer·part·--> |
123 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 126 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
124 | ··<ul> | 127 | ··<ul> |
125 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00860.html">gl | 128 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00860.html">glPatchTable.h</a></li> |
126 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 129 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
127 | ··</ul> | 130 | ··</ul> |
128 | </div> | 131 | </div> |
129 | </body> | 132 | </body> |
130 | </html> | 133 | </html> |
Offset 1, 26 lines modified | Offset 1, 28 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
6 | gl | 6 | glPatchTable.h·File·Reference |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·"../osd/nonCopyable.h" | ||
8 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8o_\x8p_\x8e_\x8n_\x8g_\x8l_\x8._\x8h" | 9 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8o_\x8p_\x8e_\x8n_\x8g_\x8l_\x8._\x8h" |
9 | #include· | 10 | #include·"_.._.._./_.o_.s_.d_./_.t_.y_.p_.e_.s_.._.h" |
11 | #include·<vector> | ||
10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 12 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
11 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 13 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
12 | class· ·_\x8G_\x8L_\x8 | 14 | class· ·_\x8G_\x8L_\x8P_.a_.t_.c_.h_.T_.a_.b_.l_.e |
13 | ·······Concrete·vertex·buffer·class·for·GLSL·subdivision·and·OpenGL·drawing. | ||
14 | ········_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
15 | 15 | ||
16 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 16 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
17 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 17 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
18 | 18 | ||
19 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 19 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
20 | 20 | ||
21 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8F_\x8a_\x8r | ||
22 | |||
21 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d | 23 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d |
22 | 24 | ||
23 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 25 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
24 | ····*·_\x8o_\x8s_\x8d | 26 | ····*·_\x8o_\x8s_\x8d |
25 | ····*·_\x8g_\x8l_\x8 | 27 | ····*·_\x8g_\x8l_\x8P_.a_.t_.c_.h_.T_.a_.b_.l_.e_\x8._\x8h |
26 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 28 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | var·a00860·=·[ | 1 | var·a00860·=·[ |
2 | ····["GL | 2 | ····["GLPatchTable",·"a01229.html",·"a01229"] |
3 | ]; | 3 | ]; |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/gl | 8 | <title>OpenSubdiv:·opensubdiv/osd/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 92, 19 lines modified | Offset 92, 19 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title">gl | 98 | ··<div·class="headertitle"><div·class="title">glPatchTable.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <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> | 101 | <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> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·201 | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> | 106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> |
107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> | 107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> |
108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> | 108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> |
109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> | 109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> |
Offset 119, 78 lines modified | Offset 119, 200 lines modified | ||
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_GL_ | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_GL_PATCH_TABLE_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_GL_ | 127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_GL_PATCH_TABLE_H</span></div> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../osd/nonCopyable.h"</span></div> | ||
131 | <div·class="line"><a·id="l0003 | 132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·"../osd/opengl.h"</span></div> |
132 | <div·class="line"><a·id="l0003 | 133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·"../osd/types.h"</span></div> |
133 | <div·class="line"><a·id="l0003 | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> | ||
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class=" | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·<vector></span></div> |
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | 136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> | ||
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> | ||
139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">namespace·</span>Far{</div> | ||
141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">class·</span>PatchTable;</div> | ||
142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>};</div> | ||
143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | ||
137 | <div·class="line"><a·id="l000 | 144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">namespace·</span>Osd·{</div> |
138 | <div·class="line"><a·id="l000 | 145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> |
139 | <div·class="foldopen"·id="foldopen0004 | 146 | <div·class="foldopen"·id="foldopen00045"·data-start="{"·data-end="};"> |
140 | <div·class="line"><a·id="l0004 | 147 | <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<GLPatchTable&[·...·truncated·by·diffoscope;·len:·3,·SHA:·2e40b2b2a680a7fc12d1534199754266c0b4e340aa1fbb59869b167460c3ad46·...·]·{</div> |
141 | <div·class="line"><a·id="l0004 | 148 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">public</span>:</div> |
149 | <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> | ||
142 | <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> | ||
143 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>···································<span·class="keywordtype">void</span>·*deviceContext·=·NULL);</div> | ||
144 | <div·class="line"><a·id="l0004 | 150 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> |
145 | <div·class="line"><a·id="l000 | 151 | <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> |
146 | <div·class="line"><a·id="l0005 | 152 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> |
147 | <div·class="line"><a·id="l0005 | 153 | <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"[·...·truncated·by·diffoscope;·len:·178,·SHA:·f02821fa01889ff2c7aad7d87eac7cb81d34a49ffadbe31fe9148852b51adf7c·...·],</div> |
148 | <div·class="line"><a·id="l0005 | 154 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>································<span·class="keywordtype">void</span>·*deviceContext·=·NULL);</div> |
155 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> | ||
156 | <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="}"> | ||
157 | <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>·&<a·class="code·hl_function"·href="a01229.html#a18e3d09b0c7b7552f8e419e36788166a">GetPatchArrays</a>()<span·class="keyword">·const·</span>{</div> | ||
158 | <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> | ||
149 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | 159 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····}</div> |
150 | < | 160 | </div> |
161 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> | ||
162 | <div·class="foldopen"·id="foldopen00060"·data-start="{"·data-end="}"> | ||
163 | <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> | ||
164 | <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> | ||
151 | <div·class="line"><a·id="l0006 | 165 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····}</div> |
152 | < | 166 | </div> |
153 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | 167 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> |
154 | <div·class=" | 168 | <div·class="foldopen"·id="foldopen00065"·data-start="{"·data-end="}"> |
169 | <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> | ||
170 | <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> | ||
155 | <div·class="line"><a·id="l0006 | 171 | <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><span·class="keyword">protected</span>:</div> | ||
157 | <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> | ||
158 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
159 | <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">allocate</a>();</div> | ||
160 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | ||
161 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="keyword">private</span>:</div> | ||
162 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····<span·class="keywordtype">int</span>·_numElements;</div> | ||
163 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<span·class="keywordtype">int</span>·_numVertices;</div> | ||
164 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····GLuint·_vbo;</div> | ||
165 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>};</div> | ||
166 | </div> | 172 | </div> |
167 | <div·class="line"><a·id="l000 | 173 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> |
174 | <div·class="foldopen"·id="foldopen00070"·data-start="{"·data-end="}"> | ||
175 | <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> | ||
176 | <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> | ||
177 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····}</div> | ||
178 | </div> | ||
179 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | ||
180 | <div·class="foldopen"·id="foldopen00075"·data-start="{"·data-end="}"> | ||
181 | <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> | ||
182 | <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> | ||
183 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····}</div> | ||
184 | </div> | ||
168 | <div·class="line"><a·id="l000 | 185 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> |
186 | <div·class="foldopen"·id="foldopen00080"·data-start="{"·data-end="}"> | ||
187 | <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>·&<a·class="code·hl_function"·href="a01229.html#aec45672f51f456fea341d644bcf16434">GetVaryingPatchArrays</a>()<span·class="keyword">·const·</span>{</div> | ||
188 | <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> | ||
169 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | 189 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····}</div> |
190 | </div> | ||
170 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>}··<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> | ||
171 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> | ||
172 | <div·class="line"><a·id="l0008 | 191 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> |
173 | <div·class=" | 192 | <div·class="foldopen"·id="foldopen00085"·data-start="{"·data-end="}"> |
193 | <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> | ||
194 | <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> | ||
Max diff block lines reached; 18686/54588 bytes (34.23%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | gl | 5 | glPatchTable.h |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·201 | 8 | 2//·Copyright·2015·Pixar |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: | 13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: |
14 | 8// | 14 | 8// |
15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade | 15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade |
Offset 24, 88 lines modified | Offset 24, 249 lines modified | ||
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24 | 30 | 24 |
31 | 25#ifndef·OPENSUBDIV3_OSD_GL_VERTEX_BUFFER_H | ||
32 | 2 | 31 | 25#ifndef·OPENSUBDIV3_OSD_GL_PATCH_TABLE_H |
32 | 26#define·OPENSUBDIV3_OSD_GL_PATCH_TABLE_H | ||
33 | 27 | 33 | 27 |
34 | 28#include·"../version.h" | 34 | 28#include·"../version.h" |
35 | 29 | 35 | 29 |
36 | 30#include·"../osd/nonCopyable.h" | ||
36 | 3 | 37 | 31#include·"../osd/opengl.h" |
38 | 32#include·"../osd/types.h" | ||
39 | 33 | ||
40 | 34#include·<vector> | ||
37 | 31#include·<cstddef> | ||
38 | 32 | ||
39 | 33namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ | ||
40 | 34namespace·OPENSUBDIV_VERSION·{ | ||
41 | 35 | 41 | 35 |
42 | 36namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ | ||
43 | 37namespace·OPENSUBDIV_VERSION·{ | ||
44 | 38 | ||
45 | 39namespace·Far{ | ||
46 | 40·class·PatchTable; | ||
47 | 41}; | ||
48 | 42 | ||
42 | 49 | 43namespace·Osd·{ | |
43 | 37 | ||
44 | 50 | 44 | |
51 | _\x84_\x85class·_\x8G_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e·:·private·NonCopyable<GLPatchTable>·{ | ||
45 | 4 | 52 | 46public: |
53 | _\x84_\x87·typedef·GLuint·_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8B_\x8i_\x8n_\x8d_\x8i_\x8n_\x8g; | ||
54 | 48 | ||
46 | _\x84_\x87·static·_\x8G_\x8L_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r·*·_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(int·numElements,·int·numVertices, | ||
47 | 48·void·*deviceContext·=·NULL); | ||
48 | 49 | ||
49 | _\x8 | 55 | _\x84_.9·_.~_.G_.L_.P_.a_.t_.c_.h_.T_.a_.b_.l_.e(); |
50 | 52 | ||
51 | 56 | 50 | |
57 | _\x85_\x81·static·_\x8G_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e·*_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e·const·*farPatchTable, | ||
52 | 5 | 58 | 52·void·*deviceContext·=·NULL); |
53 | 57 | ||
54 | _\x85_\x89·int·_\x8G_\x8e_\x8t_\x8N_\x8u_\x8m_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8s()·const; | ||
55 | 60 | ||
56 | 59 | 53 | |
60 | _\x85_\x85·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y_\x8V_\x8e_\x8c_\x8t_\x8o_\x8r·const·&_\x8G_\x8e_\x8t_\x8P_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y_\x8s()·const·{ | ||
61 | 56·return·_\x8__\x8p_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y_\x8s; | ||
62 | 57·} | ||
63 | 58 | ||
64 | _\x86_\x80·GLuint·_\x8G_\x8e_\x8t_\x8P_\x8a_\x8t_\x8c_\x8h_\x8I_\x8n_\x8d_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{ | ||
65 | 61·return·_\x8__\x8p_\x8a_\x8t_\x8c_\x8h_\x8I_\x8n_\x8d_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r; | ||
66 | 62·} | ||
57 | 63 | 67 | 63 |
58 | _\x86_\x85·GLuint·_\x8B_\x8i_\x8n_\x8d_\x8V_\x8B_\x8O(void·*deviceContext·=·NULL); | ||
59 | 6 | 68 | _.6_.5·GLuint·_.G_.e_.t_.P_.a_.t_.c_.h_.P_.a_.r_.a_.m_.B_.u_.f_.f_.e_.r()·const·{ |
69 | 66·return·_\x8__\x8p_\x8a_\x8t_\x8c_\x8h_\x8P_\x8a_\x8r_\x8a_\x8m_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r; | ||
70 | 67·} | ||
71 | 68 | ||
72 | _\x87_\x80·GLuint·_\x8G_\x8e_\x8t_\x8P_\x8a_\x8t_\x8c_\x8h_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8e_\x8x_\x8t_\x8u_\x8r_\x8e_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{ | ||
73 | 71·return·_\x8__\x8p_\x8a_\x8t_\x8c_\x8h_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8e_\x8x_\x8t_\x8u_\x8r_\x8e; | ||
74 | 72·} | ||
75 | 73 | ||
76 | _\x87_\x85·GLuint·_\x8G_\x8e_\x8t_\x8P_\x8a_\x8t_\x8c_\x8h_\x8P_\x8a_\x8r_\x8a_\x8m_\x8T_\x8e_\x8x_\x8t_\x8u_\x8r_\x8e_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{ | ||
77 | 76·return·_\x8__\x8p_\x8a_\x8t_\x8c_\x8h_\x8P_\x8a_\x8r_\x8a_\x8m_\x8T_\x8e_\x8x_\x8t_\x8u_\x8r_\x8e; | ||
78 | 77·} | ||
79 | 78 | ||
80 | _\x88_\x80·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y_\x8V_\x8e_\x8c_\x8t_\x8o_\x8r·const·&_\x8G_\x8e_\x8t_\x8V_\x8a_\x8r_\x8y_\x8i_\x8n_\x8g_\x8P_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y_\x8s()·const·{ | ||
81 | 81·return·_\x8__\x8v_\x8a_\x8r_\x8y_\x8i_\x8n_\x8g_\x8P_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y_\x8s; | ||
82 | 82·} | ||
83 | 83 | ||
84 | _\x88_\x85·GLuint·_\x8G_\x8e_\x8t_\x8V_\x8a_\x8r_\x8y_\x8i_\x8n_\x8g_\x8P_\x8a_\x8t_\x8c_\x8h_\x8I_\x8n_\x8d_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{ | ||
85 | 86·return·_\x8__\x8v_\x8a_\x8r_\x8y_\x8i_\x8n_\x8g_\x8I_\x8n_\x8d_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r; | ||
86 | 87·} | ||
87 | 88 | ||
88 | _\x89_\x80·GLuint·_\x8G_\x8e_\x8t_\x8V_\x8a_\x8r_\x8y_\x8i_\x8n_\x8g_\x8P_\x8a_\x8t_\x8c_\x8h_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8e_\x8x_\x8t_\x8u_\x8r_\x8e_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{ | ||
89 | 91·return·_\x8__\x8v_\x8a_\x8r_\x8y_\x8i_\x8n_\x8g_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8e_\x8x_\x8t_\x8u_\x8r_\x8e; | ||
90 | 92·} | ||
91 | 93 | ||
92 | _\x89_\x85·int·_\x8G_\x8e_\x8t_\x8N_\x8u_\x8m_\x8F_\x8V_\x8a_\x8r_\x8C_\x8h_\x8a_\x8n_\x8n_\x8e_\x8l_\x8s()·const·{·return·(int)_\x8__\x8f_\x8v_\x8a_\x8r_\x8P_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y_\x8s.size();·} | ||
93 | 96 | ||
94 | _\x89_\x88·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y_\x8V_\x8e_\x8c_\x8t_\x8o_\x8r·const·&_\x8G_\x8e_\x8t_\x8F_\x8V_\x8a_\x8r_\x8P_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y_\x8s(int·fvarChannel·=·0)·const·{ | ||
95 | 99·return·_\x8__\x8f_\x8v_\x8a_\x8r_\x8P_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y_\x8s[fvarChannel]; | ||
96 | 100·} | ||
97 | 101 | ||
98 | _\x81_\x80_\x83·GLuint·_\x8G_\x8e_\x8t_\x8F_\x8V_\x8a_\x8r_\x8P_\x8a_\x8t_\x8c_\x8h_\x8I_\x8n_\x8d_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r(int·fvarChannel·=·0)·const·{ | ||
99 | 104·return·_\x8__\x8f_\x8v_\x8a_\x8r_\x8I_\x8n_\x8d_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8s[fvarChannel]; | ||
100 | 105·} | ||
101 | 106 | ||
102 | _\x81_\x80_\x88·GLuint·_\x8G_\x8e_\x8t_\x8F_\x8V_\x8a_\x8r_\x8P_\x8a_\x8t_\x8c_\x8h_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8e_\x8x_\x8t_\x8u_\x8r_\x8e_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r(int·fvarChannel·=·0)·const·{ | ||
103 | 109·return·_\x8__\x8f_\x8v_\x8a_\x8r_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8e_\x8x_\x8t_\x8u_\x8r_\x8e_\x8s[fvarChannel]; | ||
104 | 110·} | ||
105 | 111 | ||
106 | _\x81_\x81_\x83·GLuint·_\x8G_\x8e_\x8t_\x8F_\x8V_\x8a_\x8r_\x8P_\x8a_\x8t_\x8c_\x8h_\x8P_\x8a_\x8r_\x8a_\x8m_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r(int·fvarChannel·=·0)·const·{ | ||
107 | 114·return·_\x8__\x8f_\x8v_\x8a_\x8r_\x8P_\x8a_\x8r_\x8a_\x8m_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8s[fvarChannel]; | ||
108 | 115·} | ||
109 | 116 | ||
110 | _\x81_\x81_\x88·GLuint·_\x8G_\x8e_\x8t_\x8F_\x8V_\x8a_\x8r_\x8P_\x8a_\x8t_\x8c_\x8h_\x8P_\x8a_\x8r_\x8a_\x8m_\x8T_\x8e_\x8x_\x8t_\x8u_\x8r_\x8e_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r(int·fvarChannel·=·0)·const·{ | ||
111 | 119·return·_\x8__\x8f_\x8v_\x8a_\x8r_\x8P_\x8a_\x8r_\x8a_\x8m_\x8T_\x8e_\x8x_\x8t_\x8u_\x8r_\x8e_\x8s[fvarChannel]; | ||
112 | 120·} | ||
113 | 121 | ||
60 | 114 | 122protected: | |
61 | _\x86_\x89·_\x8G_\x8L_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r(int·numElements,·int·numVertices); | ||
62 | 70 | ||
63 | _\x87_\x83·bool·_\x8a_\x8l_\x8l_\x8o_\x8c_\x8a_\x8t_\x8e(); | ||
64 | 74 | ||
65 | 75private: | ||
66 | 76·int·_numElements; | ||
Max diff block lines reached; 14989/22499 bytes (66.62%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/gl | 8 | <title>OpenSubdiv:·opensubdiv/osd/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 90, 27 lines modified | Offset 90, 27 lines modified | ||
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#nested-classes">Classes</a>·| | 94 | <a·href="#nested-classes">Classes</a>·| |
95 | <a·href="#namespaces">Namespaces</a>··</div> | 95 | <a·href="#namespaces">Namespaces</a>··</div> |
96 | ··<div·class="headertitle"><div·class="title">gl | 96 | ··<div·class="headertitle"><div·class="title">glVertexBuffer.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·"<a·class="el"·href="a00731_source.html">../far/patchTable.h</a>"</code><br·/> | ||
101 | <code>#include·"../osd/nonCopyable.h"</code><br·/> | ||
102 | <code>#include·"<a·class="el"·href="a00884_source.html">../osd/opengl.h</a>"</code><br·/> | 100 | <code>#include·"<a·class="el"·href="a00884_source.html">../osd/opengl.h</a>"</code><br·/> |
101 | <code>#include·<cstddef></code><br·/> | ||
103 | </div> | 102 | </div> |
104 | <p><a·href="a00863_source.html">Go·to·the·source·code·of·this·file.</a></p> | 103 | <p><a·href="a00863_source.html">Go·to·the·source·code·of·this·file.</a></p> |
105 | <table·class="memberdecls"> | 104 | <table·class="memberdecls"> |
106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
107 | Classes</h2></td></tr> | 106 | Classes</h2></td></tr> |
108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a012 | 107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01237.html">GLVertexBuffer</a></td></tr> |
108 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Concrete·vertex·buffer·class·for·GLSL·subdivision·and·OpenGL·drawing.··<a·href="a01237.html#details">More...</a><br·/></td></tr> | ||
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
110 | </table><table·class="memberdecls"> | 110 | </table><table·class="memberdecls"> |
111 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 111 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
112 | Namespaces</h2></td></tr> | 112 | Namespaces</h2></td></tr> |
113 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 113 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
114 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 114 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
115 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 115 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
Offset 119, 13 lines modified | Offset 119, 13 lines modified | ||
119 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 119 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
120 | </table> | 120 | </table> |
121 | </div><!--·contents·--> | 121 | </div><!--·contents·--> |
122 | </div><!--·doc-content·--> | 122 | </div><!--·doc-content·--> |
123 | <!--·start·footer·part·--> | 123 | <!--·start·footer·part·--> |
124 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 124 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
125 | ··<ul> | 125 | ··<ul> |
126 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00863.html">gl | 126 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00863.html">glVertexBuffer.h</a></li> |
127 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 127 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
128 | ··</ul> | 128 | ··</ul> |
129 | </div> | 129 | </div> |
130 | </body> | 130 | </body> |
131 | </html> | 131 | </html> |
Offset 1, 25 lines modified | Offset 1, 26 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
6 | gl | 6 | glVertexBuffer.h·File·Reference |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·"_\x8._\x8._\x8/_\x8f_\x8a_\x8r_\x8/_\x8p_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e_\x8._\x8h" | ||
9 | #include·"../osd/nonCopyable.h" | ||
10 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8o_\x8p_\x8e_\x8n_\x8g_\x8l_\x8._\x8h" | 8 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8o_\x8p_\x8e_\x8n_\x8g_\x8l_\x8._\x8h" |
9 | #include·<cstddef> | ||
11 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
12 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 11 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
13 | class· ·_\x8G_\x8L_\x8 | 12 | class· ·_\x8G_\x8L_\x8V_.e_.r_.t_.e_.x_.B_.u_.f_.f_.e_.r |
13 | ·······Concrete·vertex·buffer·class·for·GLSL·subdivision·and·OpenGL·drawing. | ||
14 | ········_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
14 | 15 | ||
15 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 16 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
16 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 17 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
17 | 18 | ||
18 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 19 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
19 | 20 | ||
20 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d | 21 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d |
21 | 22 | ||
22 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 23 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
23 | ····*·_\x8o_\x8s_\x8d | 24 | ····*·_\x8o_\x8s_\x8d |
24 | ····*·_\x8g_\x8l_\x8 | 25 | ····*·_\x8g_\x8l_\x8V_.e_.r_.t_.e_.x_.B_.u_.f_.f_.e_.r_\x8._\x8h |
25 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 26 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | var·a00863·=·[ | 1 | var·a00863·=·[ |
2 | ····["GL | 2 | ····["GLVertexBuffer",·"a01237.html",·"a01237"] |
3 | ]; | 3 | ]; |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/gl | 8 | <title>OpenSubdiv:·opensubdiv/osd/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 92, 19 lines modified | Offset 92, 19 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title">gl | 98 | ··<div·class="headertitle"><div·class="title">glVertexBuffer.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <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> | 101 | <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> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·201 | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> | 106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> |
107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> | 107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> |
108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> | 108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> |
109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> | 109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> |
Offset 119, 103 lines modified | Offset 119, 78 lines modified | ||
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_GL_ | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_GL_VERTEX_BUFFER_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_GL_ | 127 | <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> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../far/patchTable.h"</span></div> | ||
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·"../osd/nonCopyable.h"</span></div> | ||
133 | <div·class="line"><a·id="l0003 | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../osd/opengl.h"</span></div> |
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·<cstddef></span></div> | ||
134 | <div·class="line"><a·id="l0003 | 133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
135 | <div·class="line"><a·id="l0003 | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> |
136 | <div·class="line"><a·id="l0003 | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
137 | <div·class="line"><a·id="l0003 | 136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
138 | <div·class="line"><a·id="l0003 | 137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>Osd·{</div> |
139 | <div·class="line"><a·id="l0003 | 138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> |
140 | <div·class="foldopen"·id="foldopen00039"·data-start="{"·data-end="};"> | ||
141 | <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> | ||
142 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····:·<span·class="keyword">private</span>·NonCopyable<GLLegacyGregoryPatchTable>·{</div> | ||
143 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">public</span>:</div> | ||
144 | <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> | ||
145 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | ||
146 | <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> | ||
147 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | ||
148 | <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> | ||
149 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | ||
150 | <div·class="foldopen"·id="foldopen0004 | 139 | <div·class="foldopen"·id="foldopen00044"·data-start="{"·data-end="};"> |
151 | <div·class="line"><a·id="l0004 | 140 | <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> |
152 | <div·class="line"><a·id="l0004 | 141 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">public</span>:</div> |
142 | <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> | ||
143 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>···································<span·class="keywordtype">void</span>·*deviceContext·=·NULL);</div> | ||
153 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····}</div> | ||
154 | </div> | ||
155 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | ||
156 | <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="}"> | ||
157 | <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> | ||
158 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>········<span·class="keywordflow">return</span>·_vertexValenceTextureBuffer;</div> | ||
159 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····}</div> | ||
160 | </div> | ||
161 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | ||
162 | <div·class="foldopen"·id="foldopen00056"·data-start="{"·data-end="}"> | ||
163 | <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> | ||
164 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········<span·class="keywordflow">return</span>·_quadOffsetsTextureBuffer;</div> | ||
165 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····}</div> | ||
166 | </div> | ||
167 | <div·class="line"><a·id="l000 | 144 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> |
168 | <div·class="foldopen"·id="foldopen00060"·data-start="{"·data-end="}"> | ||
169 | <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> | ||
170 | <div·class="line"><a·id="l000 | 145 | <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> |
146 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | ||
147 | <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> | ||
171 | <div·class="line"><a·id="l000 | 148 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····················<span·class="keywordtype">void</span>·*deviceContext·=·NULL);</div> |
149 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | ||
150 | <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> | ||
151 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | ||
152 | <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> | ||
172 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>· | 153 | <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"><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> | ||
173 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>········<span·class="keywordflow">return</span>·_quadOffsetsBase[0];</div> | ||
174 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····}</div> | ||
175 | </div> | ||
176 | <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> |
177 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="keyword">protected</span>:</div> | 156 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="keyword">protected</span>:</div> |
178 | <div·class="line"><a·id="l0006 | 157 | <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"[·...·truncated·by·diffoscope;·len:·73,·SHA:·f93cf369036103973d6fb03ab425ad6e0b9d4d4eb071971a3a22adf7a7258f80·...·]);</div> |
179 | <div·class="line"><a·id="l000 | 158 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> |
159 | <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">allocate</a>();</div> | ||
160 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | ||
180 | <div·class="line"><a·id="l0007 | 161 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="keyword">private</span>:</div> |
162 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····<span·class="keywordtype">int</span>·_numElements;</div> | ||
163 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<span·class="keywordtype">int</span>·_numVertices;</div> | ||
181 | <div·class="line"><a·id="l0007 | 164 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····GLuint·_vbo;</div> |
182 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····GLuint·_vertexValenceTextureBuffer;</div> | ||
183 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····GLuint·_quadOffsetsTextureBuffer;</div> | ||
184 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····GLuint·_quadOffsetsBase[2];·······<span·class="comment">//·gregory,·boundaryGregory</span></div> | ||
185 | <div·class="line"><a·id="l0007 | 165 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>};</div> |
186 | </div> | 166 | </div> |
187 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | ||
188 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | ||
189 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> | ||
190 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>}··<span·class="comment">//·end·namespace·Osd</span></div> | ||
191 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> | 167 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> |
168 | <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="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | ||
192 | <div·class="line"><a·id="l0008 | 170 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>}··<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> |
193 | <div·class="line"><a·id="l0008 | 171 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> |
Max diff block lines reached; 9316/30674 bytes (30.37%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | gl | 5 | glVertexBuffer.h |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·201 | 8 | 2//·Copyright·2013·Pixar |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: | 13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: |
14 | 8// | 14 | 8// |
15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade | 15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade |
Offset 24, 113 lines modified | Offset 24, 88 lines modified | ||
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24 | 30 | 24 |
31 | 25#ifndef·OPENSUBDIV3_OSD_GL_LEGACY_GREGORY_PATCH_TABLE_H | ||
32 | 2 | 31 | 25#ifndef·OPENSUBDIV3_OSD_GL_VERTEX_BUFFER_H |
32 | 26#define·OPENSUBDIV3_OSD_GL_VERTEX_BUFFER_H | ||
33 | 27 | 33 | 27 |
34 | 28#include·"../version.h" | 34 | 28#include·"../version.h" |
35 | 29 | 35 | 29 |
36 | 30#include·"../far/patchTable.h" | ||
37 | 31#include·"../osd/nonCopyable.h" | ||
38 | 3 | 36 | 30#include·"../osd/opengl.h" |
39 | 3 | 37 | 31#include·<cstddef> |
38 | 32 | ||
40 | 3 | 39 | 33namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ |
41 | 3 | 40 | 34namespace·OPENSUBDIV_VERSION·{ |
42 | 3 | 41 | 35 |
43 | 3 | 42 | 36namespace·Osd·{ |
43 | 37 | ||
44 | _\x84_\x84class·_\x8G_\x8L_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r·{ | ||
44 | 38 | ||
45 | _\x83_\x89class·_\x8G_\x8L_\x8L_\x8e_\x8g_\x8a_\x8c_\x8y_\x8G_\x8r_\x8e_\x8g_\x8o_\x8r_\x8y_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e | ||
46 | 40·:·private·NonCopyable<GLLegacyGregoryPatchTable>·{ | ||
47 | 4 | 45 | 45public: |
46 | _\x84_\x87·static·_\x8G_\x8L_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r·*·_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(int·numElements,·int·numVertices, | ||
47 | 48·void·*deviceContext·=·NULL); | ||
48 | 49 | ||
49 | _\x85_\x81·_\x8~_\x8G_\x8L_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r(); | ||
50 | 52 | ||
51 | _\x85_\x85·void·_\x8U_\x8p_\x8d_\x8a_\x8t_\x8e_\x8D_\x8a_\x8t_\x8a(const·float·*src,·int·startVertex,·int·numVertices, | ||
52 | 56·void·*deviceContext·=·NULL); | ||
53 | 57 | ||
54 | _\x85_\x89·int·_\x8G_\x8e_\x8t_\x8N_\x8u_\x8m_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8s()·const; | ||
55 | 60 | ||
56 | _\x86_\x82·int·_\x8G_\x8e_\x8t_\x8N_\x8u_\x8m_\x8V_\x8e_\x8r_\x8t_\x8i_\x8c_\x8e_\x8s()·const; | ||
57 | 63 | ||
58 | _\x86_\x85·GLuint·_\x8B_\x8i_\x8n_\x8d_\x8V_\x8B_\x8O(void·*deviceContext·=·NULL); | ||
48 | _\x84_\x82·_\x8~_\x8G_\x8L_\x8L_\x8e_\x8g_\x8a_\x8c_\x8y_\x8G_\x8r_\x8e_\x8g_\x8o_\x8r_\x8y_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e(); | ||
49 | 43 | ||
50 | _\x84_\x84·static·_\x8G_\x8L_\x8L_\x8e_\x8g_\x8a_\x8c_\x8y_\x8G_\x8r_\x8e_\x8g_\x8o_\x8r_\x8y_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e·*_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e·const·*patchTable); | ||
51 | 45 | ||
52 | _\x84_\x86·void·_\x8U_\x8p_\x8d_\x8a_\x8t_\x8e_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r(GLuint·vbo); | ||
53 | 47 | ||
54 | _\x84_\x88·GLuint·_\x8G_\x8e_\x8t_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8T_\x8e_\x8x_\x8t_\x8u_\x8r_\x8e_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{ | ||
55 | 49·return·_vertexTextureBuffer; | ||
56 | 50·} | ||
57 | 51 | ||
58 | _\x85_\x82·GLuint·_\x8G_\x8e_\x8t_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8V_\x8a_\x8l_\x8e_\x8n_\x8c_\x8e_\x8T_\x8e_\x8x_\x8t_\x8u_\x8r_\x8e_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{ | ||
59 | 53·return·_vertexValenceTextureBuffer; | ||
60 | 54·} | ||
61 | 55 | ||
62 | _\x85_\x86·GLuint·_\x8G_\x8e_\x8t_\x8Q_\x8u_\x8a_\x8d_\x8O_\x8f_\x8f_\x8s_\x8e_\x8t_\x8s_\x8T_\x8e_\x8x_\x8t_\x8u_\x8r_\x8e_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{ | ||
63 | 57·return·_quadOffsetsTextureBuffer; | ||
64 | 58·} | ||
65 | 59 | ||
66 | _\x86_\x80·GLuint·_\x8G_\x8e_\x8t_\x8Q_\x8u_\x8a_\x8d_\x8O_\x8f_\x8f_\x8s_\x8e_\x8t_\x8s_\x8B_\x8a_\x8s_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8T_\x8y_\x8p_\x8e·type)·{ | ||
67 | 61·if·(type·==·_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8G_\x8R_\x8E_\x8G_\x8O_\x8R_\x8Y_\x8__\x8B_\x8O_\x8U_\x8N_\x8D_\x8A_\x8R_\x8Y)·{ | ||
68 | 62·return·_quadOffsetsBase[1]; | ||
69 | 63·} | ||
70 | 64·return·_quadOffsetsBase[0]; | ||
71 | 65·} | ||
72 | 66 | 59 | 66 |
73 | 67protected: | 60 | 67protected: |
74 | _\x86_\x88·_\x8G_\x8L_\x8L_\x8e_\x8g_\x8a_\x8c_\x8y_\x8G_\x8r_\x8e_\x8g_\x8o_\x8r_\x8y_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e(); | ||
75 | 69 | 61 | _.6_.9·_.G_.L_.V_.e_.r_.t_.e_.x_.B_.u_.f_.f_.e_.r(int·numElements,·int·numVertices); |
62 | 70 | ||
63 | _\x87_\x83·bool·_\x8a_\x8l_\x8l_\x8o_\x8c_\x8a_\x8t_\x8e(); | ||
64 | 74 | ||
76 | 7 | 65 | 75private: |
66 | 76·int·_numElements; | ||
67 | 77·int·_numVertices; | ||
68 | 78·GLuint·_vbo; | ||
77 | 71·GLuint·_vertexTextureBuffer; | ||
78 | 72·GLuint·_vertexValenceTextureBuffer; | ||
79 | 73·GLuint·_quadOffsetsTextureBuffer; | ||
80 | 74·GLuint·_quadOffsetsBase[2];·//·gregory,·boundaryGregory | ||
81 | 7 | 69 | 79}; |
82 | 76 | ||
83 | 77 | ||
84 | 78 | ||
85 | 79}·//·end·namespace·Osd | ||
86 | 80 | 70 | 80 |
71 | 81}·//·end·namespace·Osd | ||
72 | 82 | ||
87 | 8 | 73 | 83}·//·end·namespace·OPENSUBDIV_VERSION |
88 | 8 | 74 | 84using·namespace·OPENSUBDIV_VERSION; |
89 | 83 | ||
90 | 84}·//·end·namespace·OpenSubdiv | ||
91 | 85 | 75 | 85 |
92 | 86 | 76 | 86}·//·end·namespace·OpenSubdiv |
77 | 87 | ||
78 | 88#endif·//·OPENSUBDIV3_OSD_GL_VERTEX_BUFFER_H | ||
93 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 79 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
94 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8l_\x8i_\x8m_\x8i_\x8t_\x8s_\x8._\x8h_\x8:_\x83_\x82 | 80 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8l_\x8i_\x8m_\x8i_\x8t_\x8s_\x8._\x8h_\x8:_\x83_\x82 |
95 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8T_\x8y_\x8p_\x8e | ||
96 | Type | ||
97 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8p_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8._\x8h_\x8:_\x84_\x88 | ||
98 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8G_\x8R_\x8E_\x8G_\x8O_\x8R_\x8Y_\x8__\x8B_\x8O_\x8U_\x8N_\x8D_\x8A_\x8R_\x8Y | ||
99 | @·GREGORY_BOUNDARY | ||
100 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8p_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8._\x8h_\x8:_\x86_\x81 | ||
101 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8 | 81 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_.s_.d_.:_.:_.G_.L_.V_.e_.r_.t_.e_.x_.B_.u_.f_.f_.e_.r |
102 | Cont | 82 | Concrete·vertex·buffer·class·for·GLSL·subdivision·and·OpenGL·drawing. |
103 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8 | 83 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8g_.l_.V_.e_.r_.t_.e_.x_.B_.u_.f_.f_.e_.r_.._.h_.:_.4_.4 |
84 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8G_\x8L_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8:_\x8:_\x8~_\x8G_\x8L_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r | ||
85 | ~GLVertexBuffer() | ||
86 | Destructor. | ||
87 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8G_\x8L_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8:_\x8:_\x8B_\x8i_\x8n_\x8d_\x8V_\x8B_\x8O | ||
Max diff block lines reached; 258/11533 bytes (2.24%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/glPatchTable.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 90, 45 lines modified | Offset 90, 42 lines modified | ||
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#nested-classes">Classes</a>·| | 94 | <a·href="#nested-classes">Classes</a>·| |
95 | <a·href="#namespaces">Namespaces</a>··</div> | 95 | <a·href="#namespaces">Namespaces</a>··</div> |
96 | ··<div·class="headertitle"><div·class="title">glPatchTable.h·File·Reference</div></div> | 96 | ··<div·class="headertitle"><div·class="title">glLegacyGregoryPatchTable.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·"<a·class="el"·href="a00731_source.html">../far/patchTable.h</a>"</code><br·/> | ||
100 | <code>#include·"../osd/nonCopyable.h"</code><br·/> | 101 | <code>#include·"../osd/nonCopyable.h"</code><br·/> |
101 | <code>#include·"<a·class="el"·href="a00884_source.html">../osd/opengl.h</a>"</code><br·/> | 102 | <code>#include·"<a·class="el"·href="a00884_source.html">../osd/opengl.h</a>"</code><br·/> |
102 | <code>#include·"<a·class="el"·href="a01481_source.html">../osd/types.h</a>"</code><br·/> | ||
103 | <code>#include·<vector></code><br·/> | ||
104 | </div> | 103 | </div> |
105 | <p><a·href="a00866_source.html">Go·to·the·source·code·of·this·file.</a></p> | 104 | <p><a·href="a00866_source.html">Go·to·the·source·code·of·this·file.</a></p> |
106 | <table·class="memberdecls"> | 105 | <table·class="memberdecls"> |
107 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
108 | Classes</h2></td></tr> | 107 | Classes</h2></td></tr> |
109 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a0122 | 108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01225.html">GLLegacyGregoryPatchTable</a></td></tr> |
110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
111 | </table><table·class="memberdecls"> | 110 | </table><table·class="memberdecls"> |
112 | <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> |
113 | Namespaces</h2></td></tr> | 112 | Namespaces</h2></td></tr> |
114 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 113 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 114 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
116 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 115 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
118 | <tr·class="memitem:a00908"·id="r_a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr> | ||
119 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
120 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> | 117 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> |
121 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
122 | </table> | 119 | </table> |
123 | </div><!--·contents·--> | 120 | </div><!--·contents·--> |
124 | </div><!--·doc-content·--> | 121 | </div><!--·doc-content·--> |
125 | <!--·start·footer·part·--> | 122 | <!--·start·footer·part·--> |
126 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 123 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
127 | ··<ul> | 124 | ··<ul> |
128 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00866.html">glPatchTable.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="a00866.html">glLegacyGregoryPatchTable.h</a></li> |
129 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 126 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
130 | ··</ul> | 127 | ··</ul> |
131 | </div> | 128 | </div> |
132 | </body> | 129 | </body> |
133 | </html> | 130 | </html> |
Offset 1, 28 lines modified | Offset 1, 25 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
6 | glPatchTable.h·File·Reference | 6 | glLegacyGregoryPatchTable.h·File·Reference |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·"_\x8._\x8._\x8/_\x8f_\x8a_\x8r_\x8/_\x8p_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e_\x8._\x8h" | ||
8 | #include·"../osd/nonCopyable.h" | 9 | #include·"../osd/nonCopyable.h" |
9 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8o_\x8p_\x8e_\x8n_\x8g_\x8l_\x8._\x8h" | 10 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8o_\x8p_\x8e_\x8n_\x8g_\x8l_\x8._\x8h" |
10 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" | ||
11 | #include·<vector> | ||
12 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 11 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
13 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 12 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
14 | class· ·_\x8G_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e | 13 | class· ·_\x8G_\x8L_\x8L_.e_.g_.a_.c_.y_.G_.r_.e_.g_.o_.r_.y_.P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e |
15 | 14 | ||
16 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 15 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
17 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 16 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
18 | 17 | ||
19 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 18 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
20 | 19 | ||
21 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8F_\x8a_\x8r | ||
22 | |||
23 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d | 20 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d |
24 | 21 | ||
25 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 22 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
26 | ····*·_\x8o_\x8s_\x8d | 23 | ····*·_\x8o_\x8s_\x8d |
27 | ····*·_\x8g_\x8l_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e_\x8._\x8h | 24 | ····*·_\x8g_\x8l_\x8L_.e_.g_.a_.c_.y_.G_.r_.e_.g_.o_.r_.y_.P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e_\x8._\x8h |
28 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 25 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | var·a00866·=·[ | 1 | var·a00866·=·[ |
2 | ····["GLPatchTable",·"a0122 | 2 | ····["GLLegacyGregoryPatchTable",·"a01225.html",·"a01225"] |
3 | ]; | 3 | ]; |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/glPatchTable.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 92, 15 lines modified | Offset 92, 15 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title">glPatchTable.h</div></div> | 98 | ··<div·class="headertitle"><div·class="title">glLegacyGregoryPatchTable.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <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> | 101 | <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> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div> | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
Offset 119, 200 lines modified | Offset 119, 103 lines modified | ||
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_GL_PATCH_TABLE_H</span></div> | 126 | <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> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_GL_PATCH_TABLE_H</span></div> | 127 | <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> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../far/patchTable.h"</span></div> | ||
131 | <div·class="line"><a·id="l0003 | 132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·"../osd/nonCopyable.h"</span></div> |
132 | <div·class="line"><a·id="l0003 | 133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·"../osd/opengl.h"</span></div> |
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·"../osd/types.h"</span></div> | ||
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·<vector></span></div> | ||
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
137 | <div·class="line"><a·id="l0003 | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> |
138 | <div·class="line"><a·id="l0003 | 136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | ||
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Osd·{</div> | ||
139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | 139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
140 | <div·class="foldopen"·id="foldopen00039"·data-start="{"·data-end="};"> | ||
141 | <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> | ||
142 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····:·<span·class="keyword">private</span>·NonCopyable<GLLegacyGregoryPatchTable>·{</div> | ||
140 | <div·class="line"><a·id="l000 | 143 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">public</span>:</div> |
144 | <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> | ||
141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">class·</span>PatchTable;</div> | ||
142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>};</div> | ||
143 | <div·class="line"><a·id="l0004 | 145 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> |
144 | <div·class="line"><a·id="l0004 | 146 | <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> |
145 | <div·class="line"><a·id="l0004 | 147 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> |
148 | <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> | ||
149 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | ||
146 | <div·class="foldopen"·id="foldopen0004 | 150 | <div·class="foldopen"·id="foldopen00048"·data-start="{"·data-end="}"> |
147 | <div·class="line"><a·id="l0004 | 151 | <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·cla[·...·truncated·by·diffoscope;·len:·27,·SHA:·abc9787025661bd68988e4b8e67be1353bafeaa5d679cd0d588ac659b4972a69·...·]{</div> |
148 | <div·class="line"><a·id="l0004 | 152 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>········<span·class="keywordflow">return</span>·_vertexTextureBuffer;</div> |
149 | <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> | ||
150 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
151 | <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> | ||
152 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | 153 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····}</div> |
154 | </div> | ||
153 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><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> | ||
154 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>································<span·class="keywordtype">void</span>·*deviceContext·=·NULL);</div> | ||
155 | <div·class="line"><a·id="l0005 | 155 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> |
156 | <div·class="foldopen"·id="foldopen0005 | 156 | <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="}"> |
157 | <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>·&<a·class="code·hl_function"·href="a01229.html#a18e3d09b0c7b7552f8e419e36788166a">GetPatchArrays</a>()<span·class="keyword">·const·</span>{</div> | ||
158 | <div·class="line"><a·id="l0005 | 157 | <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>()<s[·...·truncated·by·diffoscope;·len:·35,·SHA:·c7e6c4b4427b2e9bf4bd1ae94829efc34963c6be71e7602f226b41ab788a9854·...·]</div> |
158 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>········<span·class="keywordflow">return</span>·_vertexValenceTextureBuffer;</div> | ||
159 | <div·class="line"><a·id="l0005 | 159 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····}</div> |
160 | </div> | ||
161 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | ||
162 | <div·class="foldopen"·id="foldopen00056"·data-start="{"·data-end="}"> | ||
163 | <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> | ||
164 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········<span·class="keywordflow">return</span>·_quadOffsetsTextureBuffer;</div> | ||
165 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····}</div> | ||
160 | </div> | 166 | </div> |
161 | <div·class="line"><a·id="l0005 | 167 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> |
162 | <div·class="foldopen"·id="foldopen00060"·data-start="{"·data-end="}"> | 168 | <div·class="foldopen"·id="foldopen00060"·data-start="{"·data-end="}"> |
163 | <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> | ||
164 | <div·class="line"><a·id="l0006 | 169 | <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[·...·truncated·by·diffoscope;·len:·108,·SHA:·7c55fb5f7cc17775d27380678a6f56ad75c8af4d42de4d59a1c0532e13f6ea6f·...·]</div> |
170 | <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> | ||
171 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>············<span·class="keywordflow">return</span>·_quadOffsetsBase[1];</div> | ||
172 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········}</div> | ||
173 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>········<span·class="keywordflow">return</span>·_quadOffsetsBase[0];</div> | ||
165 | <div·class="line"><a·id="l0006 | 174 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····}</div> |
166 | </div> | 175 | </div> |
167 | <div·class="line"><a·id="l0006 | 176 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> |
168 | <div·class="foldopen"·id="foldopen00065"·data-start="{"·data-end="}"> | ||
169 | <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> | ||
170 | <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> | ||
171 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>· | 177 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="keyword">protected</span>:</div> |
172 | </div> | 178 | <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">GLLegacyGregory[·...·truncated·by·diffoscope;·len:·18,·SHA:·859d8a662600f4391e422590a095b1b972a2411891f9861caa1f549e1abd4177·...·]/div> |
173 | <div·class="line"><a·id="l0006 | 179 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> |
180 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="keyword">private</span>:</div> | ||
181 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····GLuint·_vertexTextureBuffer;</div> | ||
174 | <div·class="foldopen"·id="foldopen00070"·data-start="{"·data-end="}"> | ||
175 | <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> | ||
176 | <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> | ||
177 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>···· | 182 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····GLuint·_vertexValenceTextureBuffer;</div> |
178 | </div> | 183 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····GLuint·_quadOffsetsTextureBuffer;</div> |
184 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····GLuint·_quadOffsetsBase[2];·······<span·class="comment">//·gregory,·boundaryGregory</span></div> | ||
179 | <div·class="line"><a·id="l0007 | 185 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>};</div> |
180 | <div·class="foldopen"·id="foldopen00075"·data-start="{"·data-end="}"> | ||
181 | <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> | ||
182 | <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> | ||
183 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····}</div> | ||
184 | </div> | 186 | </div> |
187 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | ||
188 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | ||
185 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> | 189 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> |
190 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>}··<span·class="comment">//·end·namespace·Osd</span></div> | ||
186 | <div·class="foldopen"·id="foldopen00080"·data-start="{"·data-end="}"> | ||
Max diff block lines reached; 34239/56689 bytes (60.40%) of diff not shown. |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | glPatchTable.h | 5 | glLegacyGregoryPatchTable.h |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·2015·Pixar | 8 | 2//·Copyright·2015·Pixar |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
Offset 24, 249 lines modified | Offset 24, 113 lines modified | ||
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24 | 30 | 24 |
31 | 25#ifndef·OPENSUBDIV3_OSD_GL_PATCH_TABLE_H | 31 | 25#ifndef·OPENSUBDIV3_OSD_GL_LEGACY_GREGORY_PATCH_TABLE_H |
32 | 26#define·OPENSUBDIV3_OSD_GL_PATCH_TABLE_H | 32 | 26#define·OPENSUBDIV3_OSD_GL_LEGACY_GREGORY_PATCH_TABLE_H |
33 | 27 | 33 | 27 |
34 | 28#include·"../version.h" | 34 | 28#include·"../version.h" |
35 | 29 | 35 | 29 |
36 | 30#include·"../far/patchTable.h" | ||
36 | 3 | 37 | 31#include·"../osd/nonCopyable.h" |
37 | 3 | 38 | 32#include·"../osd/opengl.h" |
38 | 32#include·"../osd/types.h" | ||
39 | 33 | 39 | 33 |
40 | 34#include·<vector> | ||
41 | 35 | ||
42 | 3 | 40 | 34namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ |
43 | 3 | 41 | 35namespace·OPENSUBDIV_VERSION·{ |
42 | 36 | ||
43 | 37namespace·Osd·{ | ||
44 | 38 | 44 | 38 |
45 | _\x83_\x89class·_\x8G_\x8L_\x8L_\x8e_\x8g_\x8a_\x8c_\x8y_\x8G_\x8r_\x8e_\x8g_\x8o_\x8r_\x8y_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e | ||
46 | 40·:·private·NonCopyable<GLLegacyGregoryPatchTable>·{ | ||
45 | 39namespace·Far{ | ||
46 | 40·class·PatchTable; | ||
47 | 41}; | ||
48 | 42 | ||
49 | 43namespace·Osd·{ | ||
50 | 44 | ||
51 | _\x84_\x85class·_\x8G_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e·:·private·NonCopyable<GLPatchTable>·{ | ||
52 | 4 | 47 | 41public: |
48 | _\x84_\x82·_\x8~_\x8G_\x8L_\x8L_\x8e_\x8g_\x8a_\x8c_\x8y_\x8G_\x8r_\x8e_\x8g_\x8o_\x8r_\x8y_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e(); | ||
49 | 43 | ||
53 | _\x84_\x87·typedef·GLuint·_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8B_\x8i_\x8n_\x8d_\x8i_\x8n_\x8g; | ||
54 | 48 | ||
55 | _\x84_\x89·_\x8~_\x8G_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e(); | ||
56 | 50 | ||
57 | _\x8 | 50 | _\x84_.4·static·_.G_.L_.L_.e_.g_.a_.c_.y_.G_.r_.e_.g_.o_.r_.y_.P_.a_.t_.c_.h_.T_.a_.b_.l_.e·*_.C_.r_.e_.a_.t_.e(_.F_.a_.r_.:_.:_.P_.a_.t_.c_.h_.T_.a_.b_.l_.e·const·*patchTable); |
51 | 45 | ||
52 | _\x84_\x86·void·_\x8U_\x8p_\x8d_\x8a_\x8t_\x8e_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r(GLuint·vbo); | ||
53 | 47 | ||
58 | 52·void·*deviceContext·=·NULL); | ||
59 | 53 | ||
60 | _\x85_\x85·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y_\x8V_\x8e_\x8c_\x8t_\x8o_\x8r·const·&_\x8G_\x8e_\x8t_\x8P_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y_\x8s()·const·{ | ||
61 | 56·return·_\x8__\x8p_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y_\x8s; | ||
62 | 57·} | ||
63 | 58 | ||
64 | _\x86_\x80·GLuint·_\x8G_\x8e_\x8t_\x8P_\x8a_\x8t_\x8c_\x8h_\x8I_\x8n_\x8d_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{ | ||
65 | 61·return·_\x8__\x8p_\x8a_\x8t_\x8c_\x8h_\x8I_\x8n_\x8d_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r; | ||
66 | 62·} | ||
67 | 63 | ||
68 | _\x8 | 54 | _\x84_.8·GLuint·_.G_.e_.t_.V_.e_.r_.t_.e_.x_.T_.e_.x_.t_.u_.r_.e_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{ |
69 | 66·return·_\x8__\x8p_\x8a_\x8t_\x8c_\x8h_\x8P_\x8a_\x8r_\x8a_\x8m_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r; | ||
70 | 67·} | ||
71 | 55 | 49·return·_vertexTextureBuffer; | |
56 | 50·} | ||
57 | 51 | ||
58 | _\x85_\x82·GLuint·_\x8G_\x8e_\x8t_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8V_\x8a_\x8l_\x8e_\x8n_\x8c_\x8e_\x8T_\x8e_\x8x_\x8t_\x8u_\x8r_\x8e_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{ | ||
59 | 53·return·_vertexValenceTextureBuffer; | ||
60 | 54·} | ||
61 | 55 | ||
72 | _\x8 | 62 | _\x85_.6·GLuint·_.G_.e_.t_.Q_.u_.a_.d_.O_.f_.f_.s_.e_.t_.s_\x8T_\x8e_\x8x_\x8t_\x8u_\x8r_\x8e_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{ |
73 | 71·return·_\x8__\x8p_\x8a_\x8t_\x8c_\x8h_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8e_\x8x_\x8t_\x8u_\x8r_\x8e; | ||
74 | 72·} | ||
75 | 73 | ||
76 | _\x87_\x85·GLuint·_\x8G_\x8e_\x8t_\x8P_\x8a_\x8t_\x8c_\x8h_\x8P_\x8a_\x8r_\x8a_\x8m_\x8T_\x8e_\x8x_\x8t_\x8u_\x8r_\x8e_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{ | ||
77 | 76·return·_\x8__\x8p_\x8a_\x8t_\x8c_\x8h_\x8P_\x8a_\x8r_\x8a_\x8m_\x8T_\x8e_\x8x_\x8t_\x8u_\x8r_\x8e; | ||
78 | 7 | 63 | 57·return·_quadOffsetsTextureBuffer; |
64 | 58·} | ||
65 | 59 | ||
66 | _\x86_\x80·GLuint·_\x8G_\x8e_\x8t_\x8Q_\x8u_\x8a_\x8d_\x8O_\x8f_\x8f_\x8s_\x8e_\x8t_\x8s_\x8B_\x8a_\x8s_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8T_\x8y_\x8p_\x8e·type)·{ | ||
67 | 61·if·(type·==·_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8G_\x8R_\x8E_\x8G_\x8O_\x8R_\x8Y_\x8__\x8B_\x8O_\x8U_\x8N_\x8D_\x8A_\x8R_\x8Y)·{ | ||
68 | 62·return·_quadOffsetsBase[1]; | ||
69 | 63·} | ||
70 | 64·return·_quadOffsetsBase[0]; | ||
71 | 65·} | ||
72 | 66 | ||
73 | 67protected: | ||
74 | _\x86_\x88·_\x8G_\x8L_\x8L_\x8e_\x8g_\x8a_\x8c_\x8y_\x8G_\x8r_\x8e_\x8g_\x8o_\x8r_\x8y_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e(); | ||
75 | 69 | ||
76 | 70private: | ||
77 | 71·GLuint·_vertexTextureBuffer; | ||
78 | 72·GLuint·_vertexValenceTextureBuffer; | ||
79 | 73·GLuint·_quadOffsetsTextureBuffer; | ||
80 | 74·GLuint·_quadOffsetsBase[2];·//·gregory,·boundaryGregory | ||
81 | 75}; | ||
82 | 76 | ||
83 | 77 | ||
79 | 78 | 84 | 78 |
80 | _\x88_\x80·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y_\x8V_\x8e_\x8c_\x8t_\x8o_\x8r·const·&_\x8G_\x8e_\x8t_\x8V_\x8a_\x8r_\x8y_\x8i_\x8n_\x8g_\x8P_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y_\x8s()·const·{ | ||
81 | 81·return·_\x8__\x8v_\x8a_\x8r_\x8y_\x8i_\x8n_\x8g_\x8P_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y_\x8s; | ||
82 | 85 | 79}·//·end·namespace·Osd | |
86 | 80 | ||
87 | 81}·//·end·namespace·OPENSUBDIV_VERSION | ||
88 | 82using·namespace·OPENSUBDIV_VERSION; | ||
83 | 83 | 89 | 83 |
84 | _\x88_\x85·GLuint·_\x8G_\x8e_\x8t_\x8V_\x8a_\x8r_\x8y_\x8i_\x8n_\x8g_\x8P_\x8a_\x8t_\x8c_\x8h_\x8I_\x8n_\x8d_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{ | ||
85 | 86·return·_\x8__\x8v_\x8a_\x8r_\x8y_\x8i_\x8n_\x8g_\x8I_\x8n_\x8d_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r; | ||
86 | 87·} | ||
87 | 88 | ||
88 | _\x89_\x80·GLuint·_\x8G_\x8e_\x8t_\x8V_\x8a_\x8r_\x8y_\x8i_\x8n_\x8g_\x8P_\x8a_\x8t_\x8c_\x8h_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8e_\x8x_\x8t_\x8u_\x8r_\x8e_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{ | ||
89 | 91·return·_\x8__\x8v_\x8a_\x8r_\x8y_\x8i_\x8n_\x8g_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8e_\x8x_\x8t_\x8u_\x8r_\x8e; | ||
90 | 92·} | ||
91 | 93 | ||
92 | _\x89_\x85·int·_\x8G_\x8e_\x8t_\x8N_\x8u_\x8m_\x8F_\x8V_\x8a_\x8r_\x8C_\x8h_\x8a_\x8n_\x8n_\x8e_\x8l_\x8s()·const·{·return·(int)_\x8__\x8f_\x8v_\x8a_\x8r_\x8P_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y_\x8s.size();·} | ||
93 | 96 | ||
94 | _\x89_\x88·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y_\x8V_\x8e_\x8c_\x8t_\x8o_\x8r·const·&_\x8G_\x8e_\x8t_\x8F_\x8V_\x8a_\x8r_\x8P_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y_\x8s(int·fvarChannel·=·0)·const·{ | ||
95 | 99·return·_\x8__\x8f_\x8v_\x8a_\x8r_\x8P_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y_\x8s[fvarChannel]; | ||
96 | 100·} | ||
97 | 101 | ||
98 | _\x81_\x80_\x83·GLuint·_\x8G_\x8e_\x8t_\x8F_\x8V_\x8a_\x8r_\x8P_\x8a_\x8t_\x8c_\x8h_\x8I_\x8n_\x8d_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r(int·fvarChannel·=·0)·const·{ | ||
Max diff block lines reached; 16439/24668 bytes (66.64%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/omp | 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 88, 44 lines modified | Offset 88, 45 lines modified | ||
88 | </div> | 88 | </div> |
89 | </div> | 89 | </div> |
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#nested-classes">Classes</a>·| | ||
95 | <a·href="#namespaces">Namespaces</a>· | 94 | <a·href="#namespaces">Namespaces</a>·| |
95 | <a·href="#func-members">Functions</a>··</div> | ||
96 | ··<div·class="headertitle"><div·class="title">omp | 96 | ··<div·class="headertitle"><div·class="title">ompKernel.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·"<a·class="el"·href="a00899_source.html">../osd/bufferDescriptor.h</a>"</code><br·/> | ||
101 | <code>#include·"<a·class="el"·href="a01481_source.html">../osd/types.h</a>"</code><br·/> | ||
102 | <code>#include·<cstddef></code><br·/> | ||
103 | </div> | 100 | </div> |
104 | <p><a·href="a00878_source.html">Go·to·the·source·code·of·this·file.</a></p> | 101 | <p><a·href="a00878_source.html">Go·to·the·source·code·of·this·file.</a></p> |
105 | <table·class="memberdecls"> | 102 | <table·class="memberdecls"> |
106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
107 | Classes</h2></td></tr> | ||
108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01305.html">OmpEvaluator</a></td></tr> | ||
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
110 | </table><table·class="memberdecls"> | ||
111 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 103 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
112 | Namespaces</h2></td></tr> | 104 | Namespaces</h2></td></tr> |
113 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 105 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
114 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
115 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 107 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
117 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> | 109 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> |
118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
111 | </table><table·class="memberdecls"> | ||
112 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
113 | Functions</h2></td></tr> | ||
114 | <tr·class="memitem:a870745ff3e883b32547d4db42b3be2bd"·id="r_a870745ff3e883b32547d4db42b3be2bd"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#a870745ff3e883b32547d4db42b3be2bd">OmpEvalStencils</a>·(float·const·*src,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&srcDesc,·float·*dst,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&dstDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·int·start,·int·end)</td></tr> | ||
115 | <tr·class="separator:a870745ff3e883b32547d4db42b3be2bd"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
116 | <tr·class="memitem:a907dc53421460557871ddc35f77751f5"·id="r_a907dc53421460557871ddc35f77751f5"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#a907dc53421460557871ddc35f77751f5">OmpEvalStencils</a>·(float·const·*src,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&srcDesc,·float·*dst,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&dstDesc,·float·*dstDu,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&dstDuDesc,·float·*dstDv,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&dstDvDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·float·const·*duWeights,·float·const·*dvWeights,·int·start,·int·end)</td></tr> | ||
117 | <tr·class="separator:a907dc53421460557871ddc35f77751f5"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
118 | <tr·class="memitem:a44a05502feb5015035bc81b93cffb99c"·id="r_a44a05502feb5015035bc81b93cffb99c"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#a44a05502feb5015035bc81b93cffb99c">OmpEvalStencils</a>·(float·const·*src,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&srcDesc,·float·*dst,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&dstDesc,·float·*dstDu,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&dstDuDesc,·float·*dstDv,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&dstDvDesc,·float·*dstDuu,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&dstDuuDesc,·float·*dstDuv,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&dstDuvDesc,·float·*dstDvv,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&dstDvvDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·float·const·*duWeights,·float·const·*dvWeights,·float·const·*duuWeights,·float·const·*duvWeights,·float·const·*dvvWeights,·int·start,·int·end)</td></tr> | ||
119 | <tr·class="separator:a44a05502feb5015035bc81b93cffb99c"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
119 | </table> | 120 | </table> |
120 | </div><!--·contents·--> | 121 | </div><!--·contents·--> |
121 | </div><!--·doc-content·--> | 122 | </div><!--·doc-content·--> |
122 | <!--·start·footer·part·--> | 123 | <!--·start·footer·part·--> |
123 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 124 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
124 | ··<ul> | 125 | ··<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="a00878.html">omp | 126 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00878.html">ompKernel.h</a></li> |
126 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 127 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
127 | ··</ul> | 128 | ··</ul> |
128 | </div> | 129 | </div> |
129 | </body> | 130 | </body> |
130 | </html> | 131 | </html> |
Offset 1, 25 lines modified | Offset 1, 41 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8 | 5 | _\x8N_.a_.m_.e_.s_.p_.a_.c_.e_.s·|·_.F_.u_.n_.c_.t_.i_.o_.n_\x8s |
6 | omp | 6 | ompKernel.h·File·Reference |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8._\x8h" | ||
9 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" | ||
10 | #include·<cstddef> | ||
11 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 8 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
12 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | ||
13 | class· ·_\x8O_\x8m_\x8p_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r | ||
14 | |||
15 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 9 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
16 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 10 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
17 | 11 | ||
18 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 12 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
19 | 13 | ||
20 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d | 14 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d |
21 | 15 | ||
16 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | ||
17 | void ·_\x8O_\x8m_\x8p_\x8E_\x8v_\x8a_\x8l_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s·(float·const·*src,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc,·float | ||
18 | ······*dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc,·int·const·*sizes,·int·const | ||
19 | ······*offsets,·int·const·*indices,·float·const·*weights,·int·start,·int·end) | ||
20 | |||
21 | void ·_\x8O_\x8m_\x8p_\x8E_\x8v_\x8a_\x8l_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s·(float·const·*src,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc,·float | ||
22 | ······*dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc,·float·*dstDu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r | ||
23 | ······const·&dstDuDesc,·float·*dstDv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDvDesc,·int | ||
24 | ······const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const | ||
25 | ······*weights,·float·const·*duWeights,·float·const·*dvWeights,·int·start,·int | ||
26 | ······end) | ||
27 | |||
28 | void ·_\x8O_\x8m_\x8p_\x8E_\x8v_\x8a_\x8l_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s·(float·const·*src,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc,·float | ||
29 | ······*dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc,·float·*dstDu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r | ||
30 | ······const·&dstDuDesc,·float·*dstDv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDvDesc,·float | ||
31 | ······*dstDuu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuuDesc,·float·*dstDuv, | ||
32 | ······_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuvDesc,·float·*dstDvv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const | ||
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 | |||
22 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 38 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
23 | ····*·_\x8o_\x8s_\x8d | 39 | ····*·_\x8o_\x8s_\x8d |
24 | ····*·_\x8o_\x8m_\x8p_\x8 | 40 | ····*·_\x8o_\x8m_\x8p_\x8K_.e_.r_.n_.e_.l_\x8._\x8h |
25 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 41 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 3 lines modified | Offset 1, 5 lines modified | ||
1 | var·a00878·=·[ | 1 | var·a00878·=·[ |
2 | ····["OmpEval | 2 | ····["OmpEvalStencils",·"a00878.html#a44a05502feb5015035bc81b93cffb99c",·null], |
3 | ····["OmpEvalStencils",·"a00878.html#a907dc53421460557871ddc35f77751f5",·null], | ||
4 | ····["OmpEvalStencils",·"a00878.html#a870745ff3e883b32547d4db42b3be2bd",·null] | ||
3 | ]; | 5 | ]; |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/omp | 8 | <title>OpenSubdiv:·opensubdiv/osd/ompKernel.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 92, 19 lines modified | Offset 92, 19 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title">omp | 98 | ··<div·class="headertitle"><div·class="title">ompKernel.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <a·href="a00878.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> | 101 | <a·href="a00878.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·201 | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> | 106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> |
107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> | 107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> |
108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> | 108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> |
109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> | 109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> |
Offset 119, 528 lines modified | Offset 119, 82 lines modified | ||
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_OMP_ | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_OMP_KERNEL_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_OMP_ | 127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_OMP_KERNEL_H</span></div> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"../osd/bufferDescriptor.h"</span></div> | ||
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../osd/types.h"</span></div> | ||
132 | <div·class="line"><a·id="l000 | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·<cstddef></span></div> | ||
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | ||
135 | <div·class="line"><a·id="l0003 | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> |
136 | <div·class="line"><a·id="l0003 | 132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | ||
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span>Osd·{</div> | ||
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | ||
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">struct·</span>BufferDescriptor;</div> | ||
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | 137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword | 138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keywordtype">void</span></div> |
139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a00912.html#a870745ff3e883b32547d4db42b3be2bd">···38</a></span><a·class="code·hl_function"·href="a00912.html#a870745ff3e883b32547d4db42b3be2bd">OmpEvalStencils</a>(<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·src,·<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&srcDesc,</div> | ||
140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>················<span·class="keywordtype">float</span>·*·dst,·······<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDesc,</div> | ||
139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
140 | <div·class="foldopen"·id="foldopen00039"·data-start="{"·data-end="};"> | ||
141 | <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> | ||
142 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">p | 141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>················<span·class="keywordtype">int</span>·<span·class="keyword">const</span>·*·sizes,</div> |
142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>················<span·class="keywordtype">int</span>·<span·class="keyword">const</span>·*·offsets,</div> | ||
143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>················<span·class="keywordtype">int</span>·<span·class="keyword">const</span>·*·indices,</div> | ||
144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·weights,</div> | ||
145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>················<span·class="keywordtype">int</span>·start,·<span·class="keywordtype">int</span>·end);</div> | ||
143 | <div·class="line"><a·id="l0004 | 146 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> |
144 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="keyword">template</span>·<<span·class="keyword">typename</span>·SRC_BUFFER,·<span·class="keyword">typename</span>·DST_BUFFER,·<span·class="keyword">typename</span>·STENCIL_TABLE></div> | ||
145 | <div·class="foldopen"·id="foldopen00072"·data-start="{"·data-end="}"> | ||
146 | <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> | ||
147 | <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>·&srcDesc,</div> | ||
148 | <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>·&dstDesc,</div> | ||
149 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········STENCIL_TABLE·<span·class="keyword">const</span>·*stencilTable,</div> | ||
150 | <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> | ||
151 | <div·class="line"><a·id="l000 | 147 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keywordtype">void</span></div> |
148 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a00912.html#a907dc53421460557871ddc35f77751f5">···47</a></span><a·class="code·hl_function"·href="a00912.html#a870745ff3e883b32547d4db42b3be2bd">OmpEvalStencils</a>(<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·src,·<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&srcDesc,</div> | ||
149 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>················<span·class="keywordtype">float</span>·*·dst,·······<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDesc,</div> | ||
150 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>················<span·class="keywordtype">float</span>·*·dstDu,·····<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDuDesc,</div> | ||
151 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>················<span·class="keywordtype">float</span>·*·dstDv,·····<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDvDesc,</div> | ||
152 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>················<span·class="keywordtype">int</span>·<span·class="keyword">const</span>·*·sizes,</div> | ||
153 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>················<span·class="keywordtype">int</span>·<span·class="keyword">const</span>·*·offsets,</div> | ||
154 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>················<span·class="keywordtype">int</span>·<span·class="keyword">const</span>·*·indices,</div> | ||
155 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·weights,</div> | ||
156 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·duWeights,</div> | ||
157 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·dvWeights,</div> | ||
158 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>················<span·class="keywordtype">int</span>·start,·<span·class="keywordtype">int</span>·end);</div> | ||
152 | <div·class="line"><a·id="l000 | 159 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> |
160 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keywordtype">void</span></div> | ||
161 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a00912.html#a44a05502feb5015035bc81b93cffb99c">···60</a></span><a·class="code·hl_function"·href="a00912.html#a870745ff3e883b32547d4db42b3be2bd">OmpEvalStencils</a>(<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·src,·<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&srcDesc,</div> | ||
162 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>················<span·class="keywordtype">float</span>·*·dst,·······<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDesc,</div> | ||
163 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>················<span·class="keywordtype">float</span>·*·dstDu,·····<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDuDesc,</div> | ||
164 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>················<span·class="keywordtype">float</span>·*·dstDv,·····<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDvDesc,</div> | ||
165 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>················<span·class="keywordtype">float</span>·*·dstDuu,····<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDuuDesc,</div> | ||
166 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>················<span·class="keywordtype">float</span>·*·dstDuv,····<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDuvDesc,</div> | ||
167 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>················<span·class="keywordtype">float</span>·*·dstDvv,····<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDvvDesc,</div> | ||
168 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>················<span·class="keywordtype">int</span>·<span·class="keyword">const</span>·*·sizes,</div> | ||
169 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>················<span·class="keywordtype">int</span>·<span·class="keyword">const</span>·*·offsets,</div> | ||
170 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>················<span·class="keywordtype">int</span>·<span·class="keyword">const</span>·*·indices,</div> | ||
171 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·weights,</div> | ||
172 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·duWeights,</div> | ||
173 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·dvWeights,</div> | ||
174 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·duuWeights,</div> | ||
175 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·duvWeights,</div> | ||
176 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·dvvWeights,</div> | ||
177 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>················<span·class="keywordtype">int</span>·start,·<span·class="keywordtype">int</span>·end);</div> | ||
178 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | ||
153 | <div·class="line"><a·id="l0007 | 179 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>}·<span·class="comment">//·end·namespace·Osd</span></div> |
180 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> | ||
154 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·· | 181 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>}··<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> |
182 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> | ||
155 | <div·class="line"><a·id="l0008 | 183 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> |
184 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>}··<span·class="comment">//·end·namespace·OpenSubdiv</span></div> | ||
156 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>········<span·class="keywordflow">if</span>·(stencilTable->GetNumStencils()·==·0)</div> | ||
157 | <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> | ||
158 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> | 185 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> |
159 | <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->BindCpuBuffer(),·srcDesc,</div> | ||
160 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····························dstBuffer->BindCpuBuffer(),·dstDesc,</div> | ||
161 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····························&stencilTable->GetSizes()[0],</div> | ||
162 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····························&stencilTable->GetOffsets()[0],</div> | ||
163 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····························&stencilTable->GetControlIndices()[0],</div> | ||
164 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····························&stencilTable->GetWeights()[0],</div> | ||
165 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····························<span·class="comment">/*start·=·*/</span>·0,</div> | ||
166 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····························<span·class="comment">/*end···=·*/</span>·stencilTable->GetNumStencils());</div> | ||
Max diff block lines reached; 18865/119791 bytes (15.75%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | omp | 5 | ompKernel.h |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·201 | 8 | 2//·Copyright·2013·Pixar |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: | 13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: |
14 | 8// | 14 | 8// |
15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade | 15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade |
Offset 24, 655 lines modified | Offset 24, 82 lines modified | ||
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24 | 30 | 24 |
31 | 25#ifndef·OPENSUBDIV3_OSD_OMP_ | 31 | 25#ifndef·OPENSUBDIV3_OSD_OMP_KERNEL_H |
32 | 26#define·OPENSUBDIV3_OSD_OMP_ | 32 | 26#define·OPENSUBDIV3_OSD_OMP_KERNEL_H |
33 | 27 | 33 | 27 |
34 | 28#include·"../version.h" | 34 | 28#include·"../version.h" |
35 | 29 | ||
35 | 29#include·"../osd/bufferDescriptor.h" | ||
36 | 30#include·"../osd/types.h" | ||
37 | 31 | ||
38 | 32#include·<cstddef> | ||
39 | 33 | ||
40 | 3 | 36 | 30namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ |
41 | 3 | 37 | 31namespace·OPENSUBDIV_VERSION·{ |
38 | 32 | ||
39 | 33namespace·Osd·{ | ||
40 | 34 | ||
41 | 35struct·BufferDescriptor; | ||
42 | 36 | 42 | 36 |
43 | 37void | ||
44 | _\x83_\x88_\x8O_\x8m_\x8p_\x8E_\x8v_\x8a_\x8l_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s(float·const·*·src,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, | ||
43 | 37namespace·Osd·{ | ||
44 | 38 | ||
45 | _\x83_\x89class·_\x8O_\x8m_\x8p_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r·{ | ||
46 | 40public: | ||
47 | 46 | ||
48 | 71·template·<typename·SRC_BUFFER,·typename·DST_BUFFER,·typename·STENCIL_TABLE> | ||
49 | _\x87_\x82·static·bool·_\x8E_\x8v_\x8a_\x8l_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s( | ||
50 | 45 | 39·float·*·dst,·_.B_.u_.f_.f_.e_.r_.D_.e_.s_.c_.r_.i_.p_.t_.o_.r·const·&dstDesc, | |
46 | 40·int·const·*·sizes, | ||
47 | 41·int·const·*·offsets, | ||
48 | 42·int·const·*·indices, | ||
49 | 43·float·const·*·weights, | ||
50 | 44·int·start,·int·end); | ||
51 | 45 | ||
52 | 46void | ||
53 | _\x84_\x87_\x8O_\x8m_\x8p_\x8E_\x8v_\x8a_\x8l_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s(float·const·*·src,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, | ||
51 | 54 | 48·float·*·dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, | |
52 | 75·STENCIL_TABLE·const·*stencilTable, | ||
53 | 76·const·_\x8O_\x8m_\x8p_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r·*instance·=·NULL, | ||
54 | 77·void·*·deviceContext·=·NULL)·{ | ||
55 | 78 | ||
56 | 79·(void)instance;·//·unused | ||
57 | 80·(void)deviceContext;·//·unused | ||
58 | 81 | ||
59 | 82·if·(stencilTable->GetNumStencils()·==·0) | ||
60 | 55 | 49·float·*·dstDu,·_.B_.u_.f_.f_.e_.r_.D_.e_.s_.c_.r_.i_.p_.t_.o_.r·const·&dstDuDesc, | |
56 | 50·float·*·dstDv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDvDesc, | ||
57 | 51·int·const·*·sizes, | ||
58 | 52·int·const·*·offsets, | ||
59 | 53·int·const·*·indices, | ||
60 | 54·float·const·*·weights, | ||
61 | 55·float·const·*·duWeights, | ||
62 | 56·float·const·*·dvWeights, | ||
63 | 57·int·start,·int·end); | ||
64 | 58 | ||
65 | 59void | ||
66 | _\x86_\x80_\x8O_\x8m_\x8p_\x8E_\x8v_\x8a_\x8l_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s(float·const·*·src,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, | ||
67 | 61·float·*·dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, | ||
68 | 62·float·*·dstDu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuDesc, | ||
69 | 63·float·*·dstDv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDvDesc, | ||
70 | 64·float·*·dstDuu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuuDesc, | ||
71 | 65·float·*·dstDuv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuvDesc, | ||
72 | 66·float·*·dstDvv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDvvDesc, | ||
73 | 67·int·const·*·sizes, | ||
74 | 68·int·const·*·offsets, | ||
75 | 69·int·const·*·indices, | ||
76 | 70·float·const·*·weights, | ||
77 | 71·float·const·*·duWeights, | ||
78 | 72·float·const·*·dvWeights, | ||
79 | 73·float·const·*·duuWeights, | ||
80 | 74·float·const·*·duvWeights, | ||
81 | 75·float·const·*·dvvWeights, | ||
82 | 76·int·start,·int·end); | ||
83 | 77 | ||
84 | 78}·//·end·namespace·Osd | ||
85 | 79 | ||
86 | 80}·//·end·namespace·OPENSUBDIV_VERSION | ||
87 | 81using·namespace·OPENSUBDIV_VERSION; | ||
88 | 82 | ||
89 | 83}·//·end·namespace·OpenSubdiv | ||
61 | 84 | 90 | 84 |
62 | 85·return·_\x8E_\x8v_\x8a_\x8l_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s(srcBuffer->BindCpuBuffer(),·srcDesc, | ||
63 | 86·dstBuffer->BindCpuBuffer(),·dstDesc, | ||
64 | 87·&stencilTable->GetSizes()[0], | ||
65 | 88·&stencilTable->GetOffsets()[0], | ||
66 | 89·&stencilTable->GetControlIndices()[0], | ||
67 | 90·&stencilTable->GetWeights()[0], | ||
68 | 91·/*start·=·*/·0, | ||
69 | 92·/*end·=·*/·stencilTable->GetNumStencils()); | ||
70 | 93·} | ||
71 | 94 | ||
72 | _\x81_\x82_\x81·static·bool·_\x8E_\x8v_\x8a_\x8l_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s( | ||
73 | 122·const·float·*src,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, | ||
74 | 123·float·*dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, | ||
75 | 124·const·int·*·sizes, | ||
76 | 125·const·int·*·offsets, | ||
77 | 126·const·int·*·indices, | ||
78 | 127·const·float·*·weights, | ||
79 | 128·int·start,·int·end); | ||
80 | 129 | ||
81 | 167·template·<typename·SRC_BUFFER,·typename·DST_BUFFER,·typename·STENCIL_TABLE> | ||
82 | _\x81_\x86_\x88·static·bool·_\x8E_\x8v_\x8a_\x8l_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s( | ||
83 | 169·SRC_BUFFER·*srcBuffer,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, | ||
84 | 170·DST_BUFFER·*dstBuffer,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, | ||
85 | 171·DST_BUFFER·*duBuffer,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&duDesc, | ||
Max diff block lines reached; 16063/40671 bytes (39.49%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/omp | 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 88, 45 lines modified | Offset 88, 44 lines modified | ||
88 | </div> | 88 | </div> |
89 | </div> | 89 | </div> |
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#nested-classes">Classes</a>·| | ||
94 | <a·href="#namespaces">Namespaces</a>· | 95 | <a·href="#namespaces">Namespaces</a>··</div> |
95 | <a·href="#func-members">Functions</a>··</div> | ||
96 | ··<div·class="headertitle"><div·class="title">omp | 96 | ··<div·class="headertitle"><div·class="title">ompEvaluator.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·"<a·class="el"·href="a00899_source.html">../osd/bufferDescriptor.h</a>"</code><br·/> | ||
101 | <code>#include·"<a·class="el"·href="a01481_source.html">../osd/types.h</a>"</code><br·/> | ||
102 | <code>#include·<cstddef></code><br·/> | ||
100 | </div> | 103 | </div> |
101 | <p><a·href="a00881_source.html">Go·to·the·source·code·of·this·file.</a></p> | 104 | <p><a·href="a00881_source.html">Go·to·the·source·code·of·this·file.</a></p> |
102 | <table·class="memberdecls"> | 105 | <table·class="memberdecls"> |
106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
107 | Classes</h2></td></tr> | ||
108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01305.html">OmpEvaluator</a></td></tr> | ||
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
110 | </table><table·class="memberdecls"> | ||
103 | <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> |
104 | Namespaces</h2></td></tr> | 112 | Namespaces</h2></td></tr> |
105 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 113 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 114 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
107 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 115 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
109 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> | 117 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> |
110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
111 | </table><table·class="memberdecls"> | ||
112 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
113 | Functions</h2></td></tr> | ||
114 | <tr·class="memitem:a870745ff3e883b32547d4db42b3be2bd"·id="r_a870745ff3e883b32547d4db42b3be2bd"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#a870745ff3e883b32547d4db42b3be2bd">OmpEvalStencils</a>·(float·const·*src,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&srcDesc,·float·*dst,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&dstDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·int·start,·int·end)</td></tr> | ||
115 | <tr·class="separator:a870745ff3e883b32547d4db42b3be2bd"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
116 | <tr·class="memitem:a907dc53421460557871ddc35f77751f5"·id="r_a907dc53421460557871ddc35f77751f5"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#a907dc53421460557871ddc35f77751f5">OmpEvalStencils</a>·(float·const·*src,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&srcDesc,·float·*dst,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&dstDesc,·float·*dstDu,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&dstDuDesc,·float·*dstDv,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&dstDvDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·float·const·*duWeights,·float·const·*dvWeights,·int·start,·int·end)</td></tr> | ||
117 | <tr·class="separator:a907dc53421460557871ddc35f77751f5"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
118 | <tr·class="memitem:a44a05502feb5015035bc81b93cffb99c"·id="r_a44a05502feb5015035bc81b93cffb99c"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#a44a05502feb5015035bc81b93cffb99c">OmpEvalStencils</a>·(float·const·*src,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&srcDesc,·float·*dst,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&dstDesc,·float·*dstDu,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&dstDuDesc,·float·*dstDv,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&dstDvDesc,·float·*dstDuu,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&dstDuuDesc,·float·*dstDuv,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&dstDuvDesc,·float·*dstDvv,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&dstDvvDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·float·const·*duWeights,·float·const·*dvWeights,·float·const·*duuWeights,·float·const·*duvWeights,·float·const·*dvvWeights,·int·start,·int·end)</td></tr> | ||
119 | <tr·class="separator:a44a05502feb5015035bc81b93cffb99c"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
120 | </table> | 119 | </table> |
121 | </div><!--·contents·--> | 120 | </div><!--·contents·--> |
122 | </div><!--·doc-content·--> | 121 | </div><!--·doc-content·--> |
123 | <!--·start·footer·part·--> | 122 | <!--·start·footer·part·--> |
124 | <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!·--> |
125 | ··<ul> | 124 | ··<ul> |
126 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00881.html">omp | 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="a00881.html">ompEvaluator.h</a></li> |
127 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 126 | ····<li·class="footer">Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
128 | ··</ul> | 127 | ··</ul> |
129 | </div> | 128 | </div> |
130 | </body> | 129 | </body> |
131 | </html> | 130 | </html> |
Offset 1, 41 lines modified | Offset 1, 25 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8 | 5 | _\x8C_.l_.a_.s_.s_.e_.s·|·_.N_.a_.m_.e_.s_.p_.a_.c_.e_\x8s |
6 | omp | 6 | ompEvaluator.h·File·Reference |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8._\x8h" | ||
9 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" | ||
10 | #include·<cstddef> | ||
8 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 11 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
12 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | ||
13 | class· ·_\x8O_\x8m_\x8p_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r | ||
14 | |||
9 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 15 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
10 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 16 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
11 | 17 | ||
12 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 18 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
13 | 19 | ||
14 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d | 20 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d |
15 | 21 | ||
16 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | ||
17 | void ·_\x8O_\x8m_\x8p_\x8E_\x8v_\x8a_\x8l_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s·(float·const·*src,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc,·float | ||
18 | ······*dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc,·int·const·*sizes,·int·const | ||
19 | ······*offsets,·int·const·*indices,·float·const·*weights,·int·start,·int·end) | ||
20 | |||
21 | void ·_\x8O_\x8m_\x8p_\x8E_\x8v_\x8a_\x8l_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s·(float·const·*src,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc,·float | ||
22 | ······*dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc,·float·*dstDu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r | ||
23 | ······const·&dstDuDesc,·float·*dstDv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDvDesc,·int | ||
24 | ······const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const | ||
25 | ······*weights,·float·const·*duWeights,·float·const·*dvWeights,·int·start,·int | ||
26 | ······end) | ||
27 | |||
28 | void ·_\x8O_\x8m_\x8p_\x8E_\x8v_\x8a_\x8l_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s·(float·const·*src,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc,·float | ||
29 | ······*dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc,·float·*dstDu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r | ||
30 | ······const·&dstDuDesc,·float·*dstDv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDvDesc,·float | ||
31 | ······*dstDuu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuuDesc,·float·*dstDuv, | ||
32 | ······_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuvDesc,·float·*dstDvv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const | ||
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 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 22 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
39 | ····*·_\x8o_\x8s_\x8d | 23 | ····*·_\x8o_\x8s_\x8d |
40 | ····*·_\x8o_\x8m_\x8p_\x8 | 24 | ····*·_\x8o_\x8m_\x8p_\x8E_.v_.a_.l_.u_.a_.t_.o_.r_\x8._\x8h |
41 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 25 | ····*·Generated·on·Thu·Feb·29·2024·12:58:19·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 5 lines modified | Offset 1, 3 lines modified | ||
1 | var·a00881·=·[ | 1 | var·a00881·=·[ |
2 | ····["OmpEvaluator",·"a01305.html",·null] | ||
2 | ····["OmpEvalStencils",·"a00881.html#a44a05502feb5015035bc81b93cffb99c",·null], | ||
3 | ····["OmpEvalStencils",·"a00881.html#a907dc53421460557871ddc35f77751f5",·null], | ||
4 | ····["OmpEvalStencils",·"a00881.html#a870745ff3e883b32547d4db42b3be2bd",·null] | ||
5 | ]; | 3 | ]; |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/omp | 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 92, 19 lines modified | Offset 92, 19 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title">omp | 98 | ··<div·class="headertitle"><div·class="title">ompEvaluator.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <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> | 101 | <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> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·201 | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> | 106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> |
107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> | 107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> |
108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> | 108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> |
109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> | 109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> |
Offset 119, 82 lines modified | Offset 119, 528 lines modified | ||
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_OMP_ | 126 | <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> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_OMP_ | 127 | <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> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"../osd/bufferDescriptor.h"</span></div> | ||
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../osd/types.h"</span></div> | ||
130 | <div·class="line"><a·id="l000 | 132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·<cstddef></span></div> | ||
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | ||
131 | <div·class="line"><a·id="l0003 | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> |
132 | <div·class="line"><a·id="l0003 | 136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | ||
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span>Osd·{</div> | ||
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | ||
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">struct·</span>BufferDescriptor;</div> | ||
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | 137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword | 138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Osd·{</div> |
139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a00912.html#a870745ff3e883b32547d4db42b3be2bd">···38</a></span><a·class="code·hl_function"·href="a00912.html#a870745ff3e883b32547d4db42b3be2bd">OmpEvalStencils</a>(<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·src,·<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&srcDesc,</div> | ||
140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>················<span·class="keywordtype">float</span>·*·dst,·······<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDesc,</div> | ||
141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>················<span·class="keywordtype">int</span>·<span·class="keyword">const</span>·*·sizes,</div> | ||
142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>················<span·class="keywordtype">int</span>·<span·class="keyword">const</span>·*·offsets,</div> | ||
143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>················<span·class="keywordtype">int</span>·<span·class="keyword">const</span>·*·indices,</div> | ||
144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·weights,</div> | ||
145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>················<span·class="keywordtype">int</span>·start,·<span·class="keywordtype">int</span>·end);</div> | ||
146 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | ||
147 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keywordtype">void</span></div> | ||
148 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a00912.html#a907dc53421460557871ddc35f77751f5">···47</a></span><a·class="code·hl_function"·href="a00912.html#a870745ff3e883b32547d4db42b3be2bd">OmpEvalStencils</a>(<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·src,·<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&srcDesc,</div> | ||
149 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>················<span·class="keywordtype">float</span>·*·dst,·······<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDesc,</div> | ||
150 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>················<span·class="keywordtype">float</span>·*·dstDu,·····<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDuDesc,</div> | ||
151 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>················<span·class="keywordtype">float</span>·*·dstDv,·····<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDvDesc,</div> | ||
152 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>················<span·class="keywordtype">int</span>·<span·class="keyword">const</span>·*·sizes,</div> | ||
153 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>················<span·class="keywordtype">int</span>·<span·class="keyword">const</span>·*·offsets,</div> | ||
154 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>················<span·class="keywordtype">int</span>·<span·class="keyword">const</span>·*·indices,</div> | ||
155 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·weights,</div> | ||
156 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·duWeights,</div> | ||
157 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·dvWeights,</div> | ||
158 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>················<span·class="keywordtype">int</span>·start,·<span·class="keywordtype">int</span>·end);</div> | ||
159 | <div·class="line"><a·id="l000 | 139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
140 | <div·class="foldopen"·id="foldopen00039"·data-start="{"·data-end="};"> | ||
141 | <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> | ||
160 | <div·class="line"><a·id="l000 | 142 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">public</span>:</div> |
161 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a00912.html#a44a05502feb5015035bc81b93cffb99c">···60</a></span><a·class="code·hl_function"·href="a00912.html#a870745ff3e883b32547d4db42b3be2bd">OmpEvalStencils</a>(<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·src,·<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&srcDesc,</div> | ||
162 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>················<span·class="keywordtype">float</span>·*·dst,·······<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDesc,</div> | ||
163 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>················<span·class="keywordtype">float</span>·*·dstDu,·····<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDuDesc,</div> | ||
164 | <div·class="line"><a·id="l000 | 143 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> |
144 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="keyword">template</span>·<<span·class="keyword">typename</span>·SRC_BUFFER,·<span·class="keyword">typename</span>·DST_BUFFER,·<span·class="keyword">typename</span>·STENCIL_TABLE></div> | ||
145 | <div·class="foldopen"·id="foldopen00072"·data-start="{"·data-end="}"> | ||
146 | <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> | ||
147 | <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>·&srcDesc,</div> | ||
165 | <div·class="line"><a·id="l000 | 148 | <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>·&dstDesc,</div> |
166 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>················<span·class="keywordtype">float</span>·*·dstDuv,····<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDuvDesc,</div> | ||
167 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>················<span·class="keywordtype">float</span>·*·dstDvv,····<a·class="code·hl_struct"·href="a01133.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDvvDesc,</div> | ||
168 | <div·class="line"><a·id="l000 | 149 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········STENCIL_TABLE·<span·class="keyword">const</span>·*stencilTable,</div> |
150 | <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> | ||
169 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>················<span·class="keywordtype">int</span>·<span·class="keyword">const</span>·*·offsets,</div> | ||
170 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>················<span·class="keywordtype">int</span>·<span·class="keyword">const</span>·*·indices,</div> | ||
171 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·weights,</div> | ||
172 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·duWeights,</div> | ||
173 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·dvWeights,</div> | ||
174 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·duuWeights,</div> | ||
175 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·duvWeights,</div> | ||
176 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·dvvWeights,</div> | ||
177 | <div·class="line"><a·id="l0007 | 151 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>········<span·class="keywordtype">void</span>·*·deviceContext·=·NULL)·{</div> |
178 | <div·class="line"><a·id="l0007 | 152 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> |
179 | <div·class="line"><a·id="l0007 | 153 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>········(void)instance;·······<span·class="comment">//·unused</span></div> |
180 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> | ||
181 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span> | 154 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>········(void)deviceContext;··<span·class="comment">//·unused</span></div> |
182 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> | ||
183 | <div·class="line"><a·id="l0008 | 155 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> |
184 | <div·class="line"><a·id="l0008 | 156 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>········<span·class="keywordflow">if</span>·(stencilTable->GetNumStencils()·==·0)</div> |
157 | <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> | ||
185 | <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="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->BindCpuBuffer(),·srcDesc,</div> | ||
160 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····························dstBuffer->BindCpuBuffer(),·dstDesc,</div> | ||
161 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····························&stencilTable->GetSizes()[0],</div> | ||
162 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····························&stencilTable->GetOffsets()[0],</div> | ||
163 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····························&stencilTable->GetControlIndices()[0],</div> | ||
164 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····························&stencilTable->GetWeights()[0],</div> | ||
165 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····························<span·class="comment">/*start·=·*/</span>·0,</div> | ||
166 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····························<span·class="comment">/*end···=·*/</span>·stencilTable->GetNumStencils());</div> | ||
167 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····}</div> | ||
168 | </div> | ||
169 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> | ||
170 | <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> | ||
Max diff block lines reached; 18865/119791 bytes (15.75%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | omp | 5 | ompEvaluator.h |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·201 | 8 | 2//·Copyright·2015·Pixar |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: | 13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: |
14 | 8// | 14 | 8// |
15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade | 15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade |
Offset 24, 82 lines modified | Offset 24, 655 lines modified | ||
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24 | 30 | 24 |
31 | 25#ifndef·OPENSUBDIV3_OSD_OMP_ | 31 | 25#ifndef·OPENSUBDIV3_OSD_OMP_EVALUATOR_H |
32 | 26#define·OPENSUBDIV3_OSD_OMP_ | 32 | 26#define·OPENSUBDIV3_OSD_OMP_EVALUATOR_H |
33 | 27 | 33 | 27 |
34 | 28#include·"../version.h" | 34 | 28#include·"../version.h" |
35 | 29 | 35 | 29#include·"../osd/bufferDescriptor.h" |
36 | 30#include·"../osd/types.h" | ||
37 | 31 | ||
38 | 32#include·<cstddef> | ||
39 | 33 | ||
36 | 3 | 40 | 34namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ |
37 | 3 | 41 | 35namespace·OPENSUBDIV_VERSION·{ |
38 | 32 | ||
39 | 33namespace·Osd·{ | ||
40 | 34 | ||
41 | 35struct·BufferDescriptor; | ||
42 | 36 | 42 | 36 |
43 | 37void | ||
44 | 43 | 37namespace·Osd·{ | |
44 | 38 | ||
45 | _\x83_\x89class·_\x8O_\x8m_\x8p_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r·{ | ||
46 | 40public: | ||
47 | 46 | ||
48 | 71·template·<typename·SRC_BUFFER,·typename·DST_BUFFER,·typename·STENCIL_TABLE> | ||
49 | _\x87_\x82·static·bool·_\x8E_\x8v_\x8a_\x8l_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s( | ||
45 | 3 | 50 | 73·SRC_BUFFER·*srcBuffer,·_.B_.u_.f_.f_.e_.r_.D_.e_.s_.c_.r_.i_.p_.t_.o_.r·const·&srcDesc, |
46 | 40·int·const·*·sizes, | ||
47 | 41·int·const·*·offsets, | ||
48 | 42·int·const·*·indices, | ||
49 | 43·float·const·*·weights, | ||
50 | 44·int·start,·int·end); | ||
51 | 45 | ||
52 | 46void | ||
53 | _\x84_\x87_\x8O_\x8m_\x8p_\x8E_\x8v_\x8a_\x8l_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s(float·const·*·src,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, | ||
54 | 4 | 51 | 74·DST_BUFFER·*dstBuffer,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, |
52 | 75·STENCIL_TABLE·const·*stencilTable, | ||
53 | 76·const·_\x8O_\x8m_\x8p_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r·*instance·=·NULL, | ||
54 | 77·void·*·deviceContext·=·NULL)·{ | ||
55 | 78 | ||
56 | 79·(void)instance;·//·unused | ||
57 | 80·(void)deviceContext;·//·unused | ||
58 | 81 | ||
59 | 82·if·(stencilTable->GetNumStencils()·==·0) | ||
60 | 83·return·false; | ||
55 | 49·float·*·dstDu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuDesc, | ||
56 | 50·float·*·dstDv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDvDesc, | ||
57 | 51·int·const·*·sizes, | ||
58 | 52·int·const·*·offsets, | ||
59 | 53·int·const·*·indices, | ||
60 | 54·float·const·*·weights, | ||
61 | 55·float·const·*·duWeights, | ||
62 | 56·float·const·*·dvWeights, | ||
63 | 57·int·start,·int·end); | ||
64 | 58 | ||
65 | 59void | ||
66 | _\x86_\x80_\x8O_\x8m_\x8p_\x8E_\x8v_\x8a_\x8l_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s(float·const·*·src,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, | ||
67 | 61·float·*·dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, | ||
68 | 62·float·*·dstDu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuDesc, | ||
69 | 63·float·*·dstDv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDvDesc, | ||
70 | 64·float·*·dstDuu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuuDesc, | ||
71 | 65·float·*·dstDuv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuvDesc, | ||
72 | 66·float·*·dstDvv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDvvDesc, | ||
73 | 67·int·const·*·sizes, | ||
74 | 68·int·const·*·offsets, | ||
75 | 69·int·const·*·indices, | ||
76 | 70·float·const·*·weights, | ||
77 | 71·float·const·*·duWeights, | ||
78 | 72·float·const·*·dvWeights, | ||
79 | 73·float·const·*·duuWeights, | ||
80 | 74·float·const·*·duvWeights, | ||
81 | 75·float·const·*·dvvWeights, | ||
82 | 76·int·start,·int·end); | ||
83 | 77 | ||
84 | 78}·//·end·namespace·Osd | ||
85 | 79 | ||
86 | 80}·//·end·namespace·OPENSUBDIV_VERSION | ||
87 | 81using·namespace·OPENSUBDIV_VERSION; | ||
88 | 82 | ||
89 | 83}·//·end·namespace·OpenSubdiv | ||
90 | 84 | 61 | 84 |
62 | 85·return·_\x8E_\x8v_\x8a_\x8l_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s(srcBuffer->BindCpuBuffer(),·srcDesc, | ||
63 | 86·dstBuffer->BindCpuBuffer(),·dstDesc, | ||
64 | 87·&stencilTable->GetSizes()[0], | ||
65 | 88·&stencilTable->GetOffsets()[0], | ||
66 | 89·&stencilTable->GetControlIndices()[0], | ||
67 | 90·&stencilTable->GetWeights()[0], | ||
68 | 91·/*start·=·*/·0, | ||
69 | 92·/*end·=·*/·stencilTable->GetNumStencils()); | ||
70 | 93·} | ||
71 | 94 | ||
72 | _\x81_\x82_\x81·static·bool·_\x8E_\x8v_\x8a_\x8l_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s( | ||
73 | 122·const·float·*src,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, | ||
74 | 123·float·*dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, | ||
75 | 124·const·int·*·sizes, | ||
76 | 125·const·int·*·offsets, | ||
77 | 126·const·int·*·indices, | ||
78 | 127·const·float·*·weights, | ||
79 | 128·int·start,·int·end); | ||
80 | 129 | ||
81 | 167·template·<typename·SRC_BUFFER,·typename·DST_BUFFER,·typename·STENCIL_TABLE> | ||
82 | _\x81_\x86_\x88·static·bool·_\x8E_\x8v_\x8a_\x8l_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s( | ||
83 | 169·SRC_BUFFER·*srcBuffer,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, | ||
84 | 170·DST_BUFFER·*dstBuffer,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, | ||
85 | 171·DST_BUFFER·*duBuffer,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&duDesc, | ||
86 | 172·DST_BUFFER·*dvBuffer,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dvDesc, | ||
Max diff block lines reached; 16063/40671 bytes (39.49%) of diff not shown. |
Offset 102, 17 lines modified | Offset 102, 17 lines modified | ||
102 | <div·class="contents"> | 102 | <div·class="contents"> |
103 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 103 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
104 | <code>#include·<bitset></code><br·/> | 104 | <code>#include·<bitset></code><br·/> |
105 | <code>#include·<cassert></code><br·/> | 105 | <code>#include·<cassert></code><br·/> |
106 | <code>#include·<cstring></code><br·/> | 106 | <code>#include·<cstring></code><br·/> |
107 | <code>#include·<vector></code><br·/> | 107 | <code>#include·<vector></code><br·/> |
108 | <code>#include·"<a·class="el"·href="a00704_source.html">../far/topologyRefiner.h</a>"</code><br·/> | 108 | <code>#include·"<a·class="el"·href="a00704_source.html">../far/topologyRefiner.h</a>"</code><br·/> |
109 | <code>#include·"<a·class="el"·href="a0072 | 109 | <code>#include·"<a·class="el"·href="a00725_source.html">../far/patchTableFactory.h</a>"</code><br·/> |
110 | <code>#include·"<a·class="el"·href="a00719_source.html">../far/stencilTable.h</a>"</code><br·/> | 110 | <code>#include·"<a·class="el"·href="a00719_source.html">../far/stencilTable.h</a>"</code><br·/> |
111 | <code>#include·"<a·class="el"·href="a0071 | 111 | <code>#include·"<a·class="el"·href="a00716_source.html">../far/stencilTableFactory.h</a>"</code><br·/> |
112 | <code>#include·"<a·class="el"·href="a00899_source.html">../osd/bufferDescriptor.h</a>"</code><br·/> | 112 | <code>#include·"<a·class="el"·href="a00899_source.html">../osd/bufferDescriptor.h</a>"</code><br·/> |
113 | </div> | 113 | </div> |
114 | <p><a·href="a00887_source.html">Go·to·the·source·code·of·this·file.</a></p> | 114 | <p><a·href="a00887_source.html">Go·to·the·source·code·of·this·file.</a></p> |
115 | <table·class="memberdecls"> | 115 | <table·class="memberdecls"> |
116 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 116 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
117 | Classes</h2></td></tr> | 117 | Classes</h2></td></tr> |
118 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01261.html">MeshInterface<·PATCH_TABLE·></a></td></tr> | 118 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01261.html">MeshInterface<·PATCH_TABLE·></a></td></tr> |
Offset 900, 26 lines modified | Offset 900, 26 lines modified | ||
900 | <div·class="ttc"·id="aa00912_html_a85ba9df501aea9af1ec9da1558c255bc"><div·class="ttname"><a·href="a00912.html#a85ba9df501aea9af1ec9da1558c255bc">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshBitset</a></div><div·class="ttdeci">std::bitset<·NUM_MESH_BITS·>·MeshBitset</div><div·class="ttdef"><b>Definition</b>·<a·href="a00887_source.html#l00063">mesh.h:63</a></div></div> | 900 | <div·class="ttc"·id="aa00912_html_a85ba9df501aea9af1ec9da1558c255bc"><div·class="ttname"><a·href="a00912.html#a85ba9df501aea9af1ec9da1558c255bc">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshBitset</a></div><div·class="ttdeci">std::bitset<·NUM_MESH_BITS·>·MeshBitset</div><div·class="ttdef"><b>Definition</b>·<a·href="a00887_source.html#l00063">mesh.h:63</a></div></div> |
901 | <div·class="ttc"·id="aa00912_html_ab5753a2b0a0995c8e2259d2c4765f7df"><div·class="ttname"><a·href="a00912.html#ab5753a2b0a0995c8e2259d2c4765f7df">OpenSubdiv::OPENSUBDIV_VERSION::Osd::convertToCompatibleStencilTable<·Far::StencilTable,·Far::StencilTable,·ID3D11DeviceContext·></a></div><div·class="ttdeci">Far::StencilTable·const·*·convertToCompatibleStencilTable<·Far::StencilTable,·Far::StencilTable,·ID3D11DeviceContext·>(Far::StencilTable·const·*table,·ID3D11DeviceContext·*)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00887_source.html#l00168">mesh.h:169</a></div></div> | 901 | <div·class="ttc"·id="aa00912_html_ab5753a2b0a0995c8e2259d2c4765f7df"><div·class="ttname"><a·href="a00912.html#ab5753a2b0a0995c8e2259d2c4765f7df">OpenSubdiv::OPENSUBDIV_VERSION::Osd::convertToCompatibleStencilTable<·Far::StencilTable,·Far::StencilTable,·ID3D11DeviceContext·></a></div><div·class="ttdeci">Far::StencilTable·const·*·convertToCompatibleStencilTable<·Far::StencilTable,·Far::StencilTable,·ID3D11DeviceContext·>(Far::StencilTable·const·*table,·ID3D11DeviceContext·*)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00887_source.html#l00168">mesh.h:169</a></div></div> |
902 | <div·class="ttc"·id="aa00993_html"><div·class="ttname"><a·href="a00993.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable</a></div><div·class="ttdoc">Container·for·arrays·of·parametric·patches.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00731_source.html#l00055">patchTable.h:55</a></div></div> | 902 | <div·class="ttc"·id="aa00993_html"><div·class="ttname"><a·href="a00993.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable</a></div><div·class="ttdoc">Container·for·arrays·of·parametric·patches.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00731_source.html#l00055">patchTable.h:55</a></div></div> |
903 | <div·class="ttc"·id="aa00993_html_a14bf987459715b918b370247bb24a61c"><div·class="ttname"><a·href="a00993.html#a14bf987459715b918b370247bb24a61c">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::GetMaxValence</a></div><div·class="ttdeci">int·GetMaxValence()·const</div><div·class="ttdoc">Returns·max·vertex·valence.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00731_source.html#l00092">patchTable.h:92</a></div></div> | 903 | <div·class="ttc"·id="aa00993_html_a14bf987459715b918b370247bb24a61c"><div·class="ttname"><a·href="a00993.html#a14bf987459715b918b370247bb24a61c">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::GetMaxValence</a></div><div·class="ttdeci">int·GetMaxValence()·const</div><div·class="ttdoc">Returns·max·vertex·valence.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00731_source.html#l00092">patchTable.h:92</a></div></div> |
904 | <div·class="ttc"·id="aa00993_html_a1d27edb01bfb68ba50776b25aa437783"><div·class="ttname"><a·href="a00993.html#a1d27edb01bfb68ba50776b25aa437783">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::GetLocalPointStencilTable</a></div><div·class="ttdeci">StencilTable·const·*·GetLocalPointStencilTable()·const</div><div·class="ttdoc">Returns·the·stencil·table·to·compute·local·point·vertex·values.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00731_source.html#l00730">patchTable.h:730</a></div></div> | 904 | <div·class="ttc"·id="aa00993_html_a1d27edb01bfb68ba50776b25aa437783"><div·class="ttname"><a·href="a00993.html#a1d27edb01bfb68ba50776b25aa437783">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::GetLocalPointStencilTable</a></div><div·class="ttdeci">StencilTable·const·*·GetLocalPointStencilTable()·const</div><div·class="ttdoc">Returns·the·stencil·table·to·compute·local·point·vertex·values.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00731_source.html#l00730">patchTable.h:730</a></div></div> |
905 | <div·class="ttc"·id="aa00993_html_ad6bafe91da1dcf5b8fb1f7c8cb4ed619"><div·class="ttname"><a·href="a00993.html#ad6bafe91da1dcf5b8fb1f7c8cb4ed619">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::GetLocalPointVaryingStencilTable</a></div><div·class="ttdeci">StencilTable·const·*·GetLocalPointVaryingStencilTable()·const</div><div·class="ttdoc">Returns·the·stencil·table·to·compute·local·point·varying·values.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00731_source.html#l00735">patchTable.h:735</a></div></div> | 905 | <div·class="ttc"·id="aa00993_html_ad6bafe91da1dcf5b8fb1f7c8cb4ed619"><div·class="ttname"><a·href="a00993.html#ad6bafe91da1dcf5b8fb1f7c8cb4ed619">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::GetLocalPointVaryingStencilTable</a></div><div·class="ttdeci">StencilTable·const·*·GetLocalPointVaryingStencilTable()·const</div><div·class="ttdoc">Returns·the·stencil·table·to·compute·local·point·varying·values.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00731_source.html#l00735">patchTable.h:735</a></div></div> |
906 | <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·&refiner,·Options·options=Options(),·ConstIndexArray·selectedFaces=ConstIndexArray())</div><div·class="ttdoc">Instantiates·a·PatchTable·from·a·client-provided·TopologyRefiner.</div></div> | 906 | <div·class="ttc"·id="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·&refiner,·Options·options=Options(),·ConstIndexArray·selectedFaces=ConstIndexArray())</div><div·class="ttdoc">Instantiates·a·PatchTable·from·a·client-provided·TopologyRefiner.</div></div> |
907 | <div·class="ttc"·id="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="a0072 | 907 | <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="a00725_source.html#l00045">patchTableFactory.h:45</a></div></div> |
908 | <div·class="ttc"·id="aa01013_html_aebc767d646011ab7d5bc7d6d49adf535a0c0d3d9e480d64f20f1b32d599c88aa5"><div·class="ttname"><a·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535a0c0d3d9e480d64f20f1b32d599c88aa5">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Options::ENDCAP_LEGACY_GREGORY</a></div><div·class="ttdeci">@·ENDCAP_LEGACY_GREGORY</div><div·class="ttdoc">legacy·option·for·2.x·style·Gregory·patches·(Catmark·only)</div><div·class="ttdef"><b>Definition</b>·<a·href="a0072 | 908 | <div·class="ttc"·id="aa01013_html_aebc767d646011ab7d5bc7d6d49adf535a0c0d3d9e480d64f20f1b32d599c88aa5"><div·class="ttname"><a·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535a0c0d3d9e480d64f20f1b32d599c88aa5">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Options::ENDCAP_LEGACY_GREGORY</a></div><div·class="ttdeci">@·ENDCAP_LEGACY_GREGORY</div><div·class="ttdoc">legacy·option·for·2.x·style·Gregory·patches·(Catmark·only)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00725_source.html#l00061">patchTableFactory.h:60</a></div></div> |
909 | <div·class="ttc"·id="aa01013_html_aebc767d646011ab7d5bc7d6d49adf535a2e89c8e5ac21dbd024ec902de51566b0"><div·class="ttname"><a·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535a2e89c8e5ac21dbd024ec902de51566b0">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Options::ENDCAP_GREGORY_BASIS</a></div><div·class="ttdeci">@·ENDCAP_GREGORY_BASIS</div><div·class="ttdoc">use·Gregory·patches·(highest·quality,·recommended·default)</div><div·class="ttdef"><b>Definition</b>·<a·href="a0072 | 909 | <div·class="ttc"·id="aa01013_html_aebc767d646011ab7d5bc7d6d49adf535a2e89c8e5ac21dbd024ec902de51566b0"><div·class="ttname"><a·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535a2e89c8e5ac21dbd024ec902de51566b0">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Options::ENDCAP_GREGORY_BASIS</a></div><div·class="ttdeci">@·ENDCAP_GREGORY_BASIS</div><div·class="ttdoc">use·Gregory·patches·(highest·quality,·recommended·default)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00725_source.html#l00059">patchTableFactory.h:59</a></div></div> |
910 | <div·class="ttc"·id="aa01013_html_aebc767d646011ab7d5bc7d6d49adf535a90f0e9a2c992889cefdf1db954f9d98f"><div·class="ttname"><a·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535a90f0e9a2c992889cefdf1db954f9d98f">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Options::ENDCAP_BILINEAR_BASIS</a></div><div·class="ttdeci">@·ENDCAP_BILINEAR_BASIS</div><div·class="ttdoc">use·linear·patches·(simple·quads·or·tris)</div><div·class="ttdef"><b>Definition</b>·<a·href="a0072 | 910 | <div·class="ttc"·id="aa01013_html_aebc767d646011ab7d5bc7d6d49adf535a90f0e9a2c992889cefdf1db954f9d98f"><div·class="ttname"><a·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535a90f0e9a2c992889cefdf1db954f9d98f">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Options::ENDCAP_BILINEAR_BASIS</a></div><div·class="ttdeci">@·ENDCAP_BILINEAR_BASIS</div><div·class="ttdoc">use·linear·patches·(simple·quads·or·tris)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00725_source.html#l00057">patchTableFactory.h:57</a></div></div> |
911 | <div·class="ttc"·id="aa01013_html_aebc767d646011ab7d5bc7d6d49adf535ac3fc1d183b0bdfbc7bf1cce613c4ff04"><div·class="ttname"><a·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535ac3fc1d183b0bdfbc7bf1cce613c4ff04">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Options::ENDCAP_BSPLINE_BASIS</a></div><div·class="ttdeci">@·ENDCAP_BSPLINE_BASIS</div><div·class="ttdoc">use·BSpline-like·patches·(same·patch·type·as·regular)</div><div·class="ttdef"><b>Definition</b>·<a·href="a0072 | 911 | <div·class="ttc"·id="aa01013_html_aebc767d646011ab7d5bc7d6d49adf535ac3fc1d183b0bdfbc7bf1cce613c4ff04"><div·class="ttname"><a·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535ac3fc1d183b0bdfbc7bf1cce613c4ff04">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Options::ENDCAP_BSPLINE_BASIS</a></div><div·class="ttdeci">@·ENDCAP_BSPLINE_BASIS</div><div·class="ttdoc">use·BSpline-like·patches·(same·patch·type·as·regular)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00725_source.html#l00058">patchTableFactory.h:58</a></div></div> |
912 | <div·class="ttc"·id="aa01037_html_a46c8a310cf4c094f8c80e1cb8dc1f911ab18c20abfc04611ab0aec5e1c81bb2ab"><div·class="ttname"><a·href="a01037.html#a46c8a310cf4c094f8c80e1cb8dc1f911ab18c20abfc04611ab0aec5e1c81bb2ab">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactoryReal<·float·>::INTERPOLATE_VARYING</a></div><div·class="ttdeci">@·INTERPOLATE_VARYING</div><div·class="ttdoc">varying·primvar·stencils</div><div·class="ttdef"><b>Definition</b>·<a·href="a0071 | 912 | <div·class="ttc"·id="aa01037_html_a46c8a310cf4c094f8c80e1cb8dc1f911ab18c20abfc04611ab0aec5e1c81bb2ab"><div·class="ttname"><a·href="a01037.html#a46c8a310cf4c094f8c80e1cb8dc1f911ab18c20abfc04611ab0aec5e1c81bb2ab">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactoryReal<·float·>::INTERPOLATE_VARYING</a></div><div·class="ttdeci">@·INTERPOLATE_VARYING</div><div·class="ttdoc">varying·primvar·stencils</div><div·class="ttdef"><b>Definition</b>·<a·href="a00716_source.html#l00057">stencilTableFactory.h:57</a></div></div> |
913 | <div·class="ttc"·id="aa01053_html_a02e67ceab8cb5af7982ef2a31a07a2ce"><div·class="ttname"><a·href="a01053.html#a02e67ceab8cb5af7982ef2a31a07a2ce">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableReal::GetNumControlVertices</a></div><div·class="ttdeci">int·GetNumControlVertices()·const</div><div·class="ttdoc">Returns·the·number·of·control·vertices·indexed·in·the·table.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00719_source.html#l00161">stencilTable.h:161</a></div></div> | 913 | <div·class="ttc"·id="aa01053_html_a02e67ceab8cb5af7982ef2a31a07a2ce"><div·class="ttname"><a·href="a01053.html#a02e67ceab8cb5af7982ef2a31a07a2ce">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableReal::GetNumControlVertices</a></div><div·class="ttdeci">int·GetNumControlVertices()·const</div><div·class="ttdoc">Returns·the·number·of·control·vertices·indexed·in·the·table.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00719_source.html#l00161">stencilTable.h:161</a></div></div> |
914 | <div·class="ttc"·id="aa01053_html_a65836d2070b943c8fecbad926d074de2"><div·class="ttname"><a·href="a01053.html#a65836d2070b943c8fecbad926d074de2">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableReal::GetNumStencils</a></div><div·class="ttdeci">int·GetNumStencils()·const</div><div·class="ttdoc">Returns·the·number·of·stencils·in·the·table.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00719_source.html#l00156">stencilTable.h:156</a></div></div> | 914 | <div·class="ttc"·id="aa01053_html_a65836d2070b943c8fecbad926d074de2"><div·class="ttname"><a·href="a01053.html#a65836d2070b943c8fecbad926d074de2">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableReal::GetNumStencils</a></div><div·class="ttdeci">int·GetNumStencils()·const</div><div·class="ttdoc">Returns·the·number·of·stencils·in·the·table.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00719_source.html#l00156">stencilTable.h:156</a></div></div> |
915 | <div·class="ttc"·id="aa01057_html"><div·class="ttname"><a·href="a01057.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTable</a></div><div·class="ttdoc">Stencil·table·class·wrapping·the·template·for·compatibility.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00719_source.html#l00273">stencilTable.h:273</a></div></div> | 915 | <div·class="ttc"·id="aa01057_html"><div·class="ttname"><a·href="a01057.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTable</a></div><div·class="ttdoc">Stencil·table·class·wrapping·the·template·for·compatibility.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00719_source.html#l00273">stencilTable.h:273</a></div></div> |
916 | <div·class="ttc"·id="aa01073_html"><div·class="ttname"><a·href="a01073.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilTable</a></div><div·class="ttdoc">Limit·stencil·table·class·wrapping·the·template·for·compatibility.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00719_source.html#l00583">stencilTable.h:583</a></div></div> | 916 | <div·class="ttc"·id="aa01073_html"><div·class="ttname"><a·href="a01073.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilTable</a></div><div·class="ttdoc">Limit·stencil·table·class·wrapping·the·template·for·compatibility.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00719_source.html#l00583">stencilTable.h:583</a></div></div> |
917 | <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·&refiner,·Options·options=Options())</div><div·class="ttdef"><b>Definition</b>·<a·href="a0071 | 917 | <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·&refiner,·Options·options=Options())</div><div·class="ttdef"><b>Definition</b>·<a·href="a00716_source.html#l00293">stencilTableFactory.h:293</a></div></div> |
918 | <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·&refiner,·StencilTable·const·*baseStencilTable,·StencilTable·const·*localPointStencilTable,·bool·factorize=true)</div><div·class="ttdef"><b>Definition</b>·<a·href="a0071 | 918 | <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·&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> |
919 | <div·class="ttc"·id="aa01105_html_aaf4a32b8a414eff77000c584c2015cb7"><div·class="ttname"><a·href="a01105.html#aaf4a32b8a414eff77000c584c2015cb7">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyLevel::GetNumVertices</a></div><div·class="ttdeci">int·GetNumVertices()·const</div><div·class="ttdoc">Return·the·number·of·vertices·in·this·level.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00710_source.html#l00062">topologyLevel.h:62</a></div></div> | 919 | <div·class="ttc"·id="aa01105_html_aaf4a32b8a414eff77000c584c2015cb7"><div·class="ttname"><a·href="a01105.html#aaf4a32b8a414eff77000c584c2015cb7">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyLevel::GetNumVertices</a></div><div·class="ttdeci">int·GetNumVertices()·const</div><div·class="ttdoc">Return·the·number·of·vertices·in·this·level.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00710_source.html#l00062">topologyLevel.h:62</a></div></div> |
920 | <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> | 920 | <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> |
921 | <div·class="ttc"·id="aa01113_html_a5dfa6810f510fac1ec621fc9e6b530c4"><div·class="ttname"><a·href="a01113.html#a5dfa6810f510fac1ec621fc9e6b530c4">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::IsUniform</a></div><div·class="ttdeci">bool·IsUniform()·const</div><div·class="ttdoc">Returns·true·if·uniform·refinement·has·been·applied.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00704_source.html#l00068">topologyRefiner.h:68</a></div></div> | 921 | <div·class="ttc"·id="aa01113_html_a5dfa6810f510fac1ec621fc9e6b530c4"><div·class="ttname"><a·href="a01113.html#a5dfa6810f510fac1ec621fc9e6b530c4">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::IsUniform</a></div><div·class="ttdeci">bool·IsUniform()·const</div><div·class="ttdoc">Returns·true·if·uniform·refinement·has·been·applied.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00704_source.html#l00068">topologyRefiner.h:68</a></div></div> |
922 | <div·class="ttc"·id="aa01113_html_aa9be824a572029f3ec1e0c0d6cfecd77"><div·class="ttname"><a·href="a01113.html#aa9be824a572029f3ec1e0c0d6cfecd77">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::GetNumFVarChannels</a></div><div·class="ttdeci">int·GetNumFVarChannels()·const</div><div·class="ttdoc">Returns·the·number·of·face-varying·channels·in·the·tables.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00704_source.html#l00293">topologyRefiner.h:293</a></div></div> | 922 | <div·class="ttc"·id="aa01113_html_aa9be824a572029f3ec1e0c0d6cfecd77"><div·class="ttname"><a·href="a01113.html#aa9be824a572029f3ec1e0c0d6cfecd77">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::GetNumFVarChannels</a></div><div·class="ttdeci">int·GetNumFVarChannels()·const</div><div·class="ttdoc">Returns·the·number·of·face-varying·channels·in·the·tables.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00704_source.html#l00293">topologyRefiner.h:293</a></div></div> |
923 | <div·class="ttc"·id="aa01113_html_ad22b7ffd9f8f3b488e5f220cf00c8c82"><div·class="ttname"><a·href="a01113.html#ad22b7ffd9f8f3b488e5f220cf00c8c82">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::RefineUniform</a></div><div·class="ttdeci">void·RefineUniform(UniformOptions·options)</div><div·class="ttdoc">Refine·the·topology·uniformly.</div></div> | 923 | <div·class="ttc"·id="aa01113_html_ad22b7ffd9f8f3b488e5f220cf00c8c82"><div·class="ttname"><a·href="a01113.html#ad22b7ffd9f8f3b488e5f220cf00c8c82">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::RefineUniform</a></div><div·class="ttdeci">void·RefineUniform(UniformOptions·options)</div><div·class="ttdoc">Refine·the·topology·uniformly.</div></div> |
924 | <div·class="ttc"·id="aa01113_html_adc03a3531bd92ada5669788241e3515f"><div·class="ttname"><a·href="a01113.html#adc03a3531bd92ada5669788241e3515f">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::GetLevel</a></div><div·class="ttdeci">TopologyLevel·const·&·GetLevel(int·level)·const</div><div·class="ttdoc">Returns·a·handle·to·access·data·specific·to·a·particular·level.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00704_source.html#l00095">topologyRefiner.h:95</a></div></div> | 924 | <div·class="ttc"·id="aa01113_html_adc03a3531bd92ada5669788241e3515f"><div·class="ttname"><a·href="a01113.html#adc03a3531bd92ada5669788241e3515f">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::GetLevel</a></div><div·class="ttdeci">TopologyLevel·const·&·GetLevel(int·level)·const</div><div·class="ttdoc">Returns·a·handle·to·access·data·specific·to·a·particular·level.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00704_source.html#l00095">topologyRefiner.h:95</a></div></div> |
925 | <div·class="ttc"·id="aa01113_html_aff92309935db19988908471bee4fef4d"><div·class="ttname"><a·href="a01113.html#aff92309935db19988908471bee4fef4d">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::RefineAdaptive</a></div><div·class="ttdeci">void·RefineAdaptive(AdaptiveOptions·options,·ConstIndexArray·selectedFaces=ConstIndexArray())</div><div·class="ttdoc">Feature·Adaptive·topology·refinement.</div></div> | 925 | <div·class="ttc"·id="aa01113_html_aff92309935db19988908471bee4fef4d"><div·class="ttname"><a·href="a01113.html#aff92309935db19988908471bee4fef4d">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::RefineAdaptive</a></div><div·class="ttdeci">void·RefineAdaptive(AdaptiveOptions·options,·ConstIndexArray·selectedFaces=ConstIndexArray())</div><div·class="ttdoc">Feature·Adaptive·topology·refinement.</div></div> |
Offset 291, 15 lines modified | Offset 291, 15 lines modified | ||
291 | ······<table·class="memname"> | 291 | ······<table·class="memname"> |
292 | ········<tr> | 292 | ········<tr> |
293 | ··········<td·class="memname">typedef·<a·class="el"·href="a01261.html">MeshInterface</a><<a·class="el"·href="a01201.html">D3D11PatchTable</a>>·<a·class="el"·href="a00912.html#ae5c8e80d05d6eaee105d8eecfa9ab609">D3D11MeshInterface</a></td> | 293 | ··········<td·class="memname">typedef·<a·class="el"·href="a01261.html">MeshInterface</a><<a·class="el"·href="a01201.html">D3D11PatchTable</a>>·<a·class="el"·href="a00912.html#ae5c8e80d05d6eaee105d8eecfa9ab609">D3D11MeshInterface</a></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="a008 | 297 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00830_source.html#l00038">38</a>·of·file·<a·class="el"·href="a00830_source.html">d3d11Mesh.h</a>.</p> |
298 | </div> | 298 | </div> |
299 | </div> | 299 | </div> |
300 | <a·id="a7f9cf2b729178bdbb847fc4afd91af9e"·name="a7f9cf2b729178bdbb847fc4afd91af9e"></a> | 300 | <a·id="a7f9cf2b729178bdbb847fc4afd91af9e"·name="a7f9cf2b729178bdbb847fc4afd91af9e"></a> |
301 | <h2·class="memtitle"><span·class="permalink"><a·href="#a7f9cf2b729178bdbb847fc4afd91af9e">◆ </a></span>GLMeshInterface</h2> | 301 | <h2·class="memtitle"><span·class="permalink"><a·href="#a7f9cf2b729178bdbb847fc4afd91af9e">◆ </a></span>GLMeshInterface</h2> |
302 | <div·class="memitem"> | 302 | <div·class="memitem"> |
Offset 339, 15 lines modified | Offset 339, 15 lines modified | ||
339 | ······<table·class="memname"> | 339 | ······<table·class="memname"> |
340 | ········<tr> | 340 | ········<tr> |
341 | ··········<td·class="memname">typedef·<a·class="el"·href="a01261.html">MeshInterface</a><<a·class="el"·href="a01297.html">MTLPatchTable</a>>·<a·class="el"·href="a00912.html#aa41e5b43fe46eeb0f97ff6ebdb1935aa">MTLMeshInterface</a></td> | 341 | ··········<td·class="memname">typedef·<a·class="el"·href="a01261.html">MeshInterface</a><<a·class="el"·href="a01297.html">MTLPatchTable</a>>·<a·class="el"·href="a00912.html#aa41e5b43fe46eeb0f97ff6ebdb1935aa">MTLMeshInterface</a></td> |
342 | ········</tr> | 342 | ········</tr> |
343 | ······</table> | 343 | ······</table> |
344 | </div><div·class="memdoc"> | 344 | </div><div·class="memdoc"> |
345 | <p·class="definition">Definition·at·line·<a·class="el"·href="a008 | 345 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00812_source.html#l00038">38</a>·of·file·<a·class="el"·href="a00812_source.html">mtlMesh.h</a>.</p> |
346 | </div> | 346 | </div> |
347 | </div> | 347 | </div> |
348 | <a·id="a98098cd229f60d2397d84a76fe654a31"·name="a98098cd229f60d2397d84a76fe654a31"></a> | 348 | <a·id="a98098cd229f60d2397d84a76fe654a31"·name="a98098cd229f60d2397d84a76fe654a31"></a> |
349 | <h2·class="memtitle"><span·class="permalink"><a·href="#a98098cd229f60d2397d84a76fe654a31">◆ </a></span>PatchArrayVector</h2> | 349 | <h2·class="memtitle"><span·class="permalink"><a·href="#a98098cd229f60d2397d84a76fe654a31">◆ </a></span>PatchArrayVector</h2> |
350 | <div·class="memitem"> | 350 | <div·class="memitem"> |
Offset 97, 15 lines modified | Offset 97, 15 lines modified | ||
97 | ··<div·class="headertitle"><div·class="title">Parameterization·Class·Reference</div></div> | 97 | ··<div·class="headertitle"><div·class="title">Parameterization·Class·Reference</div></div> |
98 | </div><!--header--> | 98 | </div><!--header--> |
99 | <div·class="contents"> | 99 | <div·class="contents"> |
100 | <p>Simple·class·defining·the·2D·parameterization·of·a·face.·· | 100 | <p>Simple·class·defining·the·2D·parameterization·of·a·face.·· |
101 | ·<a·href="a00921.html#details">More...</a></p> | 101 | ·<a·href="a00921.html#details">More...</a></p> |
102 | <p><code>#include·<<a·class="el"·href="a0069 | 102 | <p><code>#include·<<a·class="el"·href="a00692_source.html">parameterization.h</a>></code></p> |
103 | <table·class="memberdecls"> | 103 | <table·class="memberdecls"> |
104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
105 | Public·Types</h2></td></tr> | 105 | Public·Types</h2></td></tr> |
106 | <tr·class="memitem:a1d1cfd8ffb84e947f82999c682b666a7"·id="r_a1d1cfd8ffb84e947f82999c682b666a7"><td·class="memItemLeft"·align="right"·valign="top">enum· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00921.html#a1d1cfd8ffb84e947f82999c682b666a7">Type</a>·{·<br·/> | 106 | <tr·class="memitem:a1d1cfd8ffb84e947f82999c682b666a7"·id="r_a1d1cfd8ffb84e947f82999c682b666a7"><td·class="memItemLeft"·align="right"·valign="top">enum· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00921.html#a1d1cfd8ffb84e947f82999c682b666a7">Type</a>·{·<br·/> |
107 |   <a·class="el"·href="a00921.html#a1d1cfd8ffb84e947f82999c682b666a7ae1a12d53590e4fd25c9fd9006f19ab5c">QUAD</a> | 107 |   <a·class="el"·href="a00921.html#a1d1cfd8ffb84e947f82999c682b666a7ae1a12d53590e4fd25c9fd9006f19ab5c">QUAD</a> |
108 | ,·<br·/> | 108 | ,·<br·/> |
109 |   <a·class="el"·href="a00921.html#a1d1cfd8ffb84e947f82999c682b666a7acde3f260abb10fb9633e1ca01de9e78d">TRI</a> | 109 |   <a·class="el"·href="a00921.html#a1d1cfd8ffb84e947f82999c682b666a7acde3f260abb10fb9633e1ca01de9e78d">TRI</a> |
Offset 192, 15 lines modified | Offset 192, 15 lines modified | ||
192 | <tr·class="separator:a9b6878c9cfa5f864aacae60e159451c8"><td·class="memSeparator"·colspan="2"> </td></tr> | 192 | <tr·class="separator:a9b6878c9cfa5f864aacae60e159451c8"><td·class="memSeparator"·colspan="2"> </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"><p>Simple·class·defining·the·2D·parameterization·of·a·face.·</p> | 195 | <div·class="textblock"><p>Simple·class·defining·the·2D·parameterization·of·a·face.·</p> |
196 | <p><a·class="el"·href="a00921.html"·title="Simple·class·defining·the·2D·parameterization·of·a·face.">Parameterization</a>·is·a·simple·class·that·provides·information·about·the·parameterization·of·a·face·in·a·local·(u,v)·coordinate·system.·It·is·defined·by·the·size·of·a·face·(i.e.·its·number·of·vertices)·and·the·subdivision·scheme·that·determines·its·limit·surface.</p> | 196 | <p><a·class="el"·href="a00921.html"·title="Simple·class·defining·the·2D·parameterization·of·a·face.">Parameterization</a>·is·a·simple·class·that·provides·information·about·the·parameterization·of·a·face·in·a·local·(u,v)·coordinate·system.·It·is·defined·by·the·size·of·a·face·(i.e.·its·number·of·vertices)·and·the·subdivision·scheme·that·determines·its·limit·surface.</p> |
197 | <p>As·an·example·of·how·the·subdivision·scheme·is·essential·in·determining·the·<a·class="el"·href="a00921.html"·title="Simple·class·defining·the·2D·parameterization·of·a·face.">Parameterization</a>,·consider·the·case·of·a·triangle.·A·triangle·is·regular·for·the·Loop·scheme·and·so·has·a·very·simple·parameterization·as·a·triangular·patch.·But·for·the·Catmull-Clark·scheme,·a·triangle·is·an·irregular·face·that·must·first·be·subdivided·–·making·its·limit·surface·a·piecewise·collection·of·quadrilateral·patches.·</p> | 197 | <p>As·an·example·of·how·the·subdivision·scheme·is·essential·in·determining·the·<a·class="el"·href="a00921.html"·title="Simple·class·defining·the·2D·parameterization·of·a·face.">Parameterization</a>,·consider·the·case·of·a·triangle.·A·triangle·is·regular·for·the·Loop·scheme·and·so·has·a·very·simple·parameterization·as·a·triangular·patch.·But·for·the·Catmull-Clark·scheme,·a·triangle·is·an·irregular·face·that·must·first·be·subdivided·–·making·its·limit·surface·a·piecewise·collection·of·quadrilateral·patches.·</p> |
198 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0069 | 198 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00692_source.html#l00052">52</a>·of·file·<a·class="el"·href="a00692_source.html">parameterization.h</a>.</p> |
199 | </div><h2·class="groupheader">Member·Enumeration·Documentation</h2> | 199 | </div><h2·class="groupheader">Member·Enumeration·Documentation</h2> |
200 | <a·id="a1d1cfd8ffb84e947f82999c682b666a7"·name="a1d1cfd8ffb84e947f82999c682b666a7"></a> | 200 | <a·id="a1d1cfd8ffb84e947f82999c682b666a7"·name="a1d1cfd8ffb84e947f82999c682b666a7"></a> |
201 | <h2·class="memtitle"><span·class="permalink"><a·href="#a1d1cfd8ffb84e947f82999c682b666a7">◆ </a></span>Type</h2> | 201 | <h2·class="memtitle"><span·class="permalink"><a·href="#a1d1cfd8ffb84e947f82999c682b666a7">◆ </a></span>Type</h2> |
202 | <div·class="memitem"> | 202 | <div·class="memitem"> |
203 | <div·class="memproto"> | 203 | <div·class="memproto"> |
204 | ······<table·class="memname"> | 204 | ······<table·class="memname"> |
Offset 217, 15 lines modified | Offset 217, 15 lines modified | ||
217 | </td></tr> | 217 | </td></tr> |
218 | <tr><td·class="fieldname"><a·id="a1d1cfd8ffb84e947f82999c682b666a7acde3f260abb10fb9633e1ca01de9e78d"·name="a1d1cfd8ffb84e947f82999c682b666a7acde3f260abb10fb9633e1ca01de9e78d"></a>TRI </td><td·class="fielddoc"><p>Triangle.·</p> | 218 | <tr><td·class="fieldname"><a·id="a1d1cfd8ffb84e947f82999c682b666a7acde3f260abb10fb9633e1ca01de9e78d"·name="a1d1cfd8ffb84e947f82999c682b666a7acde3f260abb10fb9633e1ca01de9e78d"></a>TRI </td><td·class="fielddoc"><p>Triangle.·</p> |
219 | </td></tr> | 219 | </td></tr> |
220 | <tr><td·class="fieldname"><a·id="a1d1cfd8ffb84e947f82999c682b666a7a7cbabd8b5f03feec7dda7f68118f0850"·name="a1d1cfd8ffb84e947f82999c682b666a7a7cbabd8b5f03feec7dda7f68118f0850"></a>QUAD_SUBFACES </td><td·class="fielddoc"><p>Partitioned·into·quadrilateral·sub-faces.·</p> | 220 | <tr><td·class="fieldname"><a·id="a1d1cfd8ffb84e947f82999c682b666a7a7cbabd8b5f03feec7dda7f68118f0850"·name="a1d1cfd8ffb84e947f82999c682b666a7a7cbabd8b5f03feec7dda7f68118f0850"></a>QUAD_SUBFACES </td><td·class="fielddoc"><p>Partitioned·into·quadrilateral·sub-faces.·</p> |
221 | </td></tr> | 221 | </td></tr> |
222 | </table> | 222 | </table> |
223 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0069 | 223 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00692_source.html#l00062">62</a>·of·file·<a·class="el"·href="a00692_source.html">parameterization.h</a>.</p> |
224 | </div> | 224 | </div> |
225 | </div> | 225 | </div> |
226 | <h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 226 | <h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
227 | <a·id="a301ad64c8ae0a3ba3af84377138a069f"·name="a301ad64c8ae0a3ba3af84377138a069f"></a> | 227 | <a·id="a301ad64c8ae0a3ba3af84377138a069f"·name="a301ad64c8ae0a3ba3af84377138a069f"></a> |
228 | <h2·class="memtitle"><span·class="permalink"><a·href="#a301ad64c8ae0a3ba3af84377138a069f">◆ </a></span>Parameterization()·<span·class="overload">[1/3]</span></h2> | 228 | <h2·class="memtitle"><span·class="permalink"><a·href="#a301ad64c8ae0a3ba3af84377138a069f">◆ </a></span>Parameterization()·<span·class="overload">[1/3]</span></h2> |
Offset 277, 15 lines modified | Offset 277, 15 lines modified | ||
277 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 277 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
278 | ··</tr> | 278 | ··</tr> |
279 | </table> | 279 | </table> |
280 | </div><div·class="memdoc"> | 280 | </div><div·class="memdoc"> |
281 | <p>Default·construction·produces·an·invalid·instance.·</p> | 281 | <p>Default·construction·produces·an·invalid·instance.·</p> |
282 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0069 | 282 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00692_source.html#l00084">84</a>·of·file·<a·class="el"·href="a00692_source.html">parameterization.h</a>.</p> |
283 | </div> | 283 | </div> |
284 | </div> | 284 | </div> |
285 | <a·id="a64a4b29d36851a8d83be05af5b25f886"·name="a64a4b29d36851a8d83be05af5b25f886"></a> | 285 | <a·id="a64a4b29d36851a8d83be05af5b25f886"·name="a64a4b29d36851a8d83be05af5b25f886"></a> |
286 | <h2·class="memtitle"><span·class="permalink"><a·href="#a64a4b29d36851a8d83be05af5b25f886">◆ </a></span>Parameterization()·<span·class="overload">[3/3]</span></h2> | 286 | <h2·class="memtitle"><span·class="permalink"><a·href="#a64a4b29d36851a8d83be05af5b25f886">◆ </a></span>Parameterization()·<span·class="overload">[3/3]</span></h2> |
287 | <div·class="memitem"> | 287 | <div·class="memitem"> |
Offset 371, 15 lines modified | Offset 371, 15 lines modified | ||
371 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 371 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
372 | ··</tr> | 372 | ··</tr> |
373 | </table> | 373 | </table> |
374 | </div><div·class="memdoc"> | 374 | </div><div·class="memdoc"> |
375 | <p>Convert·(u,v)·to·a·sub-face·(return·value)·and·its·normalized·(u,v)·coordinate.·</p> | 375 | <p>Convert·(u,v)·to·a·sub-face·(return·value)·and·its·normalized·(u,v)·coordinate.·</p> |
376 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0069 | 376 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00692_source.html#l00229">229</a>·of·file·<a·class="el"·href="a00692_source.html">parameterization.h</a>.</p> |
377 | </div> | 377 | </div> |
378 | </div> | 378 | </div> |
379 | <a·id="a41cf5ce29cf0ef8f61e9bfe9b8c007f6"·name="a41cf5ce29cf0ef8f61e9bfe9b8c007f6"></a> | 379 | <a·id="a41cf5ce29cf0ef8f61e9bfe9b8c007f6"·name="a41cf5ce29cf0ef8f61e9bfe9b8c007f6"></a> |
380 | <h2·class="memtitle"><span·class="permalink"><a·href="#a41cf5ce29cf0ef8f61e9bfe9b8c007f6">◆ </a></span>ConvertCoordToSubFace()</h2> | 380 | <h2·class="memtitle"><span·class="permalink"><a·href="#a41cf5ce29cf0ef8f61e9bfe9b8c007f6">◆ </a></span>ConvertCoordToSubFace()</h2> |
381 | <div·class="memitem"> | 381 | <div·class="memitem"> |
Offset 413, 15 lines modified | Offset 413, 15 lines modified | ||
413 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 413 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
414 | ··</tr> | 414 | ··</tr> |
415 | </table> | 415 | </table> |
416 | </div><div·class="memdoc"> | 416 | </div><div·class="memdoc"> |
417 | <p>Convert·(u,v)·to·a·sub-face·(return·value)·and·its·local·(u,v)·coordinate.·</p> | 417 | <p>Convert·(u,v)·to·a·sub-face·(return·value)·and·its·local·(u,v)·coordinate.·</p> |
418 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0069 | 418 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00692_source.html#l00215">215</a>·of·file·<a·class="el"·href="a00692_source.html">parameterization.h</a>.</p> |
419 | </div> | 419 | </div> |
420 | </div> | 420 | </div> |
421 | <a·id="a9b6878c9cfa5f864aacae60e159451c8"·name="a9b6878c9cfa5f864aacae60e159451c8"></a> | 421 | <a·id="a9b6878c9cfa5f864aacae60e159451c8"·name="a9b6878c9cfa5f864aacae60e159451c8"></a> |
422 | <h2·class="memtitle"><span·class="permalink"><a·href="#a9b6878c9cfa5f864aacae60e159451c8">◆ </a></span>ConvertNormalizedSubFaceToCoord()</h2> | 422 | <h2·class="memtitle"><span·class="permalink"><a·href="#a9b6878c9cfa5f864aacae60e159451c8">◆ </a></span>ConvertNormalizedSubFaceToCoord()</h2> |
423 | <div·class="memitem"> | 423 | <div·class="memitem"> |
Offset 461, 15 lines modified | Offset 461, 15 lines modified | ||
461 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 461 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
462 | ··</tr> | 462 | ··</tr> |
463 | </table> | 463 | </table> |
464 | </div><div·class="memdoc"> | 464 | </div><div·class="memdoc"> |
465 | <p>Convert·a·sub-face·and·its·normalized·(u,v)·coordinate·to·(u,v)·</p> | 465 | <p>Convert·a·sub-face·and·its·normalized·(u,v)·coordinate·to·(u,v)·</p> |
466 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0069 | 466 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00692_source.html#l00235">235</a>·of·file·<a·class="el"·href="a00692_source.html">parameterization.h</a>.</p> |
467 | </div> | 467 | </div> |
468 | </div> | 468 | </div> |
469 | <a·id="aed9d1936ffe46b9622ae31cb43233a2e"·name="aed9d1936ffe46b9622ae31cb43233a2e"></a> | 469 | <a·id="aed9d1936ffe46b9622ae31cb43233a2e"·name="aed9d1936ffe46b9622ae31cb43233a2e"></a> |
470 | <h2·class="memtitle"><span·class="permalink"><a·href="#aed9d1936ffe46b9622ae31cb43233a2e">◆ </a></span>ConvertSubFaceToCoord()</h2> | 470 | <h2·class="memtitle"><span·class="permalink"><a·href="#aed9d1936ffe46b9622ae31cb43233a2e">◆ </a></span>ConvertSubFaceToCoord()</h2> |
471 | <div·class="memitem"> | 471 | <div·class="memitem"> |
Offset 509, 15 lines modified | Offset 509, 15 lines modified | ||
509 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 509 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
510 | ··</tr> | 510 | ··</tr> |
511 | </table> | 511 | </table> |
512 | </div><div·class="memdoc"> | 512 | </div><div·class="memdoc"> |
513 | <p>Convert·a·sub-face·and·its·local·(u,v)·coordinate·to·(u,v)·</p> | 513 | <p>Convert·a·sub-face·and·its·local·(u,v)·coordinate·to·(u,v)·</p> |
514 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0069 | 514 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00692_source.html#l00221">221</a>·of·file·<a·class="el"·href="a00692_source.html">parameterization.h</a>.</p> |
515 | </div> | 515 | </div> |
516 | </div> | 516 | </div> |
517 | <a·id="a43caa8212032f3649809914cc0f57653"·name="a43caa8212032f3649809914cc0f57653"></a> | 517 | <a·id="a43caa8212032f3649809914cc0f57653"·name="a43caa8212032f3649809914cc0f57653"></a> |
518 | <h2·class="memtitle"><span·class="permalink"><a·href="#a43caa8212032f3649809914cc0f57653">◆ </a></span>GetCenterCoord()</h2> | 518 | <h2·class="memtitle"><span·class="permalink"><a·href="#a43caa8212032f3649809914cc0f57653">◆ </a></span>GetCenterCoord()</h2> |
519 | <div·class="memitem"> | 519 | <div·class="memitem"> |
Max diff block lines reached; 4993/13632 bytes (36.63%) of diff not shown. |
Offset 96, 15 lines modified | Offset 96, 15 lines modified | ||
96 | ··<div·class="headertitle"><div·class="title">RefinerSurfaceFactoryBase·Class·Reference</div></div> | 96 | ··<div·class="headertitle"><div·class="title">RefinerSurfaceFactoryBase·Class·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <p>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.·· | 99 | <p>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.·· |
100 | ·<a·href="a00925.html#details">More...</a></p> | 100 | ·<a·href="a00925.html#details">More...</a></p> |
101 | <p><code>#include·<<a·class="el"·href="a0069 | 101 | <p><code>#include·<<a·class="el"·href="a00695_source.html">refinerSurfaceFactory.h</a>></code></p> |
102 | <div·class="dynheader"> | 102 | <div·class="dynheader"> |
103 | Inheritance·diagram·for·RefinerSurfaceFactoryBase:</div> | 103 | Inheritance·diagram·for·RefinerSurfaceFactoryBase:</div> |
104 | <div·class="dyncontent"> | 104 | <div·class="dyncontent"> |
105 | ·<div·class="center"> | 105 | ·<div·class="center"> |
106 | ··<img·src="a00925.png"·usemap="#RefinerSurfaceFactoryBase_map"·alt=""/> | 106 | ··<img·src="a00925.png"·usemap="#RefinerSurfaceFactoryBase_map"·alt=""/> |
107 | ··<map·id="RefinerSurfaceFactoryBase_map"·name="RefinerSurfaceFactoryBase_map"> | 107 | ··<map·id="RefinerSurfaceFactoryBase_map"·name="RefinerSurfaceFactoryBase_map"> |
108 | <area·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh."·alt="SurfaceFactory"·shape="rect"·coords="0,56,249,80"/> | 108 | <area·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh."·alt="SurfaceFactory"·shape="rect"·coords="0,56,249,80"/> |
Offset 236, 15 lines modified | Offset 236, 15 lines modified | ||
236 | </table> | 236 | </table> |
237 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 237 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
238 | <div·class="textblock"><p>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.·</p> | 238 | <div·class="textblock"><p>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.·</p> |
239 | <p><a·class="el"·href="a00925.html"·title="Intermediate·subclass·of·SurfaceFactory·with·Far::TopologyRefiner·as·the·mesh.">RefinerSurfaceFactoryBase</a>·is·an·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>·using·<a·class="el"·href="a01113.html"·title="Stores·topology·data·for·a·specified·set·of·refinement·options.">Far::TopologyRefiner</a>·as·the·connected·mesh·representation.</p> | 239 | <p><a·class="el"·href="a00925.html"·title="Intermediate·subclass·of·SurfaceFactory·with·Far::TopologyRefiner·as·the·mesh.">RefinerSurfaceFactoryBase</a>·is·an·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>·using·<a·class="el"·href="a01113.html"·title="Stores·topology·data·for·a·specified·set·of·refinement·options.">Far::TopologyRefiner</a>·as·the·connected·mesh·representation.</p> |
240 | <p>The·<a·class="el"·href="a00957.html"·title="Abstract·interface·adapting·SurfaceFactory·to·a·connected·mesh·representation.">SurfaceFactoryMeshAdapter</a>·interface·for·TopologyRefiner·is·provided·in·full,·along·with·some·public·extensions·specific·to·TopologyRefiner.</p> | 240 | <p>The·<a·class="el"·href="a00957.html"·title="Abstract·interface·adapting·SurfaceFactory·to·a·connected·mesh·representation.">SurfaceFactoryMeshAdapter</a>·interface·for·TopologyRefiner·is·provided·in·full,·along·with·some·public·extensions·specific·to·TopologyRefiner.</p> |
241 | <p>Additional·caching·expectations·of·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·are·NOT·specified·here.·These·are·deferred·to·subclasses·to·implement·different·behaviors·of·the·factory's·internal·caching.·A·template·for·such·subclasses·is·additionally·provided·–·allowing·clients·desiring·a·thread-safe·cache·to·simply·declare·a·subclass·for·a·preferred·thread-safe·type.·</p> | 241 | <p>Additional·caching·expectations·of·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·are·NOT·specified·here.·These·are·deferred·to·subclasses·to·implement·different·behaviors·of·the·factory's·internal·caching.·A·template·for·such·subclasses·is·additionally·provided·–·allowing·clients·desiring·a·thread-safe·cache·to·simply·declare·a·subclass·for·a·preferred·thread-safe·type.·</p> |
242 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0069 | 242 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00695_source.html#l00058">58</a>·of·file·<a·class="el"·href="a00695_source.html">refinerSurfaceFactory.h</a>.</p> |
243 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 243 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
244 | <a·id="af457c931d6d611e35737454f2c483f84"·name="af457c931d6d611e35737454f2c483f84"></a> | 244 | <a·id="af457c931d6d611e35737454f2c483f84"·name="af457c931d6d611e35737454f2c483f84"></a> |
245 | <h2·class="memtitle"><span·class="permalink"><a·href="#af457c931d6d611e35737454f2c483f84">◆ </a></span>RefinerSurfaceFactoryBase()</h2> | 245 | <h2·class="memtitle"><span·class="permalink"><a·href="#af457c931d6d611e35737454f2c483f84">◆ </a></span>RefinerSurfaceFactoryBase()</h2> |
246 | <div·class="memitem"> | 246 | <div·class="memitem"> |
247 | <div·class="memproto"> | 247 | <div·class="memproto"> |
248 | ······<table·class="memname"> | 248 | ······<table·class="memname"> |
Offset 317, 15 lines modified | Offset 317, 15 lines modified | ||
317 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 317 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
318 | ··</tr> | 318 | ··</tr> |
319 | </table> | 319 | </table> |
320 | </div><div·class="memdoc"> | 320 | </div><div·class="memdoc"> |
321 | <p>Return·the·instance·of·the·mesh.·</p> | 321 | <p>Return·the·instance·of·the·mesh.·</p> |
322 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0069 | 322 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00695_source.html#l00079">79</a>·of·file·<a·class="el"·href="a00695_source.html">refinerSurfaceFactory.h</a>.</p> |
323 | </div> | 323 | </div> |
324 | </div> | 324 | </div> |
325 | <a·id="a9920fb01c4b75c94a953a98008a4baba"·name="a9920fb01c4b75c94a953a98008a4baba"></a> | 325 | <a·id="a9920fb01c4b75c94a953a98008a4baba"·name="a9920fb01c4b75c94a953a98008a4baba"></a> |
326 | <h2·class="memtitle"><span·class="permalink"><a·href="#a9920fb01c4b75c94a953a98008a4baba">◆ </a></span>GetNumFaces()</h2> | 326 | <h2·class="memtitle"><span·class="permalink"><a·href="#a9920fb01c4b75c94a953a98008a4baba">◆ </a></span>GetNumFaces()</h2> |
327 | <div·class="memitem"> | 327 | <div·class="memitem"> |
Offset 346, 15 lines modified | Offset 346, 15 lines modified | ||
346 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 346 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
347 | ··</tr> | 347 | ··</tr> |
348 | </table> | 348 | </table> |
349 | </div><div·class="memdoc"> | 349 | </div><div·class="memdoc"> |
350 | <p>Return·the·number·of·faces.·</p> | 350 | <p>Return·the·number·of·faces.·</p> |
351 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0069 | 351 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00695_source.html#l00082">82</a>·of·file·<a·class="el"·href="a00695_source.html">refinerSurfaceFactory.h</a>.</p> |
352 | </div> | 352 | </div> |
353 | </div> | 353 | </div> |
354 | <a·id="aa9be824a572029f3ec1e0c0d6cfecd77"·name="aa9be824a572029f3ec1e0c0d6cfecd77"></a> | 354 | <a·id="aa9be824a572029f3ec1e0c0d6cfecd77"·name="aa9be824a572029f3ec1e0c0d6cfecd77"></a> |
355 | <h2·class="memtitle"><span·class="permalink"><a·href="#aa9be824a572029f3ec1e0c0d6cfecd77">◆ </a></span>GetNumFVarChannels()</h2> | 355 | <h2·class="memtitle"><span·class="permalink"><a·href="#aa9be824a572029f3ec1e0c0d6cfecd77">◆ </a></span>GetNumFVarChannels()</h2> |
356 | <div·class="memitem"> | 356 | <div·class="memitem"> |
Offset 375, 20 lines modified | Offset 375, 20 lines modified | ||
375 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 375 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
376 | ··</tr> | 376 | ··</tr> |
377 | </table> | 377 | </table> |
378 | </div><div·class="memdoc"> | 378 | </div><div·class="memdoc"> |
379 | <p>Return·the·number·of·face-varying·channels.·</p> | 379 | <p>Return·the·number·of·face-varying·channels.·</p> |
380 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0069 | 380 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00695_source.html#l00085">85</a>·of·file·<a·class="el"·href="a00695_source.html">refinerSurfaceFactory.h</a>.</p> |
381 | </div> | 381 | </div> |
382 | </div> | 382 | </div> |
383 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 383 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
384 | <li>opensubdiv/bfr/<a·class="el"·href="a0069 | 384 | <li>opensubdiv/bfr/<a·class="el"·href="a00695_source.html">refinerSurfaceFactory.h</a></li> |
385 | </ul> | 385 | </ul> |
386 | </div><!--·contents·--> | 386 | </div><!--·contents·--> |
387 | </div><!--·doc-content·--> | 387 | </div><!--·doc-content·--> |
388 | <!--·start·footer·part·--> | 388 | <!--·start·footer·part·--> |
389 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 389 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
390 | ··<ul> | 390 | ··<ul> |
391 | ····<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="a00925.html">RefinerSurfaceFactoryBase</a></li> | 391 | ····<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="a00925.html">RefinerSurfaceFactoryBase</a></li> |
Offset 97, 15 lines modified | Offset 97, 15 lines modified | ||
97 | ··<div·class="headertitle"><div·class="title">RefinerSurfaceFactory<·CACHE_TYPE·>·Class·Template·Reference</div></div> | 97 | ··<div·class="headertitle"><div·class="title">RefinerSurfaceFactory<·CACHE_TYPE·>·Class·Template·Reference</div></div> |
98 | </div><!--header--> | 98 | </div><!--header--> |
99 | <div·class="contents"> | 99 | <div·class="contents"> |
100 | <p>Template·for·concrete·subclasses·of·<a·class="el"·href="a00925.html"·title="Intermediate·subclass·of·SurfaceFactory·with·Far::TopologyRefiner·as·the·mesh.">RefinerSurfaceFactoryBase</a>.·· | 100 | <p>Template·for·concrete·subclasses·of·<a·class="el"·href="a00925.html"·title="Intermediate·subclass·of·SurfaceFactory·with·Far::TopologyRefiner·as·the·mesh.">RefinerSurfaceFactoryBase</a>.·· |
101 | ·<a·href="a00929.html#details">More...</a></p> | 101 | ·<a·href="a00929.html#details">More...</a></p> |
102 | <p><code>#include·<<a·class="el"·href="a0069 | 102 | <p><code>#include·<<a·class="el"·href="a00695_source.html">refinerSurfaceFactory.h</a>></code></p> |
103 | <div·class="dynheader"> | 103 | <div·class="dynheader"> |
104 | Inheritance·diagram·for·RefinerSurfaceFactory<·CACHE_TYPE·>:</div> | 104 | Inheritance·diagram·for·RefinerSurfaceFactory<·CACHE_TYPE·>:</div> |
105 | <div·class="dyncontent"> | 105 | <div·class="dyncontent"> |
106 | ·<div·class="center"> | 106 | ·<div·class="center"> |
107 | ··<img·src="a00929.png"·usemap="#RefinerSurfaceFactory_3C_20CACHE_5FTYPE_20_3E_map"·alt=""/> | 107 | ··<img·src="a00929.png"·usemap="#RefinerSurfaceFactory_3C_20CACHE_5FTYPE_20_3E_map"·alt=""/> |
108 | ··<map·id="RefinerSurfaceFactory_3C_20CACHE_5FTYPE_20_3E_map"·name="RefinerSurfaceFactory_3C_20CACHE_5FTYPE_20_3E_map"> | 108 | ··<map·id="RefinerSurfaceFactory_3C_20CACHE_5FTYPE_20_3E_map"·name="RefinerSurfaceFactory_3C_20CACHE_5FTYPE_20_3E_map"> |
109 | <area·href="a00925.html"·title="Intermediate·subclass·of·SurfaceFactory·with·Far::TopologyRefiner·as·the·mesh."·alt="RefinerSurfaceFactoryBase"·shape="rect"·coords="0,112,249,136"/> | 109 | <area·href="a00925.html"·title="Intermediate·subclass·of·SurfaceFactory·with·Far::TopologyRefiner·as·the·mesh."·alt="RefinerSurfaceFactoryBase"·shape="rect"·coords="0,112,249,136"/> |
Offset 241, 15 lines modified | Offset 241, 15 lines modified | ||
241 | ··<table·class="tparams"> | 241 | ··<table·class="tparams"> |
242 | ····<tr><td·class="paramname">CACHE_TYPE</td><td>A·subclass·of·<a·class="el"·href="a00949.html"·title="Container·used·internally·by·SurfaceFactory·to·store·reusable·information.">SurfaceFactoryCache</a></td></tr> | 242 | ····<tr><td·class="paramname">CACHE_TYPE</td><td>A·subclass·of·<a·class="el"·href="a00949.html"·title="Container·used·internally·by·SurfaceFactory·to·store·reusable·information.">SurfaceFactoryCache</a></td></tr> |
243 | ··</table> | 243 | ··</table> |
244 | ··</dd> | 244 | ··</dd> |
245 | </dl> | 245 | </dl> |
246 | <p>Note·a·default·template·parameter·uses·the·base·<a·class="el"·href="a00949.html"·title="Container·used·internally·by·SurfaceFactory·to·store·reusable·information.">SurfaceFactoryCache</a>·for·convenience,·but·which·is·not·thread-safe.·</p> | 246 | <p>Note·a·default·template·parameter·uses·the·base·<a·class="el"·href="a00949.html"·title="Container·used·internally·by·SurfaceFactory·to·store·reusable·information.">SurfaceFactoryCache</a>·for·convenience,·but·which·is·not·thread-safe.·</p> |
247 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0069 | 247 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00695_source.html#l00157">157</a>·of·file·<a·class="el"·href="a00695_source.html">refinerSurfaceFactory.h</a>.</p> |
248 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 248 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
249 | <a·id="af74dafe122d798d4069b675c52f6665a"·name="af74dafe122d798d4069b675c52f6665a"></a> | 249 | <a·id="af74dafe122d798d4069b675c52f6665a"·name="af74dafe122d798d4069b675c52f6665a"></a> |
250 | <h2·class="memtitle"><span·class="permalink"><a·href="#af74dafe122d798d4069b675c52f6665a">◆ </a></span>RefinerSurfaceFactory()</h2> | 250 | <h2·class="memtitle"><span·class="permalink"><a·href="#af74dafe122d798d4069b675c52f6665a">◆ </a></span>RefinerSurfaceFactory()</h2> |
251 | <div·class="memitem"> | 251 | <div·class="memitem"> |
252 | <div·class="memproto"> | 252 | <div·class="memproto"> |
253 | <div·class="memtemplate"> | 253 | <div·class="memtemplate"> |
Offset 279, 15 lines modified | Offset 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="a0069 | 285 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00695_source.html#l00159">159</a>·of·file·<a·class="el"·href="a00695_source.html">refinerSurfaceFactory.h</a>.</p> |
286 | </div> | 286 | </div> |
287 | </div> | 287 | </div> |
288 | <a·id="aaeb5db4a748ed56e042ab8c003faa8e9"·name="aaeb5db4a748ed56e042ab8c003faa8e9"></a> | 288 | <a·id="aaeb5db4a748ed56e042ab8c003faa8e9"·name="aaeb5db4a748ed56e042ab8c003faa8e9"></a> |
289 | <h2·class="memtitle"><span·class="permalink"><a·href="#aaeb5db4a748ed56e042ab8c003faa8e9">◆ </a></span>~RefinerSurfaceFactory()</h2> | 289 | <h2·class="memtitle"><span·class="permalink"><a·href="#aaeb5db4a748ed56e042ab8c003faa8e9">◆ </a></span>~RefinerSurfaceFactory()</h2> |
290 | <div·class="memitem"> | 290 | <div·class="memitem"> |
Offset 311, 15 lines modified | Offset 311, 15 lines modified | ||
311 | ··</tr> | 311 | ··</tr> |
312 | </table> | 312 | </table> |
313 | </div><div·class="memdoc"> | 313 | </div><div·class="memdoc"> |
314 | </div> | 314 | </div> |
315 | </div> | 315 | </div> |
316 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 316 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
317 | <li>opensubdiv/bfr/<a·class="el"·href="a0069 | 317 | <li>opensubdiv/bfr/<a·class="el"·href="a00695_source.html">refinerSurfaceFactory.h</a></li> |
318 | </ul> | 318 | </ul> |
319 | </div><!--·contents·--> | 319 | </div><!--·contents·--> |
320 | </div><!--·doc-content·--> | 320 | </div><!--·doc-content·--> |
321 | <!--·start·footer·part·--> | 321 | <!--·start·footer·part·--> |
322 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 322 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
323 | ··<ul> | 323 | ··<ul> |
324 | ····<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="a00929.html">RefinerSurfaceFactory</a></li> | 324 | ····<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="a00929.html">RefinerSurfaceFactory</a></li> |
Offset 98, 15 lines modified | Offset 98, 15 lines modified | ||
98 | ··<div·class="headertitle"><div·class="title">SurfaceFactory·Class·Reference</div></div> | 98 | ··<div·class="headertitle"><div·class="title">SurfaceFactory·Class·Reference</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <p>Base·class·providing·initialization·of·a·<a·class="el"·href="a00933.html"·title="Encapsulates·the·limit·surface·for·a·face·of·a·mesh.">Surface</a>·for·each·face·of·a·mesh.·· | 101 | <p>Base·class·providing·initialization·of·a·<a·class="el"·href="a00933.html"·title="Encapsulates·the·limit·surface·for·a·face·of·a·mesh.">Surface</a>·for·each·face·of·a·mesh.·· |
102 | ·<a·href="a00941.html#details">More...</a></p> | 102 | ·<a·href="a00941.html#details">More...</a></p> |
103 | <p><code>#include·<<a·class="el"·href="a0068 | 103 | <p><code>#include·<<a·class="el"·href="a00686_source.html">surfaceFactory.h</a>></code></p> |
104 | <div·class="dynheader"> | 104 | <div·class="dynheader"> |
105 | Inheritance·diagram·for·SurfaceFactory:</div> | 105 | Inheritance·diagram·for·SurfaceFactory:</div> |
106 | <div·class="dyncontent"> | 106 | <div·class="dyncontent"> |
107 | ·<div·class="center"> | 107 | ·<div·class="center"> |
108 | ··<img·src="a00941.png"·usemap="#SurfaceFactory_map"·alt=""/> | 108 | ··<img·src="a00941.png"·usemap="#SurfaceFactory_map"·alt=""/> |
109 | ··<map·id="SurfaceFactory_map"·name="SurfaceFactory_map"> | 109 | ··<map·id="SurfaceFactory_map"·name="SurfaceFactory_map"> |
110 | <area·href="a00957.html"·title="Abstract·interface·adapting·SurfaceFactory·to·a·connected·mesh·representation."·alt="SurfaceFactoryMeshAdapter"·shape="rect"·coords="0,0,249,24"/> | 110 | <area·href="a00957.html"·title="Abstract·interface·adapting·SurfaceFactory·to·a·connected·mesh·representation."·alt="SurfaceFactoryMeshAdapter"·shape="rect"·coords="0,0,249,24"/> |
Offset 245, 15 lines modified | Offset 245, 15 lines modified | ||
245 | <p>A·subclass·of·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·is·written·to·support·a·specific·type·of·connected·mesh.·The·public·interface·of·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·is·both·inherited·by·and·extended·by·the·subclasses.·Expected·extensions·to·the·interface·include·one·or·more·constructors·(i.e.·given·a·specific·instance·of·the·subclass'·mesh·type)·as·well·as·other·methods·that·may·involve·the·mesh's·data·types·(primvars)·in·their·native·form.</p> | 245 | <p>A·subclass·of·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·is·written·to·support·a·specific·type·of·connected·mesh.·The·public·interface·of·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·is·both·inherited·by·and·extended·by·the·subclasses.·Expected·extensions·to·the·interface·include·one·or·more·constructors·(i.e.·given·a·specific·instance·of·the·subclass'·mesh·type)·as·well·as·other·methods·that·may·involve·the·mesh's·data·types·(primvars)·in·their·native·form.</p> |
246 | <p>By·inheriting·the·<a·class="el"·href="a00957.html"·title="Abstract·interface·adapting·SurfaceFactory·to·a·connected·mesh·representation.">SurfaceFactoryMeshAdapter</a>·interface,·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·requires·its·subclasses·to·implement·the·small·suite·of·pure·virtual·methods·to·complete·the·factory's·implementation·for·the·subclass'·mesh·type.·These·methods·provide·the·base·factory·with·topological·information·about·faces·of·that·mesh·–·from·which·it·creates·instances·of·<a·class="el"·href="a00933.html"·title="Encapsulates·the·limit·surface·for·a·face·of·a·mesh.">Surface</a>·defining·their·limit·surface.</p> | 246 | <p>By·inheriting·the·<a·class="el"·href="a00957.html"·title="Abstract·interface·adapting·SurfaceFactory·to·a·connected·mesh·representation.">SurfaceFactoryMeshAdapter</a>·interface,·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·requires·its·subclasses·to·implement·the·small·suite·of·pure·virtual·methods·to·complete·the·factory's·implementation·for·the·subclass'·mesh·type.·These·methods·provide·the·base·factory·with·topological·information·about·faces·of·that·mesh·–·from·which·it·creates·instances·of·<a·class="el"·href="a00933.html"·title="Encapsulates·the·limit·surface·for·a·face·of·a·mesh.">Surface</a>·defining·their·limit·surface.</p> |
247 | <p>The·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·inherits·rather·than·contains·<a·class="el"·href="a00957.html"·title="Abstract·interface·adapting·SurfaceFactory·to·a·connected·mesh·representation.">SurfaceFactoryMeshAdapter</a>·as·instances·of·<a·class="el"·href="a00957.html"·title="Abstract·interface·adapting·SurfaceFactory·to·a·connected·mesh·representation.">SurfaceFactoryMeshAdapter</a>·serve·no·purpose·on·their·own,·and·the·interface·between·the·two·is·designed·with·the·specific·needs·of·the·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>.·When·customizing·a·subclass·of·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·for·a·particular·mesh·type,·this·inheritance·also·avoids·the·need·to·coordinate·the·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·the·separate·subclass·of·<a·class="el"·href="a00957.html"·title="Abstract·interface·adapting·SurfaceFactory·to·a·connected·mesh·representation.">SurfaceFactoryMeshAdapter</a>.</p> | 247 | <p>The·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·inherits·rather·than·contains·<a·class="el"·href="a00957.html"·title="Abstract·interface·adapting·SurfaceFactory·to·a·connected·mesh·representation.">SurfaceFactoryMeshAdapter</a>·as·instances·of·<a·class="el"·href="a00957.html"·title="Abstract·interface·adapting·SurfaceFactory·to·a·connected·mesh·representation.">SurfaceFactoryMeshAdapter</a>·serve·no·purpose·on·their·own,·and·the·interface·between·the·two·is·designed·with·the·specific·needs·of·the·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>.·When·customizing·a·subclass·of·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·for·a·particular·mesh·type,·this·inheritance·also·avoids·the·need·to·coordinate·the·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·the·separate·subclass·of·<a·class="el"·href="a00957.html"·title="Abstract·interface·adapting·SurfaceFactory·to·a·connected·mesh·representation.">SurfaceFactoryMeshAdapter</a>.</p> |
248 | <p>It·must·be·emphasized·that·a·subclass·of·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·is·written·to·support·a·specific·type·of·"connected"·mesh·–·not·simply·a·container·of·data·defining·a·mesh.·The·<a·class="el"·href="a00957.html"·title="Abstract·interface·adapting·SurfaceFactory·to·a·connected·mesh·representation.">SurfaceFactoryMeshAdapter</a>·interface·describes·the·complete·topological·neighborhood·around·a·specific·face,·and·without·any·connectivity·between·mesh·components·(e.g.·given·a·vertex,·what·are·its·incident·faces?),·satisfying·these·methods·will·be·impossible,·or,·at·best,·extremely·inefficient.</p> | 248 | <p>It·must·be·emphasized·that·a·subclass·of·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·is·written·to·support·a·specific·type·of·"connected"·mesh·–·not·simply·a·container·of·data·defining·a·mesh.·The·<a·class="el"·href="a00957.html"·title="Abstract·interface·adapting·SurfaceFactory·to·a·connected·mesh·representation.">SurfaceFactoryMeshAdapter</a>·interface·describes·the·complete·topological·neighborhood·around·a·specific·face,·and·without·any·connectivity·between·mesh·components·(e.g.·given·a·vertex,·what·are·its·incident·faces?),·satisfying·these·methods·will·be·impossible,·or,·at·best,·extremely·inefficient.</p> |
249 | <p>Ultimately·a·subclass·of·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·is·expected·to·be·a·lightweight·interface·to·a·connected·mesh·–·lightweight·in·terms·of·both·time·and·memory·usage.·It's·construction·is·expected·to·be·trivial,·after·which·it·can·quickly·and·efficiently·provide·a·<a·class="el"·href="a00933.html"·title="Encapsulates·the·limit·surface·for·a·face·of·a·mesh.">Surface</a>·for·one·or·more·faces·of·a·mesh·for·immediate·evaluation.·So·construction·of·an·instance·of·a·subclass·should·involve·no·heavy·pre-processing·–·the·greater·the·overhead·of·a·subclass·constructor,·the·more·it·violates·the·intention·of·the·base·class·as·a·lightweight·interface.</p> | 249 | <p>Ultimately·a·subclass·of·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·is·expected·to·be·a·lightweight·interface·to·a·connected·mesh·–·lightweight·in·terms·of·both·time·and·memory·usage.·It's·construction·is·expected·to·be·trivial,·after·which·it·can·quickly·and·efficiently·provide·a·<a·class="el"·href="a00933.html"·title="Encapsulates·the·limit·surface·for·a·face·of·a·mesh.">Surface</a>·for·one·or·more·faces·of·a·mesh·for·immediate·evaluation.·So·construction·of·an·instance·of·a·subclass·should·involve·no·heavy·pre-processing·–·the·greater·the·overhead·of·a·subclass·constructor,·the·more·it·violates·the·intention·of·the·base·class·as·a·lightweight·interface.</p> |
250 | <p>Instances·of·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·are·initialized·with·a·set·of·<a·class="el"·href="a00945.html"·title="Simple·set·of·options·assigned·to·instances·of·SurfaceFactory.">Options</a>·that·form·part·of·the·state·of·the·factory·and·remain·fixed·for·its·lifetime.·Such·options·are·intended·to·ensure·that·the·instances·of·<a·class="el"·href="a00933.html"·title="Encapsulates·the·limit·surface·for·a·face·of·a·mesh.">Surface</a>·that·it·creates·are·consistent,·as·well·as·to·enable/disable·or·otherwise·manage·caching·for·construction·efficiency·–·either·internally·or·between·itself·and·other·factories·(advanced).·</p> | 250 | <p>Instances·of·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·are·initialized·with·a·set·of·<a·class="el"·href="a00945.html"·title="Simple·set·of·options·assigned·to·instances·of·SurfaceFactory.">Options</a>·that·form·part·of·the·state·of·the·factory·and·remain·fixed·for·its·lifetime.·Such·options·are·intended·to·ensure·that·the·instances·of·<a·class="el"·href="a00933.html"·title="Encapsulates·the·limit·surface·for·a·face·of·a·mesh.">Surface</a>·that·it·creates·are·consistent,·as·well·as·to·enable/disable·or·otherwise·manage·caching·for·construction·efficiency·–·either·internally·or·between·itself·and·other·factories·(advanced).·</p> |
251 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0068 | 251 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00686_source.html#l00103">103</a>·of·file·<a·class="el"·href="a00686_source.html">surfaceFactory.h</a>.</p> |
252 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 252 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
253 | <a·id="a1e36434fc02ae0d7a087a8eb07577ee9"·name="a1e36434fc02ae0d7a087a8eb07577ee9"></a> | 253 | <a·id="a1e36434fc02ae0d7a087a8eb07577ee9"·name="a1e36434fc02ae0d7a087a8eb07577ee9"></a> |
254 | <h2·class="memtitle"><span·class="permalink"><a·href="#a1e36434fc02ae0d7a087a8eb07577ee9">◆ </a></span>~SurfaceFactory()</h2> | 254 | <h2·class="memtitle"><span·class="permalink"><a·href="#a1e36434fc02ae0d7a087a8eb07577ee9">◆ </a></span>~SurfaceFactory()</h2> |
255 | <div·class="memitem"> | 255 | <div·class="memitem"> |
256 | <div·class="memproto"> | 256 | <div·class="memproto"> |
257 | <table·class="mlabels"> | 257 | <table·class="mlabels"> |
Offset 372, 15 lines modified | Offset 372, 15 lines modified | ||
372 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 372 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
373 | ··</tr> | 373 | ··</tr> |
374 | </table> | 374 | </table> |
375 | </div><div·class="memdoc"> | 375 | </div><div·class="memdoc"> |
376 | <p>Construct·a·<a·class="el"·href="a00933.html"·title="Encapsulates·the·limit·surface·for·a·face·of·a·mesh.">Surface</a>·for·the·default·face-varying·data.·</p> | 376 | <p>Construct·a·<a·class="el"·href="a00933.html"·title="Encapsulates·the·limit·surface·for·a·face·of·a·mesh.">Surface</a>·for·the·default·face-varying·data.·</p> |
377 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0068 | 377 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00686_source.html#l00551">551</a>·of·file·<a·class="el"·href="a00686_source.html">surfaceFactory.h</a>.</p> |
378 | </div> | 378 | </div> |
379 | </div> | 379 | </div> |
380 | <a·id="a59227e292ea63aa9641a090521cfd457"·name="a59227e292ea63aa9641a090521cfd457"></a> | 380 | <a·id="a59227e292ea63aa9641a090521cfd457"·name="a59227e292ea63aa9641a090521cfd457"></a> |
381 | <h2·class="memtitle"><span·class="permalink"><a·href="#a59227e292ea63aa9641a090521cfd457">◆ </a></span>CreateFaceVaryingSurface()·<span·class="overload">[2/2]</span></h2> | 381 | <h2·class="memtitle"><span·class="permalink"><a·href="#a59227e292ea63aa9641a090521cfd457">◆ </a></span>CreateFaceVaryingSurface()·<span·class="overload">[2/2]</span></h2> |
382 | <div·class="memitem"> | 382 | <div·class="memitem"> |
Offset 414, 15 lines modified | Offset 414, 15 lines modified | ||
414 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 414 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
415 | ··</tr> | 415 | ··</tr> |
416 | </table> | 416 | </table> |
417 | </div><div·class="memdoc"> | 417 | </div><div·class="memdoc"> |
418 | <p>Construct·a·<a·class="el"·href="a00933.html"·title="Encapsulates·the·limit·surface·for·a·face·of·a·mesh.">Surface</a>·for·specified·face-varying·data.·</p> | 418 | <p>Construct·a·<a·class="el"·href="a00933.html"·title="Encapsulates·the·limit·surface·for·a·face·of·a·mesh.">Surface</a>·for·specified·face-varying·data.·</p> |
419 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0068 | 419 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00686_source.html#l00543">543</a>·of·file·<a·class="el"·href="a00686_source.html">surfaceFactory.h</a>.</p> |
420 | </div> | 420 | </div> |
421 | </div> | 421 | </div> |
422 | <a·id="a81638f2ff6818fd96aa7cd1ad3ed0703"·name="a81638f2ff6818fd96aa7cd1ad3ed0703"></a> | 422 | <a·id="a81638f2ff6818fd96aa7cd1ad3ed0703"·name="a81638f2ff6818fd96aa7cd1ad3ed0703"></a> |
423 | <h2·class="memtitle"><span·class="permalink"><a·href="#a81638f2ff6818fd96aa7cd1ad3ed0703">◆ </a></span>CreateVaryingSurface()</h2> | 423 | <h2·class="memtitle"><span·class="permalink"><a·href="#a81638f2ff6818fd96aa7cd1ad3ed0703">◆ </a></span>CreateVaryingSurface()</h2> |
424 | <div·class="memitem"> | 424 | <div·class="memitem"> |
Offset 446, 15 lines modified | Offset 446, 15 lines modified | ||
446 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 446 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
447 | ··</tr> | 447 | ··</tr> |
448 | </table> | 448 | </table> |
449 | </div><div·class="memdoc"> | 449 | </div><div·class="memdoc"> |
450 | <p>Construct·a·<a·class="el"·href="a00933.html"·title="Encapsulates·the·limit·surface·for·a·face·of·a·mesh.">Surface</a>·for·varying·data.·</p> | 450 | <p>Construct·a·<a·class="el"·href="a00933.html"·title="Encapsulates·the·limit·surface·for·a·face·of·a·mesh.">Surface</a>·for·varying·data.·</p> |
451 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0068 | 451 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00686_source.html#l00535">535</a>·of·file·<a·class="el"·href="a00686_source.html">surfaceFactory.h</a>.</p> |
452 | </div> | 452 | </div> |
453 | </div> | 453 | </div> |
454 | <a·id="a676cf019574c99fa77341ac09889192d"·name="a676cf019574c99fa77341ac09889192d"></a> | 454 | <a·id="a676cf019574c99fa77341ac09889192d"·name="a676cf019574c99fa77341ac09889192d"></a> |
455 | <h2·class="memtitle"><span·class="permalink"><a·href="#a676cf019574c99fa77341ac09889192d">◆ </a></span>CreateVertexSurface()</h2> | 455 | <h2·class="memtitle"><span·class="permalink"><a·href="#a676cf019574c99fa77341ac09889192d">◆ </a></span>CreateVertexSurface()</h2> |
456 | <div·class="memitem"> | 456 | <div·class="memitem"> |
Offset 478, 15 lines modified | Offset 478, 15 lines modified | ||
478 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 478 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
479 | ··</tr> | 479 | ··</tr> |
480 | </table> | 480 | </table> |
481 | </div><div·class="memdoc"> | 481 | </div><div·class="memdoc"> |
482 | <p>Construct·a·<a·class="el"·href="a00933.html"·title="Encapsulates·the·limit·surface·for·a·face·of·a·mesh.">Surface</a>·for·vertex·data.·</p> | 482 | <p>Construct·a·<a·class="el"·href="a00933.html"·title="Encapsulates·the·limit·surface·for·a·face·of·a·mesh.">Surface</a>·for·vertex·data.·</p> |
483 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0068 | 483 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00686_source.html#l00527">527</a>·of·file·<a·class="el"·href="a00686_source.html">surfaceFactory.h</a>.</p> |
484 | </div> | 484 | </div> |
485 | </div> | 485 | </div> |
486 | <a·id="a5cab9f649e56c15a486e3878a19bedf7"·name="a5cab9f649e56c15a486e3878a19bedf7"></a> | 486 | <a·id="a5cab9f649e56c15a486e3878a19bedf7"·name="a5cab9f649e56c15a486e3878a19bedf7"></a> |
487 | <h2·class="memtitle"><span·class="permalink"><a·href="#a5cab9f649e56c15a486e3878a19bedf7">◆ </a></span>FaceHasLimitSurface()</h2> | 487 | <h2·class="memtitle"><span·class="permalink"><a·href="#a5cab9f649e56c15a486e3878a19bedf7">◆ </a></span>FaceHasLimitSurface()</h2> |
488 | <div·class="memitem"> | 488 | <div·class="memitem"> |
Offset 549, 15 lines modified | Offset 549, 15 lines modified | ||
549 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 549 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
550 | ··</tr> | 550 | ··</tr> |
551 | </table> | 551 | </table> |
552 | </div><div·class="memdoc"> | 552 | </div><div·class="memdoc"> |
553 | <p>Return·the·set·of·subdivision·options.·</p> | 553 | <p>Return·the·set·of·subdivision·options.·</p> |
554 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0068 | 554 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00686_source.html#l00173">173</a>·of·file·<a·class="el"·href="a00686_source.html">surfaceFactory.h</a>.</p> |
555 | </div> | 555 | </div> |
556 | </div> | 556 | </div> |
557 | <a·id="a758e06255013d2d7393c3ac2d18f6922"·name="a758e06255013d2d7393c3ac2d18f6922"></a> | 557 | <a·id="a758e06255013d2d7393c3ac2d18f6922"·name="a758e06255013d2d7393c3ac2d18f6922"></a> |
558 | <h2·class="memtitle"><span·class="permalink"><a·href="#a758e06255013d2d7393c3ac2d18f6922">◆ </a></span>GetSchemeType()</h2> | 558 | <h2·class="memtitle"><span·class="permalink"><a·href="#a758e06255013d2d7393c3ac2d18f6922">◆ </a></span>GetSchemeType()</h2> |
559 | <div·class="memitem"> | 559 | <div·class="memitem"> |
Offset 578, 15 lines modified | Offset 578, 15 lines modified | ||
578 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 578 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
579 | ··</tr> | 579 | ··</tr> |
580 | </table> | 580 | </table> |
581 | </div><div·class="memdoc"> | 581 | </div><div·class="memdoc"> |
582 | <p>Return·the·subdivision·scheme.·</p> | 582 | <p>Return·the·subdivision·scheme.·</p> |
583 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0068 | 583 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00686_source.html#l00170">170</a>·of·file·<a·class="el"·href="a00686_source.html">surfaceFactory.h</a>.</p> |
584 | </div> | 584 | </div> |
585 | </div> | 585 | </div> |
586 | <a·id="a2236306cbbc12f5a77753e269c76fe0e"·name="a2236306cbbc12f5a77753e269c76fe0e"></a> | 586 | <a·id="a2236306cbbc12f5a77753e269c76fe0e"·name="a2236306cbbc12f5a77753e269c76fe0e"></a> |
587 | <h2·class="memtitle"><span·class="permalink"><a·href="#a2236306cbbc12f5a77753e269c76fe0e">◆ </a></span>InitFaceVaryingSurface()·<span·class="overload">[1/2]</span></h2> | 587 | <h2·class="memtitle"><span·class="permalink"><a·href="#a2236306cbbc12f5a77753e269c76fe0e">◆ </a></span>InitFaceVaryingSurface()·<span·class="overload">[1/2]</span></h2> |
588 | <div·class="memitem"> | 588 | <div·class="memitem"> |
Max diff block lines reached; 6742/18791 bytes (35.88%) of diff not shown. |
Offset 97, 15 lines modified | Offset 97, 15 lines modified | ||
97 | ··<div·class="headertitle"><div·class="title">SurfaceFactory::Options·Class·Reference</div></div> | 97 | ··<div·class="headertitle"><div·class="title">SurfaceFactory::Options·Class·Reference</div></div> |
98 | </div><!--header--> | 98 | </div><!--header--> |
99 | <div·class="contents"> | 99 | <div·class="contents"> |
100 | <p>Simple·set·of·options·assigned·to·instances·of·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>.·· | 100 | <p>Simple·set·of·options·assigned·to·instances·of·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>.·· |
101 | ·<a·href="a00945.html#details">More...</a></p> | 101 | ·<a·href="a00945.html#details">More...</a></p> |
102 | <p><code>#include·<<a·class="el"·href="a0068 | 102 | <p><code>#include·<<a·class="el"·href="a00686_source.html">surfaceFactory.h</a>></code></p> |
103 | <table·class="memberdecls"> | 103 | <table·class="memberdecls"> |
104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
105 | Public·Member·Functions</h2></td></tr> | 105 | Public·Member·Functions</h2></td></tr> |
106 | <tr·class="memitem:a28d39a844c3a37ab61d32ab7c6352f09"·id="r_a28d39a844c3a37ab61d32ab7c6352f09"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00945.html#a28d39a844c3a37ab61d32ab7c6352f09">Options</a>·()</td></tr> | 106 | <tr·class="memitem:a28d39a844c3a37ab61d32ab7c6352f09"·id="r_a28d39a844c3a37ab61d32ab7c6352f09"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00945.html#a28d39a844c3a37ab61d32ab7c6352f09">Options</a>·()</td></tr> |
107 | <tr·class="separator:a28d39a844c3a37ab61d32ab7c6352f09"><td·class="memSeparator"·colspan="2"> </td></tr> | 107 | <tr·class="separator:a28d39a844c3a37ab61d32ab7c6352f09"><td·class="memSeparator"·colspan="2"> </td></tr> |
108 | <tr·class="memitem:a2db0e8ff5143c3a69bf3772bac7bde78"·id="r_a2db0e8ff5143c3a69bf3772bac7bde78"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a00945.html">Options</a>·& </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00945.html#a2db0e8ff5143c3a69bf3772bac7bde78">SetDefaultFVarID</a>·(<a·class="el"·href="a00957.html#af98288d7b5176d7295be622a10c6c64e">FVarID</a>·id)</td></tr> | 108 | <tr·class="memitem:a2db0e8ff5143c3a69bf3772bac7bde78"·id="r_a2db0e8ff5143c3a69bf3772bac7bde78"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a00945.html">Options</a>·& </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00945.html#a2db0e8ff5143c3a69bf3772bac7bde78">SetDefaultFVarID</a>·(<a·class="el"·href="a00957.html#af98288d7b5176d7295be622a10c6c64e">FVarID</a>·id)</td></tr> |
109 | <tr·class="memdesc:a2db0e8ff5143c3a69bf3772bac7bde78"><td·class="mdescLeft"> </td><td·class="mdescRight">Assign·the·default·face-varying·ID·(none·assigned·by·default)··<br·/></td></tr> | 109 | <tr·class="memdesc:a2db0e8ff5143c3a69bf3772bac7bde78"><td·class="mdescLeft"> </td><td·class="mdescRight">Assign·the·default·face-varying·ID·(none·assigned·by·default)··<br·/></td></tr> |
Offset 139, 15 lines modified | Offset 139, 15 lines modified | ||
139 | <tr·class="separator:a595df0016de04902f5954b740c7baa2c"><td·class="memSeparator"·colspan="2"> </td></tr> | 139 | <tr·class="separator:a595df0016de04902f5954b740c7baa2c"><td·class="memSeparator"·colspan="2"> </td></tr> |
140 | </table> | 140 | </table> |
141 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 141 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
142 | <div·class="textblock"><p>Simple·set·of·options·assigned·to·instances·of·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>.·</p> | 142 | <div·class="textblock"><p>Simple·set·of·options·assigned·to·instances·of·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>.·</p> |
143 | <p>The·<a·class="el"·href="a00945.html"·title="Simple·set·of·options·assigned·to·instances·of·SurfaceFactory.">Options</a>·class·is·a·simple·container·specifying·options·for·the·construction·of·the·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·to·be·applied·during·its·lifetime.</p> | 143 | <p>The·<a·class="el"·href="a00945.html"·title="Simple·set·of·options·assigned·to·instances·of·SurfaceFactory.">Options</a>·class·is·a·simple·container·specifying·options·for·the·construction·of·the·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·to·be·applied·during·its·lifetime.</p> |
144 | <p>These·options·currently·include·choices·to·identify·a·default·face-varying·ID,·to·control·caching·behavior·(on·or·off,·use·of·external·vs·internal·cache),·and·to·control·the·accuracy·of·the·resulting·limit·surface·representations.·</p> | 144 | <p>These·options·currently·include·choices·to·identify·a·default·face-varying·ID,·to·control·caching·behavior·(on·or·off,·use·of·external·vs·internal·cache),·and·to·control·the·accuracy·of·the·resulting·limit·surface·representations.·</p> |
145 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0068 | 145 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00686_source.html#l00116">116</a>·of·file·<a·class="el"·href="a00686_source.html">surfaceFactory.h</a>.</p> |
146 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 146 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
147 | <a·id="a28d39a844c3a37ab61d32ab7c6352f09"·name="a28d39a844c3a37ab61d32ab7c6352f09"></a> | 147 | <a·id="a28d39a844c3a37ab61d32ab7c6352f09"·name="a28d39a844c3a37ab61d32ab7c6352f09"></a> |
148 | <h2·class="memtitle"><span·class="permalink"><a·href="#a28d39a844c3a37ab61d32ab7c6352f09">◆ </a></span>Options()</h2> | 148 | <h2·class="memtitle"><span·class="permalink"><a·href="#a28d39a844c3a37ab61d32ab7c6352f09">◆ </a></span>Options()</h2> |
149 | <div·class="memitem"> | 149 | <div·class="memitem"> |
150 | <div·class="memproto"> | 150 | <div·class="memproto"> |
151 | <table·class="mlabels"> | 151 | <table·class="mlabels"> |
Offset 164, 15 lines modified | Offset 164, 15 lines modified | ||
164 | ··</td> | 164 | ··</td> |
165 | ··<td·class="mlabels-right"> | 165 | ··<td·class="mlabels-right"> |
166 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 166 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
167 | ··</tr> | 167 | ··</tr> |
168 | </table> | 168 | </table> |
169 | </div><div·class="memdoc"> | 169 | </div><div·class="memdoc"> |
170 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0068 | 170 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00686_source.html#l00118">118</a>·of·file·<a·class="el"·href="a00686_source.html">surfaceFactory.h</a>.</p> |
171 | </div> | 171 | </div> |
172 | </div> | 172 | </div> |
173 | <h2·class="groupheader">Member·Function·Documentation</h2> | 173 | <h2·class="groupheader">Member·Function·Documentation</h2> |
174 | <a·id="a14e81c17e41ad591714664008331f41e"·name="a14e81c17e41ad591714664008331f41e"></a> | 174 | <a·id="a14e81c17e41ad591714664008331f41e"·name="a14e81c17e41ad591714664008331f41e"></a> |
175 | <h2·class="memtitle"><span·class="permalink"><a·href="#a14e81c17e41ad591714664008331f41e">◆ </a></span>EnableCaching()</h2> | 175 | <h2·class="memtitle"><span·class="permalink"><a·href="#a14e81c17e41ad591714664008331f41e">◆ </a></span>EnableCaching()</h2> |
Offset 195, 15 lines modified | Offset 195, 15 lines modified | ||
195 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 195 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
196 | ··</tr> | 196 | ··</tr> |
197 | </table> | 197 | </table> |
198 | </div><div·class="memdoc"> | 198 | </div><div·class="memdoc"> |
199 | <p>Enable·or·disable·caching·(default·is·true):·</p> | 199 | <p>Enable·or·disable·caching·(default·is·true):·</p> |
200 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0068 | 200 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00686_source.html#l00457">457</a>·of·file·<a·class="el"·href="a00686_source.html">surfaceFactory.h</a>.</p> |
201 | </div> | 201 | </div> |
202 | </div> | 202 | </div> |
203 | <a·id="a595df0016de04902f5954b740c7baa2c"·name="a595df0016de04902f5954b740c7baa2c"></a> | 203 | <a·id="a595df0016de04902f5954b740c7baa2c"·name="a595df0016de04902f5954b740c7baa2c"></a> |
204 | <h2·class="memtitle"><span·class="permalink"><a·href="#a595df0016de04902f5954b740c7baa2c">◆ </a></span>GetApproxLevelSharp()</h2> | 204 | <h2·class="memtitle"><span·class="permalink"><a·href="#a595df0016de04902f5954b740c7baa2c">◆ </a></span>GetApproxLevelSharp()</h2> |
205 | <div·class="memitem"> | 205 | <div·class="memitem"> |
Offset 224, 15 lines modified | Offset 224, 15 lines modified | ||
224 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 224 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
225 | ··</tr> | 225 | ··</tr> |
226 | </table> | 226 | </table> |
227 | </div><div·class="memdoc"> | 227 | </div><div·class="memdoc"> |
228 | <p>Return·maximum·refinement·level·for·sharp·features.·</p> | 228 | <p>Return·maximum·refinement·level·for·sharp·features.·</p> |
229 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0068 | 229 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00686_source.html#l00147">147</a>·of·file·<a·class="el"·href="a00686_source.html">surfaceFactory.h</a>.</p> |
230 | </div> | 230 | </div> |
231 | </div> | 231 | </div> |
232 | <a·id="a1ff965cb913fbc4716a5985c3d3c60e3"·name="a1ff965cb913fbc4716a5985c3d3c60e3"></a> | 232 | <a·id="a1ff965cb913fbc4716a5985c3d3c60e3"·name="a1ff965cb913fbc4716a5985c3d3c60e3"></a> |
233 | <h2·class="memtitle"><span·class="permalink"><a·href="#a1ff965cb913fbc4716a5985c3d3c60e3">◆ </a></span>GetApproxLevelSmooth()</h2> | 233 | <h2·class="memtitle"><span·class="permalink"><a·href="#a1ff965cb913fbc4716a5985c3d3c60e3">◆ </a></span>GetApproxLevelSmooth()</h2> |
234 | <div·class="memitem"> | 234 | <div·class="memitem"> |
Offset 253, 15 lines modified | Offset 253, 15 lines modified | ||
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>Return·maximum·refinement·level·for·smooth·features.·</p> | 257 | <p>Return·maximum·refinement·level·for·smooth·features.·</p> |
258 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0068 | 258 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00686_source.html#l00142">142</a>·of·file·<a·class="el"·href="a00686_source.html">surfaceFactory.h</a>.</p> |
259 | </div> | 259 | </div> |
260 | </div> | 260 | </div> |
261 | <a·id="a51ba21f3605015ed597a25303143c0b1"·name="a51ba21f3605015ed597a25303143c0b1"></a> | 261 | <a·id="a51ba21f3605015ed597a25303143c0b1"·name="a51ba21f3605015ed597a25303143c0b1"></a> |
262 | <h2·class="memtitle"><span·class="permalink"><a·href="#a51ba21f3605015ed597a25303143c0b1">◆ </a></span>GetDefaultFVarID()</h2> | 262 | <h2·class="memtitle"><span·class="permalink"><a·href="#a51ba21f3605015ed597a25303143c0b1">◆ </a></span>GetDefaultFVarID()</h2> |
263 | <div·class="memitem"> | 263 | <div·class="memitem"> |
Offset 282, 15 lines modified | Offset 282, 15 lines modified | ||
282 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 282 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
283 | ··</tr> | 283 | ··</tr> |
284 | </table> | 284 | </table> |
285 | </div><div·class="memdoc"> | 285 | </div><div·class="memdoc"> |
286 | <p>Return·the·default·face-varying·ID.·</p> | 286 | <p>Return·the·default·face-varying·ID.·</p> |
287 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0068 | 287 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00686_source.html#l00125">125</a>·of·file·<a·class="el"·href="a00686_source.html">surfaceFactory.h</a>.</p> |
288 | </div> | 288 | </div> |
289 | </div> | 289 | </div> |
290 | <a·id="acd0411b6d29a6acae3826da06d86bd5b"·name="acd0411b6d29a6acae3826da06d86bd5b"></a> | 290 | <a·id="acd0411b6d29a6acae3826da06d86bd5b"·name="acd0411b6d29a6acae3826da06d86bd5b"></a> |
291 | <h2·class="memtitle"><span·class="permalink"><a·href="#acd0411b6d29a6acae3826da06d86bd5b">◆ </a></span>GetExternalCache()</h2> | 291 | <h2·class="memtitle"><span·class="permalink"><a·href="#acd0411b6d29a6acae3826da06d86bd5b">◆ </a></span>GetExternalCache()</h2> |
292 | <div·class="memitem"> | 292 | <div·class="memitem"> |
Offset 311, 15 lines modified | Offset 311, 15 lines modified | ||
311 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 311 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
312 | ··</tr> | 312 | ··</tr> |
313 | </table> | 313 | </table> |
314 | </div><div·class="memdoc"> | 314 | </div><div·class="memdoc"> |
315 | <p>Return·any·assigned·external·cache.·</p> | 315 | <p>Return·any·assigned·external·cache.·</p> |
316 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0068 | 316 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00686_source.html#l00135">135</a>·of·file·<a·class="el"·href="a00686_source.html">surfaceFactory.h</a>.</p> |
317 | </div> | 317 | </div> |
318 | </div> | 318 | </div> |
319 | <a·id="a2c83835832d46536d097ae6ff32659db"·name="a2c83835832d46536d097ae6ff32659db"></a> | 319 | <a·id="a2c83835832d46536d097ae6ff32659db"·name="a2c83835832d46536d097ae6ff32659db"></a> |
320 | <h2·class="memtitle"><span·class="permalink"><a·href="#a2c83835832d46536d097ae6ff32659db">◆ </a></span>IsCachingEnabled()</h2> | 320 | <h2·class="memtitle"><span·class="permalink"><a·href="#a2c83835832d46536d097ae6ff32659db">◆ </a></span>IsCachingEnabled()</h2> |
321 | <div·class="memitem"> | 321 | <div·class="memitem"> |
Max diff block lines reached; 4613/13098 bytes (35.22%) of diff not shown. |
Offset 97, 15 lines modified | Offset 97, 15 lines modified | ||
97 | ··<div·class="headertitle"><div·class="title">SurfaceFactoryCache·Class·Reference</div></div> | 97 | ··<div·class="headertitle"><div·class="title">SurfaceFactoryCache·Class·Reference</div></div> |
98 | </div><!--header--> | 98 | </div><!--header--> |
99 | <div·class="contents"> | 99 | <div·class="contents"> |
100 | <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.·· | 100 | <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.·· |
101 | ·<a·href="a00949.html#details">More...</a></p> | 101 | ·<a·href="a00949.html#details">More...</a></p> |
102 | <p><code>#include·<<a·class="el"·href="a0068 | 102 | <p><code>#include·<<a·class="el"·href="a00680_source.html">surfaceFactoryCache.h</a>></code></p> |
103 | <div·class="dynheader"> | 103 | <div·class="dynheader"> |
104 | Inheritance·diagram·for·SurfaceFactoryCache:</div> | 104 | Inheritance·diagram·for·SurfaceFactoryCache:</div> |
105 | <div·class="dyncontent"> | 105 | <div·class="dyncontent"> |
106 | ·<div·class="center"> | 106 | ·<div·class="center"> |
107 | ··<img·src="a00949.png"·usemap="#SurfaceFactoryCache_map"·alt=""/> | 107 | ··<img·src="a00949.png"·usemap="#SurfaceFactoryCache_map"·alt=""/> |
108 | ··<map·id="SurfaceFactoryCache_map"·name="SurfaceFactoryCache_map"> | 108 | ··<map·id="SurfaceFactoryCache_map"·name="SurfaceFactoryCache_map"> |
109 | <area·href="a00953.html"·title="Template·for·declaring·thread-safe·subclasses·of·SurfaceFactoryCache."·alt="SurfaceFactoryCacheThreaded<·MUTEX_TYPE,·READ_LOCK_GUARD_TYPE,·WRITE_LOCK_GUARD_TYPE·>"·shape="rect"·coords="0,56,647,80"/> | 109 | <area·href="a00953.html"·title="Template·for·declaring·thread-safe·subclasses·of·SurfaceFactoryCache."·alt="SurfaceFactoryCacheThreaded<·MUTEX_TYPE,·READ_LOCK_GUARD_TYPE,·WRITE_LOCK_GUARD_TYPE·>"·shape="rect"·coords="0,56,647,80"/> |
Offset 124, 15 lines modified | Offset 124, 15 lines modified | ||
124 | <tr·class="separator:a736c32f5c64da3442ff1c74ef1fb9ff7"><td·class="memSeparator"·colspan="2"> </td></tr> | 124 | <tr·class="separator:a736c32f5c64da3442ff1c74ef1fb9ff7"><td·class="memSeparator"·colspan="2"> </td></tr> |
125 | </table> | 125 | </table> |
126 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 126 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
127 | <div·class="textblock"><p>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> | 127 | <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> |
128 | <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> | 128 | <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> |
129 | <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·–·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> | 129 | <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·–·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> |
130 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0068 | 130 | <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> |
131 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 131 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
132 | <a·id="a3f63565868cb0b0871e2db37939ec0e2"·name="a3f63565868cb0b0871e2db37939ec0e2"></a> | 132 | <a·id="a3f63565868cb0b0871e2db37939ec0e2"·name="a3f63565868cb0b0871e2db37939ec0e2"></a> |
133 | <h2·class="memtitle"><span·class="permalink"><a·href="#a3f63565868cb0b0871e2db37939ec0e2">◆ </a></span>SurfaceFactoryCache()·<span·class="overload">[1/2]</span></h2> | 133 | <h2·class="memtitle"><span·class="permalink"><a·href="#a3f63565868cb0b0871e2db37939ec0e2">◆ </a></span>SurfaceFactoryCache()·<span·class="overload">[1/2]</span></h2> |
134 | <div·class="memitem"> | 134 | <div·class="memitem"> |
135 | <div·class="memproto"> | 135 | <div·class="memproto"> |
136 | ······<table·class="memname"> | 136 | ······<table·class="memname"> |
Offset 222, 15 lines modified | Offset 222, 15 lines modified | ||
222 | ··</tr> | 222 | ··</tr> |
223 | </table> | 223 | </table> |
224 | </div><div·class="memdoc"> | 224 | </div><div·class="memdoc"> |
225 | </div> | 225 | </div> |
226 | </div> | 226 | </div> |
227 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 227 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
228 | <li>opensubdiv/bfr/<a·class="el"·href="a0068 | 228 | <li>opensubdiv/bfr/<a·class="el"·href="a00680_source.html">surfaceFactoryCache.h</a></li> |
229 | </ul> | 229 | </ul> |
230 | </div><!--·contents·--> | 230 | </div><!--·contents·--> |
231 | </div><!--·doc-content·--> | 231 | </div><!--·doc-content·--> |
232 | <!--·start·footer·part·--> | 232 | <!--·start·footer·part·--> |
233 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 233 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
234 | ··<ul> | 234 | ··<ul> |
235 | ····<li·class="navelem"><a·class="el"·href="a00905.html">OpenSubdiv</a></li><li·class="navelem"><a·class="el"·href="a00906.html">OPENSUBDIV_VERSION</a></li><li·class="navelem"><a·class="el"·href="a00907.html">Bfr</a></li><li·class="navelem"><a·class="el"·href="a00949.html">SurfaceFactoryCache</a></li> | 235 | ····<li·class="navelem"><a·class="el"·href="a00905.html">OpenSubdiv</a></li><li·class="navelem"><a·class="el"·href="a00906.html">OPENSUBDIV_VERSION</a></li><li·class="navelem"><a·class="el"·href="a00907.html">Bfr</a></li><li·class="navelem"><a·class="el"·href="a00949.html">SurfaceFactoryCache</a></li> |
Offset 97, 15 lines modified | Offset 97, 15 lines modified | ||
97 | ··<div·class="headertitle"><div·class="title">SurfaceFactoryCacheThreaded<·MUTEX_TYPE,·READ_LOCK_GUARD_TYPE,·WRITE_LOCK_GUARD_TYPE·>·Class·Template·Reference</div></div> | 97 | ··<div·class="headertitle"><div·class="title">SurfaceFactoryCacheThreaded<·MUTEX_TYPE,·READ_LOCK_GUARD_TYPE,·WRITE_LOCK_GUARD_TYPE·>·Class·Template·Reference</div></div> |
98 | </div><!--header--> | 98 | </div><!--header--> |
99 | <div·class="contents"> | 99 | <div·class="contents"> |
100 | <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>.·· | 100 | <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>.·· |
101 | ·<a·href="a00953.html#details">More...</a></p> | 101 | ·<a·href="a00953.html#details">More...</a></p> |
102 | <p><code>#include·<<a·class="el"·href="a0068 | 102 | <p><code>#include·<<a·class="el"·href="a00680_source.html">surfaceFactoryCache.h</a>></code></p> |
103 | <div·class="dynheader"> | 103 | <div·class="dynheader"> |
104 | Inheritance·diagram·for·SurfaceFactoryCacheThreaded<·MUTEX_TYPE,·READ_LOCK_GUARD_TYPE,·WRITE_LOCK_GUARD_TYPE·>:</div> | 104 | Inheritance·diagram·for·SurfaceFactoryCacheThreaded<·MUTEX_TYPE,·READ_LOCK_GUARD_TYPE,·WRITE_LOCK_GUARD_TYPE·>:</div> |
105 | <div·class="dyncontent"> | 105 | <div·class="dyncontent"> |
106 | ·<div·class="center"> | 106 | ·<div·class="center"> |
107 | ··<img·src="a00953.png"·usemap="#SurfaceFactoryCacheThreaded_3C_20MUTEX_5FTYPE_2C_20READ_5FLOCK_5FGUARD_5FTYPE_2C_20WRITE_5FLOCK_5FGUARD_5FTYPE_20_3E_map"·alt=""/> | 107 | ··<img·src="a00953.png"·usemap="#SurfaceFactoryCacheThreaded_3C_20MUTEX_5FTYPE_2C_20READ_5FLOCK_5FGUARD_5FTYPE_2C_20WRITE_5FLOCK_5FGUARD_5FTYPE_20_3E_map"·alt=""/> |
108 | ··<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"> | 108 | ··<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"> |
109 | <area·href="a00949.html"·title="Container·used·internally·by·SurfaceFactory·to·store·reusable·information."·alt="SurfaceFactoryCache"·shape="rect"·coords="0,0,647,24"/> | 109 | <area·href="a00949.html"·title="Container·used·internally·by·SurfaceFactory·to·store·reusable·information."·alt="SurfaceFactoryCache"·shape="rect"·coords="0,0,647,24"/> |
Offset 137, 15 lines modified | Offset 137, 15 lines modified | ||
137 | ····<tr><td·class="paramname">MUTEX_TYPE</td><td>A·mutex·type·with·supported·lock·guards·</td></tr> | 137 | ····<tr><td·class="paramname">MUTEX_TYPE</td><td>A·mutex·type·with·supported·lock·guards·</td></tr> |
138 | ····<tr><td·class="paramname">READ_LOCK_GUARD_TYPE</td><td>A·scoped·lock·guard·allowing·potentially·shared·access·for·read·operations.·</td></tr> | 138 | ····<tr><td·class="paramname">READ_LOCK_GUARD_TYPE</td><td>A·scoped·lock·guard·allowing·potentially·shared·access·for·read·operations.·</td></tr> |
139 | ····<tr><td·class="paramname">WRITE_LOCK_GUARD_TYPE</td><td>A·scoped·lock·guard·allowing·exclusive·access·for·write·operations.·</td></tr> | 139 | ····<tr><td·class="paramname">WRITE_LOCK_GUARD_TYPE</td><td>A·scoped·lock·guard·allowing·exclusive·access·for·write·operations.·</td></tr> |
140 | ··</table> | 140 | ··</table> |
141 | ··</dd> | 141 | ··</dd> |
142 | </dl> | 142 | </dl> |
143 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0068 | 143 | <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> |
144 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 144 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
145 | <a·id="a9e84b6f045809c700d7dc53c3a350afe"·name="a9e84b6f045809c700d7dc53c3a350afe"></a> | 145 | <a·id="a9e84b6f045809c700d7dc53c3a350afe"·name="a9e84b6f045809c700d7dc53c3a350afe"></a> |
146 | <h2·class="memtitle"><span·class="permalink"><a·href="#a9e84b6f045809c700d7dc53c3a350afe">◆ </a></span>SurfaceFactoryCacheThreaded()</h2> | 146 | <h2·class="memtitle"><span·class="permalink"><a·href="#a9e84b6f045809c700d7dc53c3a350afe">◆ </a></span>SurfaceFactoryCacheThreaded()</h2> |
147 | <div·class="memitem"> | 147 | <div·class="memitem"> |
148 | <div·class="memproto"> | 148 | <div·class="memproto"> |
149 | <div·class="memtemplate"> | 149 | <div·class="memtemplate"> |
Offset 164, 15 lines modified | Offset 164, 15 lines modified | ||
164 | ··</td> | 164 | ··</td> |
165 | ··<td·class="mlabels-right"> | 165 | ··<td·class="mlabels-right"> |
166 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 166 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
167 | ··</tr> | 167 | ··</tr> |
168 | </table> | 168 | </table> |
169 | </div><div·class="memdoc"> | 169 | </div><div·class="memdoc"> |
170 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0068 | 170 | <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> |
171 | </div> | 171 | </div> |
172 | </div> | 172 | </div> |
173 | <a·id="ac74eea23eda9dbc078678ee5d440c7b8"·name="ac74eea23eda9dbc078678ee5d440c7b8"></a> | 173 | <a·id="ac74eea23eda9dbc078678ee5d440c7b8"·name="ac74eea23eda9dbc078678ee5d440c7b8"></a> |
174 | <h2·class="memtitle"><span·class="permalink"><a·href="#ac74eea23eda9dbc078678ee5d440c7b8">◆ </a></span>~SurfaceFactoryCacheThreaded()</h2> | 174 | <h2·class="memtitle"><span·class="permalink"><a·href="#ac74eea23eda9dbc078678ee5d440c7b8">◆ </a></span>~SurfaceFactoryCacheThreaded()</h2> |
175 | <div·class="memitem"> | 175 | <div·class="memitem"> |
Offset 196, 15 lines modified | Offset 196, 15 lines modified | ||
196 | ··</tr> | 196 | ··</tr> |
197 | </table> | 197 | </table> |
198 | </div><div·class="memdoc"> | 198 | </div><div·class="memdoc"> |
199 | </div> | 199 | </div> |
200 | </div> | 200 | </div> |
201 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 201 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
202 | <li>opensubdiv/bfr/<a·class="el"·href="a0068 | 202 | <li>opensubdiv/bfr/<a·class="el"·href="a00680_source.html">surfaceFactoryCache.h</a></li> |
203 | </ul> | 203 | </ul> |
204 | </div><!--·contents·--> | 204 | </div><!--·contents·--> |
205 | </div><!--·doc-content·--> | 205 | </div><!--·doc-content·--> |
206 | <!--·start·footer·part·--> | 206 | <!--·start·footer·part·--> |
207 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 207 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
208 | ··<ul> | 208 | ··<ul> |
209 | ····<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> | 209 | ····<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> |
Offset 97, 15 lines modified | Offset 97, 15 lines modified | ||
97 | ··<div·class="headertitle"><div·class="title">SurfaceFactoryMeshAdapter·Class·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div> | 97 | ··<div·class="headertitle"><div·class="title">SurfaceFactoryMeshAdapter·Class·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div> |
98 | </div><!--header--> | 98 | </div><!--header--> |
99 | <div·class="contents"> | 99 | <div·class="contents"> |
100 | <p>Abstract·interface·adapting·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·to·a·connected·mesh·representation.·· | 100 | <p>Abstract·interface·adapting·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·to·a·connected·mesh·representation.·· |
101 | ·<a·href="a00957.html#details">More...</a></p> | 101 | ·<a·href="a00957.html#details">More...</a></p> |
102 | <p><code>#include·<<a·class="el"·href="a0068 | 102 | <p><code>#include·<<a·class="el"·href="a00683_source.html">surfaceFactoryMeshAdapter.h</a>></code></p> |
103 | <div·class="dynheader"> | 103 | <div·class="dynheader"> |
104 | Inheritance·diagram·for·SurfaceFactoryMeshAdapter:</div> | 104 | Inheritance·diagram·for·SurfaceFactoryMeshAdapter:</div> |
105 | <div·class="dyncontent"> | 105 | <div·class="dyncontent"> |
106 | ·<div·class="center"> | 106 | ·<div·class="center"> |
107 | ··<img·src="a00957.png"·usemap="#SurfaceFactoryMeshAdapter_map"·alt=""/> | 107 | ··<img·src="a00957.png"·usemap="#SurfaceFactoryMeshAdapter_map"·alt=""/> |
108 | ··<map·id="SurfaceFactoryMeshAdapter_map"·name="SurfaceFactoryMeshAdapter_map"> | 108 | ··<map·id="SurfaceFactoryMeshAdapter_map"·name="SurfaceFactoryMeshAdapter_map"> |
109 | <area·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh."·alt="SurfaceFactory"·shape="rect"·coords="0,56,249,80"/> | 109 | <area·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh."·alt="SurfaceFactory"·shape="rect"·coords="0,56,249,80"/> |
Offset 171, 15 lines modified | Offset 171, 15 lines modified | ||
171 | <tr·class="separator:a72634fd790cc4d1f52801aa5399328b5"><td·class="memSeparator"·colspan="2"> </td></tr> | 171 | <tr·class="separator:a72634fd790cc4d1f52801aa5399328b5"><td·class="memSeparator"·colspan="2"> </td></tr> |
172 | <tr·class="memitem:aa7e32ce7ba896c5ddfe6521ad0022ce2"·id="r_aa7e32ce7ba896c5ddfe6521ad0022ce2"><td·class="memItemLeft"·align="right"·valign="top">virtual·bool </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00957.html#aa7e32ce7ba896c5ddfe6521ad0022ce2">getFaceNeighborhoodFVarValueIndicesIfRegular</a>·(<a·class="el"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·faceIndex,·<a·class="el"·href="a00957.html#af98288d7b5176d7295be622a10c6c64e">FVarID</a>·fvarID,·<a·class="el"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·fvarValueIndices[])·const</td></tr> | 172 | <tr·class="memitem:aa7e32ce7ba896c5ddfe6521ad0022ce2"·id="r_aa7e32ce7ba896c5ddfe6521ad0022ce2"><td·class="memItemLeft"·align="right"·valign="top">virtual·bool </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00957.html#aa7e32ce7ba896c5ddfe6521ad0022ce2">getFaceNeighborhoodFVarValueIndicesIfRegular</a>·(<a·class="el"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·faceIndex,·<a·class="el"·href="a00957.html#af98288d7b5176d7295be622a10c6c64e">FVarID</a>·fvarID,·<a·class="el"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·fvarValueIndices[])·const</td></tr> |
173 | <tr·class="separator:aa7e32ce7ba896c5ddfe6521ad0022ce2"><td·class="memSeparator"·colspan="2"> </td></tr> | 173 | <tr·class="separator:aa7e32ce7ba896c5ddfe6521ad0022ce2"><td·class="memSeparator"·colspan="2"> </td></tr> |
174 | </table> | 174 | </table> |
175 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 175 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
176 | <div·class="textblock"><p>Abstract·interface·adapting·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·to·a·connected·mesh·representation.·</p> | 176 | <div·class="textblock"><p>Abstract·interface·adapting·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·to·a·connected·mesh·representation.·</p> |
177 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0068 | 177 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00683_source.html#l00065">65</a>·of·file·<a·class="el"·href="a00683_source.html">surfaceFactoryMeshAdapter.h</a>.</p> |
178 | </div><h2·class="groupheader">Member·Typedef·Documentation</h2> | 178 | </div><h2·class="groupheader">Member·Typedef·Documentation</h2> |
179 | <a·id="af98288d7b5176d7295be622a10c6c64e"·name="af98288d7b5176d7295be622a10c6c64e"></a> | 179 | <a·id="af98288d7b5176d7295be622a10c6c64e"·name="af98288d7b5176d7295be622a10c6c64e"></a> |
180 | <h2·class="memtitle"><span·class="permalink"><a·href="#af98288d7b5176d7295be622a10c6c64e">◆ </a></span>FVarID</h2> | 180 | <h2·class="memtitle"><span·class="permalink"><a·href="#af98288d7b5176d7295be622a10c6c64e">◆ </a></span>FVarID</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 189, 15 lines modified | Offset 189, 15 lines modified | ||
189 | ······</table> | 189 | ······</table> |
190 | </div><div·class="memdoc"> | 190 | </div><div·class="memdoc"> |
191 | <p>Type·used·to·identify·and·specify·face-varying·primvars.·</p> | 191 | <p>Type·used·to·identify·and·specify·face-varying·primvars.·</p> |
192 | <p>A·face-varying·ID·is·used·to·specify·face-varying·primvars·for·evaluation·so·that·they·can·be·identified·by·the·subclass·for·the·mesh.·It·can·be·assigned·as·either·a·positive·integer·ID·or·pointer,·with·the·subclass·determining·its·interpretation.</p> | 192 | <p>A·face-varying·ID·is·used·to·specify·face-varying·primvars·for·evaluation·so·that·they·can·be·identified·by·the·subclass·for·the·mesh.·It·can·be·assigned·as·either·a·positive·integer·ID·or·pointer,·with·the·subclass·determining·its·interpretation.</p> |
193 | <p>Often·only·one·face-varying·primvar·is·of·interest,·so·a·default·can·be·assigned·to·the·factory·to·avoid·repeated·specification.·</p> | 193 | <p>Often·only·one·face-varying·primvar·is·of·interest,·so·a·default·can·be·assigned·to·the·factory·to·avoid·repeated·specification.·</p> |
194 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0068 | 194 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00683_source.html#l00080">80</a>·of·file·<a·class="el"·href="a00683_source.html">surfaceFactoryMeshAdapter.h</a>.</p> |
195 | </div> | 195 | </div> |
196 | </div> | 196 | </div> |
197 | <a·id="a4a0e50e01fef3e431767a928c2631cab"·name="a4a0e50e01fef3e431767a928c2631cab"></a> | 197 | <a·id="a4a0e50e01fef3e431767a928c2631cab"·name="a4a0e50e01fef3e431767a928c2631cab"></a> |
198 | <h2·class="memtitle"><span·class="permalink"><a·href="#a4a0e50e01fef3e431767a928c2631cab">◆ </a></span>Index</h2> | 198 | <h2·class="memtitle"><span·class="permalink"><a·href="#a4a0e50e01fef3e431767a928c2631cab">◆ </a></span>Index</h2> |
199 | <div·class="memitem"> | 199 | <div·class="memitem"> |
Offset 207, 15 lines modified | Offset 207, 15 lines modified | ||
207 | ··········<td·class="memname">typedef·int·<a·class="el"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a></td> | 207 | ··········<td·class="memname">typedef·int·<a·class="el"·href="a00957.html#a4a0e50e01fef3e431767a928c2631cab">Index</a></td> |
208 | ········</tr> | 208 | ········</tr> |
209 | ······</table> | 209 | ······</table> |
210 | </div><div·class="memdoc"> | 210 | </div><div·class="memdoc"> |
211 | <p>Integer·type·representing·a·mesh·index.·</p> | 211 | <p>Integer·type·representing·a·mesh·index.·</p> |
212 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0068 | 212 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00683_source.html#l00068">68</a>·of·file·<a·class="el"·href="a00683_source.html">surfaceFactoryMeshAdapter.h</a>.</p> |
213 | </div> | 213 | </div> |
214 | </div> | 214 | </div> |
215 | <h2·class="groupheader">Member·Function·Documentation</h2> | 215 | <h2·class="groupheader">Member·Function·Documentation</h2> |
216 | <a·id="aba5c13d35cdaae43f2a1b4798868747a"·name="aba5c13d35cdaae43f2a1b4798868747a"></a> | 216 | <a·id="aba5c13d35cdaae43f2a1b4798868747a"·name="aba5c13d35cdaae43f2a1b4798868747a"></a> |
217 | <h2·class="memtitle"><span·class="permalink"><a·href="#aba5c13d35cdaae43f2a1b4798868747a">◆ </a></span>getFaceFVarValueIndices()</h2> | 217 | <h2·class="memtitle"><span·class="permalink"><a·href="#aba5c13d35cdaae43f2a1b4798868747a">◆ </a></span>getFaceFVarValueIndices()</h2> |
Offset 296, 15 lines modified | Offset 296, 15 lines modified | ||
296 | ··</td> | 296 | ··</td> |
297 | ··<td·class="mlabels-right"> | 297 | ··<td·class="mlabels-right"> |
298 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span><span·class="mlabel">virtual</span></span>··</td> | 298 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span><span·class="mlabel">virtual</span></span>··</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="a0068 | 302 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00683_source.html#l00224">224</a>·of·file·<a·class="el"·href="a00683_source.html">surfaceFactoryMeshAdapter.h</a>.</p> |
303 | </div> | 303 | </div> |
304 | </div> | 304 | </div> |
305 | <a·id="a72634fd790cc4d1f52801aa5399328b5"·name="a72634fd790cc4d1f52801aa5399328b5"></a> | 305 | <a·id="a72634fd790cc4d1f52801aa5399328b5"·name="a72634fd790cc4d1f52801aa5399328b5"></a> |
306 | <h2·class="memtitle"><span·class="permalink"><a·href="#a72634fd790cc4d1f52801aa5399328b5">◆ </a></span>getFaceNeighborhoodVertexIndicesIfRegular()</h2> | 306 | <h2·class="memtitle"><span·class="permalink"><a·href="#a72634fd790cc4d1f52801aa5399328b5">◆ </a></span>getFaceNeighborhoodVertexIndicesIfRegular()</h2> |
307 | <div·class="memitem"> | 307 | <div·class="memitem"> |
Offset 334, 15 lines modified | Offset 334, 15 lines modified | ||
334 | ··</td> | 334 | ··</td> |
335 | ··<td·class="mlabels-right"> | 335 | ··<td·class="mlabels-right"> |
336 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span><span·class="mlabel">virtual</span></span>··</td> | 336 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span><span·class="mlabel">virtual</span></span>··</td> |
337 | ··</tr> | 337 | ··</tr> |
338 | </table> | 338 | </table> |
339 | </div><div·class="memdoc"> | 339 | </div><div·class="memdoc"> |
340 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0068 | 340 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00683_source.html#l00218">218</a>·of·file·<a·class="el"·href="a00683_source.html">surfaceFactoryMeshAdapter.h</a>.</p> |
341 | </div> | 341 | </div> |
342 | </div> | 342 | </div> |
343 | <a·id="a46acc55c125fe8d843fd2b74c582abec"·name="a46acc55c125fe8d843fd2b74c582abec"></a> | 343 | <a·id="a46acc55c125fe8d843fd2b74c582abec"·name="a46acc55c125fe8d843fd2b74c582abec"></a> |
344 | <h2·class="memtitle"><span·class="permalink"><a·href="#a46acc55c125fe8d843fd2b74c582abec">◆ </a></span>getFaceSize()</h2> | 344 | <h2·class="memtitle"><span·class="permalink"><a·href="#a46acc55c125fe8d843fd2b74c582abec">◆ </a></span>getFaceSize()</h2> |
345 | <div·class="memitem"> | 345 | <div·class="memitem"> |
Offset 571, 15 lines modified | Offset 571, 15 lines modified | ||
571 | </div><div·class="memdoc"> | 571 | </div><div·class="memdoc"> |
572 | <p>Describe·the·topology·of·incident·faces·around·a·face-vertex.·</p> | 572 | <p>Describe·the·topology·of·incident·faces·around·a·face-vertex.·</p> |
573 | </div> | 573 | </div> |
574 | </div> | 574 | </div> |
575 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 575 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
576 | <li>opensubdiv/bfr/<a·class="el"·href="a0068 | 576 | <li>opensubdiv/bfr/<a·class="el"·href="a00683_source.html">surfaceFactoryMeshAdapter.h</a></li> |
577 | </ul> | 577 | </ul> |
578 | </div><!--·contents·--> | 578 | </div><!--·contents·--> |
579 | </div><!--·doc-content·--> | 579 | </div><!--·doc-content·--> |
580 | <!--·start·footer·part·--> | 580 | <!--·start·footer·part·--> |
581 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 581 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
582 | ··<ul> | 582 | ··<ul> |
583 | ····<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="a00957.html">SurfaceFactoryMeshAdapter</a></li> | 583 | ····<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="a00957.html">SurfaceFactoryMeshAdapter</a></li> |
Offset 99, 15 lines modified | Offset 99, 15 lines modified | ||
99 | ··<div·class="headertitle"><div·class="title">PatchTableFactory·Class·Reference</div></div> | 99 | ··<div·class="headertitle"><div·class="title">PatchTableFactory·Class·Reference</div></div> |
100 | </div><!--header--> | 100 | </div><!--header--> |
101 | <div·class="contents"> | 101 | <div·class="contents"> |
102 | <p>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>.·· | 102 | <p>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>.·· |
103 | ·<a·href="a01009.html#details">More...</a></p> | 103 | ·<a·href="a01009.html#details">More...</a></p> |
104 | <p><code>#include·<<a·class="el"·href="a0072 | 104 | <p><code>#include·<<a·class="el"·href="a00725_source.html">patchTableFactory.h</a>></code></p> |
105 | <table·class="memberdecls"> | 105 | <table·class="memberdecls"> |
106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
107 | Classes</h2></td></tr> | 107 | Classes</h2></td></tr> |
108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01013.html">Options</a></td></tr> | 108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01013.html">Options</a></td></tr> |
109 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Public·options·for·the·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">PatchTable</a>·factory.··<a·href="a01013.html#details">More...</a><br·/></td></tr> | 109 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Public·options·for·the·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">PatchTable</a>·factory.··<a·href="a01013.html#details">More...</a><br·/></td></tr> |
110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
111 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01017.html">PatchFaceTag</a></td></tr> | 111 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01017.html">PatchFaceTag</a></td></tr> |
Offset 124, 29 lines modified | Offset 124, 29 lines modified | ||
124 | <tr·class="memitem:a6ad8881e91652a8fe4d68d18ac16a435"·id="r_a6ad8881e91652a8fe4d68d18ac16a435"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a00993.html">PatchTable</a>·* </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01009.html#a6ad8881e91652a8fe4d68d18ac16a435">Create</a>·(<a·class="el"·href="a01113.html">TopologyRefiner</a>·const·&refiner,·<a·class="el"·href="a01013.html">Options</a>·options=<a·class="el"·href="a01013.html">Options</a>(),·<a·class="el"·href="a00908.html#a35788aa710e3f7e277e5f0b008d76d61">ConstIndexArray</a>·selectedFaces=<a·class="el"·href="a00908.html#a35788aa710e3f7e277e5f0b008d76d61">ConstIndexArray</a>())</td></tr> | 124 | <tr·class="memitem:a6ad8881e91652a8fe4d68d18ac16a435"·id="r_a6ad8881e91652a8fe4d68d18ac16a435"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a00993.html">PatchTable</a>·* </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01009.html#a6ad8881e91652a8fe4d68d18ac16a435">Create</a>·(<a·class="el"·href="a01113.html">TopologyRefiner</a>·const·&refiner,·<a·class="el"·href="a01013.html">Options</a>·options=<a·class="el"·href="a01013.html">Options</a>(),·<a·class="el"·href="a00908.html#a35788aa710e3f7e277e5f0b008d76d61">ConstIndexArray</a>·selectedFaces=<a·class="el"·href="a00908.html#a35788aa710e3f7e277e5f0b008d76d61">ConstIndexArray</a>())</td></tr> |
125 | <tr·class="memdesc:a6ad8881e91652a8fe4d68d18ac16a435"><td·class="mdescLeft"> </td><td·class="mdescRight">Instantiates·a·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">PatchTable</a>·from·a·client-provided·<a·class="el"·href="a01113.html"·title="Stores·topology·data·for·a·specified·set·of·refinement·options.">TopologyRefiner</a>.··<br·/></td></tr> | 125 | <tr·class="memdesc:a6ad8881e91652a8fe4d68d18ac16a435"><td·class="mdescLeft"> </td><td·class="mdescRight">Instantiates·a·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">PatchTable</a>·from·a·client-provided·<a·class="el"·href="a01113.html"·title="Stores·topology·data·for·a·specified·set·of·refinement·options.">TopologyRefiner</a>.··<br·/></td></tr> |
126 | <tr·class="separator:a6ad8881e91652a8fe4d68d18ac16a435"><td·class="memSeparator"·colspan="2"> </td></tr> | 126 | <tr·class="separator:a6ad8881e91652a8fe4d68d18ac16a435"><td·class="memSeparator"·colspan="2"> </td></tr> |
127 | </table> | 127 | </table> |
128 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 128 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
129 | <div·class="textblock"><p>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>.·</p> | 129 | <div·class="textblock"><p>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>.·</p> |
130 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0072 | 130 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00725_source.html#l00040">40</a>·of·file·<a·class="el"·href="a00725_source.html">patchTableFactory.h</a>.</p> |
131 | </div><h2·class="groupheader">Member·Typedef·Documentation</h2> | 131 | </div><h2·class="groupheader">Member·Typedef·Documentation</h2> |
132 | <a·id="a37218ea13f75caee4c93cc4e94d26060"·name="a37218ea13f75caee4c93cc4e94d26060"></a> | 132 | <a·id="a37218ea13f75caee4c93cc4e94d26060"·name="a37218ea13f75caee4c93cc4e94d26060"></a> |
133 | <h2·class="memtitle"><span·class="permalink"><a·href="#a37218ea13f75caee4c93cc4e94d26060">◆ </a></span>PatchTagVector</h2> | 133 | <h2·class="memtitle"><span·class="permalink"><a·href="#a37218ea13f75caee4c93cc4e94d26060">◆ </a></span>PatchTagVector</h2> |
134 | <div·class="memitem"> | 134 | <div·class="memitem"> |
135 | <div·class="memproto"> | 135 | <div·class="memproto"> |
136 | ······<table·class="memname"> | 136 | ······<table·class="memname"> |
137 | ········<tr> | 137 | ········<tr> |
138 | ··········<td·class="memname">typedef·std::vector<<a·class="el"·href="a01017.html">PatchFaceTag</a>>·<a·class="el"·href="a01009.html#a37218ea13f75caee4c93cc4e94d26060">PatchTagVector</a></td> | 138 | ··········<td·class="memname">typedef·std::vector<<a·class="el"·href="a01017.html">PatchFaceTag</a>>·<a·class="el"·href="a01009.html#a37218ea13f75caee4c93cc4e94d26060">PatchTagVector</a></td> |
139 | ········</tr> | 139 | ········</tr> |
140 | ······</table> | 140 | ······</table> |
141 | </div><div·class="memdoc"> | 141 | </div><div·class="memdoc"> |
142 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0072 | 142 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00725_source.html#l00208">208</a>·of·file·<a·class="el"·href="a00725_source.html">patchTableFactory.h</a>.</p> |
143 | </div> | 143 | </div> |
144 | </div> | 144 | </div> |
145 | <h2·class="groupheader">Member·Function·Documentation</h2> | 145 | <h2·class="groupheader">Member·Function·Documentation</h2> |
146 | <a·id="a6ad8881e91652a8fe4d68d18ac16a435"·name="a6ad8881e91652a8fe4d68d18ac16a435"></a> | 146 | <a·id="a6ad8881e91652a8fe4d68d18ac16a435"·name="a6ad8881e91652a8fe4d68d18ac16a435"></a> |
147 | <h2·class="memtitle"><span·class="permalink"><a·href="#a6ad8881e91652a8fe4d68d18ac16a435">◆ </a></span>Create()</h2> | 147 | <h2·class="memtitle"><span·class="permalink"><a·href="#a6ad8881e91652a8fe4d68d18ac16a435">◆ </a></span>Create()</h2> |
Offset 200, 15 lines modified | Offset 200, 15 lines modified | ||
200 | ··</dd> | 200 | ··</dd> |
201 | </dl> | 201 | </dl> |
202 | <dl·class="section·return"><dt>Returns</dt><dd>A·new·instance·of·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">PatchTable</a>·</dd></dl> | 202 | <dl·class="section·return"><dt>Returns</dt><dd>A·new·instance·of·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">PatchTable</a>·</dd></dl> |
203 | </div> | 203 | </div> |
204 | </div> | 204 | </div> |
205 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 205 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
206 | <li>opensubdiv/far/<a·class="el"·href="a0072 | 206 | <li>opensubdiv/far/<a·class="el"·href="a00725_source.html">patchTableFactory.h</a></li> |
207 | </ul> | 207 | </ul> |
208 | </div><!--·contents·--> | 208 | </div><!--·contents·--> |
209 | </div><!--·doc-content·--> | 209 | </div><!--·doc-content·--> |
210 | <!--·start·footer·part·--> | 210 | <!--·start·footer·part·--> |
211 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 211 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
212 | ··<ul> | 212 | ··<ul> |
213 | ····<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="a01009.html">PatchTableFactory</a></li> | 213 | ····<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="a01009.html">PatchTableFactory</a></li> |
Offset 99, 15 lines modified | Offset 99, 15 lines modified | ||
99 | ··<div·class="headertitle"><div·class="title">PatchTableFactory::Options·Struct·Reference</div></div> | 99 | ··<div·class="headertitle"><div·class="title">PatchTableFactory::Options·Struct·Reference</div></div> |
100 | </div><!--header--> | 100 | </div><!--header--> |
101 | <div·class="contents"> | 101 | <div·class="contents"> |
102 | <p>Public·options·for·the·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">PatchTable</a>·factory.·· | 102 | <p>Public·options·for·the·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">PatchTable</a>·factory.·· |
103 | ·<a·href="a01013.html#details">More...</a></p> | 103 | ·<a·href="a01013.html#details">More...</a></p> |
104 | <p><code>#include·<<a·class="el"·href="a0072 | 104 | <p><code>#include·<<a·class="el"·href="a00725_source.html">patchTableFactory.h</a>></code></p> |
105 | <table·class="memberdecls"> | 105 | <table·class="memberdecls"> |
106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
107 | Public·Types</h2></td></tr> | 107 | Public·Types</h2></td></tr> |
108 | <tr·class="memitem:aebc767d646011ab7d5bc7d6d49adf535"·id="r_aebc767d646011ab7d5bc7d6d49adf535"><td·class="memItemLeft"·align="right"·valign="top">enum· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535">EndCapType</a>·{·<br·/> | 108 | <tr·class="memitem:aebc767d646011ab7d5bc7d6d49adf535"·id="r_aebc767d646011ab7d5bc7d6d49adf535"><td·class="memItemLeft"·align="right"·valign="top">enum· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535">EndCapType</a>·{·<br·/> |
109 |   <a·class="el"·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535a39a0bc0d1c407b2b849c2bfaba366b22">ENDCAP_NONE</a>·=·0 | 109 |   <a·class="el"·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535a39a0bc0d1c407b2b849c2bfaba366b22">ENDCAP_NONE</a>·=·0 |
110 | ,·<br·/> | 110 | ,·<br·/> |
111 |   <a·class="el"·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535a90f0e9a2c992889cefdf1db954f9d98f">ENDCAP_BILINEAR_BASIS</a> | 111 |   <a·class="el"·href="a01013.html#aebc767d646011ab7d5bc7d6d49adf535a90f0e9a2c992889cefdf1db954f9d98f">ENDCAP_BILINEAR_BASIS</a> |
Offset 208, 15 lines modified | Offset 208, 15 lines modified | ||
208 | <tr·class="memitem:a4c1ba8119a16ea0682a870ee7a8282a5"·id="r_a4c1ba8119a16ea0682a870ee7a8282a5"><td·class="memItemLeft"·align="right"·valign="top">int·const··* </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01013.html#a4c1ba8119a16ea0682a870ee7a8282a5">fvarChannelIndices</a></td></tr> | 208 | <tr·class="memitem:a4c1ba8119a16ea0682a870ee7a8282a5"·id="r_a4c1ba8119a16ea0682a870ee7a8282a5"><td·class="memItemLeft"·align="right"·valign="top">int·const··* </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01013.html#a4c1ba8119a16ea0682a870ee7a8282a5">fvarChannelIndices</a></td></tr> |
209 | <tr·class="memdesc:a4c1ba8119a16ea0682a870ee7a8282a5"><td·class="mdescLeft"> </td><td·class="mdescRight">List·containing·the·indices·of·the·channels·selected·for·the·factory.··<br·/></td></tr> | 209 | <tr·class="memdesc:a4c1ba8119a16ea0682a870ee7a8282a5"><td·class="mdescLeft"> </td><td·class="mdescRight">List·containing·the·indices·of·the·channels·selected·for·the·factory.··<br·/></td></tr> |
210 | <tr·class="separator:a4c1ba8119a16ea0682a870ee7a8282a5"><td·class="memSeparator"·colspan="2"> </td></tr> | 210 | <tr·class="separator:a4c1ba8119a16ea0682a870ee7a8282a5"><td·class="memSeparator"·colspan="2"> </td></tr> |
211 | </table> | 211 | </table> |
212 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 212 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
213 | <div·class="textblock"><p>Public·options·for·the·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">PatchTable</a>·factory.·</p> | 213 | <div·class="textblock"><p>Public·options·for·the·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">PatchTable</a>·factory.·</p> |
214 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0072 | 214 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00725_source.html#l00045">45</a>·of·file·<a·class="el"·href="a00725_source.html">patchTableFactory.h</a>.</p> |
215 | </div><h2·class="groupheader">Member·Enumeration·Documentation</h2> | 215 | </div><h2·class="groupheader">Member·Enumeration·Documentation</h2> |
216 | <a·id="aebc767d646011ab7d5bc7d6d49adf535"·name="aebc767d646011ab7d5bc7d6d49adf535"></a> | 216 | <a·id="aebc767d646011ab7d5bc7d6d49adf535"·name="aebc767d646011ab7d5bc7d6d49adf535"></a> |
217 | <h2·class="memtitle"><span·class="permalink"><a·href="#aebc767d646011ab7d5bc7d6d49adf535">◆ </a></span>EndCapType</h2> | 217 | <h2·class="memtitle"><span·class="permalink"><a·href="#aebc767d646011ab7d5bc7d6d49adf535">◆ </a></span>EndCapType</h2> |
218 | <div·class="memitem"> | 218 | <div·class="memitem"> |
219 | <div·class="memproto"> | 219 | <div·class="memproto"> |
220 | ······<table·class="memname"> | 220 | ······<table·class="memname"> |
Offset 237, 15 lines modified | Offset 237, 15 lines modified | ||
237 | </td></tr> | 237 | </td></tr> |
238 | <tr><td·class="fieldname"><a·id="aebc767d646011ab7d5bc7d6d49adf535a2e89c8e5ac21dbd024ec902de51566b0"·name="aebc767d646011ab7d5bc7d6d49adf535a2e89c8e5ac21dbd024ec902de51566b0"></a>ENDCAP_GREGORY_BASIS </td><td·class="fielddoc"><p>use·Gregory·patches·(highest·quality,·recommended·default)·</p> | 238 | <tr><td·class="fieldname"><a·id="aebc767d646011ab7d5bc7d6d49adf535a2e89c8e5ac21dbd024ec902de51566b0"·name="aebc767d646011ab7d5bc7d6d49adf535a2e89c8e5ac21dbd024ec902de51566b0"></a>ENDCAP_GREGORY_BASIS </td><td·class="fielddoc"><p>use·Gregory·patches·(highest·quality,·recommended·default)·</p> |
239 | </td></tr> | 239 | </td></tr> |
240 | <tr><td·class="fieldname"><a·id="aebc767d646011ab7d5bc7d6d49adf535a0c0d3d9e480d64f20f1b32d599c88aa5"·name="aebc767d646011ab7d5bc7d6d49adf535a0c0d3d9e480d64f20f1b32d599c88aa5"></a>ENDCAP_LEGACY_GREGORY </td><td·class="fielddoc"><p>legacy·option·for·2.x·style·Gregory·patches·(Catmark·only)·</p> | 240 | <tr><td·class="fieldname"><a·id="aebc767d646011ab7d5bc7d6d49adf535a0c0d3d9e480d64f20f1b32d599c88aa5"·name="aebc767d646011ab7d5bc7d6d49adf535a0c0d3d9e480d64f20f1b32d599c88aa5"></a>ENDCAP_LEGACY_GREGORY </td><td·class="fielddoc"><p>legacy·option·for·2.x·style·Gregory·patches·(Catmark·only)·</p> |
241 | </td></tr> | 241 | </td></tr> |
242 | </table> | 242 | </table> |
243 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0072 | 243 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00725_source.html#l00055">55</a>·of·file·<a·class="el"·href="a00725_source.html">patchTableFactory.h</a>.</p> |
244 | </div> | 244 | </div> |
245 | </div> | 245 | </div> |
246 | <h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 246 | <h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
247 | <a·id="afe7ba5a3a3e0f7b63f27fc527f472528"·name="afe7ba5a3a3e0f7b63f27fc527f472528"></a> | 247 | <a·id="afe7ba5a3a3e0f7b63f27fc527f472528"·name="afe7ba5a3a3e0f7b63f27fc527f472528"></a> |
248 | <h2·class="memtitle"><span·class="permalink"><a·href="#afe7ba5a3a3e0f7b63f27fc527f472528">◆ </a></span>Options()</h2> | 248 | <h2·class="memtitle"><span·class="permalink"><a·href="#afe7ba5a3a3e0f7b63f27fc527f472528">◆ </a></span>Options()</h2> |
Offset 266, 15 lines modified | Offset 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="a0072 | 272 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00725_source.html#l00063">63</a>·of·file·<a·class="el"·href="a00725_source.html">patchTableFactory.h</a>.</p> |
273 | </div> | 273 | </div> |
274 | </div> | 274 | </div> |
275 | <h2·class="groupheader">Member·Function·Documentation</h2> | 275 | <h2·class="groupheader">Member·Function·Documentation</h2> |
276 | <a·id="a1f59869b65e626aebb332538b92759ec"·name="a1f59869b65e626aebb332538b92759ec"></a> | 276 | <a·id="a1f59869b65e626aebb332538b92759ec"·name="a1f59869b65e626aebb332538b92759ec"></a> |
277 | <h2·class="memtitle"><span·class="permalink"><a·href="#a1f59869b65e626aebb332538b92759ec">◆ </a></span>GetEndCapType()</h2> | 277 | <h2·class="memtitle"><span·class="permalink"><a·href="#a1f59869b65e626aebb332538b92759ec">◆ </a></span>GetEndCapType()</h2> |
Offset 296, 15 lines modified | Offset 296, 15 lines modified | ||
296 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 296 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
297 | ··</tr> | 297 | ··</tr> |
298 | </table> | 298 | </table> |
299 | </div><div·class="memdoc"> | 299 | </div><div·class="memdoc"> |
300 | <p>Get·endcap·basis·type.·</p> | 300 | <p>Get·endcap·basis·type.·</p> |
301 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0072 | 301 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00725_source.html#l00085">85</a>·of·file·<a·class="el"·href="a00725_source.html">patchTableFactory.h</a>.</p> |
302 | </div> | 302 | </div> |
303 | </div> | 303 | </div> |
304 | <a·id="a14138864bf072e99898a8d1a0c074468"·name="a14138864bf072e99898a8d1a0c074468"></a> | 304 | <a·id="a14138864bf072e99898a8d1a0c074468"·name="a14138864bf072e99898a8d1a0c074468"></a> |
305 | <h2·class="memtitle"><span·class="permalink"><a·href="#a14138864bf072e99898a8d1a0c074468">◆ </a></span>GetRefineAdaptiveOptions()</h2> | 305 | <h2·class="memtitle"><span·class="permalink"><a·href="#a14138864bf072e99898a8d1a0c074468">◆ </a></span>GetRefineAdaptiveOptions()</h2> |
306 | <div·class="memitem"> | 306 | <div·class="memitem"> |
Offset 325, 15 lines modified | Offset 325, 15 lines modified | ||
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>Determine·adaptive·refinement·options·to·match·assigned·patch·options.·</p> | 329 | <p>Determine·adaptive·refinement·options·to·match·assigned·patch·options.·</p> |
330 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0072 | 330 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00725_source.html#l00100">100</a>·of·file·<a·class="el"·href="a00725_source.html">patchTableFactory.h</a>.</p> |
331 | </div> | 331 | </div> |
332 | </div> | 332 | </div> |
333 | <a·id="a6a9e4615ca58b7206de550f249c5e37c"·name="a6a9e4615ca58b7206de550f249c5e37c"></a> | 333 | <a·id="a6a9e4615ca58b7206de550f249c5e37c"·name="a6a9e4615ca58b7206de550f249c5e37c"></a> |
334 | <h2·class="memtitle"><span·class="permalink"><a·href="#a6a9e4615ca58b7206de550f249c5e37c">◆ </a></span>SetEndCapType()</h2> | 334 | <h2·class="memtitle"><span·class="permalink"><a·href="#a6a9e4615ca58b7206de550f249c5e37c">◆ </a></span>SetEndCapType()</h2> |
335 | <div·class="memitem"> | 335 | <div·class="memitem"> |
Offset 355, 15 lines modified | Offset 355, 15 lines modified | ||
355 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 355 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
356 | ··</tr> | 356 | ··</tr> |
357 | </table> | 357 | </table> |
358 | </div><div·class="memdoc"> | 358 | </div><div·class="memdoc"> |
359 | <p>Set·endcap·basis·type.·</p> | 359 | <p>Set·endcap·basis·type.·</p> |
360 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0072 | 360 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00725_source.html#l00088">88</a>·of·file·<a·class="el"·href="a00725_source.html">patchTableFactory.h</a>.</p> |
361 | </div> | 361 | </div> |
362 | </div> | 362 | </div> |
363 | <a·id="aa6530a2eb5204da33e7c02f8fcdcbac2"·name="aa6530a2eb5204da33e7c02f8fcdcbac2"></a> | 363 | <a·id="aa6530a2eb5204da33e7c02f8fcdcbac2"·name="aa6530a2eb5204da33e7c02f8fcdcbac2"></a> |
364 | <h2·class="memtitle"><span·class="permalink"><a·href="#aa6530a2eb5204da33e7c02f8fcdcbac2">◆ </a></span>SetFVarPatchPrecision()·<span·class="overload">[1/2]</span></h2> | 364 | <h2·class="memtitle"><span·class="permalink"><a·href="#aa6530a2eb5204da33e7c02f8fcdcbac2">◆ </a></span>SetFVarPatchPrecision()·<span·class="overload">[1/2]</span></h2> |
365 | <div·class="memitem"> | 365 | <div·class="memitem"> |
Offset 403, 15 lines modified | Offset 403, 15 lines modified | ||
403 | ··</td> | 403 | ··</td> |
404 | ··<td·class="mlabels-right"> | 404 | ··<td·class="mlabels-right"> |
405 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 405 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
406 | ··</tr> | 406 | ··</tr> |
407 | </table> | 407 | </table> |
408 | </div><div·class="memdoc"> | 408 | </div><div·class="memdoc"> |
409 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0072 | 409 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00725_source.html#l00215">215</a>·of·file·<a·class="el"·href="a00725_source.html">patchTableFactory.h</a>.</p> |
410 | </div> | 410 | </div> |
411 | </div> | 411 | </div> |
412 | <a·id="a425e9cd3218a02afffaf0289f1a9c6fd"·name="a425e9cd3218a02afffaf0289f1a9c6fd"></a> | 412 | <a·id="a425e9cd3218a02afffaf0289f1a9c6fd"·name="a425e9cd3218a02afffaf0289f1a9c6fd"></a> |
413 | <h2·class="memtitle"><span·class="permalink"><a·href="#a425e9cd3218a02afffaf0289f1a9c6fd">◆ </a></span>SetMaxIsolationLevel()</h2> | 413 | <h2·class="memtitle"><span·class="permalink"><a·href="#a425e9cd3218a02afffaf0289f1a9c6fd">◆ </a></span>SetMaxIsolationLevel()</h2> |
414 | <div·class="memitem"> | 414 | <div·class="memitem"> |
Max diff block lines reached; 17302/25685 bytes (67.36%) of diff not shown. |
Offset 98, 15 lines modified | Offset 98, 15 lines modified | ||
98 | ··<div·class="headertitle"><div·class="title">PatchTableFactory::PatchFaceTag·Struct·Reference</div></div> | 98 | ··<div·class="headertitle"><div·class="title">PatchTableFactory::PatchFaceTag·Struct·Reference</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <p>Obsolete·internal·struct·not·intended·for·public·use·–·due·to·be·deprecated.·· | 101 | <p>Obsolete·internal·struct·not·intended·for·public·use·–·due·to·be·deprecated.·· |
102 | ·<a·href="a01017.html#details">More...</a></p> | 102 | ·<a·href="a01017.html#details">More...</a></p> |
103 | <p><code>#include·<<a·class="el"·href="a0072 | 103 | <p><code>#include·<<a·class="el"·href="a00725_source.html">patchTableFactory.h</a>></code></p> |
104 | <table·class="memberdecls"> | 104 | <table·class="memberdecls"> |
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
106 | Public·Member·Functions</h2></td></tr> | 106 | Public·Member·Functions</h2></td></tr> |
107 | <tr·class="memitem:ac8bb3912a3ce86b15842e79d0b421204"·id="r_ac8bb3912a3ce86b15842e79d0b421204"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01017.html#ac8bb3912a3ce86b15842e79d0b421204">clear</a>·()</td></tr> | 107 | <tr·class="memitem:ac8bb3912a3ce86b15842e79d0b421204"·id="r_ac8bb3912a3ce86b15842e79d0b421204"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01017.html#ac8bb3912a3ce86b15842e79d0b421204">clear</a>·()</td></tr> |
108 | <tr·class="separator:ac8bb3912a3ce86b15842e79d0b421204"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:ac8bb3912a3ce86b15842e79d0b421204"><td·class="memSeparator"·colspan="2"> </td></tr> |
109 | <tr·class="memitem:ace61bb1240f406368b44e72e58728428"·id="r_ace61bb1240f406368b44e72e58728428"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01017.html#ace61bb1240f406368b44e72e58728428">assignBoundaryPropertiesFromEdgeMask</a>·(int·boundaryEdgeMask)</td></tr> | 109 | <tr·class="memitem:ace61bb1240f406368b44e72e58728428"·id="r_ace61bb1240f406368b44e72e58728428"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01017.html#ace61bb1240f406368b44e72e58728428">assignBoundaryPropertiesFromEdgeMask</a>·(int·boundaryEdgeMask)</td></tr> |
110 | <tr·class="separator:ace61bb1240f406368b44e72e58728428"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <tr·class="separator:ace61bb1240f406368b44e72e58728428"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 133, 15 lines modified | Offset 133, 15 lines modified | ||
133 | <tr·class="separator:a395c4eda069d129a467d5266a4746673"><td·class="memSeparator"·colspan="2"> </td></tr> | 133 | <tr·class="separator:a395c4eda069d129a467d5266a4746673"><td·class="memSeparator"·colspan="2"> </td></tr> |
134 | <tr·class="memitem:a03fbcf9e0aec39ba35fc19aefbb07e64"·id="r_a03fbcf9e0aec39ba35fc19aefbb07e64"><td·class="memItemLeft"·align="right"·valign="top">unsigned·int </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01017.html#a03fbcf9e0aec39ba35fc19aefbb07e64">_isSingleCrease</a>:·1</td></tr> | 134 | <tr·class="memitem:a03fbcf9e0aec39ba35fc19aefbb07e64"·id="r_a03fbcf9e0aec39ba35fc19aefbb07e64"><td·class="memItemLeft"·align="right"·valign="top">unsigned·int </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01017.html#a03fbcf9e0aec39ba35fc19aefbb07e64">_isSingleCrease</a>:·1</td></tr> |
135 | <tr·class="separator:a03fbcf9e0aec39ba35fc19aefbb07e64"><td·class="memSeparator"·colspan="2"> </td></tr> | 135 | <tr·class="separator:a03fbcf9e0aec39ba35fc19aefbb07e64"><td·class="memSeparator"·colspan="2"> </td></tr> |
136 | </table> | 136 | </table> |
137 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 137 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
138 | <div·class="textblock"><p>Obsolete·internal·struct·not·intended·for·public·use·–·due·to·be·deprecated.·</p> | 138 | <div·class="textblock"><p>Obsolete·internal·struct·not·intended·for·public·use·–·due·to·be·deprecated.·</p> |
139 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0072 | 139 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00725_source.html#l00192">192</a>·of·file·<a·class="el"·href="a00725_source.html">patchTableFactory.h</a>.</p> |
140 | </div><h2·class="groupheader">Member·Function·Documentation</h2> | 140 | </div><h2·class="groupheader">Member·Function·Documentation</h2> |
141 | <a·id="ace61bb1240f406368b44e72e58728428"·name="ace61bb1240f406368b44e72e58728428"></a> | 141 | <a·id="ace61bb1240f406368b44e72e58728428"·name="ace61bb1240f406368b44e72e58728428"></a> |
142 | <h2·class="memtitle"><span·class="permalink"><a·href="#ace61bb1240f406368b44e72e58728428">◆ </a></span>assignBoundaryPropertiesFromEdgeMask()</h2> | 142 | <h2·class="memtitle"><span·class="permalink"><a·href="#ace61bb1240f406368b44e72e58728428">◆ </a></span>assignBoundaryPropertiesFromEdgeMask()</h2> |
143 | <div·class="memitem"> | 143 | <div·class="memitem"> |
144 | <div·class="memproto"> | 144 | <div·class="memproto"> |
145 | ······<table·class="memname"> | 145 | ······<table·class="memname"> |
Offset 219, 15 lines modified | Offset 219, 15 lines modified | ||
219 | ······<table·class="memname"> | 219 | ······<table·class="memname"> |
220 | ········<tr> | 220 | ········<tr> |
221 | ··········<td·class="memname">unsigned·int·_boundaryCount</td> | 221 | ··········<td·class="memname">unsigned·int·_boundaryCount</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="a0072 | 225 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00725_source.html#l00199">199</a>·of·file·<a·class="el"·href="a00725_source.html">patchTableFactory.h</a>.</p> |
226 | </div> | 226 | </div> |
227 | </div> | 227 | </div> |
228 | <a·id="a0e2fbbb4a1a96f3fbaee3c1273684e0e"·name="a0e2fbbb4a1a96f3fbaee3c1273684e0e"></a> | 228 | <a·id="a0e2fbbb4a1a96f3fbaee3c1273684e0e"·name="a0e2fbbb4a1a96f3fbaee3c1273684e0e"></a> |
229 | <h2·class="memtitle"><span·class="permalink"><a·href="#a0e2fbbb4a1a96f3fbaee3c1273684e0e">◆ </a></span>_boundaryIndex</h2> | 229 | <h2·class="memtitle"><span·class="permalink"><a·href="#a0e2fbbb4a1a96f3fbaee3c1273684e0e">◆ </a></span>_boundaryIndex</h2> |
230 | <div·class="memitem"> | 230 | <div·class="memitem"> |
Offset 235, 15 lines modified | Offset 235, 15 lines modified | ||
235 | ······<table·class="memname"> | 235 | ······<table·class="memname"> |
236 | ········<tr> | 236 | ········<tr> |
237 | ··········<td·class="memname">unsigned·int·_boundaryIndex</td> | 237 | ··········<td·class="memname">unsigned·int·_boundaryIndex</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="a0072 | 241 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00725_source.html#l00198">198</a>·of·file·<a·class="el"·href="a00725_source.html">patchTableFactory.h</a>.</p> |
242 | </div> | 242 | </div> |
243 | </div> | 243 | </div> |
244 | <a·id="a4130a836c1d7653793698df818db0624"·name="a4130a836c1d7653793698df818db0624"></a> | 244 | <a·id="a4130a836c1d7653793698df818db0624"·name="a4130a836c1d7653793698df818db0624"></a> |
245 | <h2·class="memtitle"><span·class="permalink"><a·href="#a4130a836c1d7653793698df818db0624">◆ </a></span>_boundaryMask</h2> | 245 | <h2·class="memtitle"><span·class="permalink"><a·href="#a4130a836c1d7653793698df818db0624">◆ </a></span>_boundaryMask</h2> |
246 | <div·class="memitem"> | 246 | <div·class="memitem"> |
Offset 251, 15 lines modified | Offset 251, 15 lines modified | ||
251 | ······<table·class="memname"> | 251 | ······<table·class="memname"> |
252 | ········<tr> | 252 | ········<tr> |
253 | ··········<td·class="memname">unsigned·int·_boundaryMask</td> | 253 | ··········<td·class="memname">unsigned·int·_boundaryMask</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="a0072 | 257 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00725_source.html#l00197">197</a>·of·file·<a·class="el"·href="a00725_source.html">patchTableFactory.h</a>.</p> |
258 | </div> | 258 | </div> |
259 | </div> | 259 | </div> |
260 | <a·id="a395c4eda069d129a467d5266a4746673"·name="a395c4eda069d129a467d5266a4746673"></a> | 260 | <a·id="a395c4eda069d129a467d5266a4746673"·name="a395c4eda069d129a467d5266a4746673"></a> |
261 | <h2·class="memtitle"><span·class="permalink"><a·href="#a395c4eda069d129a467d5266a4746673">◆ </a></span>_hasBoundaryEdge</h2> | 261 | <h2·class="memtitle"><span·class="permalink"><a·href="#a395c4eda069d129a467d5266a4746673">◆ </a></span>_hasBoundaryEdge</h2> |
262 | <div·class="memitem"> | 262 | <div·class="memitem"> |
Offset 267, 15 lines modified | Offset 267, 15 lines modified | ||
267 | ······<table·class="memname"> | 267 | ······<table·class="memname"> |
268 | ········<tr> | 268 | ········<tr> |
269 | ··········<td·class="memname">unsigned·int·_hasBoundaryEdge</td> | 269 | ··········<td·class="memname">unsigned·int·_hasBoundaryEdge</td> |
270 | ········</tr> | 270 | ········</tr> |
271 | ······</table> | 271 | ······</table> |
272 | </div><div·class="memdoc"> | 272 | </div><div·class="memdoc"> |
273 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0072 | 273 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00725_source.html#l00200">200</a>·of·file·<a·class="el"·href="a00725_source.html">patchTableFactory.h</a>.</p> |
274 | </div> | 274 | </div> |
275 | </div> | 275 | </div> |
276 | <a·id="a85527f734ee41ab3855c42c0e1257f95"·name="a85527f734ee41ab3855c42c0e1257f95"></a> | 276 | <a·id="a85527f734ee41ab3855c42c0e1257f95"·name="a85527f734ee41ab3855c42c0e1257f95"></a> |
277 | <h2·class="memtitle"><span·class="permalink"><a·href="#a85527f734ee41ab3855c42c0e1257f95">◆ </a></span>_hasPatch</h2> | 277 | <h2·class="memtitle"><span·class="permalink"><a·href="#a85527f734ee41ab3855c42c0e1257f95">◆ </a></span>_hasPatch</h2> |
278 | <div·class="memitem"> | 278 | <div·class="memitem"> |
Offset 283, 15 lines modified | Offset 283, 15 lines modified | ||
283 | ······<table·class="memname"> | 283 | ······<table·class="memname"> |
284 | ········<tr> | 284 | ········<tr> |
285 | ··········<td·class="memname">unsigned·int·_hasPatch</td> | 285 | ··········<td·class="memname">unsigned·int·_hasPatch</td> |
286 | ········</tr> | 286 | ········</tr> |
287 | ······</table> | 287 | ······</table> |
288 | </div><div·class="memdoc"> | 288 | </div><div·class="memdoc"> |
289 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0072 | 289 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00725_source.html#l00194">194</a>·of·file·<a·class="el"·href="a00725_source.html">patchTableFactory.h</a>.</p> |
290 | </div> | 290 | </div> |
291 | </div> | 291 | </div> |
292 | <a·id="a0a3cc48a737c60aa048df1c3f41da070"·name="a0a3cc48a737c60aa048df1c3f41da070"></a> | 292 | <a·id="a0a3cc48a737c60aa048df1c3f41da070"·name="a0a3cc48a737c60aa048df1c3f41da070"></a> |
293 | <h2·class="memtitle"><span·class="permalink"><a·href="#a0a3cc48a737c60aa048df1c3f41da070">◆ </a></span>_isRegular</h2> | 293 | <h2·class="memtitle"><span·class="permalink"><a·href="#a0a3cc48a737c60aa048df1c3f41da070">◆ </a></span>_isRegular</h2> |
294 | <div·class="memitem"> | 294 | <div·class="memitem"> |
Offset 299, 15 lines modified | Offset 299, 15 lines modified | ||
299 | ······<table·class="memname"> | 299 | ······<table·class="memname"> |
300 | ········<tr> | 300 | ········<tr> |
301 | ··········<td·class="memname">unsigned·int·_isRegular</td> | 301 | ··········<td·class="memname">unsigned·int·_isRegular</td> |
302 | ········</tr> | 302 | ········</tr> |
303 | ······</table> | 303 | ······</table> |
304 | </div><div·class="memdoc"> | 304 | </div><div·class="memdoc"> |
305 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0072 | 305 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00725_source.html#l00195">195</a>·of·file·<a·class="el"·href="a00725_source.html">patchTableFactory.h</a>.</p> |
306 | </div> | 306 | </div> |
307 | </div> | 307 | </div> |
308 | <a·id="a03fbcf9e0aec39ba35fc19aefbb07e64"·name="a03fbcf9e0aec39ba35fc19aefbb07e64"></a> | 308 | <a·id="a03fbcf9e0aec39ba35fc19aefbb07e64"·name="a03fbcf9e0aec39ba35fc19aefbb07e64"></a> |
309 | <h2·class="memtitle"><span·class="permalink"><a·href="#a03fbcf9e0aec39ba35fc19aefbb07e64">◆ </a></span>_isSingleCrease</h2> | 309 | <h2·class="memtitle"><span·class="permalink"><a·href="#a03fbcf9e0aec39ba35fc19aefbb07e64">◆ </a></span>_isSingleCrease</h2> |
310 | <div·class="memitem"> | 310 | <div·class="memitem"> |
Max diff block lines reached; 2160/10070 bytes (21.45%) of diff not shown. |
Offset 98, 15 lines modified | Offset 98, 15 lines modified | ||
98 | ··<div·class="headertitle"><div·class="title">PrimvarRefinerReal<·REAL·>·Class·Template·Reference</div></div> | 98 | ··<div·class="headertitle"><div·class="title">PrimvarRefinerReal<·REAL·>·Class·Template·Reference</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <p>Applies·refinement·operations·to·generic·primvar·data.·· | 101 | <p>Applies·refinement·operations·to·generic·primvar·data.·· |
102 | ·<a·href="a01021.html#details">More...</a></p> | 102 | ·<a·href="a01021.html#details">More...</a></p> |
103 | <p><code>#include·<<a·class="el"·href="a0072 | 103 | <p><code>#include·<<a·class="el"·href="a00728_source.html">primvarRefiner.h</a>></code></p> |
104 | <table·class="memberdecls"> | 104 | <table·class="memberdecls"> |
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
106 | Public·Member·Functions</h2></td></tr> | 106 | Public·Member·Functions</h2></td></tr> |
107 | <tr·class="memitem:a1fe1fbda93c01c326f13929d1c3c6247"·id="r_a1fe1fbda93c01c326f13929d1c3c6247"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01021.html#a1fe1fbda93c01c326f13929d1c3c6247">PrimvarRefinerReal</a>·(<a·class="el"·href="a01113.html">TopologyRefiner</a>·const·&refiner)</td></tr> | 107 | <tr·class="memitem:a1fe1fbda93c01c326f13929d1c3c6247"·id="r_a1fe1fbda93c01c326f13929d1c3c6247"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01021.html#a1fe1fbda93c01c326f13929d1c3c6247">PrimvarRefinerReal</a>·(<a·class="el"·href="a01113.html">TopologyRefiner</a>·const·&refiner)</td></tr> |
108 | <tr·class="separator:a1fe1fbda93c01c326f13929d1c3c6247"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:a1fe1fbda93c01c326f13929d1c3c6247"><td·class="memSeparator"·colspan="2"> </td></tr> |
109 | <tr·class="memitem:ade7a1750cdc922e27c561520815d8b27"·id="r_ade7a1750cdc922e27c561520815d8b27"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01021.html#ade7a1750cdc922e27c561520815d8b27">~PrimvarRefinerReal</a>·()</td></tr> | 109 | <tr·class="memitem:ade7a1750cdc922e27c561520815d8b27"·id="r_ade7a1750cdc922e27c561520815d8b27"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01021.html#ade7a1750cdc922e27c561520815d8b27">~PrimvarRefinerReal</a>·()</td></tr> |
110 | <tr·class="separator:ade7a1750cdc922e27c561520815d8b27"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <tr·class="separator:ade7a1750cdc922e27c561520815d8b27"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 159, 15 lines modified | Offset 159, 15 lines modified | ||
159 | <tr·class="memitem:afdee0e9e9c6edd34c96892efff808a87"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01021.html#afdee0e9e9c6edd34c96892efff808a87">LimitFaceVarying</a>·(T·const·&src,·U·&dst,·int·channel=0)·const</td></tr> | 159 | <tr·class="memitem:afdee0e9e9c6edd34c96892efff808a87"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01021.html#afdee0e9e9c6edd34c96892efff808a87">LimitFaceVarying</a>·(T·const·&src,·U·&dst,·int·channel=0)·const</td></tr> |
160 | <tr·class="separator:afdee0e9e9c6edd34c96892efff808a87"><td·class="memSeparator"·colspan="2"> </td></tr> | 160 | <tr·class="separator:afdee0e9e9c6edd34c96892efff808a87"><td·class="memSeparator"·colspan="2"> </td></tr> |
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"><div·class="compoundTemplParams">template<typename·REAL><br·/> | 163 | <div·class="textblock"><div·class="compoundTemplParams">template<typename·REAL><br·/> |
164 | class·OpenSubdiv::OPENSUBDIV_VERSION::Far::PrimvarRefinerReal<·REAL·></div><p>Applies·refinement·operations·to·generic·primvar·data.·</p> | 164 | class·OpenSubdiv::OPENSUBDIV_VERSION::Far::PrimvarRefinerReal<·REAL·></div><p>Applies·refinement·operations·to·generic·primvar·data.·</p> |
165 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0072 | 165 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00728_source.html#l00056">56</a>·of·file·<a·class="el"·href="a00728_source.html">primvarRefiner.h</a>.</p> |
166 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 166 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
167 | <a·id="a1fe1fbda93c01c326f13929d1c3c6247"·name="a1fe1fbda93c01c326f13929d1c3c6247"></a> | 167 | <a·id="a1fe1fbda93c01c326f13929d1c3c6247"·name="a1fe1fbda93c01c326f13929d1c3c6247"></a> |
168 | <h2·class="memtitle"><span·class="permalink"><a·href="#a1fe1fbda93c01c326f13929d1c3c6247">◆ </a></span>PrimvarRefinerReal()</h2> | 168 | <h2·class="memtitle"><span·class="permalink"><a·href="#a1fe1fbda93c01c326f13929d1c3c6247">◆ </a></span>PrimvarRefinerReal()</h2> |
169 | <div·class="memitem"> | 169 | <div·class="memitem"> |
170 | <div·class="memproto"> | 170 | <div·class="memproto"> |
171 | <div·class="memtemplate"> | 171 | <div·class="memtemplate"> |
Offset 187, 15 lines modified | Offset 187, 15 lines modified | ||
187 | ··</td> | 187 | ··</td> |
188 | ··<td·class="mlabels-right"> | 188 | ··<td·class="mlabels-right"> |
189 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 189 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
190 | ··</tr> | 190 | ··</tr> |
191 | </table> | 191 | </table> |
192 | </div><div·class="memdoc"> | 192 | </div><div·class="memdoc"> |
193 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0072 | 193 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00728_source.html#l00059">59</a>·of·file·<a·class="el"·href="a00728_source.html">primvarRefiner.h</a>.</p> |
194 | </div> | 194 | </div> |
195 | </div> | 195 | </div> |
196 | <a·id="ade7a1750cdc922e27c561520815d8b27"·name="ade7a1750cdc922e27c561520815d8b27"></a> | 196 | <a·id="ade7a1750cdc922e27c561520815d8b27"·name="ade7a1750cdc922e27c561520815d8b27"></a> |
197 | <h2·class="memtitle"><span·class="permalink"><a·href="#ade7a1750cdc922e27c561520815d8b27">◆ </a></span>~PrimvarRefinerReal()</h2> | 197 | <h2·class="memtitle"><span·class="permalink"><a·href="#ade7a1750cdc922e27c561520815d8b27">◆ </a></span>~PrimvarRefinerReal()</h2> |
198 | <div·class="memitem"> | 198 | <div·class="memitem"> |
Offset 216, 15 lines modified | Offset 216, 15 lines modified | ||
216 | ··</td> | 216 | ··</td> |
217 | ··<td·class="mlabels-right"> | 217 | ··<td·class="mlabels-right"> |
218 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 218 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
219 | ··</tr> | 219 | ··</tr> |
220 | </table> | 220 | </table> |
221 | </div><div·class="memdoc"> | 221 | </div><div·class="memdoc"> |
222 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0072 | 222 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00728_source.html#l00060">60</a>·of·file·<a·class="el"·href="a00728_source.html">primvarRefiner.h</a>.</p> |
223 | </div> | 223 | </div> |
224 | </div> | 224 | </div> |
225 | <h2·class="groupheader">Member·Function·Documentation</h2> | 225 | <h2·class="groupheader">Member·Function·Documentation</h2> |
226 | <a·id="a6f7fc8b9ce66fa57ac58ed977cc9c6f0"·name="a6f7fc8b9ce66fa57ac58ed977cc9c6f0"></a> | 226 | <a·id="a6f7fc8b9ce66fa57ac58ed977cc9c6f0"·name="a6f7fc8b9ce66fa57ac58ed977cc9c6f0"></a> |
227 | <h2·class="memtitle"><span·class="permalink"><a·href="#a6f7fc8b9ce66fa57ac58ed977cc9c6f0">◆ </a></span>GetTopologyRefiner()</h2> | 227 | <h2·class="memtitle"><span·class="permalink"><a·href="#a6f7fc8b9ce66fa57ac58ed977cc9c6f0">◆ </a></span>GetTopologyRefiner()</h2> |
Offset 246, 15 lines modified | Offset 246, 15 lines modified | ||
246 | ··</td> | 246 | ··</td> |
247 | ··<td·class="mlabels-right"> | 247 | ··<td·class="mlabels-right"> |
248 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</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="a0072 | 252 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00728_source.html#l00062">62</a>·of·file·<a·class="el"·href="a00728_source.html">primvarRefiner.h</a>.</p> |
253 | </div> | 253 | </div> |
254 | </div> | 254 | </div> |
255 | <a·id="ab97b75b7c0fffa06a5948bd6ba7b420d"·name="ab97b75b7c0fffa06a5948bd6ba7b420d"></a> | 255 | <a·id="ab97b75b7c0fffa06a5948bd6ba7b420d"·name="ab97b75b7c0fffa06a5948bd6ba7b420d"></a> |
256 | <h2·class="memtitle"><span·class="permalink"><a·href="#ab97b75b7c0fffa06a5948bd6ba7b420d">◆ </a></span>Interpolate()</h2> | 256 | <h2·class="memtitle"><span·class="permalink"><a·href="#ab97b75b7c0fffa06a5948bd6ba7b420d">◆ </a></span>Interpolate()</h2> |
257 | <div·class="memitem"> | 257 | <div·class="memitem"> |
Offset 305, 15 lines modified | Offset 305, 15 lines modified | ||
305 | ····<tr><td·class="paramname">level</td><td>The·refinement·level</td></tr> | 305 | ····<tr><td·class="paramname">level</td><td>The·refinement·level</td></tr> |
306 | ····<tr><td·class="paramname">src</td><td>Source·primvar·buffer·(<a·class="el"·href="a01021.html#templating">templating</a>·control·vertex·data)</td></tr> | 306 | ····<tr><td·class="paramname">src</td><td>Source·primvar·buffer·(<a·class="el"·href="a01021.html#templating">templating</a>·control·vertex·data)</td></tr> |
307 | ····<tr><td·class="paramname">dst</td><td>Destination·primvar·buffer·(<a·class="el"·href="a01021.html#templating">templating</a>·refined·vertex·data)·</td></tr> | 307 | ····<tr><td·class="paramname">dst</td><td>Destination·primvar·buffer·(<a·class="el"·href="a01021.html#templating">templating</a>·refined·vertex·data)·</td></tr> |
308 | ··</table> | 308 | ··</table> |
309 | ··</dd> | 309 | ··</dd> |
310 | </dl> | 310 | </dl> |
311 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0072 | 311 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00728_source.html#l00267">267</a>·of·file·<a·class="el"·href="a00728_source.html">primvarRefiner.h</a>.</p> |
312 | </div> | 312 | </div> |
313 | </div> | 313 | </div> |
314 | <a·id="a3f8bd2ef902e11aad1debbdda26bb596"·name="a3f8bd2ef902e11aad1debbdda26bb596"></a> | 314 | <a·id="a3f8bd2ef902e11aad1debbdda26bb596"·name="a3f8bd2ef902e11aad1debbdda26bb596"></a> |
315 | <h2·class="memtitle"><span·class="permalink"><a·href="#a3f8bd2ef902e11aad1debbdda26bb596">◆ </a></span>InterpolateFaceUniform()</h2> | 315 | <h2·class="memtitle"><span·class="permalink"><a·href="#a3f8bd2ef902e11aad1debbdda26bb596">◆ </a></span>InterpolateFaceUniform()</h2> |
316 | <div·class="memitem"> | 316 | <div·class="memitem"> |
Offset 365, 15 lines modified | Offset 365, 15 lines modified | ||
365 | ····<tr><td·class="paramname">level</td><td>The·refinement·level</td></tr> | 365 | ····<tr><td·class="paramname">level</td><td>The·refinement·level</td></tr> |
366 | ····<tr><td·class="paramname">src</td><td>Source·primvar·buffer</td></tr> | 366 | ····<tr><td·class="paramname">src</td><td>Source·primvar·buffer</td></tr> |
367 | ····<tr><td·class="paramname">dst</td><td>Destination·primvar·buffer·</td></tr> | 367 | ····<tr><td·class="paramname">dst</td><td>Destination·primvar·buffer·</td></tr> |
368 | ··</table> | 368 | ··</table> |
369 | ··</dd> | 369 | ··</dd> |
370 | </dl> | 370 | </dl> |
371 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0072 | 371 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00728_source.html#l00394">394</a>·of·file·<a·class="el"·href="a00728_source.html">primvarRefiner.h</a>.</p> |
372 | </div> | 372 | </div> |
373 | </div> | 373 | </div> |
374 | <a·id="ad8f74e1887299ed02e0094100f18c998"·name="ad8f74e1887299ed02e0094100f18c998"></a> | 374 | <a·id="ad8f74e1887299ed02e0094100f18c998"·name="ad8f74e1887299ed02e0094100f18c998"></a> |
375 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad8f74e1887299ed02e0094100f18c998">◆ </a></span>InterpolateFaceVarying()</h2> | 375 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad8f74e1887299ed02e0094100f18c998">◆ </a></span>InterpolateFaceVarying()</h2> |
376 | <div·class="memitem"> | 376 | <div·class="memitem"> |
Offset 423, 15 lines modified | Offset 423, 15 lines modified | ||
423 | </table> | 423 | </table> |
424 | </div><div·class="memdoc"> | 424 | </div><div·class="memdoc"> |
425 | <p>Apply·face-varying·interpolation·weights·to·a·primvar·buffer·associated·with·a·particular·face-varying·channel.·</p> | 425 | <p>Apply·face-varying·interpolation·weights·to·a·primvar·buffer·associated·with·a·particular·face-varying·channel.·</p> |
426 | <p>Unlike·vertex·and·varying·primvar·buffers,·there·is·not·a·1-to-1·correspondence·between·vertices·and·face-varying·values·–·typically·there·are·more·face-varying·values·than·vertices.·Each·face-varying·channel·is·also·independent·in·how·its·values·relate·to·the·vertices.</p> | 426 | <p>Unlike·vertex·and·varying·primvar·buffers,·there·is·not·a·1-to-1·correspondence·between·vertices·and·face-varying·values·–·typically·there·are·more·face-varying·values·than·vertices.·Each·face-varying·channel·is·also·independent·in·how·its·values·relate·to·the·vertices.</p> |
427 | <p>The·destination·buffer·must·allocate·an·array·of·data·for·all·the·refined·values,·i.e.·at·least·refiner.GetLevel(level).GetNumFVarValues(channel).·</p> | 427 | <p>The·destination·buffer·must·allocate·an·array·of·data·for·all·the·refined·values,·i.e.·at·least·refiner.GetLevel(level).GetNumFVarValues(channel).·</p> |
428 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0072 | 428 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00728_source.html#l00293">293</a>·of·file·<a·class="el"·href="a00728_source.html">primvarRefiner.h</a>.</p> |
429 | </div> | 429 | </div> |
430 | </div> | 430 | </div> |
431 | <a·id="aa2fd72e336a12bf454dd79ba6ce8ee56"·name="aa2fd72e336a12bf454dd79ba6ce8ee56"></a> | 431 | <a·id="aa2fd72e336a12bf454dd79ba6ce8ee56"·name="aa2fd72e336a12bf454dd79ba6ce8ee56"></a> |
432 | <h2·class="memtitle"><span·class="permalink"><a·href="#aa2fd72e336a12bf454dd79ba6ce8ee56">◆ </a></span>InterpolateVarying()</h2> | 432 | <h2·class="memtitle"><span·class="permalink"><a·href="#aa2fd72e336a12bf454dd79ba6ce8ee56">◆ </a></span>InterpolateVarying()</h2> |
433 | <div·class="memitem"> | 433 | <div·class="memitem"> |
Max diff block lines reached; 4058/12786 bytes (31.74%) of diff not shown. |
Offset 94, 15 lines modified | Offset 94, 15 lines modified | ||
94 | ··<div·class="summary"> | 94 | ··<div·class="summary"> |
95 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 95 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
96 | <a·href="a01026.html">List·of·all·members</a>··</div> | 96 | <a·href="a01026.html">List·of·all·members</a>··</div> |
97 | ··<div·class="headertitle"><div·class="title">PrimvarRefiner·Class·Reference</div></div> | 97 | ··<div·class="headertitle"><div·class="title">PrimvarRefiner·Class·Reference</div></div> |
98 | </div><!--header--> | 98 | </div><!--header--> |
99 | <div·class="contents"> | 99 | <div·class="contents"> |
100 | <p><code>#include·<<a·class="el"·href="a0072 | 100 | <p><code>#include·<<a·class="el"·href="a00728_source.html">primvarRefiner.h</a>></code></p> |
101 | <div·class="dynheader"> | 101 | <div·class="dynheader"> |
102 | Inheritance·diagram·for·PrimvarRefiner:</div> | 102 | Inheritance·diagram·for·PrimvarRefiner:</div> |
103 | <div·class="dyncontent"> | 103 | <div·class="dyncontent"> |
104 | ·<div·class="center"> | 104 | ·<div·class="center"> |
105 | ··<img·src="a01029.png"·usemap="#PrimvarRefiner_map"·alt=""/> | 105 | ··<img·src="a01029.png"·usemap="#PrimvarRefiner_map"·alt=""/> |
106 | ··<map·id="PrimvarRefiner_map"·name="PrimvarRefiner_map"> | 106 | ··<map·id="PrimvarRefiner_map"·name="PrimvarRefiner_map"> |
107 | <area·href="a01021.html"·alt="PrimvarRefinerReal<·float·>"·shape="rect"·coords="0,0,170,24"/> | 107 | <area·href="a01021.html"·alt="PrimvarRefinerReal<·float·>"·shape="rect"·coords="0,0,170,24"/> |
Offset 138, 15 lines modified | Offset 138, 15 lines modified | ||
138 | <tr·class="memitem:a2cf4c50a1117c44ba4d11db92b067401·inherit·pub_methods_a01021"·id="r_a2cf4c50a1117c44ba4d11db92b067401"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01021.html#a2cf4c50a1117c44ba4d11db92b067401">Limit</a>·(T·const·&src,·U·&dstPos,·U1·&dstTan1,·U2·&dstTan2)·const</td></tr> | 138 | <tr·class="memitem:a2cf4c50a1117c44ba4d11db92b067401·inherit·pub_methods_a01021"·id="r_a2cf4c50a1117c44ba4d11db92b067401"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01021.html#a2cf4c50a1117c44ba4d11db92b067401">Limit</a>·(T·const·&src,·U·&dstPos,·U1·&dstTan1,·U2·&dstTan2)·const</td></tr> |
139 | <tr·class="separator:a2cf4c50a1117c44ba4d11db92b067401·inherit·pub_methods_a01021"><td·class="memSeparator"·colspan="2"> </td></tr> | 139 | <tr·class="separator:a2cf4c50a1117c44ba4d11db92b067401·inherit·pub_methods_a01021"><td·class="memSeparator"·colspan="2"> </td></tr> |
140 | <tr·class="memitem:afdee0e9e9c6edd34c96892efff808a87·inherit·pub_methods_a01021"·id="r_afdee0e9e9c6edd34c96892efff808a87"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01021.html#afdee0e9e9c6edd34c96892efff808a87">LimitFaceVarying</a>·(T·const·&src,·U·&dst,·int·channel=0)·const</td></tr> | 140 | <tr·class="memitem:afdee0e9e9c6edd34c96892efff808a87·inherit·pub_methods_a01021"·id="r_afdee0e9e9c6edd34c96892efff808a87"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01021.html#afdee0e9e9c6edd34c96892efff808a87">LimitFaceVarying</a>·(T·const·&src,·U·&dst,·int·channel=0)·const</td></tr> |
141 | <tr·class="separator:afdee0e9e9c6edd34c96892efff808a87·inherit·pub_methods_a01021"><td·class="memSeparator"·colspan="2"> </td></tr> | 141 | <tr·class="separator:afdee0e9e9c6edd34c96892efff808a87·inherit·pub_methods_a01021"><td·class="memSeparator"·colspan="2"> </td></tr> |
142 | </table> | 142 | </table> |
143 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 143 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
144 | <div·class="textblock"> | 144 | <div·class="textblock"> |
145 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0072 | 145 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00728_source.html#l01265">1265</a>·of·file·<a·class="el"·href="a00728_source.html">primvarRefiner.h</a>.</p> |
146 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 146 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
147 | <a·id="a643d81a2ae20ba1897433f5af5a3697a"·name="a643d81a2ae20ba1897433f5af5a3697a"></a> | 147 | <a·id="a643d81a2ae20ba1897433f5af5a3697a"·name="a643d81a2ae20ba1897433f5af5a3697a"></a> |
148 | <h2·class="memtitle"><span·class="permalink"><a·href="#a643d81a2ae20ba1897433f5af5a3697a">◆ </a></span>PrimvarRefiner()</h2> | 148 | <h2·class="memtitle"><span·class="permalink"><a·href="#a643d81a2ae20ba1897433f5af5a3697a">◆ </a></span>PrimvarRefiner()</h2> |
149 | <div·class="memitem"> | 149 | <div·class="memitem"> |
150 | <div·class="memproto"> | 150 | <div·class="memproto"> |
151 | <table·class="mlabels"> | 151 | <table·class="mlabels"> |
Offset 164, 20 lines modified | Offset 164, 20 lines modified | ||
164 | ··</td> | 164 | ··</td> |
165 | ··<td·class="mlabels-right"> | 165 | ··<td·class="mlabels-right"> |
166 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 166 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
167 | ··</tr> | 167 | ··</tr> |
168 | </table> | 168 | </table> |
169 | </div><div·class="memdoc"> | 169 | </div><div·class="memdoc"> |
170 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0072 | 170 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00728_source.html#l01267">1267</a>·of·file·<a·class="el"·href="a00728_source.html">primvarRefiner.h</a>.</p> |
171 | </div> | 171 | </div> |
172 | </div> | 172 | </div> |
173 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 173 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
174 | <li>opensubdiv/far/<a·class="el"·href="a0072 | 174 | <li>opensubdiv/far/<a·class="el"·href="a00728_source.html">primvarRefiner.h</a></li> |
175 | </ul> | 175 | </ul> |
176 | </div><!--·contents·--> | 176 | </div><!--·contents·--> |
177 | </div><!--·doc-content·--> | 177 | </div><!--·doc-content·--> |
178 | <!--·start·footer·part·--> | 178 | <!--·start·footer·part·--> |
179 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 179 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
180 | ··<ul> | 180 | ··<ul> |
181 | ····<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="a01029.html">PrimvarRefiner</a></li> | 181 | ····<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="a01029.html">PrimvarRefiner</a></li> |
Offset 99, 15 lines modified | Offset 99, 15 lines modified | ||
99 | ··<div·class="headertitle"><div·class="title">StencilTableFactoryReal<·REAL·>·Class·Template·Reference</div></div> | 99 | ··<div·class="headertitle"><div·class="title">StencilTableFactoryReal<·REAL·>·Class·Template·Reference</div></div> |
100 | </div><!--header--> | 100 | </div><!--header--> |
101 | <div·class="contents"> | 101 | <div·class="contents"> |
102 | <p>A·specialized·factory·for·<a·class="el"·href="a01057.html"·title="Stencil·table·class·wrapping·the·template·for·compatibility.">StencilTable</a>.·· | 102 | <p>A·specialized·factory·for·<a·class="el"·href="a01057.html"·title="Stencil·table·class·wrapping·the·template·for·compatibility.">StencilTable</a>.·· |
103 | ·<a·href="a01037.html#details">More...</a></p> | 103 | ·<a·href="a01037.html#details">More...</a></p> |
104 | <p><code>#include·<<a·class="el"·href="a0071 | 104 | <p><code>#include·<<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>></code></p> |
105 | <table·class="memberdecls"> | 105 | <table·class="memberdecls"> |
106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
107 | Classes</h2></td></tr> | 107 | Classes</h2></td></tr> |
108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01077.html">Options</a></td></tr> | 108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01077.html">Options</a></td></tr> |
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
110 | </table><table·class="memberdecls"> | 110 | </table><table·class="memberdecls"> |
111 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 111 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
Offset 140, 15 lines modified | Offset 140, 15 lines modified | ||
140 | <tr·class="memdesc:a33b8f611576b3e0907832e571e4844f5"><td·class="mdescLeft"> </td><td·class="mdescRight">Utility·function·for·stencil·splicing·for·local·point·face-varying·stencils.··<br·/></td></tr> | 140 | <tr·class="memdesc:a33b8f611576b3e0907832e571e4844f5"><td·class="mdescLeft"> </td><td·class="mdescRight">Utility·function·for·stencil·splicing·for·local·point·face-varying·stencils.··<br·/></td></tr> |
141 | <tr·class="separator:a33b8f611576b3e0907832e571e4844f5"><td·class="memSeparator"·colspan="2"> </td></tr> | 141 | <tr·class="separator:a33b8f611576b3e0907832e571e4844f5"><td·class="memSeparator"·colspan="2"> </td></tr> |
142 | </table> | 142 | </table> |
143 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 143 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
144 | <div·class="textblock"><div·class="compoundTemplParams">template<typename·REAL><br·/> | 144 | <div·class="textblock"><div·class="compoundTemplParams">template<typename·REAL><br·/> |
145 | class·OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactoryReal<·REAL·></div><p>A·specialized·factory·for·<a·class="el"·href="a01057.html"·title="Stencil·table·class·wrapping·the·template·for·compatibility.">StencilTable</a>.·</p> | 145 | class·OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactoryReal<·REAL·></div><p>A·specialized·factory·for·<a·class="el"·href="a01057.html"·title="Stencil·table·class·wrapping·the·template·for·compatibility.">StencilTable</a>.·</p> |
146 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 146 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00716_source.html#l00051">51</a>·of·file·<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>.</p> |
147 | </div><h2·class="groupheader">Member·Enumeration·Documentation</h2> | 147 | </div><h2·class="groupheader">Member·Enumeration·Documentation</h2> |
148 | <a·id="a46c8a310cf4c094f8c80e1cb8dc1f911"·name="a46c8a310cf4c094f8c80e1cb8dc1f911"></a> | 148 | <a·id="a46c8a310cf4c094f8c80e1cb8dc1f911"·name="a46c8a310cf4c094f8c80e1cb8dc1f911"></a> |
149 | <h2·class="memtitle"><span·class="permalink"><a·href="#a46c8a310cf4c094f8c80e1cb8dc1f911">◆ </a></span>Mode</h2> | 149 | <h2·class="memtitle"><span·class="permalink"><a·href="#a46c8a310cf4c094f8c80e1cb8dc1f911">◆ </a></span>Mode</h2> |
150 | <div·class="memitem"> | 150 | <div·class="memitem"> |
151 | <div·class="memproto"> | 151 | <div·class="memproto"> |
152 | <div·class="memtemplate"> | 152 | <div·class="memtemplate"> |
Offset 164, 15 lines modified | Offset 164, 15 lines modified | ||
164 | </td></tr> | 164 | </td></tr> |
165 | <tr><td·class="fieldname"><a·id="a46c8a310cf4c094f8c80e1cb8dc1f911ab18c20abfc04611ab0aec5e1c81bb2ab"·name="a46c8a310cf4c094f8c80e1cb8dc1f911ab18c20abfc04611ab0aec5e1c81bb2ab"></a>INTERPOLATE_VARYING </td><td·class="fielddoc"><p>varying·primvar·stencils·</p> | 165 | <tr><td·class="fieldname"><a·id="a46c8a310cf4c094f8c80e1cb8dc1f911ab18c20abfc04611ab0aec5e1c81bb2ab"·name="a46c8a310cf4c094f8c80e1cb8dc1f911ab18c20abfc04611ab0aec5e1c81bb2ab"></a>INTERPOLATE_VARYING </td><td·class="fielddoc"><p>varying·primvar·stencils·</p> |
166 | </td></tr> | 166 | </td></tr> |
167 | <tr><td·class="fieldname"><a·id="a46c8a310cf4c094f8c80e1cb8dc1f911a4178369e390d2596ce60676642fec077"·name="a46c8a310cf4c094f8c80e1cb8dc1f911a4178369e390d2596ce60676642fec077"></a>INTERPOLATE_FACE_VARYING </td><td·class="fielddoc"><p>face-varying·primvar·stencils·</p> | 167 | <tr><td·class="fieldname"><a·id="a46c8a310cf4c094f8c80e1cb8dc1f911a4178369e390d2596ce60676642fec077"·name="a46c8a310cf4c094f8c80e1cb8dc1f911a4178369e390d2596ce60676642fec077"></a>INTERPOLATE_FACE_VARYING </td><td·class="fielddoc"><p>face-varying·primvar·stencils·</p> |
168 | </td></tr> | 168 | </td></tr> |
169 | </table> | 169 | </table> |
170 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 170 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00716_source.html#l00055">55</a>·of·file·<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>.</p> |
171 | </div> | 171 | </div> |
172 | </div> | 172 | </div> |
173 | <h2·class="groupheader">Member·Function·Documentation</h2> | 173 | <h2·class="groupheader">Member·Function·Documentation</h2> |
174 | <a·id="ac3115cc051309860811962d0b1fa9413"·name="ac3115cc051309860811962d0b1fa9413"></a> | 174 | <a·id="ac3115cc051309860811962d0b1fa9413"·name="ac3115cc051309860811962d0b1fa9413"></a> |
175 | <h2·class="memtitle"><span·class="permalink"><a·href="#ac3115cc051309860811962d0b1fa9413">◆ </a></span>AppendLocalPointStencilTable()</h2> | 175 | <h2·class="memtitle"><span·class="permalink"><a·href="#ac3115cc051309860811962d0b1fa9413">◆ </a></span>AppendLocalPointStencilTable()</h2> |
Offset 357, 15 lines modified | Offset 357, 15 lines modified | ||
357 | ····<tr><td·class="paramname">baseStencilTable</td><td>Input·<a·class="el"·href="a01057.html"·title="Stencil·table·class·wrapping·the·template·for·compatibility.">StencilTable</a>·for·refined·vertices</td></tr> | 357 | ····<tr><td·class="paramname">baseStencilTable</td><td>Input·<a·class="el"·href="a01057.html"·title="Stencil·table·class·wrapping·the·template·for·compatibility.">StencilTable</a>·for·refined·vertices</td></tr> |
358 | ····<tr><td·class="paramname">localPointStencilTable</td><td><a·class="el"·href="a01057.html"·title="Stencil·table·class·wrapping·the·template·for·compatibility.">StencilTable</a>·for·the·change·of·basis·patch·points.</td></tr> | 358 | ····<tr><td·class="paramname">localPointStencilTable</td><td><a·class="el"·href="a01057.html"·title="Stencil·table·class·wrapping·the·template·for·compatibility.">StencilTable</a>·for·the·change·of·basis·patch·points.</td></tr> |
359 | ····<tr><td·class="paramname">factorize</td><td>If·factorize·is·set·to·true,·endcap·stencils·will·be·factorized·with·supporting·vertices·from·baseStencil·table·so·that·the·endcap·points·can·be·computed·directly·from·control·vertices.·</td></tr> | 359 | ····<tr><td·class="paramname">factorize</td><td>If·factorize·is·set·to·true,·endcap·stencils·will·be·factorized·with·supporting·vertices·from·baseStencil·table·so·that·the·endcap·points·can·be·computed·directly·from·control·vertices.·</td></tr> |
360 | ··</table> | 360 | ··</table> |
361 | ··</dd> | 361 | ··</dd> |
362 | </dl> | 362 | </dl> |
363 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 363 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00716_source.html#l00148">148</a>·of·file·<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>.</p> |
364 | </div> | 364 | </div> |
365 | </div> | 365 | </div> |
366 | <a·id="aecc6558dfbb8b7bb2c2a89150cb8340a"·name="aecc6558dfbb8b7bb2c2a89150cb8340a"></a> | 366 | <a·id="aecc6558dfbb8b7bb2c2a89150cb8340a"·name="aecc6558dfbb8b7bb2c2a89150cb8340a"></a> |
367 | <h2·class="memtitle"><span·class="permalink"><a·href="#aecc6558dfbb8b7bb2c2a89150cb8340a">◆ </a></span>Create()·<span·class="overload">[1/2]</span></h2> | 367 | <h2·class="memtitle"><span·class="permalink"><a·href="#aecc6558dfbb8b7bb2c2a89150cb8340a">◆ </a></span>Create()·<span·class="overload">[1/2]</span></h2> |
368 | <div·class="memitem"> | 368 | <div·class="memitem"> |
Offset 459, 15 lines modified | Offset 459, 15 lines modified | ||
459 | ··</dd> | 459 | ··</dd> |
460 | </dl> | 460 | </dl> |
461 | </div> | 461 | </div> |
462 | </div> | 462 | </div> |
463 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> | 463 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> |
464 | <li>opensubdiv/far/<a·class="el"·href="a00719_source.html">stencilTable.h</a></li> | 464 | <li>opensubdiv/far/<a·class="el"·href="a00719_source.html">stencilTable.h</a></li> |
465 | <li>opensubdiv/far/<a·class="el"·href="a0071 | 465 | <li>opensubdiv/far/<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a></li> |
466 | </ul> | 466 | </ul> |
467 | </div><!--·contents·--> | 467 | </div><!--·contents·--> |
468 | </div><!--·doc-content·--> | 468 | </div><!--·doc-content·--> |
469 | <!--·start·footer·part·--> | 469 | <!--·start·footer·part·--> |
470 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 470 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
471 | ··<ul> | 471 | ··<ul> |
472 | ····<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="a01037.html">StencilTableFactoryReal</a></li> | 472 | ····<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="a01037.html">StencilTableFactoryReal</a></li> |
Offset 99, 15 lines modified | Offset 99, 15 lines modified | ||
99 | ··<div·class="headertitle"><div·class="title">LimitStencilTableFactoryReal<·REAL·>·Class·Template·Reference</div></div> | 99 | ··<div·class="headertitle"><div·class="title">LimitStencilTableFactoryReal<·REAL·>·Class·Template·Reference</div></div> |
100 | </div><!--header--> | 100 | </div><!--header--> |
101 | <div·class="contents"> | 101 | <div·class="contents"> |
102 | <p>A·specialized·factory·for·<a·class="el"·href="a01073.html"·title="Limit·stencil·table·class·wrapping·the·template·for·compatibility.">LimitStencilTable</a>.·· | 102 | <p>A·specialized·factory·for·<a·class="el"·href="a01073.html"·title="Limit·stencil·table·class·wrapping·the·template·for·compatibility.">LimitStencilTable</a>.·· |
103 | ·<a·href="a01041.html#details">More...</a></p> | 103 | ·<a·href="a01041.html#details">More...</a></p> |
104 | <p><code>#include·<<a·class="el"·href="a0071 | 104 | <p><code>#include·<<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>></code></p> |
105 | <table·class="memberdecls"> | 105 | <table·class="memberdecls"> |
106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
107 | Classes</h2></td></tr> | 107 | Classes</h2></td></tr> |
108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01085.html">LocationArray</a></td></tr> | 108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01085.html">LocationArray</a></td></tr> |
109 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Descriptor·for·limit·surface·locations.··<a·href="a01085.html#details">More...</a><br·/></td></tr> | 109 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Descriptor·for·limit·surface·locations.··<a·href="a01085.html#details">More...</a><br·/></td></tr> |
110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
111 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01081.html">Options</a></td></tr> | 111 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01081.html">Options</a></td></tr> |
Offset 135, 15 lines modified | Offset 135, 15 lines modified | ||
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"><div·class="compoundTemplParams">template<typename·REAL><br·/> | 137 | <div·class="textblock"><div·class="compoundTemplParams">template<typename·REAL><br·/> |
138 | class·OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilTableFactoryReal<·REAL·></div><p>A·specialized·factory·for·<a·class="el"·href="a01073.html"·title="Limit·stencil·table·class·wrapping·the·template·for·compatibility.">LimitStencilTable</a>.·</p> | 138 | class·OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilTableFactoryReal<·REAL·></div><p>A·specialized·factory·for·<a·class="el"·href="a01073.html"·title="Limit·stencil·table·class·wrapping·the·template·for·compatibility.">LimitStencilTable</a>.·</p> |
139 | <p>The·<a·class="el"·href="a01093.html"·title="Stencil·table·factory·class·wrapping·the·template·for·compatibility.">LimitStencilTableFactory</a>·creates·a·table·of·limit·stencils.·Limit·stencils·can·interpolate·any·arbitrary·location·on·the·limit·surface.·The·stencils·will·be·bilinear·if·the·surface·is·refined·uniformly,·and·bicubic·if·feature·adaptive·isolation·is·used·instead.</p> | 139 | <p>The·<a·class="el"·href="a01093.html"·title="Stencil·table·factory·class·wrapping·the·template·for·compatibility.">LimitStencilTableFactory</a>·creates·a·table·of·limit·stencils.·Limit·stencils·can·interpolate·any·arbitrary·location·on·the·limit·surface.·The·stencils·will·be·bilinear·if·the·surface·is·refined·uniformly,·and·bicubic·if·feature·adaptive·isolation·is·used·instead.</p> |
140 | <p>Surface·locations·are·expressed·as·a·combination·of·ptex·face·index·and·normalized·(s,t)·patch·coordinates.·The·factory·exposes·the·<a·class="el"·href="a01085.html"·title="Descriptor·for·limit·surface·locations.">LocationArray</a>·struct·as·a·container·for·these·location·descriptors.·</p> | 140 | <p>Surface·locations·are·expressed·as·a·combination·of·ptex·face·index·and·normalized·(s,t)·patch·coordinates.·The·factory·exposes·the·<a·class="el"·href="a01085.html"·title="Descriptor·for·limit·surface·locations.">LocationArray</a>·struct·as·a·container·for·these·location·descriptors.·</p> |
141 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 141 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00716_source.html#l00209">209</a>·of·file·<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>.</p> |
142 | </div><h2·class="groupheader">Member·Typedef·Documentation</h2> | 142 | </div><h2·class="groupheader">Member·Typedef·Documentation</h2> |
143 | <a·id="a940880e2d35dea72f52db5bcdc9c94b7"·name="a940880e2d35dea72f52db5bcdc9c94b7"></a> | 143 | <a·id="a940880e2d35dea72f52db5bcdc9c94b7"·name="a940880e2d35dea72f52db5bcdc9c94b7"></a> |
144 | <h2·class="memtitle"><span·class="permalink"><a·href="#a940880e2d35dea72f52db5bcdc9c94b7">◆ </a></span>LocationArrayVec</h2> | 144 | <h2·class="memtitle"><span·class="permalink"><a·href="#a940880e2d35dea72f52db5bcdc9c94b7">◆ </a></span>LocationArrayVec</h2> |
145 | <div·class="memitem"> | 145 | <div·class="memitem"> |
146 | <div·class="memproto"> | 146 | <div·class="memproto"> |
147 | <div·class="memtemplate"> | 147 | <div·class="memtemplate"> |
Offset 151, 15 lines modified | Offset 151, 15 lines modified | ||
151 | ······<table·class="memname"> | 151 | ······<table·class="memname"> |
152 | ········<tr> | 152 | ········<tr> |
153 | ··········<td·class="memname">typedef·std::vector<<a·class="el"·href="a01085.html">LocationArray</a>>·<a·class="el"·href="a01041.html#a940880e2d35dea72f52db5bcdc9c94b7">LocationArrayVec</a></td> | 153 | ··········<td·class="memname">typedef·std::vector<<a·class="el"·href="a01085.html">LocationArray</a>>·<a·class="el"·href="a01041.html#a940880e2d35dea72f52db5bcdc9c94b7">LocationArrayVec</a></td> |
154 | ········</tr> | 154 | ········</tr> |
155 | ······</table> | 155 | ······</table> |
156 | </div><div·class="memdoc"> | 156 | </div><div·class="memdoc"> |
157 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 157 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00716_source.html#l00244">244</a>·of·file·<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>.</p> |
158 | </div> | 158 | </div> |
159 | </div> | 159 | </div> |
160 | <h2·class="groupheader">Member·Enumeration·Documentation</h2> | 160 | <h2·class="groupheader">Member·Enumeration·Documentation</h2> |
161 | <a·id="a46c8a310cf4c094f8c80e1cb8dc1f911"·name="a46c8a310cf4c094f8c80e1cb8dc1f911"></a> | 161 | <a·id="a46c8a310cf4c094f8c80e1cb8dc1f911"·name="a46c8a310cf4c094f8c80e1cb8dc1f911"></a> |
162 | <h2·class="memtitle"><span·class="permalink"><a·href="#a46c8a310cf4c094f8c80e1cb8dc1f911">◆ </a></span>Mode</h2> | 162 | <h2·class="memtitle"><span·class="permalink"><a·href="#a46c8a310cf4c094f8c80e1cb8dc1f911">◆ </a></span>Mode</h2> |
Offset 178, 15 lines modified | Offset 178, 15 lines modified | ||
178 | </td></tr> | 178 | </td></tr> |
179 | <tr><td·class="fieldname"><a·id="a46c8a310cf4c094f8c80e1cb8dc1f911ab18c20abfc04611ab0aec5e1c81bb2ab"·name="a46c8a310cf4c094f8c80e1cb8dc1f911ab18c20abfc04611ab0aec5e1c81bb2ab"></a>INTERPOLATE_VARYING </td><td·class="fielddoc"><p>varying·primvar·stencils·</p> | 179 | <tr><td·class="fieldname"><a·id="a46c8a310cf4c094f8c80e1cb8dc1f911ab18c20abfc04611ab0aec5e1c81bb2ab"·name="a46c8a310cf4c094f8c80e1cb8dc1f911ab18c20abfc04611ab0aec5e1c81bb2ab"></a>INTERPOLATE_VARYING </td><td·class="fielddoc"><p>varying·primvar·stencils·</p> |
180 | </td></tr> | 180 | </td></tr> |
181 | <tr><td·class="fieldname"><a·id="a46c8a310cf4c094f8c80e1cb8dc1f911a4178369e390d2596ce60676642fec077"·name="a46c8a310cf4c094f8c80e1cb8dc1f911a4178369e390d2596ce60676642fec077"></a>INTERPOLATE_FACE_VARYING </td><td·class="fielddoc"><p>face-varying·primvar·stencils·</p> | 181 | <tr><td·class="fieldname"><a·id="a46c8a310cf4c094f8c80e1cb8dc1f911a4178369e390d2596ce60676642fec077"·name="a46c8a310cf4c094f8c80e1cb8dc1f911a4178369e390d2596ce60676642fec077"></a>INTERPOLATE_FACE_VARYING </td><td·class="fielddoc"><p>face-varying·primvar·stencils·</p> |
182 | </td></tr> | 182 | </td></tr> |
183 | </table> | 183 | </table> |
184 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 184 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00716_source.html#l00213">213</a>·of·file·<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>.</p> |
185 | </div> | 185 | </div> |
186 | </div> | 186 | </div> |
187 | <h2·class="groupheader">Member·Function·Documentation</h2> | 187 | <h2·class="groupheader">Member·Function·Documentation</h2> |
188 | <a·id="aeed4f0b7aa0a6a1d8f3673e01c062d48"·name="aeed4f0b7aa0a6a1d8f3673e01c062d48"></a> | 188 | <a·id="aeed4f0b7aa0a6a1d8f3673e01c062d48"·name="aeed4f0b7aa0a6a1d8f3673e01c062d48"></a> |
189 | <h2·class="memtitle"><span·class="permalink"><a·href="#aeed4f0b7aa0a6a1d8f3673e01c062d48">◆ </a></span>Create()</h2> | 189 | <h2·class="memtitle"><span·class="permalink"><a·href="#aeed4f0b7aa0a6a1d8f3673e01c062d48">◆ </a></span>Create()</h2> |
Offset 253, 15 lines modified | Offset 253, 15 lines modified | ||
253 | ··</dd> | 253 | ··</dd> |
254 | </dl> | 254 | </dl> |
255 | </div> | 255 | </div> |
256 | </div> | 256 | </div> |
257 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> | 257 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> |
258 | <li>opensubdiv/far/<a·class="el"·href="a00719_source.html">stencilTable.h</a></li> | 258 | <li>opensubdiv/far/<a·class="el"·href="a00719_source.html">stencilTable.h</a></li> |
259 | <li>opensubdiv/far/<a·class="el"·href="a0071 | 259 | <li>opensubdiv/far/<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a></li> |
260 | </ul> | 260 | </ul> |
261 | </div><!--·contents·--> | 261 | </div><!--·contents·--> |
262 | </div><!--·doc-content·--> | 262 | </div><!--·doc-content·--> |
263 | <!--·start·footer·part·--> | 263 | <!--·start·footer·part·--> |
264 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 264 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
265 | ··<ul> | 265 | ··<ul> |
266 | ····<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="a01041.html">LimitStencilTableFactoryReal</a></li> | 266 | ····<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="a01041.html">LimitStencilTableFactoryReal</a></li> |
Offset 95, 15 lines modified | Offset 95, 15 lines modified | ||
95 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 95 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
96 | <a·href="#pub-attribs">Public·Attributes</a>·| | 96 | <a·href="#pub-attribs">Public·Attributes</a>·| |
97 | <a·href="a01074.html">List·of·all·members</a>··</div> | 97 | <a·href="a01074.html">List·of·all·members</a>··</div> |
98 | ··<div·class="headertitle"><div·class="title">StencilTableFactoryReal<·REAL·>::Options·Struct·Reference</div></div> | 98 | ··<div·class="headertitle"><div·class="title">StencilTableFactoryReal<·REAL·>::Options·Struct·Reference</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <p><code>#include·<<a·class="el"·href="a0071 | 101 | <p><code>#include·<<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>></code></p> |
102 | <table·class="memberdecls"> | 102 | <table·class="memberdecls"> |
103 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 103 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
104 | Public·Member·Functions</h2></td></tr> | 104 | Public·Member·Functions</h2></td></tr> |
105 | <tr·class="memitem:a28d39a844c3a37ab61d32ab7c6352f09"·id="r_a28d39a844c3a37ab61d32ab7c6352f09"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01077.html#a28d39a844c3a37ab61d32ab7c6352f09">Options</a>·()</td></tr> | 105 | <tr·class="memitem:a28d39a844c3a37ab61d32ab7c6352f09"·id="r_a28d39a844c3a37ab61d32ab7c6352f09"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01077.html#a28d39a844c3a37ab61d32ab7c6352f09">Options</a>·()</td></tr> |
106 | <tr·class="separator:a28d39a844c3a37ab61d32ab7c6352f09"><td·class="memSeparator"·colspan="2"> </td></tr> | 106 | <tr·class="separator:a28d39a844c3a37ab61d32ab7c6352f09"><td·class="memSeparator"·colspan="2"> </td></tr> |
107 | </table><table·class="memberdecls"> | 107 | </table><table·class="memberdecls"> |
108 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a> | 108 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a> |
Offset 127, 15 lines modified | Offset 127, 15 lines modified | ||
127 | <tr·class="separator:a110477b0e61b09d8be1a472df34f6386"><td·class="memSeparator"·colspan="2"> </td></tr> | 127 | <tr·class="separator:a110477b0e61b09d8be1a472df34f6386"><td·class="memSeparator"·colspan="2"> </td></tr> |
128 | <tr·class="memitem:a7cd8273eef086a749ce3d40063fb4a28"·id="r_a7cd8273eef086a749ce3d40063fb4a28"><td·class="memItemLeft"·align="right"·valign="top">unsigned·int </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01077.html#a7cd8273eef086a749ce3d40063fb4a28">fvarChannel</a></td></tr> | 128 | <tr·class="memitem:a7cd8273eef086a749ce3d40063fb4a28"·id="r_a7cd8273eef086a749ce3d40063fb4a28"><td·class="memItemLeft"·align="right"·valign="top">unsigned·int </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01077.html#a7cd8273eef086a749ce3d40063fb4a28">fvarChannel</a></td></tr> |
129 | <tr·class="separator:a7cd8273eef086a749ce3d40063fb4a28"><td·class="memSeparator"·colspan="2"> </td></tr> | 129 | <tr·class="separator:a7cd8273eef086a749ce3d40063fb4a28"><td·class="memSeparator"·colspan="2"> </td></tr> |
130 | </table> | 130 | </table> |
131 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 131 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
132 | <div·class="textblock"><div·class="compoundTemplParams">template<typename·REAL><br·/> | 132 | <div·class="textblock"><div·class="compoundTemplParams">template<typename·REAL><br·/> |
133 | struct·OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactoryReal<·REAL·>::Options</div> | 133 | struct·OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactoryReal<·REAL·>::Options</div> |
134 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 134 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00716_source.html#l00061">61</a>·of·file·<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>.</p> |
135 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 135 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
136 | <a·id="a28d39a844c3a37ab61d32ab7c6352f09"·name="a28d39a844c3a37ab61d32ab7c6352f09"></a> | 136 | <a·id="a28d39a844c3a37ab61d32ab7c6352f09"·name="a28d39a844c3a37ab61d32ab7c6352f09"></a> |
137 | <h2·class="memtitle"><span·class="permalink"><a·href="#a28d39a844c3a37ab61d32ab7c6352f09">◆ </a></span>Options()</h2> | 137 | <h2·class="memtitle"><span·class="permalink"><a·href="#a28d39a844c3a37ab61d32ab7c6352f09">◆ </a></span>Options()</h2> |
138 | <div·class="memitem"> | 138 | <div·class="memitem"> |
139 | <div·class="memproto"> | 139 | <div·class="memproto"> |
140 | <div·class="memtemplate"> | 140 | <div·class="memtemplate"> |
Offset 154, 15 lines modified | Offset 154, 15 lines modified | ||
154 | ··</td> | 154 | ··</td> |
155 | ··<td·class="mlabels-right"> | 155 | ··<td·class="mlabels-right"> |
156 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 156 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
157 | ··</tr> | 157 | ··</tr> |
158 | </table> | 158 | </table> |
159 | </div><div·class="memdoc"> | 159 | </div><div·class="memdoc"> |
160 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 160 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00716_source.html#l00063">63</a>·of·file·<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>.</p> |
161 | </div> | 161 | </div> |
162 | </div> | 162 | </div> |
163 | <h2·class="groupheader">Member·Data·Documentation</h2> | 163 | <h2·class="groupheader">Member·Data·Documentation</h2> |
164 | <a·id="a059c9b4a95b37faa88d1dd0fac0adc8d"·name="a059c9b4a95b37faa88d1dd0fac0adc8d"></a> | 164 | <a·id="a059c9b4a95b37faa88d1dd0fac0adc8d"·name="a059c9b4a95b37faa88d1dd0fac0adc8d"></a> |
165 | <h2·class="memtitle"><span·class="permalink"><a·href="#a059c9b4a95b37faa88d1dd0fac0adc8d">◆ </a></span>factorizeIntermediateLevels</h2> | 165 | <h2·class="memtitle"><span·class="permalink"><a·href="#a059c9b4a95b37faa88d1dd0fac0adc8d">◆ </a></span>factorizeIntermediateLevels</h2> |
Offset 174, 15 lines modified | Offset 174, 15 lines modified | ||
174 | ········<tr> | 174 | ········<tr> |
175 | ··········<td·class="memname">unsigned·int·factorizeIntermediateLevels</td> | 175 | ··········<td·class="memname">unsigned·int·factorizeIntermediateLevels</td> |
176 | ········</tr> | 176 | ········</tr> |
177 | ······</table> | 177 | ······</table> |
178 | </div><div·class="memdoc"> | 178 | </div><div·class="memdoc"> |
179 | <p>accumulate·stencil·weights·from·control·vertices·or·from·the·stencils·of·the·previous·level·</p> | 179 | <p>accumulate·stencil·weights·from·control·vertices·or·from·the·stencils·of·the·previous·level·</p> |
180 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 180 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00716_source.html#l00075">75</a>·of·file·<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>.</p> |
181 | </div> | 181 | </div> |
182 | </div> | 182 | </div> |
183 | <a·id="a7cd8273eef086a749ce3d40063fb4a28"·name="a7cd8273eef086a749ce3d40063fb4a28"></a> | 183 | <a·id="a7cd8273eef086a749ce3d40063fb4a28"·name="a7cd8273eef086a749ce3d40063fb4a28"></a> |
184 | <h2·class="memtitle"><span·class="permalink"><a·href="#a7cd8273eef086a749ce3d40063fb4a28">◆ </a></span>fvarChannel</h2> | 184 | <h2·class="memtitle"><span·class="permalink"><a·href="#a7cd8273eef086a749ce3d40063fb4a28">◆ </a></span>fvarChannel</h2> |
185 | <div·class="memitem"> | 185 | <div·class="memitem"> |
Offset 193, 15 lines modified | Offset 193, 15 lines modified | ||
193 | ········<tr> | 193 | ········<tr> |
194 | ··········<td·class="memname">unsigned·int·fvarChannel</td> | 194 | ··········<td·class="memname">unsigned·int·fvarChannel</td> |
195 | ········</tr> | 195 | ········</tr> |
196 | ······</table> | 196 | ······</table> |
197 | </div><div·class="memdoc"> | 197 | </div><div·class="memdoc"> |
198 | <p>face-varying·channel·to·use·when·generating·face-varying·stencils·</p> | 198 | <p>face-varying·channel·to·use·when·generating·face-varying·stencils·</p> |
199 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 199 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00716_source.html#l00079">79</a>·of·file·<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>.</p> |
200 | </div> | 200 | </div> |
201 | </div> | 201 | </div> |
202 | <a·id="a7091c369d67630320a623dbc4a2b34b7"·name="a7091c369d67630320a623dbc4a2b34b7"></a> | 202 | <a·id="a7091c369d67630320a623dbc4a2b34b7"·name="a7091c369d67630320a623dbc4a2b34b7"></a> |
203 | <h2·class="memtitle"><span·class="permalink"><a·href="#a7091c369d67630320a623dbc4a2b34b7">◆ </a></span>generateControlVerts</h2> | 203 | <h2·class="memtitle"><span·class="permalink"><a·href="#a7091c369d67630320a623dbc4a2b34b7">◆ </a></span>generateControlVerts</h2> |
204 | <div·class="memitem"> | 204 | <div·class="memitem"> |
Offset 213, 15 lines modified | Offset 213, 15 lines modified | ||
213 | ··········<td·class="memname">unsigned·int·generateControlVerts</td> | 213 | ··········<td·class="memname">unsigned·int·generateControlVerts</td> |
214 | ········</tr> | 214 | ········</tr> |
215 | ······</table> | 215 | ······</table> |
216 | </div><div·class="memdoc"> | 216 | </div><div·class="memdoc"> |
217 | <p>generate·stencils·for·control-vertices·</p> | 217 | <p>generate·stencils·for·control-vertices·</p> |
218 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 218 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00716_source.html#l00073">73</a>·of·file·<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>.</p> |
219 | </div> | 219 | </div> |
220 | </div> | 220 | </div> |
221 | <a·id="a55457e193a57e08a56663abf8cc838b4"·name="a55457e193a57e08a56663abf8cc838b4"></a> | 221 | <a·id="a55457e193a57e08a56663abf8cc838b4"·name="a55457e193a57e08a56663abf8cc838b4"></a> |
222 | <h2·class="memtitle"><span·class="permalink"><a·href="#a55457e193a57e08a56663abf8cc838b4">◆ </a></span>generateIntermediateLevels</h2> | 222 | <h2·class="memtitle"><span·class="permalink"><a·href="#a55457e193a57e08a56663abf8cc838b4">◆ </a></span>generateIntermediateLevels</h2> |
223 | <div·class="memitem"> | 223 | <div·class="memitem"> |
Offset 233, 15 lines modified | Offset 233, 15 lines modified | ||
233 | ··········<td·class="memname">unsigned·int·generateIntermediateLevels</td> | 233 | ··········<td·class="memname">unsigned·int·generateIntermediateLevels</td> |
234 | ········</tr> | 234 | ········</tr> |
235 | ······</table> | 235 | ······</table> |
236 | </div><div·class="memdoc"> | 236 | </div><div·class="memdoc"> |
237 | <p>vertices·at·all·levels·or·highest·only·</p> | 237 | <p>vertices·at·all·levels·or·highest·only·</p> |
238 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 238 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00716_source.html#l00074">74</a>·of·file·<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>.</p> |
239 | </div> | 239 | </div> |
240 | </div> | 240 | </div> |
241 | <a·id="a73289d5e55adccde08afd7399a2357f2"·name="a73289d5e55adccde08afd7399a2357f2"></a> | 241 | <a·id="a73289d5e55adccde08afd7399a2357f2"·name="a73289d5e55adccde08afd7399a2357f2"></a> |
242 | <h2·class="memtitle"><span·class="permalink"><a·href="#a73289d5e55adccde08afd7399a2357f2">◆ </a></span>generateOffsets</h2> | 242 | <h2·class="memtitle"><span·class="permalink"><a·href="#a73289d5e55adccde08afd7399a2357f2">◆ </a></span>generateOffsets</h2> |
243 | <div·class="memitem"> | 243 | <div·class="memitem"> |
Offset 253, 15 lines modified | Offset 253, 15 lines modified | ||
253 | ··········<td·class="memname">unsigned·int·generateOffsets</td> | 253 | ··········<td·class="memname">unsigned·int·generateOffsets</td> |
254 | ········</tr> | 254 | ········</tr> |
255 | ······</table> | 255 | ······</table> |
256 | </div><div·class="memdoc"> | 256 | </div><div·class="memdoc"> |
257 | <p>populate·optional·"_offsets"·field·</p> | 257 | <p>populate·optional·"_offsets"·field·</p> |
258 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 258 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00716_source.html#l00072">72</a>·of·file·<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>.</p> |
259 | </div> | 259 | </div> |
260 | </div> | 260 | </div> |
261 | <a·id="ab7c383a49298cf060574242fe679378f"·name="ab7c383a49298cf060574242fe679378f"></a> | 261 | <a·id="ab7c383a49298cf060574242fe679378f"·name="ab7c383a49298cf060574242fe679378f"></a> |
262 | <h2·class="memtitle"><span·class="permalink"><a·href="#ab7c383a49298cf060574242fe679378f">◆ </a></span>interpolationMode</h2> | 262 | <h2·class="memtitle"><span·class="permalink"><a·href="#ab7c383a49298cf060574242fe679378f">◆ </a></span>interpolationMode</h2> |
263 | <div·class="memitem"> | 263 | <div·class="memitem"> |
Max diff block lines reached; 2143/10070 bytes (21.28%) of diff not shown. |
Offset 95, 15 lines modified | Offset 95, 15 lines modified | ||
95 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 95 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
96 | <a·href="#pub-attribs">Public·Attributes</a>·| | 96 | <a·href="#pub-attribs">Public·Attributes</a>·| |
97 | <a·href="a01078.html">List·of·all·members</a>··</div> | 97 | <a·href="a01078.html">List·of·all·members</a>··</div> |
98 | ··<div·class="headertitle"><div·class="title">LimitStencilTableFactoryReal<·REAL·>::Options·Struct·Reference</div></div> | 98 | ··<div·class="headertitle"><div·class="title">LimitStencilTableFactoryReal<·REAL·>::Options·Struct·Reference</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <p><code>#include·<<a·class="el"·href="a0071 | 101 | <p><code>#include·<<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>></code></p> |
102 | <table·class="memberdecls"> | 102 | <table·class="memberdecls"> |
103 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 103 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
104 | Public·Member·Functions</h2></td></tr> | 104 | Public·Member·Functions</h2></td></tr> |
105 | <tr·class="memitem:a28d39a844c3a37ab61d32ab7c6352f09"·id="r_a28d39a844c3a37ab61d32ab7c6352f09"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01081.html#a28d39a844c3a37ab61d32ab7c6352f09">Options</a>·()</td></tr> | 105 | <tr·class="memitem:a28d39a844c3a37ab61d32ab7c6352f09"·id="r_a28d39a844c3a37ab61d32ab7c6352f09"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01081.html#a28d39a844c3a37ab61d32ab7c6352f09">Options</a>·()</td></tr> |
106 | <tr·class="separator:a28d39a844c3a37ab61d32ab7c6352f09"><td·class="memSeparator"·colspan="2"> </td></tr> | 106 | <tr·class="separator:a28d39a844c3a37ab61d32ab7c6352f09"><td·class="memSeparator"·colspan="2"> </td></tr> |
107 | </table><table·class="memberdecls"> | 107 | </table><table·class="memberdecls"> |
108 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a> | 108 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a> |
Offset 120, 15 lines modified | Offset 120, 15 lines modified | ||
120 | <tr·class="memitem:a7cd8273eef086a749ce3d40063fb4a28"·id="r_a7cd8273eef086a749ce3d40063fb4a28"><td·class="memItemLeft"·align="right"·valign="top">unsigned·int </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01081.html#a7cd8273eef086a749ce3d40063fb4a28">fvarChannel</a></td></tr> | 120 | <tr·class="memitem:a7cd8273eef086a749ce3d40063fb4a28"·id="r_a7cd8273eef086a749ce3d40063fb4a28"><td·class="memItemLeft"·align="right"·valign="top">unsigned·int </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01081.html#a7cd8273eef086a749ce3d40063fb4a28">fvarChannel</a></td></tr> |
121 | <tr·class="memdesc:a7cd8273eef086a749ce3d40063fb4a28"><td·class="mdescLeft"> </td><td·class="mdescRight">face-varying·channel·to·use··<br·/></td></tr> | 121 | <tr·class="memdesc:a7cd8273eef086a749ce3d40063fb4a28"><td·class="mdescLeft"> </td><td·class="mdescRight">face-varying·channel·to·use··<br·/></td></tr> |
122 | <tr·class="separator:a7cd8273eef086a749ce3d40063fb4a28"><td·class="memSeparator"·colspan="2"> </td></tr> | 122 | <tr·class="separator:a7cd8273eef086a749ce3d40063fb4a28"><td·class="memSeparator"·colspan="2"> </td></tr> |
123 | </table> | 123 | </table> |
124 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 124 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
125 | <div·class="textblock"><div·class="compoundTemplParams">template<typename·REAL><br·/> | 125 | <div·class="textblock"><div·class="compoundTemplParams">template<typename·REAL><br·/> |
126 | struct·OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilTableFactoryReal<·REAL·>::Options</div> | 126 | struct·OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilTableFactoryReal<·REAL·>::Options</div> |
127 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 127 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00716_source.html#l00219">219</a>·of·file·<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>.</p> |
128 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 128 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
129 | <a·id="a28d39a844c3a37ab61d32ab7c6352f09"·name="a28d39a844c3a37ab61d32ab7c6352f09"></a> | 129 | <a·id="a28d39a844c3a37ab61d32ab7c6352f09"·name="a28d39a844c3a37ab61d32ab7c6352f09"></a> |
130 | <h2·class="memtitle"><span·class="permalink"><a·href="#a28d39a844c3a37ab61d32ab7c6352f09">◆ </a></span>Options()</h2> | 130 | <h2·class="memtitle"><span·class="permalink"><a·href="#a28d39a844c3a37ab61d32ab7c6352f09">◆ </a></span>Options()</h2> |
131 | <div·class="memitem"> | 131 | <div·class="memitem"> |
132 | <div·class="memproto"> | 132 | <div·class="memproto"> |
133 | <div·class="memtemplate"> | 133 | <div·class="memtemplate"> |
Offset 147, 15 lines modified | Offset 147, 15 lines modified | ||
147 | ··</td> | 147 | ··</td> |
148 | ··<td·class="mlabels-right"> | 148 | ··<td·class="mlabels-right"> |
149 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 149 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
150 | ··</tr> | 150 | ··</tr> |
151 | </table> | 151 | </table> |
152 | </div><div·class="memdoc"> | 152 | </div><div·class="memdoc"> |
153 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 153 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00716_source.html#l00221">221</a>·of·file·<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>.</p> |
154 | </div> | 154 | </div> |
155 | </div> | 155 | </div> |
156 | <h2·class="groupheader">Member·Data·Documentation</h2> | 156 | <h2·class="groupheader">Member·Data·Documentation</h2> |
157 | <a·id="a7cd8273eef086a749ce3d40063fb4a28"·name="a7cd8273eef086a749ce3d40063fb4a28"></a> | 157 | <a·id="a7cd8273eef086a749ce3d40063fb4a28"·name="a7cd8273eef086a749ce3d40063fb4a28"></a> |
158 | <h2·class="memtitle"><span·class="permalink"><a·href="#a7cd8273eef086a749ce3d40063fb4a28">◆ </a></span>fvarChannel</h2> | 158 | <h2·class="memtitle"><span·class="permalink"><a·href="#a7cd8273eef086a749ce3d40063fb4a28">◆ </a></span>fvarChannel</h2> |
Offset 168, 15 lines modified | Offset 168, 15 lines modified | ||
168 | ··········<td·class="memname">unsigned·int·fvarChannel</td> | 168 | ··········<td·class="memname">unsigned·int·fvarChannel</td> |
169 | ········</tr> | 169 | ········</tr> |
170 | ······</table> | 170 | ······</table> |
171 | </div><div·class="memdoc"> | 171 | </div><div·class="memdoc"> |
172 | <p>face-varying·channel·to·use·</p> | 172 | <p>face-varying·channel·to·use·</p> |
173 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 173 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00716_source.html#l00229">229</a>·of·file·<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>.</p> |
174 | </div> | 174 | </div> |
175 | </div> | 175 | </div> |
176 | <a·id="af252d435ac2f27d8f77717cd529a2339"·name="af252d435ac2f27d8f77717cd529a2339"></a> | 176 | <a·id="af252d435ac2f27d8f77717cd529a2339"·name="af252d435ac2f27d8f77717cd529a2339"></a> |
177 | <h2·class="memtitle"><span·class="permalink"><a·href="#af252d435ac2f27d8f77717cd529a2339">◆ </a></span>generate1stDerivatives</h2> | 177 | <h2·class="memtitle"><span·class="permalink"><a·href="#af252d435ac2f27d8f77717cd529a2339">◆ </a></span>generate1stDerivatives</h2> |
178 | <div·class="memitem"> | 178 | <div·class="memitem"> |
Offset 188, 15 lines modified | Offset 188, 15 lines modified | ||
188 | ··········<td·class="memname">unsigned·int·generate1stDerivatives</td> | 188 | ··········<td·class="memname">unsigned·int·generate1stDerivatives</td> |
189 | ········</tr> | 189 | ········</tr> |
190 | ······</table> | 190 | ······</table> |
191 | </div><div·class="memdoc"> | 191 | </div><div·class="memdoc"> |
192 | <p>Generate·weights·for·1st·derivatives.·</p> | 192 | <p>Generate·weights·for·1st·derivatives.·</p> |
193 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 193 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00716_source.html#l00227">227</a>·of·file·<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>.</p> |
194 | </div> | 194 | </div> |
195 | </div> | 195 | </div> |
196 | <a·id="adb29a270ae6d25f74593a6c23488adeb"·name="adb29a270ae6d25f74593a6c23488adeb"></a> | 196 | <a·id="adb29a270ae6d25f74593a6c23488adeb"·name="adb29a270ae6d25f74593a6c23488adeb"></a> |
197 | <h2·class="memtitle"><span·class="permalink"><a·href="#adb29a270ae6d25f74593a6c23488adeb">◆ </a></span>generate2ndDerivatives</h2> | 197 | <h2·class="memtitle"><span·class="permalink"><a·href="#adb29a270ae6d25f74593a6c23488adeb">◆ </a></span>generate2ndDerivatives</h2> |
198 | <div·class="memitem"> | 198 | <div·class="memitem"> |
Offset 208, 15 lines modified | Offset 208, 15 lines modified | ||
208 | ··········<td·class="memname">unsigned·int·generate2ndDerivatives</td> | 208 | ··········<td·class="memname">unsigned·int·generate2ndDerivatives</td> |
209 | ········</tr> | 209 | ········</tr> |
210 | ······</table> | 210 | ······</table> |
211 | </div><div·class="memdoc"> | 211 | </div><div·class="memdoc"> |
212 | <p>Generate·weights·for·2nd·derivatives.·</p> | 212 | <p>Generate·weights·for·2nd·derivatives.·</p> |
213 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 213 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00716_source.html#l00228">228</a>·of·file·<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>.</p> |
214 | </div> | 214 | </div> |
215 | </div> | 215 | </div> |
216 | <a·id="ab7c383a49298cf060574242fe679378f"·name="ab7c383a49298cf060574242fe679378f"></a> | 216 | <a·id="ab7c383a49298cf060574242fe679378f"·name="ab7c383a49298cf060574242fe679378f"></a> |
217 | <h2·class="memtitle"><span·class="permalink"><a·href="#ab7c383a49298cf060574242fe679378f">◆ </a></span>interpolationMode</h2> | 217 | <h2·class="memtitle"><span·class="permalink"><a·href="#ab7c383a49298cf060574242fe679378f">◆ </a></span>interpolationMode</h2> |
218 | <div·class="memitem"> | 218 | <div·class="memitem"> |
Offset 228, 20 lines modified | Offset 228, 20 lines modified | ||
228 | ··········<td·class="memname">unsigned·int·interpolationMode</td> | 228 | ··········<td·class="memname">unsigned·int·interpolationMode</td> |
229 | ········</tr> | 229 | ········</tr> |
230 | ······</table> | 230 | ······</table> |
231 | </div><div·class="memdoc"> | 231 | </div><div·class="memdoc"> |
232 | <p>interpolation·mode·</p> | 232 | <p>interpolation·mode·</p> |
233 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 233 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00716_source.html#l00226">226</a>·of·file·<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>.</p> |
234 | </div> | 234 | </div> |
235 | </div> | 235 | </div> |
236 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 236 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
237 | <li>opensubdiv/far/<a·class="el"·href="a0071 | 237 | <li>opensubdiv/far/<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a></li> |
238 | </ul> | 238 | </ul> |
239 | </div><!--·contents·--> | 239 | </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="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="a01041.html">LimitStencilTableFactoryReal</a></li><li·class="navelem"><a·class="el"·href="a01081.html">Options</a></li> | 244 | ····<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="a01041.html">LimitStencilTableFactoryReal</a></li><li·class="navelem"><a·class="el"·href="a01081.html">Options</a></li> |
Offset 98, 15 lines modified | Offset 98, 15 lines modified | ||
98 | ··<div·class="headertitle"><div·class="title">LimitStencilTableFactoryReal<·REAL·>::LocationArray·Struct·Reference</div></div> | 98 | ··<div·class="headertitle"><div·class="title">LimitStencilTableFactoryReal<·REAL·>::LocationArray·Struct·Reference</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <p>Descriptor·for·limit·surface·locations.·· | 101 | <p>Descriptor·for·limit·surface·locations.·· |
102 | ·<a·href="a01085.html#details">More...</a></p> | 102 | ·<a·href="a01085.html#details">More...</a></p> |
103 | <p><code>#include·<<a·class="el"·href="a0071 | 103 | <p><code>#include·<<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>></code></p> |
104 | <table·class="memberdecls"> | 104 | <table·class="memberdecls"> |
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
106 | Public·Member·Functions</h2></td></tr> | 106 | Public·Member·Functions</h2></td></tr> |
107 | <tr·class="memitem:a23ed026fe98bd57164dbb601791f51fc"·id="r_a23ed026fe98bd57164dbb601791f51fc"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01085.html#a23ed026fe98bd57164dbb601791f51fc">LocationArray</a>·()</td></tr> | 107 | <tr·class="memitem:a23ed026fe98bd57164dbb601791f51fc"·id="r_a23ed026fe98bd57164dbb601791f51fc"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01085.html#a23ed026fe98bd57164dbb601791f51fc">LocationArray</a>·()</td></tr> |
108 | <tr·class="separator:a23ed026fe98bd57164dbb601791f51fc"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:a23ed026fe98bd57164dbb601791f51fc"><td·class="memSeparator"·colspan="2"> </td></tr> |
109 | </table><table·class="memberdecls"> | 109 | </table><table·class="memberdecls"> |
110 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a> | 110 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a> |
Offset 124, 15 lines modified | Offset 124, 15 lines modified | ||
124 | <tr·class="memdesc:a1e42f8f49a2deb57d4c2f0005c4ec020"><td·class="mdescLeft"> </td><td·class="mdescRight">array·of·v·coordinates··<br·/></td></tr> | 124 | <tr·class="memdesc:a1e42f8f49a2deb57d4c2f0005c4ec020"><td·class="mdescLeft"> </td><td·class="mdescRight">array·of·v·coordinates··<br·/></td></tr> |
125 | <tr·class="separator:a1e42f8f49a2deb57d4c2f0005c4ec020"><td·class="memSeparator"·colspan="2"> </td></tr> | 125 | <tr·class="separator:a1e42f8f49a2deb57d4c2f0005c4ec020"><td·class="memSeparator"·colspan="2"> </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"><div·class="compoundTemplParams">template<typename·REAL><br·/> | 128 | <div·class="textblock"><div·class="compoundTemplParams">template<typename·REAL><br·/> |
129 | struct·OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilTableFactoryReal<·REAL·>::LocationArray</div><p>Descriptor·for·limit·surface·locations.·</p> | 129 | struct·OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilTableFactoryReal<·REAL·>::LocationArray</div><p>Descriptor·for·limit·surface·locations.·</p> |
130 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 130 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00716_source.html#l00233">233</a>·of·file·<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>.</p> |
131 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 131 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
132 | <a·id="a23ed026fe98bd57164dbb601791f51fc"·name="a23ed026fe98bd57164dbb601791f51fc"></a> | 132 | <a·id="a23ed026fe98bd57164dbb601791f51fc"·name="a23ed026fe98bd57164dbb601791f51fc"></a> |
133 | <h2·class="memtitle"><span·class="permalink"><a·href="#a23ed026fe98bd57164dbb601791f51fc">◆ </a></span>LocationArray()</h2> | 133 | <h2·class="memtitle"><span·class="permalink"><a·href="#a23ed026fe98bd57164dbb601791f51fc">◆ </a></span>LocationArray()</h2> |
134 | <div·class="memitem"> | 134 | <div·class="memitem"> |
135 | <div·class="memproto"> | 135 | <div·class="memproto"> |
136 | <div·class="memtemplate"> | 136 | <div·class="memtemplate"> |
Offset 151, 15 lines modified | Offset 151, 15 lines modified | ||
151 | ··</td> | 151 | ··</td> |
152 | ··<td·class="mlabels-right"> | 152 | ··<td·class="mlabels-right"> |
153 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 153 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
154 | ··</tr> | 154 | ··</tr> |
155 | </table> | 155 | </table> |
156 | </div><div·class="memdoc"> | 156 | </div><div·class="memdoc"> |
157 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 157 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00716_source.html#l00235">235</a>·of·file·<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>.</p> |
158 | </div> | 158 | </div> |
159 | </div> | 159 | </div> |
160 | <h2·class="groupheader">Member·Data·Documentation</h2> | 160 | <h2·class="groupheader">Member·Data·Documentation</h2> |
161 | <a·id="ab9e5cd822f289b54101de5a704d68ac5"·name="ab9e5cd822f289b54101de5a704d68ac5"></a> | 161 | <a·id="ab9e5cd822f289b54101de5a704d68ac5"·name="ab9e5cd822f289b54101de5a704d68ac5"></a> |
162 | <h2·class="memtitle"><span·class="permalink"><a·href="#ab9e5cd822f289b54101de5a704d68ac5">◆ </a></span>numLocations</h2> | 162 | <h2·class="memtitle"><span·class="permalink"><a·href="#ab9e5cd822f289b54101de5a704d68ac5">◆ </a></span>numLocations</h2> |
Offset 172, 15 lines modified | Offset 172, 15 lines modified | ||
172 | ··········<td·class="memname">int·numLocations</td> | 172 | ··········<td·class="memname">int·numLocations</td> |
173 | ········</tr> | 173 | ········</tr> |
174 | ······</table> | 174 | ······</table> |
175 | </div><div·class="memdoc"> | 175 | </div><div·class="memdoc"> |
176 | <p>number·of·(u,v)·coordinates·in·the·array·</p> | 176 | <p>number·of·(u,v)·coordinates·in·the·array·</p> |
177 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 177 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00716_source.html#l00238">238</a>·of·file·<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>.</p> |
178 | </div> | 178 | </div> |
179 | </div> | 179 | </div> |
180 | <a·id="afb60a8380cb9df186de7183b32bd84e2"·name="afb60a8380cb9df186de7183b32bd84e2"></a> | 180 | <a·id="afb60a8380cb9df186de7183b32bd84e2"·name="afb60a8380cb9df186de7183b32bd84e2"></a> |
181 | <h2·class="memtitle"><span·class="permalink"><a·href="#afb60a8380cb9df186de7183b32bd84e2">◆ </a></span>ptexIdx</h2> | 181 | <h2·class="memtitle"><span·class="permalink"><a·href="#afb60a8380cb9df186de7183b32bd84e2">◆ </a></span>ptexIdx</h2> |
182 | <div·class="memitem"> | 182 | <div·class="memitem"> |
Offset 192, 15 lines modified | Offset 192, 15 lines modified | ||
192 | ··········<td·class="memname">int·ptexIdx</td> | 192 | ··········<td·class="memname">int·ptexIdx</td> |
193 | ········</tr> | 193 | ········</tr> |
194 | ······</table> | 194 | ······</table> |
195 | </div><div·class="memdoc"> | 195 | </div><div·class="memdoc"> |
196 | <p>ptex·face·index·</p> | 196 | <p>ptex·face·index·</p> |
197 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 197 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00716_source.html#l00237">237</a>·of·file·<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>.</p> |
198 | </div> | 198 | </div> |
199 | </div> | 199 | </div> |
200 | <a·id="a22a5e18d1aeafd28cdd38b543c50c688"·name="a22a5e18d1aeafd28cdd38b543c50c688"></a> | 200 | <a·id="a22a5e18d1aeafd28cdd38b543c50c688"·name="a22a5e18d1aeafd28cdd38b543c50c688"></a> |
201 | <h2·class="memtitle"><span·class="permalink"><a·href="#a22a5e18d1aeafd28cdd38b543c50c688">◆ </a></span>s</h2> | 201 | <h2·class="memtitle"><span·class="permalink"><a·href="#a22a5e18d1aeafd28cdd38b543c50c688">◆ </a></span>s</h2> |
202 | <div·class="memitem"> | 202 | <div·class="memitem"> |
Offset 212, 15 lines modified | Offset 212, 15 lines modified | ||
212 | ··········<td·class="memname">REAL·const*·s</td> | 212 | ··········<td·class="memname">REAL·const*·s</td> |
213 | ········</tr> | 213 | ········</tr> |
214 | ······</table> | 214 | ······</table> |
215 | </div><div·class="memdoc"> | 215 | </div><div·class="memdoc"> |
216 | <p>array·of·u·coordinates·</p> | 216 | <p>array·of·u·coordinates·</p> |
217 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 217 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00716_source.html#l00240">240</a>·of·file·<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>.</p> |
218 | </div> | 218 | </div> |
219 | </div> | 219 | </div> |
220 | <a·id="a1e42f8f49a2deb57d4c2f0005c4ec020"·name="a1e42f8f49a2deb57d4c2f0005c4ec020"></a> | 220 | <a·id="a1e42f8f49a2deb57d4c2f0005c4ec020"·name="a1e42f8f49a2deb57d4c2f0005c4ec020"></a> |
221 | <h2·class="memtitle"><span·class="permalink"><a·href="#a1e42f8f49a2deb57d4c2f0005c4ec020">◆ </a></span>t</h2> | 221 | <h2·class="memtitle"><span·class="permalink"><a·href="#a1e42f8f49a2deb57d4c2f0005c4ec020">◆ </a></span>t</h2> |
222 | <div·class="memitem"> | 222 | <div·class="memitem"> |
Offset 232, 20 lines modified | Offset 232, 20 lines modified | ||
232 | ··········<td·class="memname">REAL·const·*·t</td> | 232 | ··········<td·class="memname">REAL·const·*·t</td> |
233 | ········</tr> | 233 | ········</tr> |
234 | ······</table> | 234 | ······</table> |
235 | </div><div·class="memdoc"> | 235 | </div><div·class="memdoc"> |
236 | <p>array·of·v·coordinates·</p> | 236 | <p>array·of·v·coordinates·</p> |
237 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 237 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00716_source.html#l00241">241</a>·of·file·<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>.</p> |
238 | </div> | 238 | </div> |
239 | </div> | 239 | </div> |
240 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 240 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
241 | <li>opensubdiv/far/<a·class="el"·href="a0071 | 241 | <li>opensubdiv/far/<a·class="el"·href="a00716_source.html">stencilTableFactory.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="a00908.html">Far</a></li><li·class="navelem"><a·class="el"·href="a01041.html">LimitStencilTableFactoryReal</a></li><li·class="navelem"><a·class="el"·href="a01085.html">LocationArray</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="a00908.html">Far</a></li><li·class="navelem"><a·class="el"·href="a01041.html">LimitStencilTableFactoryReal</a></li><li·class="navelem"><a·class="el"·href="a01085.html">LocationArray</a></li> |
Offset 97, 15 lines modified | Offset 97, 15 lines modified | ||
97 | ··<div·class="headertitle"><div·class="title">StencilTableFactory·Class·Reference</div></div> | 97 | ··<div·class="headertitle"><div·class="title">StencilTableFactory·Class·Reference</div></div> |
98 | </div><!--header--> | 98 | </div><!--header--> |
99 | <div·class="contents"> | 99 | <div·class="contents"> |
100 | <p><a·class="el"·href="a01049.html"·title="Vertex·stencil·class·wrapping·the·template·for·compatibility.">Stencil</a>·table·factory·class·wrapping·the·template·for·compatibility.·· | 100 | <p><a·class="el"·href="a01049.html"·title="Vertex·stencil·class·wrapping·the·template·for·compatibility.">Stencil</a>·table·factory·class·wrapping·the·template·for·compatibility.·· |
101 | ·<a·href="a01089.html#details">More...</a></p> | 101 | ·<a·href="a01089.html#details">More...</a></p> |
102 | <p><code>#include·<<a·class="el"·href="a0071 | 102 | <p><code>#include·<<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>></code></p> |
103 | <div·class="dynheader"> | 103 | <div·class="dynheader"> |
104 | Inheritance·diagram·for·StencilTableFactory:</div> | 104 | Inheritance·diagram·for·StencilTableFactory:</div> |
105 | <div·class="dyncontent"> | 105 | <div·class="dyncontent"> |
106 | ·<div·class="center"> | 106 | ·<div·class="center"> |
107 | ··<img·src="a01089.png"·usemap="#StencilTableFactory_map"·alt=""/> | 107 | ··<img·src="a01089.png"·usemap="#StencilTableFactory_map"·alt=""/> |
108 | ··<map·id="StencilTableFactory_map"·name="StencilTableFactory_map"> | 108 | ··<map·id="StencilTableFactory_map"·name="StencilTableFactory_map"> |
109 | <area·href="a01037.html"·alt="StencilTableFactoryReal<·float·>"·shape="rect"·coords="0,0,198,24"/> | 109 | <area·href="a01037.html"·alt="StencilTableFactoryReal<·float·>"·shape="rect"·coords="0,0,198,24"/> |
Offset 146, 15 lines modified | Offset 146, 15 lines modified | ||
146 | <tr·class="inherit_header·pub_types_a01037"><td·colspan="2"·onclick="javascript:toggleInherit('pub_types_a01037')"><img·src="closed.png"·alt="-"/> Public·Types·inherited·from·<a·class="el"·href="a01037.html">StencilTableFactoryReal<·float·></a></td></tr> | 146 | <tr·class="inherit_header·pub_types_a01037"><td·colspan="2"·onclick="javascript:toggleInherit('pub_types_a01037')"><img·src="closed.png"·alt="-"/> Public·Types·inherited·from·<a·class="el"·href="a01037.html">StencilTableFactoryReal<·float·></a></td></tr> |
147 | <tr·class="memitem:a46c8a310cf4c094f8c80e1cb8dc1f911·inherit·pub_types_a01037"·id="r_a46c8a310cf4c094f8c80e1cb8dc1f911"><td·class="memItemLeft"·align="right"·valign="top">enum· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01037.html#a46c8a310cf4c094f8c80e1cb8dc1f911">Mode</a>·</td></tr> | 147 | <tr·class="memitem:a46c8a310cf4c094f8c80e1cb8dc1f911·inherit·pub_types_a01037"·id="r_a46c8a310cf4c094f8c80e1cb8dc1f911"><td·class="memItemLeft"·align="right"·valign="top">enum· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01037.html#a46c8a310cf4c094f8c80e1cb8dc1f911">Mode</a>·</td></tr> |
148 | <tr·class="separator:a46c8a310cf4c094f8c80e1cb8dc1f911·inherit·pub_types_a01037"><td·class="memSeparator"·colspan="2"> </td></tr> | 148 | <tr·class="separator:a46c8a310cf4c094f8c80e1cb8dc1f911·inherit·pub_types_a01037"><td·class="memSeparator"·colspan="2"> </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"><p><a·class="el"·href="a01049.html"·title="Vertex·stencil·class·wrapping·the·template·for·compatibility.">Stencil</a>·table·factory·class·wrapping·the·template·for·compatibility.·</p> | 151 | <div·class="textblock"><p><a·class="el"·href="a01049.html"·title="Vertex·stencil·class·wrapping·the·template·for·compatibility.">Stencil</a>·table·factory·class·wrapping·the·template·for·compatibility.·</p> |
152 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 152 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00716_source.html#l00287">287</a>·of·file·<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>.</p> |
153 | </div><h2·class="groupheader">Member·Function·Documentation</h2> | 153 | </div><h2·class="groupheader">Member·Function·Documentation</h2> |
154 | <a·id="ab7374d716e8637a5ffbd12029713ec0f"·name="ab7374d716e8637a5ffbd12029713ec0f"></a> | 154 | <a·id="ab7374d716e8637a5ffbd12029713ec0f"·name="ab7374d716e8637a5ffbd12029713ec0f"></a> |
155 | <h2·class="memtitle"><span·class="permalink"><a·href="#ab7374d716e8637a5ffbd12029713ec0f">◆ </a></span>AppendLocalPointStencilTable()</h2> | 155 | <h2·class="memtitle"><span·class="permalink"><a·href="#ab7374d716e8637a5ffbd12029713ec0f">◆ </a></span>AppendLocalPointStencilTable()</h2> |
156 | <div·class="memitem"> | 156 | <div·class="memitem"> |
157 | <div·class="memproto"> | 157 | <div·class="memproto"> |
158 | <table·class="mlabels"> | 158 | <table·class="mlabels"> |
Offset 194, 15 lines modified | Offset 194, 15 lines modified | ||
194 | ··</td> | 194 | ··</td> |
195 | ··<td·class="mlabels-right"> | 195 | ··<td·class="mlabels-right"> |
196 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> | 196 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> |
197 | ··</tr> | 197 | ··</tr> |
198 | </table> | 198 | </table> |
199 | </div><div·class="memdoc"> | 199 | </div><div·class="memdoc"> |
200 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 200 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00716_source.html#l00308">308</a>·of·file·<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>.</p> |
201 | </div> | 201 | </div> |
202 | </div> | 202 | </div> |
203 | <a·id="aa8beed46ad3a5f5f34241b9d21907f84"·name="aa8beed46ad3a5f5f34241b9d21907f84"></a> | 203 | <a·id="aa8beed46ad3a5f5f34241b9d21907f84"·name="aa8beed46ad3a5f5f34241b9d21907f84"></a> |
204 | <h2·class="memtitle"><span·class="permalink"><a·href="#aa8beed46ad3a5f5f34241b9d21907f84">◆ </a></span>AppendLocalPointStencilTableFaceVarying()</h2> | 204 | <h2·class="memtitle"><span·class="permalink"><a·href="#aa8beed46ad3a5f5f34241b9d21907f84">◆ </a></span>AppendLocalPointStencilTableFaceVarying()</h2> |
205 | <div·class="memitem"> | 205 | <div·class="memitem"> |
Offset 250, 15 lines modified | Offset 250, 15 lines modified | ||
250 | ··</td> | 250 | ··</td> |
251 | ··<td·class="mlabels-right"> | 251 | ··<td·class="mlabels-right"> |
252 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> | 252 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> |
253 | ··</tr> | 253 | ··</tr> |
254 | </table> | 254 | </table> |
255 | </div><div·class="memdoc"> | 255 | </div><div·class="memdoc"> |
256 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 256 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00716_source.html#l00334">334</a>·of·file·<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>.</p> |
257 | </div> | 257 | </div> |
258 | </div> | 258 | </div> |
259 | <a·id="a51e4075d73757537a600b85c8f3d2cfa"·name="a51e4075d73757537a600b85c8f3d2cfa"></a> | 259 | <a·id="a51e4075d73757537a600b85c8f3d2cfa"·name="a51e4075d73757537a600b85c8f3d2cfa"></a> |
260 | <h2·class="memtitle"><span·class="permalink"><a·href="#a51e4075d73757537a600b85c8f3d2cfa">◆ </a></span>AppendLocalPointStencilTableVarying()</h2> | 260 | <h2·class="memtitle"><span·class="permalink"><a·href="#a51e4075d73757537a600b85c8f3d2cfa">◆ </a></span>AppendLocalPointStencilTableVarying()</h2> |
261 | <div·class="memitem"> | 261 | <div·class="memitem"> |
Offset 300, 15 lines modified | Offset 300, 15 lines modified | ||
300 | ··</td> | 300 | ··</td> |
301 | ··<td·class="mlabels-right"> | 301 | ··<td·class="mlabels-right"> |
302 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> | 302 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</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="a0071 | 306 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00716_source.html#l00321">321</a>·of·file·<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>.</p> |
307 | </div> | 307 | </div> |
308 | </div> | 308 | </div> |
309 | <a·id="ac5c331f10fb4518358660a5538fac897"·name="ac5c331f10fb4518358660a5538fac897"></a> | 309 | <a·id="ac5c331f10fb4518358660a5538fac897"·name="ac5c331f10fb4518358660a5538fac897"></a> |
310 | <h2·class="memtitle"><span·class="permalink"><a·href="#ac5c331f10fb4518358660a5538fac897">◆ </a></span>Create()·<span·class="overload">[1/2]</span></h2> | 310 | <h2·class="memtitle"><span·class="permalink"><a·href="#ac5c331f10fb4518358660a5538fac897">◆ </a></span>Create()·<span·class="overload">[1/2]</span></h2> |
311 | <div·class="memitem"> | 311 | <div·class="memitem"> |
Offset 338, 15 lines modified | Offset 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·class="mlabel">static</span></span>··</td> | 340 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</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="a0071 | 344 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00716_source.html#l00300">300</a>·of·file·<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>.</p> |
345 | </div> | 345 | </div> |
346 | </div> | 346 | </div> |
347 | <a·id="a667e11d1b8502dd1215608af93ada08c"·name="a667e11d1b8502dd1215608af93ada08c"></a> | 347 | <a·id="a667e11d1b8502dd1215608af93ada08c"·name="a667e11d1b8502dd1215608af93ada08c"></a> |
348 | <h2·class="memtitle"><span·class="permalink"><a·href="#a667e11d1b8502dd1215608af93ada08c">◆ </a></span>Create()·<span·class="overload">[2/2]</span></h2> | 348 | <h2·class="memtitle"><span·class="permalink"><a·href="#a667e11d1b8502dd1215608af93ada08c">◆ </a></span>Create()·<span·class="overload">[2/2]</span></h2> |
349 | <div·class="memitem"> | 349 | <div·class="memitem"> |
Offset 376, 20 lines modified | Offset 376, 20 lines modified | ||
376 | ··</td> | 376 | ··</td> |
377 | ··<td·class="mlabels-right"> | 377 | ··<td·class="mlabels-right"> |
378 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> | 378 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> |
379 | ··</tr> | 379 | ··</tr> |
380 | </table> | 380 | </table> |
381 | </div><div·class="memdoc"> | 381 | </div><div·class="memdoc"> |
382 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 382 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00716_source.html#l00293">293</a>·of·file·<a·class="el"·href="a00716_source.html">stencilTableFactory.h</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/far/<a·class="el"·href="a0071 | 386 | <li>opensubdiv/far/<a·class="el"·href="a00716_source.html">stencilTableFactory.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="a00908.html">Far</a></li><li·class="navelem"><a·class="el"·href="a01089.html">StencilTableFactory</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="a00908.html">Far</a></li><li·class="navelem"><a·class="el"·href="a01089.html">StencilTableFactory</a></li> |
Offset 97, 15 lines modified | Offset 97, 15 lines modified | ||
97 | ··<div·class="headertitle"><div·class="title">LimitStencilTableFactory·Class·Reference</div></div> | 97 | ··<div·class="headertitle"><div·class="title">LimitStencilTableFactory·Class·Reference</div></div> |
98 | </div><!--header--> | 98 | </div><!--header--> |
99 | <div·class="contents"> | 99 | <div·class="contents"> |
100 | <p><a·class="el"·href="a01049.html"·title="Vertex·stencil·class·wrapping·the·template·for·compatibility.">Stencil</a>·table·factory·class·wrapping·the·template·for·compatibility.·· | 100 | <p><a·class="el"·href="a01049.html"·title="Vertex·stencil·class·wrapping·the·template·for·compatibility.">Stencil</a>·table·factory·class·wrapping·the·template·for·compatibility.·· |
101 | ·<a·href="a01093.html#details">More...</a></p> | 101 | ·<a·href="a01093.html#details">More...</a></p> |
102 | <p><code>#include·<<a·class="el"·href="a0071 | 102 | <p><code>#include·<<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>></code></p> |
103 | <div·class="dynheader"> | 103 | <div·class="dynheader"> |
104 | Inheritance·diagram·for·LimitStencilTableFactory:</div> | 104 | Inheritance·diagram·for·LimitStencilTableFactory:</div> |
105 | <div·class="dyncontent"> | 105 | <div·class="dyncontent"> |
106 | ·<div·class="center"> | 106 | ·<div·class="center"> |
107 | ··<img·src="a01093.png"·usemap="#LimitStencilTableFactory_map"·alt=""/> | 107 | ··<img·src="a01093.png"·usemap="#LimitStencilTableFactory_map"·alt=""/> |
108 | ··<map·id="LimitStencilTableFactory_map"·name="LimitStencilTableFactory_map"> | 108 | ··<map·id="LimitStencilTableFactory_map"·name="LimitStencilTableFactory_map"> |
109 | <area·href="a01041.html"·alt="LimitStencilTableFactoryReal<·float·>"·shape="rect"·coords="0,0,223,24"/> | 109 | <area·href="a01041.html"·alt="LimitStencilTableFactoryReal<·float·>"·shape="rect"·coords="0,0,223,24"/> |
Offset 128, 15 lines modified | Offset 128, 15 lines modified | ||
128 | <tr·class="separator:a46c8a310cf4c094f8c80e1cb8dc1f911·inherit·pub_types_a01041"><td·class="memSeparator"·colspan="2"> </td></tr> | 128 | <tr·class="separator:a46c8a310cf4c094f8c80e1cb8dc1f911·inherit·pub_types_a01041"><td·class="memSeparator"·colspan="2"> </td></tr> |
129 | <tr·class="memitem:a940880e2d35dea72f52db5bcdc9c94b7·inherit·pub_types_a01041"·id="r_a940880e2d35dea72f52db5bcdc9c94b7"><td·class="memItemLeft"·align="right"·valign="top">typedef·std::vector<·LocationArray·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01041.html#a940880e2d35dea72f52db5bcdc9c94b7">LocationArrayVec</a></td></tr> | 129 | <tr·class="memitem:a940880e2d35dea72f52db5bcdc9c94b7·inherit·pub_types_a01041"·id="r_a940880e2d35dea72f52db5bcdc9c94b7"><td·class="memItemLeft"·align="right"·valign="top">typedef·std::vector<·LocationArray·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01041.html#a940880e2d35dea72f52db5bcdc9c94b7">LocationArrayVec</a></td></tr> |
130 | <tr·class="separator:a940880e2d35dea72f52db5bcdc9c94b7·inherit·pub_types_a01041"><td·class="memSeparator"·colspan="2"> </td></tr> | 130 | <tr·class="separator:a940880e2d35dea72f52db5bcdc9c94b7·inherit·pub_types_a01041"><td·class="memSeparator"·colspan="2"> </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><a·class="el"·href="a01049.html"·title="Vertex·stencil·class·wrapping·the·template·for·compatibility.">Stencil</a>·table·factory·class·wrapping·the·template·for·compatibility.·</p> | 133 | <div·class="textblock"><p><a·class="el"·href="a01049.html"·title="Vertex·stencil·class·wrapping·the·template·for·compatibility.">Stencil</a>·table·factory·class·wrapping·the·template·for·compatibility.·</p> |
134 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 134 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00716_source.html#l00354">354</a>·of·file·<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>.</p> |
135 | </div><h2·class="groupheader">Member·Function·Documentation</h2> | 135 | </div><h2·class="groupheader">Member·Function·Documentation</h2> |
136 | <a·id="a1a5ba2b86bac859c158ec1c8141e29a7"·name="a1a5ba2b86bac859c158ec1c8141e29a7"></a> | 136 | <a·id="a1a5ba2b86bac859c158ec1c8141e29a7"·name="a1a5ba2b86bac859c158ec1c8141e29a7"></a> |
137 | <h2·class="memtitle"><span·class="permalink"><a·href="#a1a5ba2b86bac859c158ec1c8141e29a7">◆ </a></span>Create()</h2> | 137 | <h2·class="memtitle"><span·class="permalink"><a·href="#a1a5ba2b86bac859c158ec1c8141e29a7">◆ </a></span>Create()</h2> |
138 | <div·class="memitem"> | 138 | <div·class="memitem"> |
139 | <div·class="memproto"> | 139 | <div·class="memproto"> |
140 | <table·class="mlabels"> | 140 | <table·class="mlabels"> |
Offset 182, 20 lines modified | Offset 182, 20 lines modified | ||
182 | ··</td> | 182 | ··</td> |
183 | ··<td·class="mlabels-right"> | 183 | ··<td·class="mlabels-right"> |
184 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> | 184 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> |
185 | ··</tr> | 185 | ··</tr> |
186 | </table> | 186 | </table> |
187 | </div><div·class="memdoc"> | 187 | </div><div·class="memdoc"> |
188 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 188 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00716_source.html#l00360">360</a>·of·file·<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a>.</p> |
189 | </div> | 189 | </div> |
190 | </div> | 190 | </div> |
191 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 191 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
192 | <li>opensubdiv/far/<a·class="el"·href="a0071 | 192 | <li>opensubdiv/far/<a·class="el"·href="a00716_source.html">stencilTableFactory.h</a></li> |
193 | </ul> | 193 | </ul> |
194 | </div><!--·contents·--> | 194 | </div><!--·contents·--> |
195 | </div><!--·doc-content·--> | 195 | </div><!--·doc-content·--> |
196 | <!--·start·footer·part·--> | 196 | <!--·start·footer·part·--> |
197 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 197 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
198 | ··<ul> | 198 | ··<ul> |
199 | ····<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="a01093.html">LimitStencilTableFactory</a></li> | 199 | ····<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="a01093.html">LimitStencilTableFactory</a></li> |
Offset 99, 15 lines modified | Offset 99, 15 lines modified | ||
99 | ··<div·class="headertitle"><div·class="title">TopologyDescriptor·Struct·Reference</div></div> | 99 | ··<div·class="headertitle"><div·class="title">TopologyDescriptor·Struct·Reference</div></div> |
100 | </div><!--header--> | 100 | </div><!--header--> |
101 | <div·class="contents"> | 101 | <div·class="contents"> |
102 | <p>A·simple·reference·to·raw·topology·data·for·use·with·<a·class="el"·href="a01109.html"·title="Factory·for·constructing·TopologyRefiners·from·specific·mesh·classes.">TopologyRefinerFactory</a>.·· | 102 | <p>A·simple·reference·to·raw·topology·data·for·use·with·<a·class="el"·href="a01109.html"·title="Factory·for·constructing·TopologyRefiners·from·specific·mesh·classes.">TopologyRefinerFactory</a>.·· |
103 | ·<a·href="a01097.html#details">More...</a></p> | 103 | ·<a·href="a01097.html#details">More...</a></p> |
104 | <p><code>#include·<<a·class="el"·href="a0071 | 104 | <p><code>#include·<<a·class="el"·href="a00713_source.html">topologyDescriptor.h</a>></code></p> |
105 | <table·class="memberdecls"> | 105 | <table·class="memberdecls"> |
106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
107 | Classes</h2></td></tr> | 107 | Classes</h2></td></tr> |
108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01101.html">FVarChannel</a></td></tr> | 108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01101.html">FVarChannel</a></td></tr> |
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
110 | </table><table·class="memberdecls"> | 110 | </table><table·class="memberdecls"> |
111 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 111 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
Offset 148, 15 lines modified | Offset 148, 15 lines modified | ||
148 | <tr·class="memitem:a222697ec045f92879ae194eb2d92b526"·id="r_a222697ec045f92879ae194eb2d92b526"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a01101.html">FVarChannel</a>·const··* </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01097.html#a222697ec045f92879ae194eb2d92b526">fvarChannels</a></td></tr> | 148 | <tr·class="memitem:a222697ec045f92879ae194eb2d92b526"·id="r_a222697ec045f92879ae194eb2d92b526"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a01101.html">FVarChannel</a>·const··* </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01097.html#a222697ec045f92879ae194eb2d92b526">fvarChannels</a></td></tr> |
149 | <tr·class="separator:a222697ec045f92879ae194eb2d92b526"><td·class="memSeparator"·colspan="2"> </td></tr> | 149 | <tr·class="separator:a222697ec045f92879ae194eb2d92b526"><td·class="memSeparator"·colspan="2"> </td></tr> |
150 | </table> | 150 | </table> |
151 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 151 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
152 | <div·class="textblock"><p>A·simple·reference·to·raw·topology·data·for·use·with·<a·class="el"·href="a01109.html"·title="Factory·for·constructing·TopologyRefiners·from·specific·mesh·classes.">TopologyRefinerFactory</a>.·</p> | 152 | <div·class="textblock"><p>A·simple·reference·to·raw·topology·data·for·use·with·<a·class="el"·href="a01109.html"·title="Factory·for·constructing·TopologyRefiners·from·specific·mesh·classes.">TopologyRefinerFactory</a>.·</p> |
153 | <p><a·class="el"·href="a01097.html"·title="A·simple·reference·to·raw·topology·data·for·use·with·TopologyRefinerFactory.">TopologyDescriptor</a>·is·a·simple·struct·containing·references·to·raw·topology·data·used·to·construct·a·<a·class="el"·href="a01113.html"·title="Stores·topology·data·for·a·specified·set·of·refinement·options.">TopologyRefiner</a>.·It·is·not·a·requirement·but·a·convenience·for·use·with·<a·class="el"·href="a01109.html"·title="Factory·for·constructing·TopologyRefiners·from·specific·mesh·classes.">TopologyRefinerFactory</a>·when·mesh·topology·is·not·available·in·an·existing·mesh·data·structure.·It·should·be·functionally·complete·and·simple·to·use,·but·for·more·demanding·situations,·writing·a·custom·Factory·is·usually·warranted.·</p> | 153 | <p><a·class="el"·href="a01097.html"·title="A·simple·reference·to·raw·topology·data·for·use·with·TopologyRefinerFactory.">TopologyDescriptor</a>·is·a·simple·struct·containing·references·to·raw·topology·data·used·to·construct·a·<a·class="el"·href="a01113.html"·title="Stores·topology·data·for·a·specified·set·of·refinement·options.">TopologyRefiner</a>.·It·is·not·a·requirement·but·a·convenience·for·use·with·<a·class="el"·href="a01109.html"·title="Factory·for·constructing·TopologyRefiners·from·specific·mesh·classes.">TopologyRefinerFactory</a>·when·mesh·topology·is·not·available·in·an·existing·mesh·data·structure.·It·should·be·functionally·complete·and·simple·to·use,·but·for·more·demanding·situations,·writing·a·custom·Factory·is·usually·warranted.·</p> |
154 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 154 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00713_source.html#l00049">49</a>·of·file·<a·class="el"·href="a00713_source.html">topologyDescriptor.h</a>.</p> |
155 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 155 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
156 | <a·id="a8209f1b69b0162ee2e7065d91088113d"·name="a8209f1b69b0162ee2e7065d91088113d"></a> | 156 | <a·id="a8209f1b69b0162ee2e7065d91088113d"·name="a8209f1b69b0162ee2e7065d91088113d"></a> |
157 | <h2·class="memtitle"><span·class="permalink"><a·href="#a8209f1b69b0162ee2e7065d91088113d">◆ </a></span>TopologyDescriptor()</h2> | 157 | <h2·class="memtitle"><span·class="permalink"><a·href="#a8209f1b69b0162ee2e7065d91088113d">◆ </a></span>TopologyDescriptor()</h2> |
158 | <div·class="memitem"> | 158 | <div·class="memitem"> |
159 | <div·class="memproto"> | 159 | <div·class="memproto"> |
160 | ······<table·class="memname"> | 160 | ······<table·class="memname"> |
Offset 180, 15 lines modified | Offset 180, 15 lines modified | ||
180 | ······<table·class="memname"> | 180 | ······<table·class="memname"> |
181 | ········<tr> | 181 | ········<tr> |
182 | ··········<td·class="memname"><a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>·const*·cornerVertexIndices</td> | 182 | ··········<td·class="memname"><a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>·const*·cornerVertexIndices</td> |
183 | ········</tr> | 183 | ········</tr> |
184 | ······</table> | 184 | ······</table> |
185 | </div><div·class="memdoc"> | 185 | </div><div·class="memdoc"> |
186 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 186 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00713_source.html#l00062">62</a>·of·file·<a·class="el"·href="a00713_source.html">topologyDescriptor.h</a>.</p> |
187 | </div> | 187 | </div> |
188 | </div> | 188 | </div> |
189 | <a·id="a6d938f6b0a9ff0fa377ef675aa2c7fda"·name="a6d938f6b0a9ff0fa377ef675aa2c7fda"></a> | 189 | <a·id="a6d938f6b0a9ff0fa377ef675aa2c7fda"·name="a6d938f6b0a9ff0fa377ef675aa2c7fda"></a> |
190 | <h2·class="memtitle"><span·class="permalink"><a·href="#a6d938f6b0a9ff0fa377ef675aa2c7fda">◆ </a></span>cornerWeights</h2> | 190 | <h2·class="memtitle"><span·class="permalink"><a·href="#a6d938f6b0a9ff0fa377ef675aa2c7fda">◆ </a></span>cornerWeights</h2> |
191 | <div·class="memitem"> | 191 | <div·class="memitem"> |
Offset 196, 15 lines modified | Offset 196, 15 lines modified | ||
196 | ······<table·class="memname"> | 196 | ······<table·class="memname"> |
197 | ········<tr> | 197 | ········<tr> |
198 | ··········<td·class="memname">float·const*·cornerWeights</td> | 198 | ··········<td·class="memname">float·const*·cornerWeights</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="a0071 | 202 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00713_source.html#l00063">63</a>·of·file·<a·class="el"·href="a00713_source.html">topologyDescriptor.h</a>.</p> |
203 | </div> | 203 | </div> |
204 | </div> | 204 | </div> |
205 | <a·id="a411a2a927b0270c9e4753dc219763ba5"·name="a411a2a927b0270c9e4753dc219763ba5"></a> | 205 | <a·id="a411a2a927b0270c9e4753dc219763ba5"·name="a411a2a927b0270c9e4753dc219763ba5"></a> |
206 | <h2·class="memtitle"><span·class="permalink"><a·href="#a411a2a927b0270c9e4753dc219763ba5">◆ </a></span>creaseVertexIndexPairs</h2> | 206 | <h2·class="memtitle"><span·class="permalink"><a·href="#a411a2a927b0270c9e4753dc219763ba5">◆ </a></span>creaseVertexIndexPairs</h2> |
207 | <div·class="memitem"> | 207 | <div·class="memitem"> |
Offset 212, 15 lines modified | Offset 212, 15 lines modified | ||
212 | ······<table·class="memname"> | 212 | ······<table·class="memname"> |
213 | ········<tr> | 213 | ········<tr> |
214 | ··········<td·class="memname"><a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>·const*·creaseVertexIndexPairs</td> | 214 | ··········<td·class="memname"><a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>·const*·creaseVertexIndexPairs</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="a0071 | 218 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00713_source.html#l00058">58</a>·of·file·<a·class="el"·href="a00713_source.html">topologyDescriptor.h</a>.</p> |
219 | </div> | 219 | </div> |
220 | </div> | 220 | </div> |
221 | <a·id="a8cd977015d3ffffc1146c5a4e17d65e0"·name="a8cd977015d3ffffc1146c5a4e17d65e0"></a> | 221 | <a·id="a8cd977015d3ffffc1146c5a4e17d65e0"·name="a8cd977015d3ffffc1146c5a4e17d65e0"></a> |
222 | <h2·class="memtitle"><span·class="permalink"><a·href="#a8cd977015d3ffffc1146c5a4e17d65e0">◆ </a></span>creaseWeights</h2> | 222 | <h2·class="memtitle"><span·class="permalink"><a·href="#a8cd977015d3ffffc1146c5a4e17d65e0">◆ </a></span>creaseWeights</h2> |
223 | <div·class="memitem"> | 223 | <div·class="memitem"> |
Offset 228, 15 lines modified | Offset 228, 15 lines modified | ||
228 | ······<table·class="memname"> | 228 | ······<table·class="memname"> |
229 | ········<tr> | 229 | ········<tr> |
230 | ··········<td·class="memname">float·const*·creaseWeights</td> | 230 | ··········<td·class="memname">float·const*·creaseWeights</td> |
231 | ········</tr> | 231 | ········</tr> |
232 | ······</table> | 232 | ······</table> |
233 | </div><div·class="memdoc"> | 233 | </div><div·class="memdoc"> |
234 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 234 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00713_source.html#l00059">59</a>·of·file·<a·class="el"·href="a00713_source.html">topologyDescriptor.h</a>.</p> |
235 | </div> | 235 | </div> |
236 | </div> | 236 | </div> |
237 | <a·id="a222697ec045f92879ae194eb2d92b526"·name="a222697ec045f92879ae194eb2d92b526"></a> | 237 | <a·id="a222697ec045f92879ae194eb2d92b526"·name="a222697ec045f92879ae194eb2d92b526"></a> |
238 | <h2·class="memtitle"><span·class="permalink"><a·href="#a222697ec045f92879ae194eb2d92b526">◆ </a></span>fvarChannels</h2> | 238 | <h2·class="memtitle"><span·class="permalink"><a·href="#a222697ec045f92879ae194eb2d92b526">◆ </a></span>fvarChannels</h2> |
239 | <div·class="memitem"> | 239 | <div·class="memitem"> |
Offset 244, 15 lines modified | Offset 244, 15 lines modified | ||
244 | ······<table·class="memname"> | 244 | ······<table·class="memname"> |
245 | ········<tr> | 245 | ········<tr> |
246 | ··········<td·class="memname"><a·class="el"·href="a01101.html">FVarChannel</a>·const*·fvarChannels</td> | 246 | ··········<td·class="memname"><a·class="el"·href="a01101.html">FVarChannel</a>·const*·fvarChannels</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="a0071 | 250 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00713_source.html#l00082">82</a>·of·file·<a·class="el"·href="a00713_source.html">topologyDescriptor.h</a>.</p> |
251 | </div> | 251 | </div> |
252 | </div> | 252 | </div> |
253 | <a·id="a4fcd8e9a636d89045d364607f2b035a1"·name="a4fcd8e9a636d89045d364607f2b035a1"></a> | 253 | <a·id="a4fcd8e9a636d89045d364607f2b035a1"·name="a4fcd8e9a636d89045d364607f2b035a1"></a> |
254 | <h2·class="memtitle"><span·class="permalink"><a·href="#a4fcd8e9a636d89045d364607f2b035a1">◆ </a></span>holeIndices</h2> | 254 | <h2·class="memtitle"><span·class="permalink"><a·href="#a4fcd8e9a636d89045d364607f2b035a1">◆ </a></span>holeIndices</h2> |
255 | <div·class="memitem"> | 255 | <div·class="memitem"> |
Offset 260, 15 lines modified | Offset 260, 15 lines modified | ||
260 | ······<table·class="memname"> | 260 | ······<table·class="memname"> |
261 | ········<tr> | 261 | ········<tr> |
262 | ··········<td·class="memname"><a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>·const*·holeIndices</td> | 262 | ··········<td·class="memname"><a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>·const*·holeIndices</td> |
263 | ········</tr> | 263 | ········</tr> |
264 | ······</table> | 264 | ······</table> |
265 | </div><div·class="memdoc"> | 265 | </div><div·class="memdoc"> |
266 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 266 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00713_source.html#l00066">66</a>·of·file·<a·class="el"·href="a00713_source.html">topologyDescriptor.h</a>.</p> |
267 | </div> | 267 | </div> |
268 | </div> | 268 | </div> |
269 | <a·id="a75fa7c3542be9d51069674ed3f9d078c"·name="a75fa7c3542be9d51069674ed3f9d078c"></a> | 269 | <a·id="a75fa7c3542be9d51069674ed3f9d078c"·name="a75fa7c3542be9d51069674ed3f9d078c"></a> |
270 | <h2·class="memtitle"><span·class="permalink"><a·href="#a75fa7c3542be9d51069674ed3f9d078c">◆ </a></span>isLeftHanded</h2> | 270 | <h2·class="memtitle"><span·class="permalink"><a·href="#a75fa7c3542be9d51069674ed3f9d078c">◆ </a></span>isLeftHanded</h2> |
271 | <div·class="memitem"> | 271 | <div·class="memitem"> |
Max diff block lines reached; 7706/16323 bytes (47.21%) of diff not shown. |
Offset 95, 15 lines modified | Offset 95, 15 lines modified | ||
95 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 95 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
96 | <a·href="#pub-attribs">Public·Attributes</a>·| | 96 | <a·href="#pub-attribs">Public·Attributes</a>·| |
97 | <a·href="a01098.html">List·of·all·members</a>··</div> | 97 | <a·href="a01098.html">List·of·all·members</a>··</div> |
98 | ··<div·class="headertitle"><div·class="title">TopologyDescriptor::FVarChannel·Struct·Reference</div></div> | 98 | ··<div·class="headertitle"><div·class="title">TopologyDescriptor::FVarChannel·Struct·Reference</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <p><code>#include·<<a·class="el"·href="a0071 | 101 | <p><code>#include·<<a·class="el"·href="a00713_source.html">topologyDescriptor.h</a>></code></p> |
102 | <table·class="memberdecls"> | 102 | <table·class="memberdecls"> |
103 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 103 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
104 | Public·Member·Functions</h2></td></tr> | 104 | Public·Member·Functions</h2></td></tr> |
105 | <tr·class="memitem:a029d281df9f5dc8c00b52a35f8e0dfde"·id="r_a029d281df9f5dc8c00b52a35f8e0dfde"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01101.html#a029d281df9f5dc8c00b52a35f8e0dfde">FVarChannel</a>·()</td></tr> | 105 | <tr·class="memitem:a029d281df9f5dc8c00b52a35f8e0dfde"·id="r_a029d281df9f5dc8c00b52a35f8e0dfde"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01101.html#a029d281df9f5dc8c00b52a35f8e0dfde">FVarChannel</a>·()</td></tr> |
106 | <tr·class="separator:a029d281df9f5dc8c00b52a35f8e0dfde"><td·class="memSeparator"·colspan="2"> </td></tr> | 106 | <tr·class="separator:a029d281df9f5dc8c00b52a35f8e0dfde"><td·class="memSeparator"·colspan="2"> </td></tr> |
107 | </table><table·class="memberdecls"> | 107 | </table><table·class="memberdecls"> |
108 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a> | 108 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a> |
Offset 111, 15 lines modified | Offset 111, 15 lines modified | ||
111 | <tr·class="memitem:aa0d5f7bfb1ba01e0cb648ff6fc249437"·id="r_aa0d5f7bfb1ba01e0cb648ff6fc249437"><td·class="memItemLeft"·align="right"·valign="top">int </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01101.html#aa0d5f7bfb1ba01e0cb648ff6fc249437">numValues</a></td></tr> | 111 | <tr·class="memitem:aa0d5f7bfb1ba01e0cb648ff6fc249437"·id="r_aa0d5f7bfb1ba01e0cb648ff6fc249437"><td·class="memItemLeft"·align="right"·valign="top">int </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01101.html#aa0d5f7bfb1ba01e0cb648ff6fc249437">numValues</a></td></tr> |
112 | <tr·class="separator:aa0d5f7bfb1ba01e0cb648ff6fc249437"><td·class="memSeparator"·colspan="2"> </td></tr> | 112 | <tr·class="separator:aa0d5f7bfb1ba01e0cb648ff6fc249437"><td·class="memSeparator"·colspan="2"> </td></tr> |
113 | <tr·class="memitem:a123fe78d0e97dc72f5dfd9f27f93f699"·id="r_a123fe78d0e97dc72f5dfd9f27f93f699"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>·const··* </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01101.html#a123fe78d0e97dc72f5dfd9f27f93f699">valueIndices</a></td></tr> | 113 | <tr·class="memitem:a123fe78d0e97dc72f5dfd9f27f93f699"·id="r_a123fe78d0e97dc72f5dfd9f27f93f699"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>·const··* </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01101.html#a123fe78d0e97dc72f5dfd9f27f93f699">valueIndices</a></td></tr> |
114 | <tr·class="separator:a123fe78d0e97dc72f5dfd9f27f93f699"><td·class="memSeparator"·colspan="2"> </td></tr> | 114 | <tr·class="separator:a123fe78d0e97dc72f5dfd9f27f93f699"><td·class="memSeparator"·colspan="2"> </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="a0071 | 118 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00713_source.html#l00073">73</a>·of·file·<a·class="el"·href="a00713_source.html">topologyDescriptor.h</a>.</p> |
119 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 119 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
120 | <a·id="a029d281df9f5dc8c00b52a35f8e0dfde"·name="a029d281df9f5dc8c00b52a35f8e0dfde"></a> | 120 | <a·id="a029d281df9f5dc8c00b52a35f8e0dfde"·name="a029d281df9f5dc8c00b52a35f8e0dfde"></a> |
121 | <h2·class="memtitle"><span·class="permalink"><a·href="#a029d281df9f5dc8c00b52a35f8e0dfde">◆ </a></span>FVarChannel()</h2> | 121 | <h2·class="memtitle"><span·class="permalink"><a·href="#a029d281df9f5dc8c00b52a35f8e0dfde">◆ </a></span>FVarChannel()</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 136, 15 lines modified | Offset 136, 15 lines modified | ||
136 | ··</td> | 136 | ··</td> |
137 | ··<td·class="mlabels-right"> | 137 | ··<td·class="mlabels-right"> |
138 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 138 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
139 | ··</tr> | 139 | ··</tr> |
140 | </table> | 140 | </table> |
141 | </div><div·class="memdoc"> | 141 | </div><div·class="memdoc"> |
142 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 142 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00713_source.html#l00078">78</a>·of·file·<a·class="el"·href="a00713_source.html">topologyDescriptor.h</a>.</p> |
143 | </div> | 143 | </div> |
144 | </div> | 144 | </div> |
145 | <h2·class="groupheader">Member·Data·Documentation</h2> | 145 | <h2·class="groupheader">Member·Data·Documentation</h2> |
146 | <a·id="aa0d5f7bfb1ba01e0cb648ff6fc249437"·name="aa0d5f7bfb1ba01e0cb648ff6fc249437"></a> | 146 | <a·id="aa0d5f7bfb1ba01e0cb648ff6fc249437"·name="aa0d5f7bfb1ba01e0cb648ff6fc249437"></a> |
147 | <h2·class="memtitle"><span·class="permalink"><a·href="#aa0d5f7bfb1ba01e0cb648ff6fc249437">◆ </a></span>numValues</h2> | 147 | <h2·class="memtitle"><span·class="permalink"><a·href="#aa0d5f7bfb1ba01e0cb648ff6fc249437">◆ </a></span>numValues</h2> |
Offset 153, 15 lines modified | Offset 153, 15 lines modified | ||
153 | ······<table·class="memname"> | 153 | ······<table·class="memname"> |
154 | ········<tr> | 154 | ········<tr> |
155 | ··········<td·class="memname">int·numValues</td> | 155 | ··········<td·class="memname">int·numValues</td> |
156 | ········</tr> | 156 | ········</tr> |
157 | ······</table> | 157 | ······</table> |
158 | </div><div·class="memdoc"> | 158 | </div><div·class="memdoc"> |
159 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 159 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00713_source.html#l00075">75</a>·of·file·<a·class="el"·href="a00713_source.html">topologyDescriptor.h</a>.</p> |
160 | </div> | 160 | </div> |
161 | </div> | 161 | </div> |
162 | <a·id="a123fe78d0e97dc72f5dfd9f27f93f699"·name="a123fe78d0e97dc72f5dfd9f27f93f699"></a> | 162 | <a·id="a123fe78d0e97dc72f5dfd9f27f93f699"·name="a123fe78d0e97dc72f5dfd9f27f93f699"></a> |
163 | <h2·class="memtitle"><span·class="permalink"><a·href="#a123fe78d0e97dc72f5dfd9f27f93f699">◆ </a></span>valueIndices</h2> | 163 | <h2·class="memtitle"><span·class="permalink"><a·href="#a123fe78d0e97dc72f5dfd9f27f93f699">◆ </a></span>valueIndices</h2> |
164 | <div·class="memitem"> | 164 | <div·class="memitem"> |
Offset 169, 20 lines modified | Offset 169, 20 lines modified | ||
169 | ······<table·class="memname"> | 169 | ······<table·class="memname"> |
170 | ········<tr> | 170 | ········<tr> |
171 | ··········<td·class="memname"><a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>·const*·valueIndices</td> | 171 | ··········<td·class="memname"><a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>·const*·valueIndices</td> |
172 | ········</tr> | 172 | ········</tr> |
173 | ······</table> | 173 | ······</table> |
174 | </div><div·class="memdoc"> | 174 | </div><div·class="memdoc"> |
175 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0071 | 175 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00713_source.html#l00076">76</a>·of·file·<a·class="el"·href="a00713_source.html">topologyDescriptor.h</a>.</p> |
176 | </div> | 176 | </div> |
177 | </div> | 177 | </div> |
178 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 178 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
179 | <li>opensubdiv/far/<a·class="el"·href="a0071 | 179 | <li>opensubdiv/far/<a·class="el"·href="a00713_source.html">topologyDescriptor.h</a></li> |
180 | </ul> | 180 | </ul> |
181 | </div><!--·contents·--> | 181 | </div><!--·contents·--> |
182 | </div><!--·doc-content·--> | 182 | </div><!--·doc-content·--> |
183 | <!--·start·footer·part·--> | 183 | <!--·start·footer·part·--> |
184 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 184 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
185 | ··<ul> | 185 | ··<ul> |
186 | ····<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="a01097.html">TopologyDescriptor</a></li><li·class="navelem"><a·class="el"·href="a01101.html">FVarChannel</a></li> | 186 | ····<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="a01097.html">TopologyDescriptor</a></li><li·class="navelem"><a·class="el"·href="a01101.html">FVarChannel</a></li> |
Offset 98, 15 lines modified | Offset 98, 15 lines modified | ||
98 | ··<div·class="headertitle"><div·class="title">CLStencilTable·Class·Reference</div></div> | 98 | ··<div·class="headertitle"><div·class="title">CLStencilTable·Class·Reference</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <p>OpenCL·stencil·table.·· | 101 | <p>OpenCL·stencil·table.·· |
102 | ·<a·href="a01137.html#details">More...</a></p> | 102 | ·<a·href="a01137.html#details">More...</a></p> |
103 | <p><code>#include·<<a·class="el"·href="a0080 | 103 | <p><code>#include·<<a·class="el"·href="a00803_source.html">clEvaluator.h</a>></code></p> |
104 | <table·class="memberdecls"> | 104 | <table·class="memberdecls"> |
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
106 | Public·Member·Functions</h2></td></tr> | 106 | Public·Member·Functions</h2></td></tr> |
107 | <tr·class="memitem:a33ca6bb1dba9f8e390a58395d164431e"·id="r_a33ca6bb1dba9f8e390a58395d164431e"><td·class="memItemLeft"·align="right"·valign="top"> </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> | 107 | <tr·class="memitem:a33ca6bb1dba9f8e390a58395d164431e"·id="r_a33ca6bb1dba9f8e390a58395d164431e"><td·class="memItemLeft"·align="right"·valign="top"> </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> |
108 | <tr·class="separator:a33ca6bb1dba9f8e390a58395d164431e"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:a33ca6bb1dba9f8e390a58395d164431e"><td·class="memSeparator"·colspan="2"> </td></tr> |
109 | <tr·class="memitem:af2994e79cf93c872e39659321750351a"·id="r_af2994e79cf93c872e39659321750351a"><td·class="memItemLeft"·align="right"·valign="top"> </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> | 109 | <tr·class="memitem:af2994e79cf93c872e39659321750351a"·id="r_af2994e79cf93c872e39659321750351a"><td·class="memItemLeft"·align="right"·valign="top"> </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> |
110 | <tr·class="separator:af2994e79cf93c872e39659321750351a"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <tr·class="separator:af2994e79cf93c872e39659321750351a"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 143, 15 lines modified | Offset 143, 15 lines modified | ||
143 | <tr·class="separator:a474edc933635aca814471b8d48950a0e"><td·class="memSeparator"·colspan="2"> </td></tr> | 143 | <tr·class="separator:a474edc933635aca814471b8d48950a0e"><td·class="memSeparator"·colspan="2"> </td></tr> |
144 | </table> | 144 | </table> |
145 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 145 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
146 | <div·class="textblock"><p>OpenCL·stencil·table.·</p> | 146 | <div·class="textblock"><p>OpenCL·stencil·table.·</p> |
147 | <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> | 147 | <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> |
148 | <p>CLCompute·consumes·this·table·to·apply·stencils·</p> | 148 | <p>CLCompute·consumes·this·table·to·apply·stencils·</p> |
149 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0080 | 149 | <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> |
150 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 150 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
151 | <a·id="a33ca6bb1dba9f8e390a58395d164431e"·name="a33ca6bb1dba9f8e390a58395d164431e"></a> | 151 | <a·id="a33ca6bb1dba9f8e390a58395d164431e"·name="a33ca6bb1dba9f8e390a58395d164431e"></a> |
152 | <h2·class="memtitle"><span·class="permalink"><a·href="#a33ca6bb1dba9f8e390a58395d164431e">◆ </a></span>CLStencilTable()·<span·class="overload">[1/2]</span></h2> | 152 | <h2·class="memtitle"><span·class="permalink"><a·href="#a33ca6bb1dba9f8e390a58395d164431e">◆ </a></span>CLStencilTable()·<span·class="overload">[1/2]</span></h2> |
153 | <div·class="memitem"> | 153 | <div·class="memitem"> |
154 | <div·class="memproto"> | 154 | <div·class="memproto"> |
155 | ······<table·class="memname"> | 155 | ······<table·class="memname"> |
Offset 255, 15 lines modified | Offset 255, 15 lines modified | ||
255 | ··</td> | 255 | ··</td> |
256 | ··<td·class="mlabels-right"> | 256 | ··<td·class="mlabels-right"> |
257 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> | 257 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> |
258 | ··</tr> | 258 | ··</tr> |
259 | </table> | 259 | </table> |
260 | </div><div·class="memdoc"> | 260 | </div><div·class="memdoc"> |
261 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0080 | 261 | <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> |
262 | </div> | 262 | </div> |
263 | </div> | 263 | </div> |
264 | <a·id="ad4e05c20d99b64b2160c1a0c96cb0c01"·name="ad4e05c20d99b64b2160c1a0c96cb0c01"></a> | 264 | <a·id="ad4e05c20d99b64b2160c1a0c96cb0c01"·name="ad4e05c20d99b64b2160c1a0c96cb0c01"></a> |
265 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad4e05c20d99b64b2160c1a0c96cb0c01">◆ </a></span>Create()·<span·class="overload">[2/2]</span></h2> | 265 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad4e05c20d99b64b2160c1a0c96cb0c01">◆ </a></span>Create()·<span·class="overload">[2/2]</span></h2> |
266 | <div·class="memitem"> | 266 | <div·class="memitem"> |
Offset 295, 15 lines modified | Offset 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·class="mlabel">static</span></span>··</td> | 297 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</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="a0080 | 301 | <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> |
302 | </div> | 302 | </div> |
303 | </div> | 303 | </div> |
304 | <a·id="a9a1d122f4bea431331fa542cf6dee1f6"·name="a9a1d122f4bea431331fa542cf6dee1f6"></a> | 304 | <a·id="a9a1d122f4bea431331fa542cf6dee1f6"·name="a9a1d122f4bea431331fa542cf6dee1f6"></a> |
305 | <h2·class="memtitle"><span·class="permalink"><a·href="#a9a1d122f4bea431331fa542cf6dee1f6">◆ </a></span>GetDuuWeightsBuffer()</h2> | 305 | <h2·class="memtitle"><span·class="permalink"><a·href="#a9a1d122f4bea431331fa542cf6dee1f6">◆ </a></span>GetDuuWeightsBuffer()</h2> |
306 | <div·class="memitem"> | 306 | <div·class="memitem"> |
Offset 322, 15 lines modified | Offset 322, 15 lines modified | ||
322 | ··</td> | 322 | ··</td> |
323 | ··<td·class="mlabels-right"> | 323 | ··<td·class="mlabels-right"> |
324 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 324 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
325 | ··</tr> | 325 | ··</tr> |
326 | </table> | 326 | </table> |
327 | </div><div·class="memdoc"> | 327 | </div><div·class="memdoc"> |
328 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0080 | 328 | <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> |
329 | </div> | 329 | </div> |
330 | </div> | 330 | </div> |
331 | <a·id="aa79d14d151020f9298c742c3072e7fc9"·name="aa79d14d151020f9298c742c3072e7fc9"></a> | 331 | <a·id="aa79d14d151020f9298c742c3072e7fc9"·name="aa79d14d151020f9298c742c3072e7fc9"></a> |
332 | <h2·class="memtitle"><span·class="permalink"><a·href="#aa79d14d151020f9298c742c3072e7fc9">◆ </a></span>GetDuvWeightsBuffer()</h2> | 332 | <h2·class="memtitle"><span·class="permalink"><a·href="#aa79d14d151020f9298c742c3072e7fc9">◆ </a></span>GetDuvWeightsBuffer()</h2> |
333 | <div·class="memitem"> | 333 | <div·class="memitem"> |
Offset 349, 15 lines modified | Offset 349, 15 lines modified | ||
349 | ··</td> | 349 | ··</td> |
350 | ··<td·class="mlabels-right"> | 350 | ··<td·class="mlabels-right"> |
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·class="definition">Definition·at·line·<a·class="el"·href="a0080 | 355 | <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> |
356 | </div> | 356 | </div> |
357 | </div> | 357 | </div> |
358 | <a·id="aab6c794e109053815894e2314f05564b"·name="aab6c794e109053815894e2314f05564b"></a> | 358 | <a·id="aab6c794e109053815894e2314f05564b"·name="aab6c794e109053815894e2314f05564b"></a> |
359 | <h2·class="memtitle"><span·class="permalink"><a·href="#aab6c794e109053815894e2314f05564b">◆ </a></span>GetDuWeightsBuffer()</h2> | 359 | <h2·class="memtitle"><span·class="permalink"><a·href="#aab6c794e109053815894e2314f05564b">◆ </a></span>GetDuWeightsBuffer()</h2> |
360 | <div·class="memitem"> | 360 | <div·class="memitem"> |
Offset 376, 15 lines modified | Offset 376, 15 lines modified | ||
376 | ··</td> | 376 | ··</td> |
377 | ··<td·class="mlabels-right"> | 377 | ··<td·class="mlabels-right"> |
378 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 378 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
379 | ··</tr> | 379 | ··</tr> |
380 | </table> | 380 | </table> |
381 | </div><div·class="memdoc"> | 381 | </div><div·class="memdoc"> |
382 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0080 | 382 | <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> |
383 | </div> | 383 | </div> |
384 | </div> | 384 | </div> |
385 | <a·id="a015241b43d27300535376319ae7b6dc4"·name="a015241b43d27300535376319ae7b6dc4"></a> | 385 | <a·id="a015241b43d27300535376319ae7b6dc4"·name="a015241b43d27300535376319ae7b6dc4"></a> |
386 | <h2·class="memtitle"><span·class="permalink"><a·href="#a015241b43d27300535376319ae7b6dc4">◆ </a></span>GetDvvWeightsBuffer()</h2> | 386 | <h2·class="memtitle"><span·class="permalink"><a·href="#a015241b43d27300535376319ae7b6dc4">◆ </a></span>GetDvvWeightsBuffer()</h2> |
387 | <div·class="memitem"> | 387 | <div·class="memitem"> |
Offset 403, 15 lines modified | Offset 403, 15 lines modified | ||
403 | ··</td> | 403 | ··</td> |
404 | ··<td·class="mlabels-right"> | 404 | ··<td·class="mlabels-right"> |
405 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 405 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
406 | ··</tr> | 406 | ··</tr> |
407 | </table> | 407 | </table> |
408 | </div><div·class="memdoc"> | 408 | </div><div·class="memdoc"> |
409 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0080 | 409 | <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> |
410 | </div> | 410 | </div> |
411 | </div> | 411 | </div> |
412 | <a·id="aa1550324554767683ae2bf0317e6bad6"·name="aa1550324554767683ae2bf0317e6bad6"></a> | 412 | <a·id="aa1550324554767683ae2bf0317e6bad6"·name="aa1550324554767683ae2bf0317e6bad6"></a> |
413 | <h2·class="memtitle"><span·class="permalink"><a·href="#aa1550324554767683ae2bf0317e6bad6">◆ </a></span>GetDvWeightsBuffer()</h2> | 413 | <h2·class="memtitle"><span·class="permalink"><a·href="#aa1550324554767683ae2bf0317e6bad6">◆ </a></span>GetDvWeightsBuffer()</h2> |
414 | <div·class="memitem"> | 414 | <div·class="memitem"> |
Max diff block lines reached; 5167/12918 bytes (40.00%) of diff not shown. |
Offset 96, 15 lines modified | Offset 96, 15 lines modified | ||
96 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 96 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
97 | <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·| | 97 | <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·| |
98 | <a·href="a01138.html">List·of·all·members</a>··</div> | 98 | <a·href="a01138.html">List·of·all·members</a>··</div> |
99 | ··<div·class="headertitle"><div·class="title">CLEvaluator·Class·Reference</div></div> | 99 | ··<div·class="headertitle"><div·class="title">CLEvaluator·Class·Reference</div></div> |
100 | </div><!--header--> | 100 | </div><!--header--> |
101 | <div·class="contents"> | 101 | <div·class="contents"> |
102 | <p><code>#include·<<a·class="el"·href="a0080 | 102 | <p><code>#include·<<a·class="el"·href="a00803_source.html">clEvaluator.h</a>></code></p> |
103 | <table·class="memberdecls"> | 103 | <table·class="memberdecls"> |
104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
105 | Public·Types</h2></td></tr> | 105 | Public·Types</h2></td></tr> |
106 | <tr·class="memitem:a2c24b70c9312d8dff3fecb9ddea52c44"·id="r_a2c24b70c9312d8dff3fecb9ddea52c44"><td·class="memItemLeft"·align="right"·valign="top">typedef·bool </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01141.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a></td></tr> | 106 | <tr·class="memitem:a2c24b70c9312d8dff3fecb9ddea52c44"·id="r_a2c24b70c9312d8dff3fecb9ddea52c44"><td·class="memItemLeft"·align="right"·valign="top">typedef·bool </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01141.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a></td></tr> |
107 | <tr·class="separator:a2c24b70c9312d8dff3fecb9ddea52c44"><td·class="memSeparator"·colspan="2"> </td></tr> | 107 | <tr·class="separator:a2c24b70c9312d8dff3fecb9ddea52c44"><td·class="memSeparator"·colspan="2"> </td></tr> |
108 | </table><table·class="memberdecls"> | 108 | </table><table·class="memberdecls"> |
109 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 109 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
Offset 245, 29 lines modified | Offset 245, 29 lines modified | ||
245 | <tr·class="memdesc:a7e77f811e9d48160701e705bb4300388"><td·class="mdescLeft"> </td><td·class="mdescRight">Wait·the·OpenCL·kernels·finish.··<br·/></td></tr> | 245 | <tr·class="memdesc:a7e77f811e9d48160701e705bb4300388"><td·class="mdescLeft"> </td><td·class="mdescRight">Wait·the·OpenCL·kernels·finish.··<br·/></td></tr> |
246 | <tr·class="separator:a7e77f811e9d48160701e705bb4300388"><td·class="memSeparator"·colspan="2"> </td></tr> | 246 | <tr·class="separator:a7e77f811e9d48160701e705bb4300388"><td·class="memSeparator"·colspan="2"> </td></tr> |
247 | <tr·class="memitem:a0529a707250f9931f945ec49d4e428d2"·id="r_a0529a707250f9931f945ec49d4e428d2"><td·class="memItemLeft"·align="right"·valign="top">static·void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01141.html#a0529a707250f9931f945ec49d4e428d2">Synchronize</a>·(cl_command_queue·queue)</td></tr> | 247 | <tr·class="memitem:a0529a707250f9931f945ec49d4e428d2"·id="r_a0529a707250f9931f945ec49d4e428d2"><td·class="memItemLeft"·align="right"·valign="top">static·void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01141.html#a0529a707250f9931f945ec49d4e428d2">Synchronize</a>·(cl_command_queue·queue)</td></tr> |
248 | <tr·class="separator:a0529a707250f9931f945ec49d4e428d2"><td·class="memSeparator"·colspan="2"> </td></tr> | 248 | <tr·class="separator:a0529a707250f9931f945ec49d4e428d2"><td·class="memSeparator"·colspan="2"> </td></tr> |
249 | </table> | 249 | </table> |
250 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 250 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
251 | <div·class="textblock"> | 251 | <div·class="textblock"> |
252 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0080 | 252 | <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> |
253 | </div><h2·class="groupheader">Member·Typedef·Documentation</h2> | 253 | </div><h2·class="groupheader">Member·Typedef·Documentation</h2> |
254 | <a·id="a2c24b70c9312d8dff3fecb9ddea52c44"·name="a2c24b70c9312d8dff3fecb9ddea52c44"></a> | 254 | <a·id="a2c24b70c9312d8dff3fecb9ddea52c44"·name="a2c24b70c9312d8dff3fecb9ddea52c44"></a> |
255 | <h2·class="memtitle"><span·class="permalink"><a·href="#a2c24b70c9312d8dff3fecb9ddea52c44">◆ </a></span>Instantiatable</h2> | 255 | <h2·class="memtitle"><span·class="permalink"><a·href="#a2c24b70c9312d8dff3fecb9ddea52c44">◆ </a></span>Instantiatable</h2> |
256 | <div·class="memitem"> | 256 | <div·class="memitem"> |
257 | <div·class="memproto"> | 257 | <div·class="memproto"> |
258 | ······<table·class="memname"> | 258 | ······<table·class="memname"> |
259 | ········<tr> | 259 | ········<tr> |
260 | ··········<td·class="memname">typedef·bool·<a·class="el"·href="a01141.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a></td> | 260 | ··········<td·class="memname">typedef·bool·<a·class="el"·href="a01141.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a></td> |
261 | ········</tr> | 261 | ········</tr> |
262 | ······</table> | 262 | ······</table> |
263 | </div><div·class="memdoc"> | 263 | </div><div·class="memdoc"> |
264 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0080 | 264 | <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> |
265 | </div> | 265 | </div> |
266 | </div> | 266 | </div> |
267 | <h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 267 | <h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
268 | <a·id="adbb0aafb7db3284f164499e8007c4cac"·name="adbb0aafb7db3284f164499e8007c4cac"></a> | 268 | <a·id="adbb0aafb7db3284f164499e8007c4cac"·name="adbb0aafb7db3284f164499e8007c4cac"></a> |
269 | <h2·class="memtitle"><span·class="permalink"><a·href="#adbb0aafb7db3284f164499e8007c4cac">◆ </a></span>CLEvaluator()</h2> | 269 | <h2·class="memtitle"><span·class="permalink"><a·href="#adbb0aafb7db3284f164499e8007c4cac">◆ </a></span>CLEvaluator()</h2> |
Offset 452, 15 lines modified | Offset 452, 15 lines modified | ||
452 | ··</td> | 452 | ··</td> |
453 | ··<td·class="mlabels-right"> | 453 | ··<td·class="mlabels-right"> |
454 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> | 454 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> |
455 | ··</tr> | 455 | ··</tr> |
456 | </table> | 456 | </table> |
457 | </div><div·class="memdoc"> | 457 | </div><div·class="memdoc"> |
458 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0080 | 458 | <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> |
459 | </div> | 459 | </div> |
460 | </div> | 460 | </div> |
461 | <a·id="a49cef5f95d8dec6c11fc1dd62dcd7045"·name="a49cef5f95d8dec6c11fc1dd62dcd7045"></a> | 461 | <a·id="a49cef5f95d8dec6c11fc1dd62dcd7045"·name="a49cef5f95d8dec6c11fc1dd62dcd7045"></a> |
462 | <h2·class="memtitle"><span·class="permalink"><a·href="#a49cef5f95d8dec6c11fc1dd62dcd7045">◆ </a></span>Create()·<span·class="overload">[2/4]</span></h2> | 462 | <h2·class="memtitle"><span·class="permalink"><a·href="#a49cef5f95d8dec6c11fc1dd62dcd7045">◆ </a></span>Create()·<span·class="overload">[2/4]</span></h2> |
463 | <div·class="memitem"> | 463 | <div·class="memitem"> |
Offset 530, 15 lines modified | Offset 530, 15 lines modified | ||
530 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> | 530 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> |
531 | ··</tr> | 531 | ··</tr> |
532 | </table> | 532 | </table> |
533 | </div><div·class="memdoc"> | 533 | </div><div·class="memdoc"> |
534 | <p>Generic·creator·template.·</p> | 534 | <p>Generic·creator·template.·</p> |
535 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0080 | 535 | <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> |
536 | </div> | 536 | </div> |
537 | </div> | 537 | </div> |
538 | <a·id="a1243e4560da0f71a3dcd290772548d98"·name="a1243e4560da0f71a3dcd290772548d98"></a> | 538 | <a·id="a1243e4560da0f71a3dcd290772548d98"·name="a1243e4560da0f71a3dcd290772548d98"></a> |
539 | <h2·class="memtitle"><span·class="permalink"><a·href="#a1243e4560da0f71a3dcd290772548d98">◆ </a></span>Create()·<span·class="overload">[3/4]</span></h2> | 539 | <h2·class="memtitle"><span·class="permalink"><a·href="#a1243e4560da0f71a3dcd290772548d98">◆ </a></span>Create()·<span·class="overload">[3/4]</span></h2> |
540 | <div·class="memitem"> | 540 | <div·class="memitem"> |
Offset 592, 15 lines modified | Offset 592, 15 lines modified | ||
592 | ··</td> | 592 | ··</td> |
593 | ··<td·class="mlabels-right"> | 593 | ··<td·class="mlabels-right"> |
594 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> | 594 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> |
595 | ··</tr> | 595 | ··</tr> |
596 | </table> | 596 | </table> |
597 | </div><div·class="memdoc"> | 597 | </div><div·class="memdoc"> |
598 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0080 | 598 | <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> |
599 | </div> | 599 | </div> |
600 | </div> | 600 | </div> |
601 | <a·id="a3a2faa1170cedd851fea7266e0ff7eda"·name="a3a2faa1170cedd851fea7266e0ff7eda"></a> | 601 | <a·id="a3a2faa1170cedd851fea7266e0ff7eda"·name="a3a2faa1170cedd851fea7266e0ff7eda"></a> |
602 | <h2·class="memtitle"><span·class="permalink"><a·href="#a3a2faa1170cedd851fea7266e0ff7eda">◆ </a></span>Create()·<span·class="overload">[4/4]</span></h2> | 602 | <h2·class="memtitle"><span·class="permalink"><a·href="#a3a2faa1170cedd851fea7266e0ff7eda">◆ </a></span>Create()·<span·class="overload">[4/4]</span></h2> |
603 | <div·class="memitem"> | 603 | <div·class="memitem"> |
Offset 652, 15 lines modified | Offset 652, 15 lines modified | ||
652 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> | 652 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> |
653 | ··</tr> | 653 | ··</tr> |
654 | </table> | 654 | </table> |
655 | </div><div·class="memdoc"> | 655 | </div><div·class="memdoc"> |
656 | <p>Generic·creator·template.·</p> | 656 | <p>Generic·creator·template.·</p> |
657 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0080 | 657 | <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> |
658 | </div> | 658 | </div> |
659 | </div> | 659 | </div> |
660 | <a·id="a4d6d90d5c4b0237cbeab58062dbdf5c8"·name="a4d6d90d5c4b0237cbeab58062dbdf5c8"></a> | 660 | <a·id="a4d6d90d5c4b0237cbeab58062dbdf5c8"·name="a4d6d90d5c4b0237cbeab58062dbdf5c8"></a> |
661 | <h2·class="memtitle"><span·class="permalink"><a·href="#a4d6d90d5c4b0237cbeab58062dbdf5c8">◆ </a></span>EvalPatches()·<span·class="overload">[1/8]</span></h2> | 661 | <h2·class="memtitle"><span·class="permalink"><a·href="#a4d6d90d5c4b0237cbeab58062dbdf5c8">◆ </a></span>EvalPatches()·<span·class="overload">[1/8]</span></h2> |
662 | <div·class="memitem"> | 662 | <div·class="memitem"> |
Offset 1101, 15 lines modified | Offset 1101, 15 lines modified | ||
1101 | ····<tr><td·class="paramname">numStartEvents</td><td>the·number·of·events·in·the·array·pointed·to·by·startEvents.</td></tr> | 1101 | ····<tr><td·class="paramname">numStartEvents</td><td>the·number·of·events·in·the·array·pointed·to·by·startEvents.</td></tr> |
1102 | ····<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> | 1102 | ····<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> |
1103 | ····<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> | 1103 | ····<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> |
1104 | ··</table> | 1104 | ··</table> |
1105 | ··</dd> | 1105 | ··</dd> |
1106 | </dl> | 1106 | </dl> |
1107 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0080 | 1107 | <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> |
1108 | </div> | 1108 | </div> |
1109 | </div> | 1109 | </div> |
1110 | <a·id="a28ceea444575e321b0e98cb33fd0ed61"·name="a28ceea444575e321b0e98cb33fd0ed61"></a> | 1110 | <a·id="a28ceea444575e321b0e98cb33fd0ed61"·name="a28ceea444575e321b0e98cb33fd0ed61"></a> |
1111 | <h2·class="memtitle"><span·class="permalink"><a·href="#a28ceea444575e321b0e98cb33fd0ed61">◆ </a></span>EvalPatches()·<span·class="overload">[4/8]</span></h2> | 1111 | <h2·class="memtitle"><span·class="permalink"><a·href="#a28ceea444575e321b0e98cb33fd0ed61">◆ </a></span>EvalPatches()·<span·class="overload">[4/8]</span></h2> |
1112 | <div·class="memitem"> | 1112 | <div·class="memitem"> |
Offset 1276, 15 lines modified | Offset 1276, 15 lines modified | ||
1276 | ····<tr><td·class="paramname">numStartEvents</td><td>the·number·of·events·in·the·array·pointed·to·by·startEvents.</td></tr> | 1276 | ····<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/40125 bytes (78.22%) of diff not shown. |
Offset 99, 15 lines modified | Offset 99, 15 lines modified | ||
99 | ··<div·class="headertitle"><div·class="title">CLVertexBuffer·Class·Reference</div></div> | 99 | ··<div·class="headertitle"><div·class="title">CLVertexBuffer·Class·Reference</div></div> |
100 | </div><!--header--> | 100 | </div><!--header--> |
101 | <div·class="contents"> | 101 | <div·class="contents"> |
102 | <p>Concrete·vertex·buffer·class·for·OpenCL·subdivision.·· | 102 | <p>Concrete·vertex·buffer·class·for·OpenCL·subdivision.·· |
103 | ·<a·href="a01149.html#details">More...</a></p> | 103 | ·<a·href="a01149.html#details">More...</a></p> |
104 | <p><code>#include·<<a·class="el"·href="a0079 | 104 | <p><code>#include·<<a·class="el"·href="a00797_source.html">clVertexBuffer.h</a>></code></p> |
105 | <table·class="memberdecls"> | 105 | <table·class="memberdecls"> |
106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
107 | Public·Member·Functions</h2></td></tr> | 107 | Public·Member·Functions</h2></td></tr> |
108 | <tr·class="memitem:a4801ba3ea81294d3e7e3da970863896e"·id="r_a4801ba3ea81294d3e7e3da970863896e"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01149.html#a4801ba3ea81294d3e7e3da970863896e">~CLVertexBuffer</a>·()</td></tr> | 108 | <tr·class="memitem:a4801ba3ea81294d3e7e3da970863896e"·id="r_a4801ba3ea81294d3e7e3da970863896e"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01149.html#a4801ba3ea81294d3e7e3da970863896e">~CLVertexBuffer</a>·()</td></tr> |
109 | <tr·class="memdesc:a4801ba3ea81294d3e7e3da970863896e"><td·class="mdescLeft"> </td><td·class="mdescRight">Destructor.··<br·/></td></tr> | 109 | <tr·class="memdesc:a4801ba3ea81294d3e7e3da970863896e"><td·class="mdescLeft"> </td><td·class="mdescRight">Destructor.··<br·/></td></tr> |
110 | <tr·class="separator:a4801ba3ea81294d3e7e3da970863896e"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <tr·class="separator:a4801ba3ea81294d3e7e3da970863896e"><td·class="memSeparator"·colspan="2"> </td></tr> |
111 | <tr·class="memitem:a7259d1296f30e13d171cd892708d8d0a"·id="r_a7259d1296f30e13d171cd892708d8d0a"><td·class="memItemLeft"·align="right"·valign="top">void </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> | 111 | <tr·class="memitem:a7259d1296f30e13d171cd892708d8d0a"·id="r_a7259d1296f30e13d171cd892708d8d0a"><td·class="memItemLeft"·align="right"·valign="top">void </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 142, 15 lines modified | Offset 142, 15 lines modified | ||
142 | <tr·class="memitem:a7ff15d15ad0fe31e5cb9a1e6c19f09b0"·id="r_a7ff15d15ad0fe31e5cb9a1e6c19f09b0"><td·class="memItemLeft"·align="right"·valign="top">bool </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01149.html#a7ff15d15ad0fe31e5cb9a1e6c19f09b0">allocate</a>·(cl_context·clContext)</td></tr> | 142 | <tr·class="memitem:a7ff15d15ad0fe31e5cb9a1e6c19f09b0"·id="r_a7ff15d15ad0fe31e5cb9a1e6c19f09b0"><td·class="memItemLeft"·align="right"·valign="top">bool </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01149.html#a7ff15d15ad0fe31e5cb9a1e6c19f09b0">allocate</a>·(cl_context·clContext)</td></tr> |
143 | <tr·class="separator:a7ff15d15ad0fe31e5cb9a1e6c19f09b0"><td·class="memSeparator"·colspan="2"> </td></tr> | 143 | <tr·class="separator:a7ff15d15ad0fe31e5cb9a1e6c19f09b0"><td·class="memSeparator"·colspan="2"> </td></tr> |
144 | </table> | 144 | </table> |
145 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 145 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
146 | <div·class="textblock"><p>Concrete·vertex·buffer·class·for·OpenCL·subdivision.·</p> | 146 | <div·class="textblock"><p>Concrete·vertex·buffer·class·for·OpenCL·subdivision.·</p> |
147 | <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> | 147 | <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> |
148 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0079 | 148 | <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> |
149 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 149 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
150 | <a·id="a4801ba3ea81294d3e7e3da970863896e"·name="a4801ba3ea81294d3e7e3da970863896e"></a> | 150 | <a·id="a4801ba3ea81294d3e7e3da970863896e"·name="a4801ba3ea81294d3e7e3da970863896e"></a> |
151 | <h2·class="memtitle"><span·class="permalink"><a·href="#a4801ba3ea81294d3e7e3da970863896e">◆ </a></span>~CLVertexBuffer()</h2> | 151 | <h2·class="memtitle"><span·class="permalink"><a·href="#a4801ba3ea81294d3e7e3da970863896e">◆ </a></span>~CLVertexBuffer()</h2> |
152 | <div·class="memitem"> | 152 | <div·class="memitem"> |
153 | <div·class="memproto"> | 153 | <div·class="memproto"> |
154 | ······<table·class="memname"> | 154 | ······<table·class="memname"> |
Offset 341, 15 lines modified | Offset 341, 15 lines modified | ||
341 | ··</td> | 341 | ··</td> |
342 | ··<td·class="mlabels-right"> | 342 | ··<td·class="mlabels-right"> |
343 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> | 343 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> |
344 | ··</tr> | 344 | ··</tr> |
345 | </table> | 345 | </table> |
346 | </div><div·class="memdoc"> | 346 | </div><div·class="memdoc"> |
347 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0079 | 347 | <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> |
348 | </div> | 348 | </div> |
349 | </div> | 349 | </div> |
350 | <a·id="a77cee40767fd4936f20a8f9d9d9ea625"·name="a77cee40767fd4936f20a8f9d9d9ea625"></a> | 350 | <a·id="a77cee40767fd4936f20a8f9d9d9ea625"·name="a77cee40767fd4936f20a8f9d9d9ea625"></a> |
351 | <h2·class="memtitle"><span·class="permalink"><a·href="#a77cee40767fd4936f20a8f9d9d9ea625">◆ </a></span>GetNumElements()</h2> | 351 | <h2·class="memtitle"><span·class="permalink"><a·href="#a77cee40767fd4936f20a8f9d9d9ea625">◆ </a></span>GetNumElements()</h2> |
352 | <div·class="memitem"> | 352 | <div·class="memitem"> |
Offset 508, 20 lines modified | Offset 508, 20 lines modified | ||
508 | ··</td> | 508 | ··</td> |
509 | ··<td·class="mlabels-right"> | 509 | ··<td·class="mlabels-right"> |
510 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 510 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
511 | ··</tr> | 511 | ··</tr> |
512 | </table> | 512 | </table> |
513 | </div><div·class="memdoc"> | 513 | </div><div·class="memdoc"> |
514 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0079 | 514 | <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> |
515 | </div> | 515 | </div> |
516 | </div> | 516 | </div> |
517 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 517 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
518 | <li>opensubdiv/osd/<a·class="el"·href="a0079 | 518 | <li>opensubdiv/osd/<a·class="el"·href="a00797_source.html">clVertexBuffer.h</a></li> |
519 | </ul> | 519 | </ul> |
520 | </div><!--·contents·--> | 520 | </div><!--·contents·--> |
521 | </div><!--·doc-content·--> | 521 | </div><!--·doc-content·--> |
522 | <!--·start·footer·part·--> | 522 | <!--·start·footer·part·--> |
523 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 523 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
524 | ··<ul> | 524 | ··<ul> |
525 | ····<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> | 525 | ····<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> |
Offset 99, 15 lines modified | Offset 99, 15 lines modified | ||
99 | ··<div·class="headertitle"><div·class="title">CpuD3D11VertexBuffer·Class·Reference</div></div> | 99 | ··<div·class="headertitle"><div·class="title">CpuD3D11VertexBuffer·Class·Reference</div></div> |
100 | </div><!--header--> | 100 | </div><!--header--> |
101 | <div·class="contents"> | 101 | <div·class="contents"> |
102 | <p>Concrete·vertex·buffer·class·for·Cpu·subdivision·and·DirectX·drawing.·· | 102 | <p>Concrete·vertex·buffer·class·for·Cpu·subdivision·and·DirectX·drawing.·· |
103 | ·<a·href="a01153.html#details">More...</a></p> | 103 | ·<a·href="a01153.html#details">More...</a></p> |
104 | <p><code>#include·<<a·class="el"·href="a0084 | 104 | <p><code>#include·<<a·class="el"·href="a00842_source.html">cpuD3D11VertexBuffer.h</a>></code></p> |
105 | <table·class="memberdecls"> | 105 | <table·class="memberdecls"> |
106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
107 | Public·Member·Functions</h2></td></tr> | 107 | Public·Member·Functions</h2></td></tr> |
108 | <tr·class="memitem:ae6f29f48db71c5ed845eb6abe085af91"·id="r_ae6f29f48db71c5ed845eb6abe085af91"><td·class="memItemLeft"·align="right"·valign="top">virtual </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01153.html#ae6f29f48db71c5ed845eb6abe085af91">~CpuD3D11VertexBuffer</a>·()</td></tr> | 108 | <tr·class="memitem:ae6f29f48db71c5ed845eb6abe085af91"·id="r_ae6f29f48db71c5ed845eb6abe085af91"><td·class="memItemLeft"·align="right"·valign="top">virtual </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01153.html#ae6f29f48db71c5ed845eb6abe085af91">~CpuD3D11VertexBuffer</a>·()</td></tr> |
109 | <tr·class="memdesc:ae6f29f48db71c5ed845eb6abe085af91"><td·class="mdescLeft"> </td><td·class="mdescRight">Destructor.··<br·/></td></tr> | 109 | <tr·class="memdesc:ae6f29f48db71c5ed845eb6abe085af91"><td·class="mdescLeft"> </td><td·class="mdescRight">Destructor.··<br·/></td></tr> |
110 | <tr·class="separator:ae6f29f48db71c5ed845eb6abe085af91"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <tr·class="separator:ae6f29f48db71c5ed845eb6abe085af91"><td·class="memSeparator"·colspan="2"> </td></tr> |
111 | <tr·class="memitem:a96601a091f8831823c4dd72b6c962f1b"·id="r_a96601a091f8831823c4dd72b6c962f1b"><td·class="memItemLeft"·align="right"·valign="top">void </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> | 111 | <tr·class="memitem:a96601a091f8831823c4dd72b6c962f1b"·id="r_a96601a091f8831823c4dd72b6c962f1b"><td·class="memItemLeft"·align="right"·valign="top">void </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 143, 15 lines modified | Offset 143, 15 lines modified | ||
143 | <tr·class="separator:ae61b4ed6cc7cb69826cd0804c2d972b7"><td·class="memSeparator"·colspan="2"> </td></tr> | 143 | <tr·class="separator:ae61b4ed6cc7cb69826cd0804c2d972b7"><td·class="memSeparator"·colspan="2"> </td></tr> |
144 | </table> | 144 | </table> |
145 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 145 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
146 | <div·class="textblock"><p>Concrete·vertex·buffer·class·for·Cpu·subdivision·and·DirectX·drawing.·</p> | 146 | <div·class="textblock"><p>Concrete·vertex·buffer·class·for·Cpu·subdivision·and·DirectX·drawing.·</p> |
147 | <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> | 147 | <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> |
148 | <p>An·instance·of·this·buffer·class·can·be·passed·to·<a·class="el"·href="a01157.html">CpuEvaluator</a>.·</p> | 148 | <p>An·instance·of·this·buffer·class·can·be·passed·to·<a·class="el"·href="a01157.html">CpuEvaluator</a>.·</p> |
149 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0084 | 149 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00842_source.html#l00048">48</a>·of·file·<a·class="el"·href="a00842_source.html">cpuD3D11VertexBuffer.h</a>.</p> |
150 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 150 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
151 | <a·id="ae6f29f48db71c5ed845eb6abe085af91"·name="ae6f29f48db71c5ed845eb6abe085af91"></a> | 151 | <a·id="ae6f29f48db71c5ed845eb6abe085af91"·name="ae6f29f48db71c5ed845eb6abe085af91"></a> |
152 | <h2·class="memtitle"><span·class="permalink"><a·href="#ae6f29f48db71c5ed845eb6abe085af91">◆ </a></span>~CpuD3D11VertexBuffer()</h2> | 152 | <h2·class="memtitle"><span·class="permalink"><a·href="#ae6f29f48db71c5ed845eb6abe085af91">◆ </a></span>~CpuD3D11VertexBuffer()</h2> |
153 | <div·class="memitem"> | 153 | <div·class="memitem"> |
154 | <div·class="memproto"> | 154 | <div·class="memproto"> |
155 | <table·class="mlabels"> | 155 | <table·class="mlabels"> |
Offset 302, 15 lines modified | Offset 302, 15 lines modified | ||
302 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 302 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
303 | ··</tr> | 303 | ··</tr> |
304 | </table> | 304 | </table> |
305 | </div><div·class="memdoc"> | 305 | </div><div·class="memdoc"> |
306 | <p>Returns·the·D3D11·buffer·object·(for·<a·class="el"·href="a01273.html">Osd::Mesh</a>·interface)·</p> | 306 | <p>Returns·the·D3D11·buffer·object·(for·<a·class="el"·href="a01273.html">Osd::Mesh</a>·interface)·</p> |
307 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0084 | 307 | <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">cpuD3D11VertexBuffer.h</a>.</p> |
308 | </div> | 308 | </div> |
309 | </div> | 309 | </div> |
310 | <a·id="a00d85863962f5871f802164e2fba7acc"·name="a00d85863962f5871f802164e2fba7acc"></a> | 310 | <a·id="a00d85863962f5871f802164e2fba7acc"·name="a00d85863962f5871f802164e2fba7acc"></a> |
311 | <h2·class="memtitle"><span·class="permalink"><a·href="#a00d85863962f5871f802164e2fba7acc">◆ </a></span>Create()</h2> | 311 | <h2·class="memtitle"><span·class="permalink"><a·href="#a00d85863962f5871f802164e2fba7acc">◆ </a></span>Create()</h2> |
312 | <div·class="memitem"> | 312 | <div·class="memitem"> |
Offset 430, 15 lines modified | Offset 430, 15 lines modified | ||
430 | ······</table> | 430 | ······</table> |
431 | </div><div·class="memdoc"> | 431 | </div><div·class="memdoc"> |
432 | <p>This·method·is·meant·to·be·used·in·client·code·in·order·to·provide·coarse·vertices·data·to·<a·class="el"·href="a00912.html">Osd</a>.·</p> | 432 | <p>This·method·is·meant·to·be·used·in·client·code·in·order·to·provide·coarse·vertices·data·to·<a·class="el"·href="a00912.html">Osd</a>.·</p> |
433 | </div> | 433 | </div> |
434 | </div> | 434 | </div> |
435 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 435 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
436 | <li>opensubdiv/osd/<a·class="el"·href="a0084 | 436 | <li>opensubdiv/osd/<a·class="el"·href="a00842_source.html">cpuD3D11VertexBuffer.h</a></li> |
437 | </ul> | 437 | </ul> |
438 | </div><!--·contents·--> | 438 | </div><!--·contents·--> |
439 | </div><!--·doc-content·--> | 439 | </div><!--·doc-content·--> |
440 | <!--·start·footer·part·--> | 440 | <!--·start·footer·part·--> |
441 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 441 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
442 | ··<ul> | 442 | ··<ul> |
443 | ····<li·class="navelem"><a·class="el"·href="a00905.html">OpenSubdiv</a></li><li·class="navelem"><a·class="el"·href="a00906.html">OPENSUBDIV_VERSION</a></li><li·class="navelem"><a·class="el"·href="a00912.html">Osd</a></li><li·class="navelem"><a·class="el"·href="a01153.html">CpuD3D11VertexBuffer</a></li> | 443 | ····<li·class="navelem"><a·class="el"·href="a00905.html">OpenSubdiv</a></li><li·class="navelem"><a·class="el"·href="a00906.html">OPENSUBDIV_VERSION</a></li><li·class="navelem"><a·class="el"·href="a00912.html">Osd</a></li><li·class="navelem"><a·class="el"·href="a01153.html">CpuD3D11VertexBuffer</a></li> |
Offset 98, 15 lines modified | Offset 98, 15 lines modified | ||
98 | ··<div·class="headertitle"><div·class="title">CudaStencilTable·Class·Reference</div></div> | 98 | ··<div·class="headertitle"><div·class="title">CudaStencilTable·Class·Reference</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <p>CUDA·stencil·table.·· | 101 | <p>CUDA·stencil·table.·· |
102 | ·<a·href="a01173.html#details">More...</a></p> | 102 | ·<a·href="a01173.html#details">More...</a></p> |
103 | <p><code>#include·<<a·class="el"·href="a0079 | 103 | <p><code>#include·<<a·class="el"·href="a00794_source.html">cudaEvaluator.h</a>></code></p> |
104 | <table·class="memberdecls"> | 104 | <table·class="memberdecls"> |
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
106 | Public·Member·Functions</h2></td></tr> | 106 | Public·Member·Functions</h2></td></tr> |
107 | <tr·class="memitem:af872fc469b3696a745d30d22c2b89c4c"·id="r_af872fc469b3696a745d30d22c2b89c4c"><td·class="memItemLeft"·align="right"·valign="top"> </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> | 107 | <tr·class="memitem:af872fc469b3696a745d30d22c2b89c4c"·id="r_af872fc469b3696a745d30d22c2b89c4c"><td·class="memItemLeft"·align="right"·valign="top"> </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> |
108 | <tr·class="separator:af872fc469b3696a745d30d22c2b89c4c"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:af872fc469b3696a745d30d22c2b89c4c"><td·class="memSeparator"·colspan="2"> </td></tr> |
109 | <tr·class="memitem:a45150c630c07bbeabd4b91145cecf087"·id="r_a45150c630c07bbeabd4b91145cecf087"><td·class="memItemLeft"·align="right"·valign="top"> </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> | 109 | <tr·class="memitem:a45150c630c07bbeabd4b91145cecf087"·id="r_a45150c630c07bbeabd4b91145cecf087"><td·class="memItemLeft"·align="right"·valign="top"> </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> |
110 | <tr·class="separator:a45150c630c07bbeabd4b91145cecf087"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <tr·class="separator:a45150c630c07bbeabd4b91145cecf087"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 141, 15 lines modified | Offset 141, 15 lines modified | ||
141 | <tr·class="separator:ac1bda7ee1a17bc67c977cde973c0aaad"><td·class="memSeparator"·colspan="2"> </td></tr> | 141 | <tr·class="separator:ac1bda7ee1a17bc67c977cde973c0aaad"><td·class="memSeparator"·colspan="2"> </td></tr> |
142 | </table> | 142 | </table> |
143 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 143 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
144 | <div·class="textblock"><p>CUDA·stencil·table.·</p> | 144 | <div·class="textblock"><p>CUDA·stencil·table.·</p> |
145 | <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> | 145 | <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> |
146 | <p><a·class="el"·href="a01177.html">CudaEvaluator</a>·consumes·this·table·to·apply·stencils·</p> | 146 | <p><a·class="el"·href="a01177.html">CudaEvaluator</a>·consumes·this·table·to·apply·stencils·</p> |
147 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0079 | 147 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00794_source.html#l00052">52</a>·of·file·<a·class="el"·href="a00794_source.html">cudaEvaluator.h</a>.</p> |
148 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 148 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
149 | <a·id="af872fc469b3696a745d30d22c2b89c4c"·name="af872fc469b3696a745d30d22c2b89c4c"></a> | 149 | <a·id="af872fc469b3696a745d30d22c2b89c4c"·name="af872fc469b3696a745d30d22c2b89c4c"></a> |
150 | <h2·class="memtitle"><span·class="permalink"><a·href="#af872fc469b3696a745d30d22c2b89c4c">◆ </a></span>CudaStencilTable()·<span·class="overload">[1/2]</span></h2> | 150 | <h2·class="memtitle"><span·class="permalink"><a·href="#af872fc469b3696a745d30d22c2b89c4c">◆ </a></span>CudaStencilTable()·<span·class="overload">[1/2]</span></h2> |
151 | <div·class="memitem"> | 151 | <div·class="memitem"> |
152 | <div·class="memproto"> | 152 | <div·class="memproto"> |
153 | <table·class="mlabels"> | 153 | <table·class="mlabels"> |
Offset 247, 15 lines modified | Offset 247, 15 lines modified | ||
247 | ··</td> | 247 | ··</td> |
248 | ··<td·class="mlabels-right"> | 248 | ··<td·class="mlabels-right"> |
249 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> | 249 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> |
250 | ··</tr> | 250 | ··</tr> |
251 | </table> | 251 | </table> |
252 | </div><div·class="memdoc"> | 252 | </div><div·class="memdoc"> |
253 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0079 | 253 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00794_source.html#l00059">59</a>·of·file·<a·class="el"·href="a00794_source.html">cudaEvaluator.h</a>.</p> |
254 | </div> | 254 | </div> |
255 | </div> | 255 | </div> |
256 | <a·id="afa5ea3da09e459d3786b4249caea825d"·name="afa5ea3da09e459d3786b4249caea825d"></a> | 256 | <a·id="afa5ea3da09e459d3786b4249caea825d"·name="afa5ea3da09e459d3786b4249caea825d"></a> |
257 | <h2·class="memtitle"><span·class="permalink"><a·href="#afa5ea3da09e459d3786b4249caea825d">◆ </a></span>Create()·<span·class="overload">[2/2]</span></h2> | 257 | <h2·class="memtitle"><span·class="permalink"><a·href="#afa5ea3da09e459d3786b4249caea825d">◆ </a></span>Create()·<span·class="overload">[2/2]</span></h2> |
258 | <div·class="memitem"> | 258 | <div·class="memitem"> |
Offset 285, 15 lines modified | Offset 285, 15 lines modified | ||
285 | ··</td> | 285 | ··</td> |
286 | ··<td·class="mlabels-right"> | 286 | ··<td·class="mlabels-right"> |
287 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> | 287 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> |
288 | ··</tr> | 288 | ··</tr> |
289 | </table> | 289 | </table> |
290 | </div><div·class="memdoc"> | 290 | </div><div·class="memdoc"> |
291 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0079 | 291 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00794_source.html#l00054">54</a>·of·file·<a·class="el"·href="a00794_source.html">cudaEvaluator.h</a>.</p> |
292 | </div> | 292 | </div> |
293 | </div> | 293 | </div> |
294 | <a·id="a6b4f42dac92785ea5a1d77a4a75fa502"·name="a6b4f42dac92785ea5a1d77a4a75fa502"></a> | 294 | <a·id="a6b4f42dac92785ea5a1d77a4a75fa502"·name="a6b4f42dac92785ea5a1d77a4a75fa502"></a> |
295 | <h2·class="memtitle"><span·class="permalink"><a·href="#a6b4f42dac92785ea5a1d77a4a75fa502">◆ </a></span>GetDuuWeightsBuffer()</h2> | 295 | <h2·class="memtitle"><span·class="permalink"><a·href="#a6b4f42dac92785ea5a1d77a4a75fa502">◆ </a></span>GetDuuWeightsBuffer()</h2> |
296 | <div·class="memitem"> | 296 | <div·class="memitem"> |
Offset 312, 15 lines modified | Offset 312, 15 lines modified | ||
312 | ··</td> | 312 | ··</td> |
313 | ··<td·class="mlabels-right"> | 313 | ··<td·class="mlabels-right"> |
314 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 314 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
315 | ··</tr> | 315 | ··</tr> |
316 | </table> | 316 | </table> |
317 | </div><div·class="memdoc"> | 317 | </div><div·class="memdoc"> |
318 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0079 | 318 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00794_source.html#l00076">76</a>·of·file·<a·class="el"·href="a00794_source.html">cudaEvaluator.h</a>.</p> |
319 | </div> | 319 | </div> |
320 | </div> | 320 | </div> |
321 | <a·id="a0227c2f6e9e0eaa1bf104e5a6efa0830"·name="a0227c2f6e9e0eaa1bf104e5a6efa0830"></a> | 321 | <a·id="a0227c2f6e9e0eaa1bf104e5a6efa0830"·name="a0227c2f6e9e0eaa1bf104e5a6efa0830"></a> |
322 | <h2·class="memtitle"><span·class="permalink"><a·href="#a0227c2f6e9e0eaa1bf104e5a6efa0830">◆ </a></span>GetDuvWeightsBuffer()</h2> | 322 | <h2·class="memtitle"><span·class="permalink"><a·href="#a0227c2f6e9e0eaa1bf104e5a6efa0830">◆ </a></span>GetDuvWeightsBuffer()</h2> |
323 | <div·class="memitem"> | 323 | <div·class="memitem"> |
Offset 339, 15 lines modified | Offset 339, 15 lines modified | ||
339 | ··</td> | 339 | ··</td> |
340 | ··<td·class="mlabels-right"> | 340 | ··<td·class="mlabels-right"> |
341 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 341 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
342 | ··</tr> | 342 | ··</tr> |
343 | </table> | 343 | </table> |
344 | </div><div·class="memdoc"> | 344 | </div><div·class="memdoc"> |
345 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0079 | 345 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00794_source.html#l00077">77</a>·of·file·<a·class="el"·href="a00794_source.html">cudaEvaluator.h</a>.</p> |
346 | </div> | 346 | </div> |
347 | </div> | 347 | </div> |
348 | <a·id="a2b91670573e565368e68512e02d045d6"·name="a2b91670573e565368e68512e02d045d6"></a> | 348 | <a·id="a2b91670573e565368e68512e02d045d6"·name="a2b91670573e565368e68512e02d045d6"></a> |
349 | <h2·class="memtitle"><span·class="permalink"><a·href="#a2b91670573e565368e68512e02d045d6">◆ </a></span>GetDuWeightsBuffer()</h2> | 349 | <h2·class="memtitle"><span·class="permalink"><a·href="#a2b91670573e565368e68512e02d045d6">◆ </a></span>GetDuWeightsBuffer()</h2> |
350 | <div·class="memitem"> | 350 | <div·class="memitem"> |
Offset 366, 15 lines modified | Offset 366, 15 lines modified | ||
366 | ··</td> | 366 | ··</td> |
367 | ··<td·class="mlabels-right"> | 367 | ··<td·class="mlabels-right"> |
368 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 368 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
369 | ··</tr> | 369 | ··</tr> |
370 | </table> | 370 | </table> |
371 | </div><div·class="memdoc"> | 371 | </div><div·class="memdoc"> |
372 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0079 | 372 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00794_source.html#l00074">74</a>·of·file·<a·class="el"·href="a00794_source.html">cudaEvaluator.h</a>.</p> |
373 | </div> | 373 | </div> |
374 | </div> | 374 | </div> |
375 | <a·id="a2fd4ce98e6978f5895dd4c79ef84e4d5"·name="a2fd4ce98e6978f5895dd4c79ef84e4d5"></a> | 375 | <a·id="a2fd4ce98e6978f5895dd4c79ef84e4d5"·name="a2fd4ce98e6978f5895dd4c79ef84e4d5"></a> |
376 | <h2·class="memtitle"><span·class="permalink"><a·href="#a2fd4ce98e6978f5895dd4c79ef84e4d5">◆ </a></span>GetDvvWeightsBuffer()</h2> | 376 | <h2·class="memtitle"><span·class="permalink"><a·href="#a2fd4ce98e6978f5895dd4c79ef84e4d5">◆ </a></span>GetDvvWeightsBuffer()</h2> |
377 | <div·class="memitem"> | 377 | <div·class="memitem"> |
Offset 393, 15 lines modified | Offset 393, 15 lines modified | ||
393 | ··</td> | 393 | ··</td> |
394 | ··<td·class="mlabels-right"> | 394 | ··<td·class="mlabels-right"> |
395 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 395 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
396 | ··</tr> | 396 | ··</tr> |
397 | </table> | 397 | </table> |
398 | </div><div·class="memdoc"> | 398 | </div><div·class="memdoc"> |
399 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0079 | 399 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00794_source.html#l00078">78</a>·of·file·<a·class="el"·href="a00794_source.html">cudaEvaluator.h</a>.</p> |
400 | </div> | 400 | </div> |
401 | </div> | 401 | </div> |
402 | <a·id="a5a1c0c8eb5d41b526ec9480f03dbf4d0"·name="a5a1c0c8eb5d41b526ec9480f03dbf4d0"></a> | 402 | <a·id="a5a1c0c8eb5d41b526ec9480f03dbf4d0"·name="a5a1c0c8eb5d41b526ec9480f03dbf4d0"></a> |
403 | <h2·class="memtitle"><span·class="permalink"><a·href="#a5a1c0c8eb5d41b526ec9480f03dbf4d0">◆ </a></span>GetDvWeightsBuffer()</h2> | 403 | <h2·class="memtitle"><span·class="permalink"><a·href="#a5a1c0c8eb5d41b526ec9480f03dbf4d0">◆ </a></span>GetDvWeightsBuffer()</h2> |
404 | <div·class="memitem"> | 404 | <div·class="memitem"> |
Max diff block lines reached; 5197/12972 bytes (40.06%) of diff not shown. |
Offset 94, 15 lines modified | Offset 94, 15 lines modified | ||
94 | ··<div·class="summary"> | 94 | ··<div·class="summary"> |
95 | <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·| | 95 | <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·| |
96 | <a·href="a01174.html">List·of·all·members</a>··</div> | 96 | <a·href="a01174.html">List·of·all·members</a>··</div> |
97 | ··<div·class="headertitle"><div·class="title">CudaEvaluator·Class·Reference</div></div> | 97 | ··<div·class="headertitle"><div·class="title">CudaEvaluator·Class·Reference</div></div> |
98 | </div><!--header--> | 98 | </div><!--header--> |
99 | <div·class="contents"> | 99 | <div·class="contents"> |
100 | <p><code>#include·<<a·class="el"·href="a0079 | 100 | <p><code>#include·<<a·class="el"·href="a00794_source.html">cudaEvaluator.h</a>></code></p> |
101 | <table·class="memberdecls"> | 101 | <table·class="memberdecls"> |
102 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a> | 102 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a> |
103 | Static·Public·Member·Functions</h2></td></tr> | 103 | Static·Public·Member·Functions</h2></td></tr> |
104 | <tr·class="memitem:a68186cd64196498ff6a31e55a822f468"·id="r_a68186cd64196498ff6a31e55a822f468"><td·class="memTemplParams"·colspan="2">template<typename·SRC_BUFFER·,·typename·DST_BUFFER·,·typename·STENCIL_TABLE·>·</td></tr> | 104 | <tr·class="memitem:a68186cd64196498ff6a31e55a822f468"·id="r_a68186cd64196498ff6a31e55a822f468"><td·class="memTemplParams"·colspan="2">template<typename·SRC_BUFFER·,·typename·DST_BUFFER·,·typename·STENCIL_TABLE·>·</td></tr> |
105 | <tr·class="memitem:a68186cd64196498ff6a31e55a822f468"><td·class="memTemplItemLeft"·align="right"·valign="top">static·bool </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·&srcDesc,·DST_BUFFER·*dstBuffer,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&dstDesc,·STENCIL_TABLE·const·*stencilTable,·const·void·*instance=NULL,·void·*deviceContext=NULL)</td></tr> | 105 | <tr·class="memitem:a68186cd64196498ff6a31e55a822f468"><td·class="memTemplItemLeft"·align="right"·valign="top">static·bool </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·&srcDesc,·DST_BUFFER·*dstBuffer,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&dstDesc,·STENCIL_TABLE·const·*stencilTable,·const·void·*instance=NULL,·void·*deviceContext=NULL)</td></tr> |
106 | <tr·class="memdesc:a68186cd64196498ff6a31e55a822f468"><td·class="mdescLeft"> </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.··<br·/></td></tr> | 106 | <tr·class="memdesc:a68186cd64196498ff6a31e55a822f468"><td·class="mdescLeft"> </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.··<br·/></td></tr> |
107 | <tr·class="separator:a68186cd64196498ff6a31e55a822f468"><td·class="memSeparator"·colspan="2"> </td></tr> | 107 | <tr·class="separator:a68186cd64196498ff6a31e55a822f468"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 169, 15 lines modified | Offset 169, 15 lines modified | ||
169 | <tr·class="memdesc:ad845f529b06a8cc42bead41a6641dddd"><td·class="mdescLeft"> </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.··<br·/></td></tr> | 169 | <tr·class="memdesc:ad845f529b06a8cc42bead41a6641dddd"><td·class="mdescLeft"> </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.··<br·/></td></tr> |
170 | <tr·class="separator:ad845f529b06a8cc42bead41a6641dddd"><td·class="memSeparator"·colspan="2"> </td></tr> | 170 | <tr·class="separator:ad845f529b06a8cc42bead41a6641dddd"><td·class="memSeparator"·colspan="2"> </td></tr> |
171 | <tr·class="memitem:a9689407af718de4263562bb3a760c1dd"·id="r_a9689407af718de4263562bb3a760c1dd"><td·class="memItemLeft"·align="right"·valign="top">static·void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01177.html#a9689407af718de4263562bb3a760c1dd">Synchronize</a>·(void·*deviceContext=NULL)</td></tr> | 171 | <tr·class="memitem:a9689407af718de4263562bb3a760c1dd"·id="r_a9689407af718de4263562bb3a760c1dd"><td·class="memItemLeft"·align="right"·valign="top">static·void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01177.html#a9689407af718de4263562bb3a760c1dd">Synchronize</a>·(void·*deviceContext=NULL)</td></tr> |
172 | <tr·class="separator:a9689407af718de4263562bb3a760c1dd"><td·class="memSeparator"·colspan="2"> </td></tr> | 172 | <tr·class="separator:a9689407af718de4263562bb3a760c1dd"><td·class="memSeparator"·colspan="2"> </td></tr> |
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"> | 175 | <div·class="textblock"> |
176 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0079 | 176 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00794_source.html#l00094">94</a>·of·file·<a·class="el"·href="a00794_source.html">cudaEvaluator.h</a>.</p> |
177 | </div><h2·class="groupheader">Member·Function·Documentation</h2> | 177 | </div><h2·class="groupheader">Member·Function·Documentation</h2> |
178 | <a·id="a5e8c8e96ba584406e87a2e63aacfb382"·name="a5e8c8e96ba584406e87a2e63aacfb382"></a> | 178 | <a·id="a5e8c8e96ba584406e87a2e63aacfb382"·name="a5e8c8e96ba584406e87a2e63aacfb382"></a> |
179 | <h2·class="memtitle"><span·class="permalink"><a·href="#a5e8c8e96ba584406e87a2e63aacfb382">◆ </a></span>EvalPatches()·<span·class="overload">[1/6]</span></h2> | 179 | <h2·class="memtitle"><span·class="permalink"><a·href="#a5e8c8e96ba584406e87a2e63aacfb382">◆ </a></span>EvalPatches()·<span·class="overload">[1/6]</span></h2> |
180 | <div·class="memitem"> | 180 | <div·class="memitem"> |
181 | <div·class="memproto"> | 181 | <div·class="memproto"> |
182 | <table·class="mlabels"> | 182 | <table·class="mlabels"> |
Offset 715, 15 lines modified | Offset 715, 15 lines modified | ||
715 | ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01181.html"·title="CUDA·patch·table.">CudaPatchTable</a>·or·equivalent</td></tr> | 715 | ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01181.html"·title="CUDA·patch·table.">CudaPatchTable</a>·or·equivalent</td></tr> |
716 | ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cuda·evaluator</td></tr> | 716 | ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cuda·evaluator</td></tr> |
717 | ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cuda·evaluator·</td></tr> | 717 | ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cuda·evaluator·</td></tr> |
718 | ··</table> | 718 | ··</table> |
719 | ··</dd> | 719 | ··</dd> |
720 | </dl> | 720 | </dl> |
721 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0079 | 721 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00794_source.html#l00648">648</a>·of·file·<a·class="el"·href="a00794_source.html">cudaEvaluator.h</a>.</p> |
722 | </div> | 722 | </div> |
723 | </div> | 723 | </div> |
724 | <a·id="aed5bc5e9191bc7fccb1bdedf835d8a35"·name="aed5bc5e9191bc7fccb1bdedf835d8a35"></a> | 724 | <a·id="aed5bc5e9191bc7fccb1bdedf835d8a35"·name="aed5bc5e9191bc7fccb1bdedf835d8a35"></a> |
725 | <h2·class="memtitle"><span·class="permalink"><a·href="#aed5bc5e9191bc7fccb1bdedf835d8a35">◆ </a></span>EvalPatches()·<span·class="overload">[5/6]</span></h2> | 725 | <h2·class="memtitle"><span·class="permalink"><a·href="#aed5bc5e9191bc7fccb1bdedf835d8a35">◆ </a></span>EvalPatches()·<span·class="overload">[5/6]</span></h2> |
726 | <div·class="memitem"> | 726 | <div·class="memitem"> |
Offset 841, 15 lines modified | Offset 841, 15 lines modified | ||
841 | ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01181.html"·title="CUDA·patch·table.">CudaPatchTable</a>·or·equivalent</td></tr> | 841 | ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01181.html"·title="CUDA·patch·table.">CudaPatchTable</a>·or·equivalent</td></tr> |
842 | ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cuda·evaluator</td></tr> | 842 | ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cuda·evaluator</td></tr> |
843 | ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cuda·evaluator·</td></tr> | 843 | ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cuda·evaluator·</td></tr> |
844 | ··</table> | 844 | ··</table> |
845 | ··</dd> | 845 | ··</dd> |
846 | </dl> | 846 | </dl> |
847 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0079 | 847 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00794_source.html#l00565">565</a>·of·file·<a·class="el"·href="a00794_source.html">cudaEvaluator.h</a>.</p> |
848 | </div> | 848 | </div> |
849 | </div> | 849 | </div> |
850 | <a·id="ad3803e8121bc0491e9f97900ecd50022"·name="ad3803e8121bc0491e9f97900ecd50022"></a> | 850 | <a·id="ad3803e8121bc0491e9f97900ecd50022"·name="ad3803e8121bc0491e9f97900ecd50022"></a> |
851 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad3803e8121bc0491e9f97900ecd50022">◆ </a></span>EvalPatches()·<span·class="overload">[6/6]</span></h2> | 851 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad3803e8121bc0491e9f97900ecd50022">◆ </a></span>EvalPatches()·<span·class="overload">[6/6]</span></h2> |
852 | <div·class="memitem"> | 852 | <div·class="memitem"> |
Offset 942, 15 lines modified | Offset 942, 15 lines modified | ||
942 | ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01181.html"·title="CUDA·patch·table.">CudaPatchTable</a>·or·equivalent</td></tr> | 942 | ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01181.html"·title="CUDA·patch·table.">CudaPatchTable</a>·or·equivalent</td></tr> |
943 | ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cuda·evaluator</td></tr> | 943 | ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cuda·evaluator</td></tr> |
944 | ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cuda·evaluator·</td></tr> | 944 | ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cuda·evaluator·</td></tr> |
945 | ··</table> | 945 | ··</table> |
946 | ··</dd> | 946 | ··</dd> |
947 | </dl> | 947 | </dl> |
948 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0079 | 948 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00794_source.html#l00504">504</a>·of·file·<a·class="el"·href="a00794_source.html">cudaEvaluator.h</a>.</p> |
949 | </div> | 949 | </div> |
950 | </div> | 950 | </div> |
951 | <a·id="ad845f529b06a8cc42bead41a6641dddd"·name="ad845f529b06a8cc42bead41a6641dddd"></a> | 951 | <a·id="ad845f529b06a8cc42bead41a6641dddd"·name="ad845f529b06a8cc42bead41a6641dddd"></a> |
952 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad845f529b06a8cc42bead41a6641dddd">◆ </a></span>EvalPatchesFaceVarying()·<span·class="overload">[1/3]</span></h2> | 952 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad845f529b06a8cc42bead41a6641dddd">◆ </a></span>EvalPatchesFaceVarying()·<span·class="overload">[1/3]</span></h2> |
953 | <div·class="memitem"> | 953 | <div·class="memitem"> |
Offset 1117, 15 lines modified | Offset 1117, 15 lines modified | ||
1117 | ····<tr><td·class="paramname">fvarChannel</td><td>face-varying·channel</td></tr> | 1117 | ····<tr><td·class="paramname">fvarChannel</td><td>face-varying·channel</td></tr> |
1118 | ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cuda·evaluator</td></tr> | 1118 | ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cuda·evaluator</td></tr> |
1119 | ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cuda·evaluator·</td></tr> | 1119 | ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cuda·evaluator·</td></tr> |
1120 | ··</table> | 1120 | ··</table> |
1121 | ··</dd> | 1121 | ··</dd> |
1122 | </dl> | 1122 | </dl> |
1123 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0079 | 1123 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00794_source.html#l01224">1224</a>·of·file·<a·class="el"·href="a00794_source.html">cudaEvaluator.h</a>.</p> |
1124 | </div> | 1124 | </div> |
1125 | </div> | 1125 | </div> |
1126 | <a·id="a67b4efe234a614018b35d181db7855b4"·name="a67b4efe234a614018b35d181db7855b4"></a> | 1126 | <a·id="a67b4efe234a614018b35d181db7855b4"·name="a67b4efe234a614018b35d181db7855b4"></a> |
1127 | <h2·class="memtitle"><span·class="permalink"><a·href="#a67b4efe234a614018b35d181db7855b4">◆ </a></span>EvalPatchesFaceVarying()·<span·class="overload">[2/3]</span></h2> | 1127 | <h2·class="memtitle"><span·class="permalink"><a·href="#a67b4efe234a614018b35d181db7855b4">◆ </a></span>EvalPatchesFaceVarying()·<span·class="overload">[2/3]</span></h2> |
1128 | <div·class="memitem"> | 1128 | <div·class="memitem"> |
Offset 1250, 15 lines modified | Offset 1250, 15 lines modified | ||
1250 | ····<tr><td·class="paramname">fvarChannel</td><td>face-varying·channel</td></tr> | 1250 | ····<tr><td·class="paramname">fvarChannel</td><td>face-varying·channel</td></tr> |
1251 | ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cuda·evaluator</td></tr> | 1251 | ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cuda·evaluator</td></tr> |
1252 | ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cuda·evaluator·</td></tr> | 1252 | ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cuda·evaluator·</td></tr> |
1253 | ··</table> | 1253 | ··</table> |
1254 | ··</dd> | 1254 | ··</dd> |
1255 | </dl> | 1255 | </dl> |
1256 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0079 | 1256 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00794_source.html#l01136">1136</a>·of·file·<a·class="el"·href="a00794_source.html">cudaEvaluator.h</a>.</p> |
1257 | </div> | 1257 | </div> |
1258 | </div> | 1258 | </div> |
1259 | <a·id="af5d3c947db15fced476cfb40f7f12203"·name="af5d3c947db15fced476cfb40f7f12203"></a> | 1259 | <a·id="af5d3c947db15fced476cfb40f7f12203"·name="af5d3c947db15fced476cfb40f7f12203"></a> |
1260 | <h2·class="memtitle"><span·class="permalink"><a·href="#af5d3c947db15fced476cfb40f7f12203">◆ </a></span>EvalPatchesFaceVarying()·<span·class="overload">[3/3]</span></h2> | 1260 | <h2·class="memtitle"><span·class="permalink"><a·href="#af5d3c947db15fced476cfb40f7f12203">◆ </a></span>EvalPatchesFaceVarying()·<span·class="overload">[3/3]</span></h2> |
1261 | <div·class="memitem"> | 1261 | <div·class="memitem"> |
Offset 1355, 15 lines modified | Offset 1355, 15 lines modified | ||
1355 | ····<tr><td·class="paramname">fvarChannel</td><td>face-varying·channel</td></tr> | 1355 | ····<tr><td·class="paramname">fvarChannel</td><td>face-varying·channel</td></tr> |
1356 | ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cuda·evaluator</td></tr> | 1356 | ····<tr><td·class="paramname">instance</td><td>not·used·in·the·cuda·evaluator</td></tr> |
1357 | ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cuda·evaluator·</td></tr> | 1357 | ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·cuda·evaluator·</td></tr> |
1358 | ··</table> | 1358 | ··</table> |
1359 | ··</dd> | 1359 | ··</dd> |
1360 | </dl> | 1360 | </dl> |
1361 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0079 | 1361 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00794_source.html#l01070">1070</a>·of·file·<a·class="el"·href="a00794_source.html">cudaEvaluator.h</a>.</p> |
1362 | </div> | 1362 | </div> |
1363 | </div> | 1363 | </div> |
1364 | <a·id="ad13485a6dcf9e310ac0421ef1b2ad17b"·name="ad13485a6dcf9e310ac0421ef1b2ad17b"></a> | 1364 | <a·id="ad13485a6dcf9e310ac0421ef1b2ad17b"·name="ad13485a6dcf9e310ac0421ef1b2ad17b"></a> |
1365 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad13485a6dcf9e310ac0421ef1b2ad17b">◆ </a></span>EvalPatchesVarying()·<span·class="overload">[1/3]</span></h2> | 1365 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad13485a6dcf9e310ac0421ef1b2ad17b">◆ </a></span>EvalPatchesVarying()·<span·class="overload">[1/3]</span></h2> |
1366 | <div·class="memitem"> | 1366 | <div·class="memitem"> |
Max diff block lines reached; 7028/16665 bytes (42.17%) of diff not shown. |
Offset 98, 15 lines modified | Offset 98, 15 lines modified | ||
98 | ··<div·class="headertitle"><div·class="title">D3D11StencilTable·Class·Reference</div></div> | 98 | ··<div·class="headertitle"><div·class="title">D3D11StencilTable·Class·Reference</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <p>D3D11·stencil·table.·· | 101 | <p>D3D11·stencil·table.·· |
102 | ·<a·href="a01189.html#details">More...</a></p> | 102 | ·<a·href="a01189.html#details">More...</a></p> |
103 | <p><code>#include·<<a·class="el"·href="a0084 | 103 | <p><code>#include·<<a·class="el"·href="a00845_source.html">d3d11ComputeEvaluator.h</a>></code></p> |
104 | <table·class="memberdecls"> | 104 | <table·class="memberdecls"> |
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
106 | Public·Member·Functions</h2></td></tr> | 106 | Public·Member·Functions</h2></td></tr> |
107 | <tr·class="memitem:a7e3a2f5c281c55308400138222797dbc"·id="r_a7e3a2f5c281c55308400138222797dbc"><td·class="memItemLeft"·align="right"·valign="top"> </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> | 107 | <tr·class="memitem:a7e3a2f5c281c55308400138222797dbc"·id="r_a7e3a2f5c281c55308400138222797dbc"><td·class="memItemLeft"·align="right"·valign="top"> </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> |
108 | <tr·class="separator:a7e3a2f5c281c55308400138222797dbc"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:a7e3a2f5c281c55308400138222797dbc"><td·class="memSeparator"·colspan="2"> </td></tr> |
109 | <tr·class="memitem:a729ea8793ae67b1767d670a4541006e2"·id="r_a729ea8793ae67b1767d670a4541006e2"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01189.html#a729ea8793ae67b1767d670a4541006e2">~D3D11StencilTable</a>·()</td></tr> | 109 | <tr·class="memitem:a729ea8793ae67b1767d670a4541006e2"·id="r_a729ea8793ae67b1767d670a4541006e2"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01189.html#a729ea8793ae67b1767d670a4541006e2">~D3D11StencilTable</a>·()</td></tr> |
110 | <tr·class="separator:a729ea8793ae67b1767d670a4541006e2"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <tr·class="separator:a729ea8793ae67b1767d670a4541006e2"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 130, 15 lines modified | Offset 130, 15 lines modified | ||
130 | <tr·class="separator:a8981041688d408d08dce9c8890504650"><td·class="memSeparator"·colspan="2"> </td></tr> | 130 | <tr·class="separator:a8981041688d408d08dce9c8890504650"><td·class="memSeparator"·colspan="2"> </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>D3D11·stencil·table.·</p> | 133 | <div·class="textblock"><p>D3D11·stencil·table.·</p> |
134 | <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> | 134 | <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> |
135 | <p><a·class="el"·href="a01193.html">D3D11ComputeEvaluator</a>·consumes·this·table·to·apply·stencils·</p> | 135 | <p><a·class="el"·href="a01193.html">D3D11ComputeEvaluator</a>·consumes·this·table·to·apply·stencils·</p> |
136 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0084 | 136 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00845_source.html#l00056">56</a>·of·file·<a·class="el"·href="a00845_source.html">d3d11ComputeEvaluator.h</a>.</p> |
137 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 137 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
138 | <a·id="a7e3a2f5c281c55308400138222797dbc"·name="a7e3a2f5c281c55308400138222797dbc"></a> | 138 | <a·id="a7e3a2f5c281c55308400138222797dbc"·name="a7e3a2f5c281c55308400138222797dbc"></a> |
139 | <h2·class="memtitle"><span·class="permalink"><a·href="#a7e3a2f5c281c55308400138222797dbc">◆ </a></span>D3D11StencilTable()</h2> | 139 | <h2·class="memtitle"><span·class="permalink"><a·href="#a7e3a2f5c281c55308400138222797dbc">◆ </a></span>D3D11StencilTable()</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"> |
Offset 214, 15 lines modified | Offset 214, 15 lines modified | ||
214 | ··</td> | 214 | ··</td> |
215 | ··<td·class="mlabels-right"> | 215 | ··<td·class="mlabels-right"> |
216 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> | 216 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> |
217 | ··</tr> | 217 | ··</tr> |
218 | </table> | 218 | </table> |
219 | </div><div·class="memdoc"> | 219 | </div><div·class="memdoc"> |
220 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0084 | 220 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00845_source.html#l00059">59</a>·of·file·<a·class="el"·href="a00845_source.html">d3d11ComputeEvaluator.h</a>.</p> |
221 | </div> | 221 | </div> |
222 | </div> | 222 | </div> |
223 | <a·id="a8981041688d408d08dce9c8890504650"·name="a8981041688d408d08dce9c8890504650"></a> | 223 | <a·id="a8981041688d408d08dce9c8890504650"·name="a8981041688d408d08dce9c8890504650"></a> |
224 | <h2·class="memtitle"><span·class="permalink"><a·href="#a8981041688d408d08dce9c8890504650">◆ </a></span>Create()·<span·class="overload">[2/2]</span></h2> | 224 | <h2·class="memtitle"><span·class="permalink"><a·href="#a8981041688d408d08dce9c8890504650">◆ </a></span>Create()·<span·class="overload">[2/2]</span></h2> |
225 | <div·class="memitem"> | 225 | <div·class="memitem"> |
Offset 252, 15 lines modified | Offset 252, 15 lines modified | ||
252 | ··</td> | 252 | ··</td> |
253 | ··<td·class="mlabels-right"> | 253 | ··<td·class="mlabels-right"> |
254 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> | 254 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</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="a0084 | 258 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00845_source.html#l00064">64</a>·of·file·<a·class="el"·href="a00845_source.html">d3d11ComputeEvaluator.h</a>.</p> |
259 | </div> | 259 | </div> |
260 | </div> | 260 | </div> |
261 | <a·id="a6aa76c564ae400e727b2377ce785cd90"·name="a6aa76c564ae400e727b2377ce785cd90"></a> | 261 | <a·id="a6aa76c564ae400e727b2377ce785cd90"·name="a6aa76c564ae400e727b2377ce785cd90"></a> |
262 | <h2·class="memtitle"><span·class="permalink"><a·href="#a6aa76c564ae400e727b2377ce785cd90">◆ </a></span>GetIndicesSRV()</h2> | 262 | <h2·class="memtitle"><span·class="permalink"><a·href="#a6aa76c564ae400e727b2377ce785cd90">◆ </a></span>GetIndicesSRV()</h2> |
263 | <div·class="memitem"> | 263 | <div·class="memitem"> |
Offset 279, 15 lines modified | Offset 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="a0084 | 285 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00845_source.html#l00077">77</a>·of·file·<a·class="el"·href="a00845_source.html">d3d11ComputeEvaluator.h</a>.</p> |
286 | </div> | 286 | </div> |
287 | </div> | 287 | </div> |
288 | <a·id="a65836d2070b943c8fecbad926d074de2"·name="a65836d2070b943c8fecbad926d074de2"></a> | 288 | <a·id="a65836d2070b943c8fecbad926d074de2"·name="a65836d2070b943c8fecbad926d074de2"></a> |
289 | <h2·class="memtitle"><span·class="permalink"><a·href="#a65836d2070b943c8fecbad926d074de2">◆ </a></span>GetNumStencils()</h2> | 289 | <h2·class="memtitle"><span·class="permalink"><a·href="#a65836d2070b943c8fecbad926d074de2">◆ </a></span>GetNumStencils()</h2> |
290 | <div·class="memitem"> | 290 | <div·class="memitem"> |
Offset 306, 15 lines modified | Offset 306, 15 lines modified | ||
306 | ··</td> | 306 | ··</td> |
307 | ··<td·class="mlabels-right"> | 307 | ··<td·class="mlabels-right"> |
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·class="definition">Definition·at·line·<a·class="el"·href="a0084 | 312 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00845_source.html#l00079">79</a>·of·file·<a·class="el"·href="a00845_source.html">d3d11ComputeEvaluator.h</a>.</p> |
313 | </div> | 313 | </div> |
314 | </div> | 314 | </div> |
315 | <a·id="a4e486bdd9cf98a5582781a905d154e67"·name="a4e486bdd9cf98a5582781a905d154e67"></a> | 315 | <a·id="a4e486bdd9cf98a5582781a905d154e67"·name="a4e486bdd9cf98a5582781a905d154e67"></a> |
316 | <h2·class="memtitle"><span·class="permalink"><a·href="#a4e486bdd9cf98a5582781a905d154e67">◆ </a></span>GetOffsetsSRV()</h2> | 316 | <h2·class="memtitle"><span·class="permalink"><a·href="#a4e486bdd9cf98a5582781a905d154e67">◆ </a></span>GetOffsetsSRV()</h2> |
317 | <div·class="memitem"> | 317 | <div·class="memitem"> |
Offset 333, 15 lines modified | Offset 333, 15 lines modified | ||
333 | ··</td> | 333 | ··</td> |
334 | ··<td·class="mlabels-right"> | 334 | ··<td·class="mlabels-right"> |
335 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 335 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
336 | ··</tr> | 336 | ··</tr> |
337 | </table> | 337 | </table> |
338 | </div><div·class="memdoc"> | 338 | </div><div·class="memdoc"> |
339 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0084 | 339 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00845_source.html#l00076">76</a>·of·file·<a·class="el"·href="a00845_source.html">d3d11ComputeEvaluator.h</a>.</p> |
340 | </div> | 340 | </div> |
341 | </div> | 341 | </div> |
342 | <a·id="aa6b4c8f4cd5a1e0111e77d7365018c74"·name="aa6b4c8f4cd5a1e0111e77d7365018c74"></a> | 342 | <a·id="aa6b4c8f4cd5a1e0111e77d7365018c74"·name="aa6b4c8f4cd5a1e0111e77d7365018c74"></a> |
343 | <h2·class="memtitle"><span·class="permalink"><a·href="#aa6b4c8f4cd5a1e0111e77d7365018c74">◆ </a></span>GetSizesSRV()</h2> | 343 | <h2·class="memtitle"><span·class="permalink"><a·href="#aa6b4c8f4cd5a1e0111e77d7365018c74">◆ </a></span>GetSizesSRV()</h2> |
344 | <div·class="memitem"> | 344 | <div·class="memitem"> |
Offset 360, 15 lines modified | Offset 360, 15 lines modified | ||
360 | ··</td> | 360 | ··</td> |
361 | ··<td·class="mlabels-right"> | 361 | ··<td·class="mlabels-right"> |
362 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 362 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
363 | ··</tr> | 363 | ··</tr> |
364 | </table> | 364 | </table> |
365 | </div><div·class="memdoc"> | 365 | </div><div·class="memdoc"> |
366 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0084 | 366 | <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">d3d11ComputeEvaluator.h</a>.</p> |
367 | </div> | 367 | </div> |
368 | </div> | 368 | </div> |
369 | <a·id="ac3de1233503ee41bac41618702b4302c"·name="ac3de1233503ee41bac41618702b4302c"></a> | 369 | <a·id="ac3de1233503ee41bac41618702b4302c"·name="ac3de1233503ee41bac41618702b4302c"></a> |
370 | <h2·class="memtitle"><span·class="permalink"><a·href="#ac3de1233503ee41bac41618702b4302c">◆ </a></span>GetWeightsSRV()</h2> | 370 | <h2·class="memtitle"><span·class="permalink"><a·href="#ac3de1233503ee41bac41618702b4302c">◆ </a></span>GetWeightsSRV()</h2> |
371 | <div·class="memitem"> | 371 | <div·class="memitem"> |
Max diff block lines reached; 1279/9105 bytes (14.05%) of diff not shown. |
Offset 96, 15 lines modified | Offset 96, 15 lines modified | ||
96 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 96 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
97 | <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·| | 97 | <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·| |
98 | <a·href="a01190.html">List·of·all·members</a>··</div> | 98 | <a·href="a01190.html">List·of·all·members</a>··</div> |
99 | ··<div·class="headertitle"><div·class="title">D3D11ComputeEvaluator·Class·Reference</div></div> | 99 | ··<div·class="headertitle"><div·class="title">D3D11ComputeEvaluator·Class·Reference</div></div> |
100 | </div><!--header--> | 100 | </div><!--header--> |
101 | <div·class="contents"> | 101 | <div·class="contents"> |
102 | <p><code>#include·<<a·class="el"·href="a0084 | 102 | <p><code>#include·<<a·class="el"·href="a00845_source.html">d3d11ComputeEvaluator.h</a>></code></p> |
103 | <table·class="memberdecls"> | 103 | <table·class="memberdecls"> |
104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
105 | Public·Types</h2></td></tr> | 105 | Public·Types</h2></td></tr> |
106 | <tr·class="memitem:a2c24b70c9312d8dff3fecb9ddea52c44"·id="r_a2c24b70c9312d8dff3fecb9ddea52c44"><td·class="memItemLeft"·align="right"·valign="top">typedef·bool </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01193.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a></td></tr> | 106 | <tr·class="memitem:a2c24b70c9312d8dff3fecb9ddea52c44"·id="r_a2c24b70c9312d8dff3fecb9ddea52c44"><td·class="memItemLeft"·align="right"·valign="top">typedef·bool </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01193.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a></td></tr> |
107 | <tr·class="separator:a2c24b70c9312d8dff3fecb9ddea52c44"><td·class="memSeparator"·colspan="2"> </td></tr> | 107 | <tr·class="separator:a2c24b70c9312d8dff3fecb9ddea52c44"><td·class="memSeparator"·colspan="2"> </td></tr> |
108 | </table><table·class="memberdecls"> | 108 | </table><table·class="memberdecls"> |
109 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 109 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
Offset 136, 29 lines modified | Offset 136, 29 lines modified | ||
136 | <tr·class="separator:a0fe7977009448c93da833015758daab8"><td·class="memSeparator"·colspan="2"> </td></tr> | 136 | <tr·class="separator:a0fe7977009448c93da833015758daab8"><td·class="memSeparator"·colspan="2"> </td></tr> |
137 | <tr·class="memitem:a32ee99f6118ec6f2a93fee1d34a90dc1"·id="r_a32ee99f6118ec6f2a93fee1d34a90dc1"><td·class="memItemLeft"·align="right"·valign="top">static·void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01193.html#a32ee99f6118ec6f2a93fee1d34a90dc1">Synchronize</a>·(ID3D11DeviceContext·*deviceContext)</td></tr> | 137 | <tr·class="memitem:a32ee99f6118ec6f2a93fee1d34a90dc1"·id="r_a32ee99f6118ec6f2a93fee1d34a90dc1"><td·class="memItemLeft"·align="right"·valign="top">static·void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01193.html#a32ee99f6118ec6f2a93fee1d34a90dc1">Synchronize</a>·(ID3D11DeviceContext·*deviceContext)</td></tr> |
138 | <tr·class="memdesc:a32ee99f6118ec6f2a93fee1d34a90dc1"><td·class="mdescLeft"> </td><td·class="mdescRight">Wait·the·dispatched·kernel·finishes.··<br·/></td></tr> | 138 | <tr·class="memdesc:a32ee99f6118ec6f2a93fee1d34a90dc1"><td·class="mdescLeft"> </td><td·class="mdescRight">Wait·the·dispatched·kernel·finishes.··<br·/></td></tr> |
139 | <tr·class="separator:a32ee99f6118ec6f2a93fee1d34a90dc1"><td·class="memSeparator"·colspan="2"> </td></tr> | 139 | <tr·class="separator:a32ee99f6118ec6f2a93fee1d34a90dc1"><td·class="memSeparator"·colspan="2"> </td></tr> |
140 | </table> | 140 | </table> |
141 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 141 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
142 | <div·class="textblock"> | 142 | <div·class="textblock"> |
143 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0084 | 143 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00845_source.html#l00096">96</a>·of·file·<a·class="el"·href="a00845_source.html">d3d11ComputeEvaluator.h</a>.</p> |
144 | </div><h2·class="groupheader">Member·Typedef·Documentation</h2> | 144 | </div><h2·class="groupheader">Member·Typedef·Documentation</h2> |
145 | <a·id="a2c24b70c9312d8dff3fecb9ddea52c44"·name="a2c24b70c9312d8dff3fecb9ddea52c44"></a> | 145 | <a·id="a2c24b70c9312d8dff3fecb9ddea52c44"·name="a2c24b70c9312d8dff3fecb9ddea52c44"></a> |
146 | <h2·class="memtitle"><span·class="permalink"><a·href="#a2c24b70c9312d8dff3fecb9ddea52c44">◆ </a></span>Instantiatable</h2> | 146 | <h2·class="memtitle"><span·class="permalink"><a·href="#a2c24b70c9312d8dff3fecb9ddea52c44">◆ </a></span>Instantiatable</h2> |
147 | <div·class="memitem"> | 147 | <div·class="memitem"> |
148 | <div·class="memproto"> | 148 | <div·class="memproto"> |
149 | ······<table·class="memname"> | 149 | ······<table·class="memname"> |
150 | ········<tr> | 150 | ········<tr> |
151 | ··········<td·class="memname">typedef·bool·<a·class="el"·href="a01193.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a></td> | 151 | ··········<td·class="memname">typedef·bool·<a·class="el"·href="a01193.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a></td> |
152 | ········</tr> | 152 | ········</tr> |
153 | ······</table> | 153 | ······</table> |
154 | </div><div·class="memdoc"> | 154 | </div><div·class="memdoc"> |
155 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0084 | 155 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00845_source.html#l00098">98</a>·of·file·<a·class="el"·href="a00845_source.html">d3d11ComputeEvaluator.h</a>.</p> |
156 | </div> | 156 | </div> |
157 | </div> | 157 | </div> |
158 | <h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 158 | <h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
159 | <a·id="aa81511d3938d70d67a62217951cb8eb7"·name="aa81511d3938d70d67a62217951cb8eb7"></a> | 159 | <a·id="aa81511d3938d70d67a62217951cb8eb7"·name="aa81511d3938d70d67a62217951cb8eb7"></a> |
160 | <h2·class="memtitle"><span·class="permalink"><a·href="#aa81511d3938d70d67a62217951cb8eb7">◆ </a></span>D3D11ComputeEvaluator()</h2> | 160 | <h2·class="memtitle"><span·class="permalink"><a·href="#aa81511d3938d70d67a62217951cb8eb7">◆ </a></span>D3D11ComputeEvaluator()</h2> |
Offset 519, 15 lines modified | Offset 519, 15 lines modified | ||
519 | ····<tr><td·class="paramname">stencilTable</td><td>stencil·table·to·be·applied.·The·table·must·have·SSBO·interfaces.</td></tr> | 519 | ····<tr><td·class="paramname">stencilTable</td><td>stencil·table·to·be·applied.·The·table·must·have·SSBO·interfaces.</td></tr> |
520 | ····<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> | 520 | ····<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> |
521 | ····<tr><td·class="paramname">deviceContext</td><td>ID3D11DeviceContext.·</td></tr> | 521 | ····<tr><td·class="paramname">deviceContext</td><td>ID3D11DeviceContext.·</td></tr> |
522 | ··</table> | 522 | ··</table> |
523 | ··</dd> | 523 | ··</dd> |
524 | </dl> | 524 | </dl> |
525 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0084 | 525 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00845_source.html#l00148">148</a>·of·file·<a·class="el"·href="a00845_source.html">d3d11ComputeEvaluator.h</a>.</p> |
526 | </div> | 526 | </div> |
527 | </div> | 527 | </div> |
528 | <a·id="a6be7cb8c9a51cd6ba1c01c5c59f94a60"·name="a6be7cb8c9a51cd6ba1c01c5c59f94a60"></a> | 528 | <a·id="a6be7cb8c9a51cd6ba1c01c5c59f94a60"·name="a6be7cb8c9a51cd6ba1c01c5c59f94a60"></a> |
529 | <h2·class="memtitle"><span·class="permalink"><a·href="#a6be7cb8c9a51cd6ba1c01c5c59f94a60">◆ </a></span>EvalStencils()·<span·class="overload">[3/3]</span></h2> | 529 | <h2·class="memtitle"><span·class="permalink"><a·href="#a6be7cb8c9a51cd6ba1c01c5c59f94a60">◆ </a></span>EvalStencils()·<span·class="overload">[3/3]</span></h2> |
530 | <div·class="memitem"> | 530 | <div·class="memitem"> |
Offset 584, 15 lines modified | Offset 584, 15 lines modified | ||
584 | ··<td·class="mlabels-right"> | 584 | ··<td·class="mlabels-right"> |
585 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 585 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
586 | ··</tr> | 586 | ··</tr> |
587 | </table> | 587 | </table> |
588 | </div><div·class="memdoc"> | 588 | </div><div·class="memdoc"> |
589 | <p>Dispatch·the·DX·compute·kernel·on·GPU·asynchronously.·returns·false·if·the·kernel·hasn't·been·compiled·yet.·</p> | 589 | <p>Dispatch·the·DX·compute·kernel·on·GPU·asynchronously.·returns·false·if·the·kernel·hasn't·been·compiled·yet.·</p> |
590 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0084 | 590 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00845_source.html#l00181">181</a>·of·file·<a·class="el"·href="a00845_source.html">d3d11ComputeEvaluator.h</a>.</p> |
591 | </div> | 591 | </div> |
592 | </div> | 592 | </div> |
593 | <a·id="a32ee99f6118ec6f2a93fee1d34a90dc1"·name="a32ee99f6118ec6f2a93fee1d34a90dc1"></a> | 593 | <a·id="a32ee99f6118ec6f2a93fee1d34a90dc1"·name="a32ee99f6118ec6f2a93fee1d34a90dc1"></a> |
594 | <h2·class="memtitle"><span·class="permalink"><a·href="#a32ee99f6118ec6f2a93fee1d34a90dc1">◆ </a></span>Synchronize()</h2> | 594 | <h2·class="memtitle"><span·class="permalink"><a·href="#a32ee99f6118ec6f2a93fee1d34a90dc1">◆ </a></span>Synchronize()</h2> |
595 | <div·class="memitem"> | 595 | <div·class="memitem"> |
Offset 617, 15 lines modified | Offset 617, 15 lines modified | ||
617 | </div><div·class="memdoc"> | 617 | </div><div·class="memdoc"> |
618 | <p>Wait·the·dispatched·kernel·finishes.·</p> | 618 | <p>Wait·the·dispatched·kernel·finishes.·</p> |
619 | </div> | 619 | </div> |
620 | </div> | 620 | </div> |
621 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 621 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
622 | <li>opensubdiv/osd/<a·class="el"·href="a0084 | 622 | <li>opensubdiv/osd/<a·class="el"·href="a00845_source.html">d3d11ComputeEvaluator.h</a></li> |
623 | </ul> | 623 | </ul> |
624 | </div><!--·contents·--> | 624 | </div><!--·contents·--> |
625 | </div><!--·doc-content·--> | 625 | </div><!--·doc-content·--> |
626 | <!--·start·footer·part·--> | 626 | <!--·start·footer·part·--> |
627 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 627 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
628 | ··<ul> | 628 | ··<ul> |
629 | ····<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> | 629 | ····<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> |
Offset 96, 15 lines modified | Offset 96, 15 lines modified | ||
96 | <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·| | 96 | <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·| |
97 | <a·href="#pro-methods">Protected·Member·Functions</a>·| | 97 | <a·href="#pro-methods">Protected·Member·Functions</a>·| |
98 | <a·href="a01222.html">List·of·all·members</a>··</div> | 98 | <a·href="a01222.html">List·of·all·members</a>··</div> |
99 | ··<div·class="headertitle"><div·class="title">GLLegacyGregoryPatchTable·Class·Reference</div></div> | 99 | ··<div·class="headertitle"><div·class="title">GLLegacyGregoryPatchTable·Class·Reference</div></div> |
100 | </div><!--header--> | 100 | </div><!--header--> |
101 | <div·class="contents"> | 101 | <div·class="contents"> |
102 | <p><code>#include·<<a·class="el"·href="a0086 | 102 | <p><code>#include·<<a·class="el"·href="a00866_source.html">glLegacyGregoryPatchTable.h</a>></code></p> |
103 | <div·class="dynheader"> | 103 | <div·class="dynheader"> |
104 | Inheritance·diagram·for·GLLegacyGregoryPatchTable:</div> | 104 | Inheritance·diagram·for·GLLegacyGregoryPatchTable:</div> |
105 | <div·class="dyncontent"> | 105 | <div·class="dyncontent"> |
106 | ·<div·class="center"> | 106 | ·<div·class="center"> |
107 | ··<img·src="a01225.png"·alt=""/> | 107 | ··<img·src="a01225.png"·alt=""/> |
108 | ·</div></div> | 108 | ·</div></div> |
109 | <table·class="memberdecls"> | 109 | <table·class="memberdecls"> |
Offset 131, 15 lines modified | Offset 131, 15 lines modified | ||
131 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pro-methods"·name="pro-methods"></a> | 131 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pro-methods"·name="pro-methods"></a> |
132 | Protected·Member·Functions</h2></td></tr> | 132 | Protected·Member·Functions</h2></td></tr> |
133 | <tr·class="memitem:a5b78188b846b316c5c0cdb42f4ee9563"·id="r_a5b78188b846b316c5c0cdb42f4ee9563"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01225.html#a5b78188b846b316c5c0cdb42f4ee9563">GLLegacyGregoryPatchTable</a>·()</td></tr> | 133 | <tr·class="memitem:a5b78188b846b316c5c0cdb42f4ee9563"·id="r_a5b78188b846b316c5c0cdb42f4ee9563"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01225.html#a5b78188b846b316c5c0cdb42f4ee9563">GLLegacyGregoryPatchTable</a>·()</td></tr> |
134 | <tr·class="separator:a5b78188b846b316c5c0cdb42f4ee9563"><td·class="memSeparator"·colspan="2"> </td></tr> | 134 | <tr·class="separator:a5b78188b846b316c5c0cdb42f4ee9563"><td·class="memSeparator"·colspan="2"> </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"> | 137 | <div·class="textblock"> |
138 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0086 | 138 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00866_source.html#l00039">39</a>·of·file·<a·class="el"·href="a00866_source.html">glLegacyGregoryPatchTable.h</a>.</p> |
139 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 139 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
140 | <a·id="a51fd18f3671b7b6c473a039d75808067"·name="a51fd18f3671b7b6c473a039d75808067"></a> | 140 | <a·id="a51fd18f3671b7b6c473a039d75808067"·name="a51fd18f3671b7b6c473a039d75808067"></a> |
141 | <h2·class="memtitle"><span·class="permalink"><a·href="#a51fd18f3671b7b6c473a039d75808067">◆ </a></span>~GLLegacyGregoryPatchTable()</h2> | 141 | <h2·class="memtitle"><span·class="permalink"><a·href="#a51fd18f3671b7b6c473a039d75808067">◆ </a></span>~GLLegacyGregoryPatchTable()</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 226, 15 lines modified | Offset 226, 15 lines modified | ||
226 | ··</td> | 226 | ··</td> |
227 | ··<td·class="mlabels-right"> | 227 | ··<td·class="mlabels-right"> |
228 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 228 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
229 | ··</tr> | 229 | ··</tr> |
230 | </table> | 230 | </table> |
231 | </div><div·class="memdoc"> | 231 | </div><div·class="memdoc"> |
232 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0086 | 232 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00866_source.html#l00060">60</a>·of·file·<a·class="el"·href="a00866_source.html">glLegacyGregoryPatchTable.h</a>.</p> |
233 | </div> | 233 | </div> |
234 | </div> | 234 | </div> |
235 | <a·id="a4968ced94d61cc4d5e8f0e9883fd2116"·name="a4968ced94d61cc4d5e8f0e9883fd2116"></a> | 235 | <a·id="a4968ced94d61cc4d5e8f0e9883fd2116"·name="a4968ced94d61cc4d5e8f0e9883fd2116"></a> |
236 | <h2·class="memtitle"><span·class="permalink"><a·href="#a4968ced94d61cc4d5e8f0e9883fd2116">◆ </a></span>GetQuadOffsetsTextureBuffer()</h2> | 236 | <h2·class="memtitle"><span·class="permalink"><a·href="#a4968ced94d61cc4d5e8f0e9883fd2116">◆ </a></span>GetQuadOffsetsTextureBuffer()</h2> |
237 | <div·class="memitem"> | 237 | <div·class="memitem"> |
Offset 253, 15 lines modified | Offset 253, 15 lines modified | ||
253 | ··</td> | 253 | ··</td> |
254 | ··<td·class="mlabels-right"> | 254 | ··<td·class="mlabels-right"> |
255 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 255 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</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="a0086 | 259 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00866_source.html#l00056">56</a>·of·file·<a·class="el"·href="a00866_source.html">glLegacyGregoryPatchTable.h</a>.</p> |
260 | </div> | 260 | </div> |
261 | </div> | 261 | </div> |
262 | <a·id="af81d48caf41d4a7e0c5ceb166d4de990"·name="af81d48caf41d4a7e0c5ceb166d4de990"></a> | 262 | <a·id="af81d48caf41d4a7e0c5ceb166d4de990"·name="af81d48caf41d4a7e0c5ceb166d4de990"></a> |
263 | <h2·class="memtitle"><span·class="permalink"><a·href="#af81d48caf41d4a7e0c5ceb166d4de990">◆ </a></span>GetVertexTextureBuffer()</h2> | 263 | <h2·class="memtitle"><span·class="permalink"><a·href="#af81d48caf41d4a7e0c5ceb166d4de990">◆ </a></span>GetVertexTextureBuffer()</h2> |
264 | <div·class="memitem"> | 264 | <div·class="memitem"> |
Offset 280, 15 lines modified | Offset 280, 15 lines modified | ||
280 | ··</td> | 280 | ··</td> |
281 | ··<td·class="mlabels-right"> | 281 | ··<td·class="mlabels-right"> |
282 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 282 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</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="a0086 | 286 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00866_source.html#l00048">48</a>·of·file·<a·class="el"·href="a00866_source.html">glLegacyGregoryPatchTable.h</a>.</p> |
287 | </div> | 287 | </div> |
288 | </div> | 288 | </div> |
289 | <a·id="a36f9d327f21d3dee80bb225000403cce"·name="a36f9d327f21d3dee80bb225000403cce"></a> | 289 | <a·id="a36f9d327f21d3dee80bb225000403cce"·name="a36f9d327f21d3dee80bb225000403cce"></a> |
290 | <h2·class="memtitle"><span·class="permalink"><a·href="#a36f9d327f21d3dee80bb225000403cce">◆ </a></span>GetVertexValenceTextureBuffer()</h2> | 290 | <h2·class="memtitle"><span·class="permalink"><a·href="#a36f9d327f21d3dee80bb225000403cce">◆ </a></span>GetVertexValenceTextureBuffer()</h2> |
291 | <div·class="memitem"> | 291 | <div·class="memitem"> |
Offset 307, 15 lines modified | Offset 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="a0086 | 313 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00866_source.html#l00052">52</a>·of·file·<a·class="el"·href="a00866_source.html">glLegacyGregoryPatchTable.h</a>.</p> |
314 | </div> | 314 | </div> |
315 | </div> | 315 | </div> |
316 | <a·id="a733eda5d63a4d77324d7d50d704eaf3a"·name="a733eda5d63a4d77324d7d50d704eaf3a"></a> | 316 | <a·id="a733eda5d63a4d77324d7d50d704eaf3a"·name="a733eda5d63a4d77324d7d50d704eaf3a"></a> |
317 | <h2·class="memtitle"><span·class="permalink"><a·href="#a733eda5d63a4d77324d7d50d704eaf3a">◆ </a></span>UpdateVertexBuffer()</h2> | 317 | <h2·class="memtitle"><span·class="permalink"><a·href="#a733eda5d63a4d77324d7d50d704eaf3a">◆ </a></span>UpdateVertexBuffer()</h2> |
318 | <div·class="memitem"> | 318 | <div·class="memitem"> |
Offset 330, 15 lines modified | Offset 330, 15 lines modified | ||
330 | ········</tr> | 330 | ········</tr> |
331 | ······</table> | 331 | ······</table> |
332 | </div><div·class="memdoc"> | 332 | </div><div·class="memdoc"> |
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="a0086 | 336 | <li>opensubdiv/osd/<a·class="el"·href="a00866_source.html">glLegacyGregoryPatchTable.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="a01225.html">GLLegacyGregoryPatchTable</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="a01225.html">GLLegacyGregoryPatchTable</a></li> |
Offset 98, 15 lines modified | Offset 98, 15 lines modified | ||
98 | <a·href="#pro-methods">Protected·Member·Functions</a>·| | 98 | <a·href="#pro-methods">Protected·Member·Functions</a>·| |
99 | <a·href="#pro-attribs">Protected·Attributes</a>·| | 99 | <a·href="#pro-attribs">Protected·Attributes</a>·| |
100 | <a·href="a01226.html">List·of·all·members</a>··</div> | 100 | <a·href="a01226.html">List·of·all·members</a>··</div> |
101 | ··<div·class="headertitle"><div·class="title">GLPatchTable·Class·Reference</div></div> | 101 | ··<div·class="headertitle"><div·class="title">GLPatchTable·Class·Reference</div></div> |
102 | </div><!--header--> | 102 | </div><!--header--> |
103 | <div·class="contents"> | 103 | <div·class="contents"> |
104 | <p><code>#include·<<a·class="el"·href="a0086 | 104 | <p><code>#include·<<a·class="el"·href="a00860_source.html">glPatchTable.h</a>></code></p> |
105 | <div·class="dynheader"> | 105 | <div·class="dynheader"> |
106 | Inheritance·diagram·for·GLPatchTable:</div> | 106 | Inheritance·diagram·for·GLPatchTable:</div> |
107 | <div·class="dyncontent"> | 107 | <div·class="dyncontent"> |
108 | ·<div·class="center"> | 108 | ·<div·class="center"> |
109 | ··<img·src="a01229.png"·alt=""/> | 109 | ··<img·src="a01229.png"·alt=""/> |
110 | ·</div></div> | 110 | ·</div></div> |
111 | <table·class="memberdecls"> | 111 | <table·class="memberdecls"> |
Offset 201, 29 lines modified | Offset 201, 29 lines modified | ||
201 | <tr·class="memitem:a2a8e1501f85608c6309e00955b6197dc"·id="r_a2a8e1501f85608c6309e00955b6197dc"><td·class="memItemLeft"·align="right"·valign="top">std::vector<·GLuint·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01229.html#a2a8e1501f85608c6309e00955b6197dc">_fvarParamBuffers</a></td></tr> | 201 | <tr·class="memitem:a2a8e1501f85608c6309e00955b6197dc"·id="r_a2a8e1501f85608c6309e00955b6197dc"><td·class="memItemLeft"·align="right"·valign="top">std::vector<·GLuint·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01229.html#a2a8e1501f85608c6309e00955b6197dc">_fvarParamBuffers</a></td></tr> |
202 | <tr·class="separator:a2a8e1501f85608c6309e00955b6197dc"><td·class="memSeparator"·colspan="2"> </td></tr> | 202 | <tr·class="separator:a2a8e1501f85608c6309e00955b6197dc"><td·class="memSeparator"·colspan="2"> </td></tr> |
203 | <tr·class="memitem:a554c6f7c7544b621ca3f8f824cdc7e8e"·id="r_a554c6f7c7544b621ca3f8f824cdc7e8e"><td·class="memItemLeft"·align="right"·valign="top">std::vector<·GLuint·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01229.html#a554c6f7c7544b621ca3f8f824cdc7e8e">_fvarParamTextures</a></td></tr> | 203 | <tr·class="memitem:a554c6f7c7544b621ca3f8f824cdc7e8e"·id="r_a554c6f7c7544b621ca3f8f824cdc7e8e"><td·class="memItemLeft"·align="right"·valign="top">std::vector<·GLuint·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01229.html#a554c6f7c7544b621ca3f8f824cdc7e8e">_fvarParamTextures</a></td></tr> |
204 | <tr·class="separator:a554c6f7c7544b621ca3f8f824cdc7e8e"><td·class="memSeparator"·colspan="2"> </td></tr> | 204 | <tr·class="separator:a554c6f7c7544b621ca3f8f824cdc7e8e"><td·class="memSeparator"·colspan="2"> </td></tr> |
205 | </table> | 205 | </table> |
206 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 206 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
207 | <div·class="textblock"> | 207 | <div·class="textblock"> |
208 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0086 | 208 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00860_source.html#l00045">45</a>·of·file·<a·class="el"·href="a00860_source.html">glPatchTable.h</a>.</p> |
209 | </div><h2·class="groupheader">Member·Typedef·Documentation</h2> | 209 | </div><h2·class="groupheader">Member·Typedef·Documentation</h2> |
210 | <a·id="a02af2ea2e9328a776b5b0bb3edf88864"·name="a02af2ea2e9328a776b5b0bb3edf88864"></a> | 210 | <a·id="a02af2ea2e9328a776b5b0bb3edf88864"·name="a02af2ea2e9328a776b5b0bb3edf88864"></a> |
211 | <h2·class="memtitle"><span·class="permalink"><a·href="#a02af2ea2e9328a776b5b0bb3edf88864">◆ </a></span>VertexBufferBinding</h2> | 211 | <h2·class="memtitle"><span·class="permalink"><a·href="#a02af2ea2e9328a776b5b0bb3edf88864">◆ </a></span>VertexBufferBinding</h2> |
212 | <div·class="memitem"> | 212 | <div·class="memitem"> |
213 | <div·class="memproto"> | 213 | <div·class="memproto"> |
214 | ······<table·class="memname"> | 214 | ······<table·class="memname"> |
215 | ········<tr> | 215 | ········<tr> |
216 | ··········<td·class="memname">typedef·GLuint·<a·class="el"·href="a01229.html#a02af2ea2e9328a776b5b0bb3edf88864">VertexBufferBinding</a></td> | 216 | ··········<td·class="memname">typedef·GLuint·<a·class="el"·href="a01229.html#a02af2ea2e9328a776b5b0bb3edf88864">VertexBufferBinding</a></td> |
217 | ········</tr> | 217 | ········</tr> |
218 | ······</table> | 218 | ······</table> |
219 | </div><div·class="memdoc"> | 219 | </div><div·class="memdoc"> |
220 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0086 | 220 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00860_source.html#l00047">47</a>·of·file·<a·class="el"·href="a00860_source.html">glPatchTable.h</a>.</p> |
221 | </div> | 221 | </div> |
222 | </div> | 222 | </div> |
223 | <h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 223 | <h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
224 | <a·id="a27e3bbc29608fb5ded788e1a6d068da7"·name="a27e3bbc29608fb5ded788e1a6d068da7"></a> | 224 | <a·id="a27e3bbc29608fb5ded788e1a6d068da7"·name="a27e3bbc29608fb5ded788e1a6d068da7"></a> |
225 | <h2·class="memtitle"><span·class="permalink"><a·href="#a27e3bbc29608fb5ded788e1a6d068da7">◆ </a></span>~GLPatchTable()</h2> | 225 | <h2·class="memtitle"><span·class="permalink"><a·href="#a27e3bbc29608fb5ded788e1a6d068da7">◆ </a></span>~GLPatchTable()</h2> |
Offset 351, 15 lines modified | Offset 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>Returns·the·patch·arrays·for·face-varying·index·buffer·data.·</p> | 355 | <p>Returns·the·patch·arrays·for·face-varying·index·buffer·data.·</p> |
356 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0086 | 356 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00860_source.html#l00098">98</a>·of·file·<a·class="el"·href="a00860_source.html">glPatchTable.h</a>.</p> |
357 | </div> | 357 | </div> |
358 | </div> | 358 | </div> |
359 | <a·id="a2657089828a2062a96ae15b4ea2d9bbf"·name="a2657089828a2062a96ae15b4ea2d9bbf"></a> | 359 | <a·id="a2657089828a2062a96ae15b4ea2d9bbf"·name="a2657089828a2062a96ae15b4ea2d9bbf"></a> |
360 | <h2·class="memtitle"><span·class="permalink"><a·href="#a2657089828a2062a96ae15b4ea2d9bbf">◆ </a></span>GetFVarPatchIndexBuffer()</h2> | 360 | <h2·class="memtitle"><span·class="permalink"><a·href="#a2657089828a2062a96ae15b4ea2d9bbf">◆ </a></span>GetFVarPatchIndexBuffer()</h2> |
361 | <div·class="memitem"> | 361 | <div·class="memitem"> |
Offset 381, 15 lines modified | Offset 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>Returns·the·GL·index·buffer·containing·face-varying·control·vertices.·</p> | 385 | <p>Returns·the·GL·index·buffer·containing·face-varying·control·vertices.·</p> |
386 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0086 | 386 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00860_source.html#l00103">103</a>·of·file·<a·class="el"·href="a00860_source.html">glPatchTable.h</a>.</p> |
387 | </div> | 387 | </div> |
388 | </div> | 388 | </div> |
389 | <a·id="a95e40964621a631c5accc1a6e9bc85c7"·name="a95e40964621a631c5accc1a6e9bc85c7"></a> | 389 | <a·id="a95e40964621a631c5accc1a6e9bc85c7"·name="a95e40964621a631c5accc1a6e9bc85c7"></a> |
390 | <h2·class="memtitle"><span·class="permalink"><a·href="#a95e40964621a631c5accc1a6e9bc85c7">◆ </a></span>GetFVarPatchIndexTextureBuffer()</h2> | 390 | <h2·class="memtitle"><span·class="permalink"><a·href="#a95e40964621a631c5accc1a6e9bc85c7">◆ </a></span>GetFVarPatchIndexTextureBuffer()</h2> |
391 | <div·class="memitem"> | 391 | <div·class="memitem"> |
Offset 411, 15 lines modified | Offset 411, 15 lines modified | ||
411 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 411 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
412 | ··</tr> | 412 | ··</tr> |
413 | </table> | 413 | </table> |
414 | </div><div·class="memdoc"> | 414 | </div><div·class="memdoc"> |
415 | <p>Returns·the·GL·texture·buffer·containing·face-varying·control·vertices.·</p> | 415 | <p>Returns·the·GL·texture·buffer·containing·face-varying·control·vertices.·</p> |
416 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0086 | 416 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00860_source.html#l00108">108</a>·of·file·<a·class="el"·href="a00860_source.html">glPatchTable.h</a>.</p> |
417 | </div> | 417 | </div> |
418 | </div> | 418 | </div> |
419 | <a·id="a6693fe16c1c27f92acdcd0716a6656e1"·name="a6693fe16c1c27f92acdcd0716a6656e1"></a> | 419 | <a·id="a6693fe16c1c27f92acdcd0716a6656e1"·name="a6693fe16c1c27f92acdcd0716a6656e1"></a> |
420 | <h2·class="memtitle"><span·class="permalink"><a·href="#a6693fe16c1c27f92acdcd0716a6656e1">◆ </a></span>GetFVarPatchParamBuffer()</h2> | 420 | <h2·class="memtitle"><span·class="permalink"><a·href="#a6693fe16c1c27f92acdcd0716a6656e1">◆ </a></span>GetFVarPatchParamBuffer()</h2> |
421 | <div·class="memitem"> | 421 | <div·class="memitem"> |
Offset 441, 15 lines modified | Offset 441, 15 lines modified | ||
441 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 441 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
442 | ··</tr> | 442 | ··</tr> |
443 | </table> | 443 | </table> |
444 | </div><div·class="memdoc"> | 444 | </div><div·class="memdoc"> |
445 | <p>Returns·the·GL·index·buffer·containing·face-varying·patch·params.·</p> | 445 | <p>Returns·the·GL·index·buffer·containing·face-varying·patch·params.·</p> |
446 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0086 | 446 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00860_source.html#l00113">113</a>·of·file·<a·class="el"·href="a00860_source.html">glPatchTable.h</a>.</p> |
447 | </div> | 447 | </div> |
448 | </div> | 448 | </div> |
449 | <a·id="aa0d257bdc8fd9e5180f9b210fdc50209"·name="aa0d257bdc8fd9e5180f9b210fdc50209"></a> | 449 | <a·id="aa0d257bdc8fd9e5180f9b210fdc50209"·name="aa0d257bdc8fd9e5180f9b210fdc50209"></a> |
450 | <h2·class="memtitle"><span·class="permalink"><a·href="#aa0d257bdc8fd9e5180f9b210fdc50209">◆ </a></span>GetFVarPatchParamTextureBuffer()</h2> | 450 | <h2·class="memtitle"><span·class="permalink"><a·href="#aa0d257bdc8fd9e5180f9b210fdc50209">◆ </a></span>GetFVarPatchParamTextureBuffer()</h2> |
451 | <div·class="memitem"> | 451 | <div·class="memitem"> |
Offset 471, 15 lines modified | Offset 471, 15 lines modified | ||
471 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 471 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
472 | ··</tr> | 472 | ··</tr> |
473 | </table> | 473 | </table> |
474 | </div><div·class="memdoc"> | 474 | </div><div·class="memdoc"> |
475 | <p>Returns·the·GL·texture·buffer·containing·face-varying·patch·params.·</p> | 475 | <p>Returns·the·GL·texture·buffer·containing·face-varying·patch·params.·</p> |
476 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0086 | 476 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00860_source.html#l00118">118</a>·of·file·<a·class="el"·href="a00860_source.html">glPatchTable.h</a>.</p> |
477 | </div> | 477 | </div> |
478 | </div> | 478 | </div> |
479 | <a·id="aa9be824a572029f3ec1e0c0d6cfecd77"·name="aa9be824a572029f3ec1e0c0d6cfecd77"></a> | 479 | <a·id="aa9be824a572029f3ec1e0c0d6cfecd77"·name="aa9be824a572029f3ec1e0c0d6cfecd77"></a> |
480 | <h2·class="memtitle"><span·class="permalink"><a·href="#aa9be824a572029f3ec1e0c0d6cfecd77">◆ </a></span>GetNumFVarChannels()</h2> | 480 | <h2·class="memtitle"><span·class="permalink"><a·href="#aa9be824a572029f3ec1e0c0d6cfecd77">◆ </a></span>GetNumFVarChannels()</h2> |
481 | <div·class="memitem"> | 481 | <div·class="memitem"> |
Offset 500, 15 lines modified | Offset 500, 15 lines modified | ||
500 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 500 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
Max diff block lines reached; 18185/25798 bytes (70.49%) of diff not shown. |
Offset 99, 15 lines modified | Offset 99, 15 lines modified | ||
99 | ··<div·class="headertitle"><div·class="title">GLVertexBuffer·Class·Reference</div></div> | 99 | ··<div·class="headertitle"><div·class="title">GLVertexBuffer·Class·Reference</div></div> |
100 | </div><!--header--> | 100 | </div><!--header--> |
101 | <div·class="contents"> | 101 | <div·class="contents"> |
102 | <p>Concrete·vertex·buffer·class·for·GLSL·subdivision·and·OpenGL·drawing.·· | 102 | <p>Concrete·vertex·buffer·class·for·GLSL·subdivision·and·OpenGL·drawing.·· |
103 | ·<a·href="a01237.html#details">More...</a></p> | 103 | ·<a·href="a01237.html#details">More...</a></p> |
104 | <p><code>#include·<<a·class="el"·href="a0086 | 104 | <p><code>#include·<<a·class="el"·href="a00863_source.html">glVertexBuffer.h</a>></code></p> |
105 | <table·class="memberdecls"> | 105 | <table·class="memberdecls"> |
106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
107 | Public·Member·Functions</h2></td></tr> | 107 | Public·Member·Functions</h2></td></tr> |
108 | <tr·class="memitem:a2629b06f77082d1c67c50b03be4e465a"·id="r_a2629b06f77082d1c67c50b03be4e465a"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01237.html#a2629b06f77082d1c67c50b03be4e465a">~GLVertexBuffer</a>·()</td></tr> | 108 | <tr·class="memitem:a2629b06f77082d1c67c50b03be4e465a"·id="r_a2629b06f77082d1c67c50b03be4e465a"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01237.html#a2629b06f77082d1c67c50b03be4e465a">~GLVertexBuffer</a>·()</td></tr> |
109 | <tr·class="memdesc:a2629b06f77082d1c67c50b03be4e465a"><td·class="mdescLeft"> </td><td·class="mdescRight">Destructor.··<br·/></td></tr> | 109 | <tr·class="memdesc:a2629b06f77082d1c67c50b03be4e465a"><td·class="mdescLeft"> </td><td·class="mdescRight">Destructor.··<br·/></td></tr> |
110 | <tr·class="separator:a2629b06f77082d1c67c50b03be4e465a"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <tr·class="separator:a2629b06f77082d1c67c50b03be4e465a"><td·class="memSeparator"·colspan="2"> </td></tr> |
111 | <tr·class="memitem:a96601a091f8831823c4dd72b6c962f1b"·id="r_a96601a091f8831823c4dd72b6c962f1b"><td·class="memItemLeft"·align="right"·valign="top">void </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> | 111 | <tr·class="memitem:a96601a091f8831823c4dd72b6c962f1b"·id="r_a96601a091f8831823c4dd72b6c962f1b"><td·class="memItemLeft"·align="right"·valign="top">void </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 136, 15 lines modified | Offset 136, 15 lines modified | ||
136 | <tr·class="memitem:add23d9f5bbc918076d240287a9b3664f"·id="r_add23d9f5bbc918076d240287a9b3664f"><td·class="memItemLeft"·align="right"·valign="top">bool </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01237.html#add23d9f5bbc918076d240287a9b3664f">allocate</a>·()</td></tr> | 136 | <tr·class="memitem:add23d9f5bbc918076d240287a9b3664f"·id="r_add23d9f5bbc918076d240287a9b3664f"><td·class="memItemLeft"·align="right"·valign="top">bool </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01237.html#add23d9f5bbc918076d240287a9b3664f">allocate</a>·()</td></tr> |
137 | <tr·class="separator:add23d9f5bbc918076d240287a9b3664f"><td·class="memSeparator"·colspan="2"> </td></tr> | 137 | <tr·class="separator:add23d9f5bbc918076d240287a9b3664f"><td·class="memSeparator"·colspan="2"> </td></tr> |
138 | </table> | 138 | </table> |
139 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 139 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
140 | <div·class="textblock"><p>Concrete·vertex·buffer·class·for·GLSL·subdivision·and·OpenGL·drawing.·</p> | 140 | <div·class="textblock"><p>Concrete·vertex·buffer·class·for·GLSL·subdivision·and·OpenGL·drawing.·</p> |
141 | <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> | 141 | <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> |
142 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0086 | 142 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00863_source.html#l00044">44</a>·of·file·<a·class="el"·href="a00863_source.html">glVertexBuffer.h</a>.</p> |
143 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 143 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
144 | <a·id="a2629b06f77082d1c67c50b03be4e465a"·name="a2629b06f77082d1c67c50b03be4e465a"></a> | 144 | <a·id="a2629b06f77082d1c67c50b03be4e465a"·name="a2629b06f77082d1c67c50b03be4e465a"></a> |
145 | <h2·class="memtitle"><span·class="permalink"><a·href="#a2629b06f77082d1c67c50b03be4e465a">◆ </a></span>~GLVertexBuffer()</h2> | 145 | <h2·class="memtitle"><span·class="permalink"><a·href="#a2629b06f77082d1c67c50b03be4e465a">◆ </a></span>~GLVertexBuffer()</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 366, 15 lines modified | Offset 366, 15 lines modified | ||
366 | ······</table> | 366 | ······</table> |
367 | </div><div·class="memdoc"> | 367 | </div><div·class="memdoc"> |
368 | <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> | 368 | <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> |
369 | </div> | 369 | </div> |
370 | </div> | 370 | </div> |
371 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 371 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
372 | <li>opensubdiv/osd/<a·class="el"·href="a0086 | 372 | <li>opensubdiv/osd/<a·class="el"·href="a00863_source.html">glVertexBuffer.h</a></li> |
373 | </ul> | 373 | </ul> |
374 | </div><!--·contents·--> | 374 | </div><!--·contents·--> |
375 | </div><!--·doc-content·--> | 375 | </div><!--·doc-content·--> |
376 | <!--·start·footer·part·--> | 376 | <!--·start·footer·part·--> |
377 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 377 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
378 | ··<ul> | 378 | ··<ul> |
379 | ····<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> | 379 | ····<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> |
Offset 94, 15 lines modified | Offset 94, 15 lines modified | ||
94 | ··<div·class="summary"> | 94 | ··<div·class="summary"> |
95 | <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·| | 95 | <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·| |
96 | <a·href="a01254.html">List·of·all·members</a>··</div> | 96 | <a·href="a01254.html">List·of·all·members</a>··</div> |
97 | ··<div·class="headertitle"><div·class="title">HLSLPatchShaderSource·Class·Reference</div></div> | 97 | ··<div·class="headertitle"><div·class="title">HLSLPatchShaderSource·Class·Reference</div></div> |
98 | </div><!--header--> | 98 | </div><!--header--> |
99 | <div·class="contents"> | 99 | <div·class="contents"> |
100 | <p><code>#include·<<a·class="el"·href="a008 | 100 | <p><code>#include·<<a·class="el"·href="a00827_source.html">hlslPatchShaderSource.h</a>></code></p> |
101 | <table·class="memberdecls"> | 101 | <table·class="memberdecls"> |
102 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a> | 102 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a> |
103 | Static·Public·Member·Functions</h2></td></tr> | 103 | Static·Public·Member·Functions</h2></td></tr> |
104 | <tr·class="memitem:ad5f427d2655d384980715874209345e7"·id="r_ad5f427d2655d384980715874209345e7"><td·class="memItemLeft"·align="right"·valign="top">static·std::string </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01257.html#ad5f427d2655d384980715874209345e7">GetCommonShaderSource</a>·()</td></tr> | 104 | <tr·class="memitem:ad5f427d2655d384980715874209345e7"·id="r_ad5f427d2655d384980715874209345e7"><td·class="memItemLeft"·align="right"·valign="top">static·std::string </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01257.html#ad5f427d2655d384980715874209345e7">GetCommonShaderSource</a>·()</td></tr> |
105 | <tr·class="separator:ad5f427d2655d384980715874209345e7"><td·class="memSeparator"·colspan="2"> </td></tr> | 105 | <tr·class="separator:ad5f427d2655d384980715874209345e7"><td·class="memSeparator"·colspan="2"> </td></tr> |
106 | <tr·class="memitem:ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d"·id="r_ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d"><td·class="memItemLeft"·align="right"·valign="top">static·std::string </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01257.html#ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d">GetPatchBasisShaderSource</a>·()</td></tr> | 106 | <tr·class="memitem:ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d"·id="r_ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d"><td·class="memItemLeft"·align="right"·valign="top">static·std::string </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01257.html#ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d">GetPatchBasisShaderSource</a>·()</td></tr> |
107 | <tr·class="separator:ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d"><td·class="memSeparator"·colspan="2"> </td></tr> | 107 | <tr·class="separator:ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 111, 15 lines modified | Offset 111, 15 lines modified | ||
111 | <tr·class="memitem:a97a09fe0a378798cafdff72e115e373f"·id="r_a97a09fe0a378798cafdff72e115e373f"><td·class="memItemLeft"·align="right"·valign="top">static·std::string </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> | 111 | <tr·class="memitem:a97a09fe0a378798cafdff72e115e373f"·id="r_a97a09fe0a378798cafdff72e115e373f"><td·class="memItemLeft"·align="right"·valign="top">static·std::string </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> |
112 | <tr·class="separator:a97a09fe0a378798cafdff72e115e373f"><td·class="memSeparator"·colspan="2"> </td></tr> | 112 | <tr·class="separator:a97a09fe0a378798cafdff72e115e373f"><td·class="memSeparator"·colspan="2"> </td></tr> |
113 | <tr·class="memitem:a733309309efe67ba5d1acd7d0a9ff6ca"·id="r_a733309309efe67ba5d1acd7d0a9ff6ca"><td·class="memItemLeft"·align="right"·valign="top">static·std::string </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> | 113 | <tr·class="memitem:a733309309efe67ba5d1acd7d0a9ff6ca"·id="r_a733309309efe67ba5d1acd7d0a9ff6ca"><td·class="memItemLeft"·align="right"·valign="top">static·std::string </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> |
114 | <tr·class="separator:a733309309efe67ba5d1acd7d0a9ff6ca"><td·class="memSeparator"·colspan="2"> </td></tr> | 114 | <tr·class="separator:a733309309efe67ba5d1acd7d0a9ff6ca"><td·class="memSeparator"·colspan="2"> </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="a008 | 118 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00827_source.html#l00037">37</a>·of·file·<a·class="el"·href="a00827_source.html">hlslPatchShaderSource.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">◆ </a></span>GetCommonShaderSource()</h2> | 121 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad5f427d2655d384980715874209345e7">◆ </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 242, 15 lines modified | Offset 242, 15 lines modified | ||
242 | ··</tr> | 242 | ··</tr> |
243 | </table> | 243 | </table> |
244 | </div><div·class="memdoc"> | 244 | </div><div·class="memdoc"> |
245 | </div> | 245 | </div> |
246 | </div> | 246 | </div> |
247 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 247 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
248 | <li>opensubdiv/osd/<a·class="el"·href="a008 | 248 | <li>opensubdiv/osd/<a·class="el"·href="a00827_source.html">hlslPatchShaderSource.h</a></li> |
249 | </ul> | 249 | </ul> |
250 | </div><!--·contents·--> | 250 | </div><!--·contents·--> |
251 | </div><!--·doc-content·--> | 251 | </div><!--·doc-content·--> |
252 | <!--·start·footer·part·--> | 252 | <!--·start·footer·part·--> |
253 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 253 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
254 | ··<ul> | 254 | ··<ul> |
255 | ····<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> | 255 | ····<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> |
Offset 94, 40 lines modified | Offset 94, 40 lines modified | ||
94 | ··<div·class="summary"> | 94 | ··<div·class="summary"> |
95 | <a·href="#pub-attribs">Public·Attributes</a>·| | 95 | <a·href="#pub-attribs">Public·Attributes</a>·| |
96 | <a·href="a01274.html">List·of·all·members</a>··</div> | 96 | <a·href="a01274.html">List·of·all·members</a>··</div> |
97 | ··<div·class="headertitle"><div·class="title">MTLContext·Class·Reference</div></div> | 97 | ··<div·class="headertitle"><div·class="title">MTLContext·Class·Reference</div></div> |
98 | </div><!--header--> | 98 | </div><!--header--> |
99 | <div·class="contents"> | 99 | <div·class="contents"> |
100 | <p><code>#include·<<a·class="el"·href="a0080 | 100 | <p><code>#include·<<a·class="el"·href="a00806_source.html">mtlCommon.h</a>></code></p> |
101 | <table·class="memberdecls"> | 101 | <table·class="memberdecls"> |
102 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a> | 102 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a> |
103 | Public·Attributes</h2></td></tr> | 103 | Public·Attributes</h2></td></tr> |
104 | <tr·class="memitem:a7d70f5acf4efd89092645b4c44e480cf"·id="r_a7d70f5acf4efd89092645b4c44e480cf"><td·class="memItemLeft"·align="right"·valign="top">id<·MTLDevice·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01277.html#a7d70f5acf4efd89092645b4c44e480cf">device</a>·=·nullptr</td></tr> | 104 | <tr·class="memitem:a7d70f5acf4efd89092645b4c44e480cf"·id="r_a7d70f5acf4efd89092645b4c44e480cf"><td·class="memItemLeft"·align="right"·valign="top">id<·MTLDevice·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01277.html#a7d70f5acf4efd89092645b4c44e480cf">device</a>·=·nullptr</td></tr> |
105 | <tr·class="separator:a7d70f5acf4efd89092645b4c44e480cf"><td·class="memSeparator"·colspan="2"> </td></tr> | 105 | <tr·class="separator:a7d70f5acf4efd89092645b4c44e480cf"><td·class="memSeparator"·colspan="2"> </td></tr> |
106 | <tr·class="memitem:a66809eb79c7e79a491fd8c889465166b"·id="r_a66809eb79c7e79a491fd8c889465166b"><td·class="memItemLeft"·align="right"·valign="top">id<·MTLCommandQueue·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01277.html#a66809eb79c7e79a491fd8c889465166b">commandQueue</a>·=·nullptr</td></tr> | 106 | <tr·class="memitem:a66809eb79c7e79a491fd8c889465166b"·id="r_a66809eb79c7e79a491fd8c889465166b"><td·class="memItemLeft"·align="right"·valign="top">id<·MTLCommandQueue·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01277.html#a66809eb79c7e79a491fd8c889465166b">commandQueue</a>·=·nullptr</td></tr> |
107 | <tr·class="separator:a66809eb79c7e79a491fd8c889465166b"><td·class="memSeparator"·colspan="2"> </td></tr> | 107 | <tr·class="separator:a66809eb79c7e79a491fd8c889465166b"><td·class="memSeparator"·colspan="2"> </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="a0080 | 111 | <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> |
112 | </div><h2·class="groupheader">Member·Data·Documentation</h2> | 112 | </div><h2·class="groupheader">Member·Data·Documentation</h2> |
113 | <a·id="a66809eb79c7e79a491fd8c889465166b"·name="a66809eb79c7e79a491fd8c889465166b"></a> | 113 | <a·id="a66809eb79c7e79a491fd8c889465166b"·name="a66809eb79c7e79a491fd8c889465166b"></a> |
114 | <h2·class="memtitle"><span·class="permalink"><a·href="#a66809eb79c7e79a491fd8c889465166b">◆ </a></span>commandQueue</h2> | 114 | <h2·class="memtitle"><span·class="permalink"><a·href="#a66809eb79c7e79a491fd8c889465166b">◆ </a></span>commandQueue</h2> |
115 | <div·class="memitem"> | 115 | <div·class="memitem"> |
116 | <div·class="memproto"> | 116 | <div·class="memproto"> |
117 | ······<table·class="memname"> | 117 | ······<table·class="memname"> |
118 | ········<tr> | 118 | ········<tr> |
119 | ··········<td·class="memname">id<MTLCommandQueue>·commandQueue·=·nullptr</td> | 119 | ··········<td·class="memname">id<MTLCommandQueue>·commandQueue·=·nullptr</td> |
120 | ········</tr> | 120 | ········</tr> |
121 | ······</table> | 121 | ······</table> |
122 | </div><div·class="memdoc"> | 122 | </div><div·class="memdoc"> |
123 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0080 | 123 | <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> |
124 | </div> | 124 | </div> |
125 | </div> | 125 | </div> |
126 | <a·id="a7d70f5acf4efd89092645b4c44e480cf"·name="a7d70f5acf4efd89092645b4c44e480cf"></a> | 126 | <a·id="a7d70f5acf4efd89092645b4c44e480cf"·name="a7d70f5acf4efd89092645b4c44e480cf"></a> |
127 | <h2·class="memtitle"><span·class="permalink"><a·href="#a7d70f5acf4efd89092645b4c44e480cf">◆ </a></span>device</h2> | 127 | <h2·class="memtitle"><span·class="permalink"><a·href="#a7d70f5acf4efd89092645b4c44e480cf">◆ </a></span>device</h2> |
128 | <div·class="memitem"> | 128 | <div·class="memitem"> |
Offset 135, 20 lines modified | Offset 135, 20 lines modified | ||
135 | ······<table·class="memname"> | 135 | ······<table·class="memname"> |
136 | ········<tr> | 136 | ········<tr> |
137 | ··········<td·class="memname">id<MTLDevice>·device·=·nullptr</td> | 137 | ··········<td·class="memname">id<MTLDevice>·device·=·nullptr</td> |
138 | ········</tr> | 138 | ········</tr> |
139 | ······</table> | 139 | ······</table> |
140 | </div><div·class="memdoc"> | 140 | </div><div·class="memdoc"> |
141 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0080 | 141 | <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> |
142 | </div> | 142 | </div> |
143 | </div> | 143 | </div> |
144 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 144 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
145 | <li>opensubdiv/osd/<a·class="el"·href="a0080 | 145 | <li>opensubdiv/osd/<a·class="el"·href="a00806_source.html">mtlCommon.h</a></li> |
146 | </ul> | 146 | </ul> |
147 | </div><!--·contents·--> | 147 | </div><!--·contents·--> |
148 | </div><!--·doc-content·--> | 148 | </div><!--·doc-content·--> |
149 | <!--·start·footer·part·--> | 149 | <!--·start·footer·part·--> |
150 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 150 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
151 | ··<ul> | 151 | ··<ul> |
152 | ····<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> | 152 | ····<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> |
Offset 94, 15 lines modified | Offset 94, 15 lines modified | ||
94 | ··<div·class="summary"> | 94 | ··<div·class="summary"> |
95 | <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·| | 95 | <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·| |
96 | <a·href="a01290.html">List·of·all·members</a>··</div> | 96 | <a·href="a01290.html">List·of·all·members</a>··</div> |
97 | ··<div·class="headertitle"><div·class="title">MTLPatchShaderSource·Class·Reference</div></div> | 97 | ··<div·class="headertitle"><div·class="title">MTLPatchShaderSource·Class·Reference</div></div> |
98 | </div><!--header--> | 98 | </div><!--header--> |
99 | <div·class="contents"> | 99 | <div·class="contents"> |
100 | <p><code>#include·<<a·class="el"·href="a008 | 100 | <p><code>#include·<<a·class="el"·href="a00809_source.html">mtlPatchShaderSource.h</a>></code></p> |
101 | <table·class="memberdecls"> | 101 | <table·class="memberdecls"> |
102 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a> | 102 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a> |
103 | Static·Public·Member·Functions</h2></td></tr> | 103 | Static·Public·Member·Functions</h2></td></tr> |
104 | <tr·class="memitem:ad5f427d2655d384980715874209345e7"·id="r_ad5f427d2655d384980715874209345e7"><td·class="memItemLeft"·align="right"·valign="top">static·std::string </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01293.html#ad5f427d2655d384980715874209345e7">GetCommonShaderSource</a>·()</td></tr> | 104 | <tr·class="memitem:ad5f427d2655d384980715874209345e7"·id="r_ad5f427d2655d384980715874209345e7"><td·class="memItemLeft"·align="right"·valign="top">static·std::string </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01293.html#ad5f427d2655d384980715874209345e7">GetCommonShaderSource</a>·()</td></tr> |
105 | <tr·class="separator:ad5f427d2655d384980715874209345e7"><td·class="memSeparator"·colspan="2"> </td></tr> | 105 | <tr·class="separator:ad5f427d2655d384980715874209345e7"><td·class="memSeparator"·colspan="2"> </td></tr> |
106 | <tr·class="memitem:ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d"·id="r_ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d"><td·class="memItemLeft"·align="right"·valign="top">static·std::string </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01293.html#ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d">GetPatchBasisShaderSource</a>·()</td></tr> | 106 | <tr·class="memitem:ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d"·id="r_ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d"><td·class="memItemLeft"·align="right"·valign="top">static·std::string </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01293.html#ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d">GetPatchBasisShaderSource</a>·()</td></tr> |
107 | <tr·class="separator:ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d"><td·class="memSeparator"·colspan="2"> </td></tr> | 107 | <tr·class="separator:ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 118, 15 lines modified | Offset 118, 15 lines modified | ||
118 | <tr·class="memitem:a55538e8657b191955044d983cf1b3649"·id="r_a55538e8657b191955044d983cf1b3649"><td·class="memItemLeft"·align="right"·valign="top">static·std::string </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> | 118 | <tr·class="memitem:a55538e8657b191955044d983cf1b3649"·id="r_a55538e8657b191955044d983cf1b3649"><td·class="memItemLeft"·align="right"·valign="top">static·std::string </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> |
119 | <tr·class="separator:a55538e8657b191955044d983cf1b3649"><td·class="memSeparator"·colspan="2"> </td></tr> | 119 | <tr·class="separator:a55538e8657b191955044d983cf1b3649"><td·class="memSeparator"·colspan="2"> </td></tr> |
120 | <tr·class="memitem:a85470a02e193180c7d9c51b2d65962bb"·id="r_a85470a02e193180c7d9c51b2d65962bb"><td·class="memItemLeft"·align="right"·valign="top">static·std::string </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> | 120 | <tr·class="memitem:a85470a02e193180c7d9c51b2d65962bb"·id="r_a85470a02e193180c7d9c51b2d65962bb"><td·class="memItemLeft"·align="right"·valign="top">static·std::string </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> |
121 | <tr·class="separator:a85470a02e193180c7d9c51b2d65962bb"><td·class="memSeparator"·colspan="2"> </td></tr> | 121 | <tr·class="separator:a85470a02e193180c7d9c51b2d65962bb"><td·class="memSeparator"·colspan="2"> </td></tr> |
122 | </table> | 122 | </table> |
123 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 123 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
124 | <div·class="textblock"> | 124 | <div·class="textblock"> |
125 | <p·class="definition">Definition·at·line·<a·class="el"·href="a008 | 125 | <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">mtlPatchShaderSource.h</a>.</p> |
126 | </div><h2·class="groupheader">Member·Function·Documentation</h2> | 126 | </div><h2·class="groupheader">Member·Function·Documentation</h2> |
127 | <a·id="ad5f427d2655d384980715874209345e7"·name="ad5f427d2655d384980715874209345e7"></a> | 127 | <a·id="ad5f427d2655d384980715874209345e7"·name="ad5f427d2655d384980715874209345e7"></a> |
128 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad5f427d2655d384980715874209345e7">◆ </a></span>GetCommonShaderSource()</h2> | 128 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad5f427d2655d384980715874209345e7">◆ </a></span>GetCommonShaderSource()</h2> |
129 | <div·class="memitem"> | 129 | <div·class="memitem"> |
130 | <div·class="memproto"> | 130 | <div·class="memproto"> |
131 | <table·class="mlabels"> | 131 | <table·class="mlabels"> |
Offset 360, 15 lines modified | Offset 360, 15 lines modified | ||
360 | <p>Deprecated.·</p> | 360 | <p>Deprecated.·</p> |
361 | <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> | 361 | <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> |
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="a008 | 365 | <li>opensubdiv/osd/<a·class="el"·href="a00809_source.html">mtlPatchShaderSource.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="a01293.html">MTLPatchShaderSource</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="a01293.html">MTLPatchShaderSource</a></li> |
Offset 94, 15 lines modified | Offset 94, 15 lines modified | ||
94 | ··<div·class="summary"> | 94 | ··<div·class="summary"> |
95 | <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·| | 95 | <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·| |
96 | <a·href="a01302.html">List·of·all·members</a>··</div> | 96 | <a·href="a01302.html">List·of·all·members</a>··</div> |
97 | ··<div·class="headertitle"><div·class="title">OmpEvaluator·Class·Reference</div></div> | 97 | ··<div·class="headertitle"><div·class="title">OmpEvaluator·Class·Reference</div></div> |
98 | </div><!--header--> | 98 | </div><!--header--> |
99 | <div·class="contents"> | 99 | <div·class="contents"> |
100 | <p><code>#include·<<a·class="el"·href="a008 | 100 | <p><code>#include·<<a·class="el"·href="a00881_source.html">ompEvaluator.h</a>></code></p> |
101 | <table·class="memberdecls"> | 101 | <table·class="memberdecls"> |
102 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a> | 102 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a> |
103 | Static·Public·Member·Functions</h2></td></tr> | 103 | Static·Public·Member·Functions</h2></td></tr> |
104 | <tr·class="memitem:a76ac331e29d26f25d0d807b74c1a838b"·id="r_a76ac331e29d26f25d0d807b74c1a838b"><td·class="memTemplParams"·colspan="2">template<typename·SRC_BUFFER·,·typename·DST_BUFFER·,·typename·STENCIL_TABLE·>·</td></tr> | 104 | <tr·class="memitem:a76ac331e29d26f25d0d807b74c1a838b"·id="r_a76ac331e29d26f25d0d807b74c1a838b"><td·class="memTemplParams"·colspan="2">template<typename·SRC_BUFFER·,·typename·DST_BUFFER·,·typename·STENCIL_TABLE·>·</td></tr> |
105 | <tr·class="memitem:a76ac331e29d26f25d0d807b74c1a838b"><td·class="memTemplItemLeft"·align="right"·valign="top">static·bool </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·&srcDesc,·DST_BUFFER·*dstBuffer,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&dstDesc,·STENCIL_TABLE·const·*stencilTable,·const·<a·class="el"·href="a01305.html">OmpEvaluator</a>·*instance=NULL,·void·*deviceContext=NULL)</td></tr> | 105 | <tr·class="memitem:a76ac331e29d26f25d0d807b74c1a838b"><td·class="memTemplItemLeft"·align="right"·valign="top">static·bool </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·&srcDesc,·DST_BUFFER·*dstBuffer,·<a·class="el"·href="a01133.html">BufferDescriptor</a>·const·&dstDesc,·STENCIL_TABLE·const·*stencilTable,·const·<a·class="el"·href="a01305.html">OmpEvaluator</a>·*instance=NULL,·void·*deviceContext=NULL)</td></tr> |
106 | <tr·class="memdesc:a76ac331e29d26f25d0d807b74c1a838b"><td·class="mdescLeft"> </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.··<br·/></td></tr> | 106 | <tr·class="memdesc:a76ac331e29d26f25d0d807b74c1a838b"><td·class="mdescLeft"> </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.··<br·/></td></tr> |
107 | <tr·class="separator:a76ac331e29d26f25d0d807b74c1a838b"><td·class="memSeparator"·colspan="2"> </td></tr> | 107 | <tr·class="separator:a76ac331e29d26f25d0d807b74c1a838b"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 171, 15 lines modified | Offset 171, 15 lines modified | ||
171 | <tr·class="memitem:a9689407af718de4263562bb3a760c1dd"·id="r_a9689407af718de4263562bb3a760c1dd"><td·class="memItemLeft"·align="right"·valign="top">static·void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01305.html#a9689407af718de4263562bb3a760c1dd">Synchronize</a>·(void·*deviceContext=NULL)</td></tr> | 171 | <tr·class="memitem:a9689407af718de4263562bb3a760c1dd"·id="r_a9689407af718de4263562bb3a760c1dd"><td·class="memItemLeft"·align="right"·valign="top">static·void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01305.html#a9689407af718de4263562bb3a760c1dd">Synchronize</a>·(void·*deviceContext=NULL)</td></tr> |
172 | <tr·class="separator:a9689407af718de4263562bb3a760c1dd"><td·class="memSeparator"·colspan="2"> </td></tr> | 172 | <tr·class="separator:a9689407af718de4263562bb3a760c1dd"><td·class="memSeparator"·colspan="2"> </td></tr> |
173 | <tr·class="memitem:ad58f2120e84fdd3f92d7cd861e97822d"·id="r_ad58f2120e84fdd3f92d7cd861e97822d"><td·class="memItemLeft"·align="right"·valign="top">static·void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01305.html#ad58f2120e84fdd3f92d7cd861e97822d">SetNumThreads</a>·(int·numThreads)</td></tr> | 173 | <tr·class="memitem:ad58f2120e84fdd3f92d7cd861e97822d"·id="r_ad58f2120e84fdd3f92d7cd861e97822d"><td·class="memItemLeft"·align="right"·valign="top">static·void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01305.html#ad58f2120e84fdd3f92d7cd861e97822d">SetNumThreads</a>·(int·numThreads)</td></tr> |
174 | <tr·class="separator:ad58f2120e84fdd3f92d7cd861e97822d"><td·class="memSeparator"·colspan="2"> </td></tr> | 174 | <tr·class="separator:ad58f2120e84fdd3f92d7cd861e97822d"><td·class="memSeparator"·colspan="2"> </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"> | 177 | <div·class="textblock"> |
178 | <p·class="definition">Definition·at·line·<a·class="el"·href="a008 | 178 | <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> |
179 | </div><h2·class="groupheader">Member·Function·Documentation</h2> | 179 | </div><h2·class="groupheader">Member·Function·Documentation</h2> |
180 | <a·id="a7b556148d6ef2e04fbe99677e3a87e91"·name="a7b556148d6ef2e04fbe99677e3a87e91"></a> | 180 | <a·id="a7b556148d6ef2e04fbe99677e3a87e91"·name="a7b556148d6ef2e04fbe99677e3a87e91"></a> |
181 | <h2·class="memtitle"><span·class="permalink"><a·href="#a7b556148d6ef2e04fbe99677e3a87e91">◆ </a></span>EvalPatches()·<span·class="overload">[1/6]</span></h2> | 181 | <h2·class="memtitle"><span·class="permalink"><a·href="#a7b556148d6ef2e04fbe99677e3a87e91">◆ </a></span>EvalPatches()·<span·class="overload">[1/6]</span></h2> |
182 | <div·class="memitem"> | 182 | <div·class="memitem"> |
183 | <div·class="memproto"> | 183 | <div·class="memproto"> |
184 | <table·class="mlabels"> | 184 | <table·class="mlabels"> |
Offset 717, 15 lines modified | Offset 717, 15 lines modified | ||
717 | ····<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> | 717 | ····<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> |
718 | ····<tr><td·class="paramname">instance</td><td>not·used·in·the·omp·evaluator</td></tr> | 718 | ····<tr><td·class="paramname">instance</td><td>not·used·in·the·omp·evaluator</td></tr> |
719 | ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·omp·evaluator·</td></tr> | 719 | ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·omp·evaluator·</td></tr> |
720 | ··</table> | 720 | ··</table> |
721 | ··</dd> | 721 | ··</dd> |
722 | </dl> | 722 | </dl> |
723 | <p·class="definition">Definition·at·line·<a·class="el"·href="a008 | 723 | <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> |
724 | </div> | 724 | </div> |
725 | </div> | 725 | </div> |
726 | <a·id="a8ec09b3a6962ce219f54fb5edec53640"·name="a8ec09b3a6962ce219f54fb5edec53640"></a> | 726 | <a·id="a8ec09b3a6962ce219f54fb5edec53640"·name="a8ec09b3a6962ce219f54fb5edec53640"></a> |
727 | <h2·class="memtitle"><span·class="permalink"><a·href="#a8ec09b3a6962ce219f54fb5edec53640">◆ </a></span>EvalPatches()·<span·class="overload">[5/6]</span></h2> | 727 | <h2·class="memtitle"><span·class="permalink"><a·href="#a8ec09b3a6962ce219f54fb5edec53640">◆ </a></span>EvalPatches()·<span·class="overload">[5/6]</span></h2> |
728 | <div·class="memitem"> | 728 | <div·class="memitem"> |
Offset 843, 15 lines modified | Offset 843, 15 lines modified | ||
843 | ····<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> | 843 | ····<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> |
844 | ····<tr><td·class="paramname">instance</td><td>not·used·in·the·omp·evaluator</td></tr> | 844 | ····<tr><td·class="paramname">instance</td><td>not·used·in·the·omp·evaluator</td></tr> |
845 | ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·omp·evaluator·</td></tr> | 845 | ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·omp·evaluator·</td></tr> |
846 | ··</table> | 846 | ··</table> |
847 | ··</dd> | 847 | ··</dd> |
848 | </dl> | 848 | </dl> |
849 | <p·class="definition">Definition·at·line·<a·class="el"·href="a008 | 849 | <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> |
850 | </div> | 850 | </div> |
851 | </div> | 851 | </div> |
852 | <a·id="abbbc45452da270eafbeb163a0e78df03"·name="abbbc45452da270eafbeb163a0e78df03"></a> | 852 | <a·id="abbbc45452da270eafbeb163a0e78df03"·name="abbbc45452da270eafbeb163a0e78df03"></a> |
853 | <h2·class="memtitle"><span·class="permalink"><a·href="#abbbc45452da270eafbeb163a0e78df03">◆ </a></span>EvalPatches()·<span·class="overload">[6/6]</span></h2> | 853 | <h2·class="memtitle"><span·class="permalink"><a·href="#abbbc45452da270eafbeb163a0e78df03">◆ </a></span>EvalPatches()·<span·class="overload">[6/6]</span></h2> |
854 | <div·class="memitem"> | 854 | <div·class="memitem"> |
Offset 944, 15 lines modified | Offset 944, 15 lines modified | ||
944 | ····<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> | 944 | ····<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> |
945 | ····<tr><td·class="paramname">instance</td><td>not·used·in·the·omp·evaluator</td></tr> | 945 | ····<tr><td·class="paramname">instance</td><td>not·used·in·the·omp·evaluator</td></tr> |
946 | ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·omp·evaluator·</td></tr> | 946 | ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·omp·evaluator·</td></tr> |
947 | ··</table> | 947 | ··</table> |
948 | ··</dd> | 948 | ··</dd> |
949 | </dl> | 949 | </dl> |
950 | <p·class="definition">Definition·at·line·<a·class="el"·href="a008 | 950 | <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> |
951 | </div> | 951 | </div> |
952 | </div> | 952 | </div> |
953 | <a·id="ae4eb5ea878fcae370e0e38dbad433a6a"·name="ae4eb5ea878fcae370e0e38dbad433a6a"></a> | 953 | <a·id="ae4eb5ea878fcae370e0e38dbad433a6a"·name="ae4eb5ea878fcae370e0e38dbad433a6a"></a> |
954 | <h2·class="memtitle"><span·class="permalink"><a·href="#ae4eb5ea878fcae370e0e38dbad433a6a">◆ </a></span>EvalPatchesFaceVarying()·<span·class="overload">[1/3]</span></h2> | 954 | <h2·class="memtitle"><span·class="permalink"><a·href="#ae4eb5ea878fcae370e0e38dbad433a6a">◆ </a></span>EvalPatchesFaceVarying()·<span·class="overload">[1/3]</span></h2> |
955 | <div·class="memitem"> | 955 | <div·class="memitem"> |
Offset 1119, 15 lines modified | Offset 1119, 15 lines modified | ||
1119 | ····<tr><td·class="paramname">fvarChannel</td><td>face-varying·channel</td></tr> | 1119 | ····<tr><td·class="paramname">fvarChannel</td><td>face-varying·channel</td></tr> |
1120 | ····<tr><td·class="paramname">instance</td><td>not·used·in·the·omp·evaluator</td></tr> | 1120 | ····<tr><td·class="paramname">instance</td><td>not·used·in·the·omp·evaluator</td></tr> |
1121 | ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·omp·evaluator·</td></tr> | 1121 | ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·omp·evaluator·</td></tr> |
1122 | ··</table> | 1122 | ··</table> |
1123 | ··</dd> | 1123 | ··</dd> |
1124 | </dl> | 1124 | </dl> |
1125 | <p·class="definition">Definition·at·line·<a·class="el"·href="a008 | 1125 | <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> |
1126 | </div> | 1126 | </div> |
1127 | </div> | 1127 | </div> |
1128 | <a·id="a708ed2ca5a7497a5679cd660546ec4da"·name="a708ed2ca5a7497a5679cd660546ec4da"></a> | 1128 | <a·id="a708ed2ca5a7497a5679cd660546ec4da"·name="a708ed2ca5a7497a5679cd660546ec4da"></a> |
1129 | <h2·class="memtitle"><span·class="permalink"><a·href="#a708ed2ca5a7497a5679cd660546ec4da">◆ </a></span>EvalPatchesFaceVarying()·<span·class="overload">[2/3]</span></h2> | 1129 | <h2·class="memtitle"><span·class="permalink"><a·href="#a708ed2ca5a7497a5679cd660546ec4da">◆ </a></span>EvalPatchesFaceVarying()·<span·class="overload">[2/3]</span></h2> |
1130 | <div·class="memitem"> | 1130 | <div·class="memitem"> |
Offset 1252, 15 lines modified | Offset 1252, 15 lines modified | ||
1252 | ····<tr><td·class="paramname">fvarChannel</td><td>face-varying·channel</td></tr> | 1252 | ····<tr><td·class="paramname">fvarChannel</td><td>face-varying·channel</td></tr> |
1253 | ····<tr><td·class="paramname">instance</td><td>not·used·in·the·omp·evaluator</td></tr> | 1253 | ····<tr><td·class="paramname">instance</td><td>not·used·in·the·omp·evaluator</td></tr> |
1254 | ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·omp·evaluator·</td></tr> | 1254 | ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·omp·evaluator·</td></tr> |
1255 | ··</table> | 1255 | ··</table> |
1256 | ··</dd> | 1256 | ··</dd> |
1257 | </dl> | 1257 | </dl> |
1258 | <p·class="definition">Definition·at·line·<a·class="el"·href="a008 | 1258 | <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> |
1259 | </div> | 1259 | </div> |
1260 | </div> | 1260 | </div> |
1261 | <a·id="a0fa8e0e28a0ceff063bd07e098abd645"·name="a0fa8e0e28a0ceff063bd07e098abd645"></a> | 1261 | <a·id="a0fa8e0e28a0ceff063bd07e098abd645"·name="a0fa8e0e28a0ceff063bd07e098abd645"></a> |
1262 | <h2·class="memtitle"><span·class="permalink"><a·href="#a0fa8e0e28a0ceff063bd07e098abd645">◆ </a></span>EvalPatchesFaceVarying()·<span·class="overload">[3/3]</span></h2> | 1262 | <h2·class="memtitle"><span·class="permalink"><a·href="#a0fa8e0e28a0ceff063bd07e098abd645">◆ </a></span>EvalPatchesFaceVarying()·<span·class="overload">[3/3]</span></h2> |
1263 | <div·class="memitem"> | 1263 | <div·class="memitem"> |
Offset 1357, 15 lines modified | Offset 1357, 15 lines modified | ||
1357 | ····<tr><td·class="paramname">fvarChannel</td><td>face-varying·channel</td></tr> | 1357 | ····<tr><td·class="paramname">fvarChannel</td><td>face-varying·channel</td></tr> |
1358 | ····<tr><td·class="paramname">instance</td><td>not·used·in·the·omp·evaluator</td></tr> | 1358 | ····<tr><td·class="paramname">instance</td><td>not·used·in·the·omp·evaluator</td></tr> |
1359 | ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·omp·evaluator·</td></tr> | 1359 | ····<tr><td·class="paramname">deviceContext</td><td>not·used·in·the·omp·evaluator·</td></tr> |
1360 | ··</table> | 1360 | ··</table> |
1361 | ··</dd> | 1361 | ··</dd> |
1362 | </dl> | 1362 | </dl> |
1363 | <p·class="definition">Definition·at·line·<a·class="el"·href="a008 | 1363 | <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> |
1364 | </div> | 1364 | </div> |
1365 | </div> | 1365 | </div> |
1366 | <a·id="a5e2b53fce1097e9ec639828256aa44f1"·name="a5e2b53fce1097e9ec639828256aa44f1"></a> | 1366 | <a·id="a5e2b53fce1097e9ec639828256aa44f1"·name="a5e2b53fce1097e9ec639828256aa44f1"></a> |
1367 | <h2·class="memtitle"><span·class="permalink"><a·href="#a5e2b53fce1097e9ec639828256aa44f1">◆ </a></span>EvalPatchesVarying()·<span·class="overload">[1/3]</span></h2> | 1367 | <h2·class="memtitle"><span·class="permalink"><a·href="#a5e2b53fce1097e9ec639828256aa44f1">◆ </a></span>EvalPatchesVarying()·<span·class="overload">[1/3]</span></h2> |
1368 | <div·class="memitem"> | 1368 | <div·class="memitem"> |
Max diff block lines reached; 7751/17944 bytes (43.20%) of diff not shown. |
Offset 369, 15 lines modified | Offset 369, 15 lines modified | ||
369 | ··</td> | 369 | ··</td> |
370 | ··<td·class="mlabels-right"> | 370 | ··<td·class="mlabels-right"> |
371 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td> | 371 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td> |
372 | ··</tr> | 372 | ··</tr> |
373 | </table> | 373 | </table> |
374 | </div><div·class="memdoc"> | 374 | </div><div·class="memdoc"> |
375 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0078 | 375 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00782_source.html#l00084">84</a>·of·file·<a·class="el"·href="a00782_source.html">bilinearScheme.h</a>.</p> |
376 | </div> | 376 | </div> |
377 | </div> | 377 | </div> |
378 | <a·id="ab38c56ce6121aed94f2796bf5df894be"·name="ab38c56ce6121aed94f2796bf5df894be"></a> | 378 | <a·id="ab38c56ce6121aed94f2796bf5df894be"·name="ab38c56ce6121aed94f2796bf5df894be"></a> |
379 | <h2·class="memtitle"><span·class="permalink"><a·href="#ab38c56ce6121aed94f2796bf5df894be">◆ </a></span>assignCornerLimitMask()·<span·class="overload">[2/4]</span></h2> | 379 | <h2·class="memtitle"><span·class="permalink"><a·href="#ab38c56ce6121aed94f2796bf5df894be">◆ </a></span>assignCornerLimitMask()·<span·class="overload">[2/4]</span></h2> |
380 | <div·class="memitem"> | 380 | <div·class="memitem"> |
Offset 407, 15 lines modified | Offset 407, 15 lines modified | ||
407 | ··</td> | 407 | ··</td> |
408 | ··<td·class="mlabels-right"> | 408 | ··<td·class="mlabels-right"> |
409 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td> | 409 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td> |
410 | ··</tr> | 410 | ··</tr> |
411 | </table> | 411 | </table> |
412 | </div><div·class="memdoc"> | 412 | </div><div·class="memdoc"> |
413 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0078 | 413 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00785_source.html#l00208">208</a>·of·file·<a·class="el"·href="a00785_source.html">catmarkScheme.h</a>.</p> |
414 | </div> | 414 | </div> |
415 | </div> | 415 | </div> |
416 | <a·id="ab38c56ce6121aed94f2796bf5df894be"·name="ab38c56ce6121aed94f2796bf5df894be"></a> | 416 | <a·id="ab38c56ce6121aed94f2796bf5df894be"·name="ab38c56ce6121aed94f2796bf5df894be"></a> |
417 | <h2·class="memtitle"><span·class="permalink"><a·href="#ab38c56ce6121aed94f2796bf5df894be">◆ </a></span>assignCornerLimitMask()·<span·class="overload">[3/4]</span></h2> | 417 | <h2·class="memtitle"><span·class="permalink"><a·href="#ab38c56ce6121aed94f2796bf5df894be">◆ </a></span>assignCornerLimitMask()·<span·class="overload">[3/4]</span></h2> |
418 | <div·class="memitem"> | 418 | <div·class="memitem"> |
Offset 529, 15 lines modified | Offset 529, 15 lines modified | ||
529 | ··</td> | 529 | ··</td> |
530 | ··<td·class="mlabels-right"> | 530 | ··<td·class="mlabels-right"> |
531 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td> | 531 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td> |
532 | ··</tr> | 532 | ··</tr> |
533 | </table> | 533 | </table> |
534 | </div><div·class="memdoc"> | 534 | </div><div·class="memdoc"> |
535 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0078 | 535 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00782_source.html#l00118">118</a>·of·file·<a·class="el"·href="a00782_source.html">bilinearScheme.h</a>.</p> |
536 | </div> | 536 | </div> |
537 | </div> | 537 | </div> |
538 | <a·id="ae9ee7f11f51ec6ff8c43ab0729454b54"·name="ae9ee7f11f51ec6ff8c43ab0729454b54"></a> | 538 | <a·id="ae9ee7f11f51ec6ff8c43ab0729454b54"·name="ae9ee7f11f51ec6ff8c43ab0729454b54"></a> |
539 | <h2·class="memtitle"><span·class="permalink"><a·href="#ae9ee7f11f51ec6ff8c43ab0729454b54">◆ </a></span>assignCornerLimitTangentMasks()·<span·class="overload">[2/4]</span></h2> | 539 | <h2·class="memtitle"><span·class="permalink"><a·href="#ae9ee7f11f51ec6ff8c43ab0729454b54">◆ </a></span>assignCornerLimitTangentMasks()·<span·class="overload">[2/4]</span></h2> |
540 | <div·class="memitem"> | 540 | <div·class="memitem"> |
Offset 619, 15 lines modified | Offset 619, 15 lines modified | ||
619 | ··</td> | 619 | ··</td> |
620 | ··<td·class="mlabels-right"> | 620 | ··<td·class="mlabels-right"> |
621 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td> | 621 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td> |
622 | ··</tr> | 622 | ··</tr> |
623 | </table> | 623 | </table> |
624 | </div><div·class="memdoc"> | 624 | </div><div·class="memdoc"> |
625 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0078 | 625 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00785_source.html#l00301">301</a>·of·file·<a·class="el"·href="a00785_source.html">catmarkScheme.h</a>.</p> |
626 | </div> | 626 | </div> |
627 | </div> | 627 | </div> |
628 | <a·id="adfe86b1bf62ea328adddf4e5c4b01049"·name="adfe86b1bf62ea328adddf4e5c4b01049"></a> | 628 | <a·id="adfe86b1bf62ea328adddf4e5c4b01049"·name="adfe86b1bf62ea328adddf4e5c4b01049"></a> |
629 | <h2·class="memtitle"><span·class="permalink"><a·href="#adfe86b1bf62ea328adddf4e5c4b01049">◆ </a></span>assignCornerLimitTangentMasks()·<span·class="overload">[4/4]</span></h2> | 629 | <h2·class="memtitle"><span·class="permalink"><a·href="#adfe86b1bf62ea328adddf4e5c4b01049">◆ </a></span>assignCornerLimitTangentMasks()·<span·class="overload">[4/4]</span></h2> |
630 | <div·class="memitem"> | 630 | <div·class="memitem"> |
Offset 833, 15 lines modified | Offset 833, 15 lines modified | ||
833 | ··</td> | 833 | ··</td> |
834 | ··<td·class="mlabels-right"> | 834 | ··<td·class="mlabels-right"> |
835 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td> | 835 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td> |
836 | ··</tr> | 836 | ··</tr> |
837 | </table> | 837 | </table> |
838 | </div><div·class="memdoc"> | 838 | </div><div·class="memdoc"> |
839 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0078 | 839 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00785_source.html#l00221">221</a>·of·file·<a·class="el"·href="a00785_source.html">catmarkScheme.h</a>.</p> |
840 | </div> | 840 | </div> |
841 | </div> | 841 | </div> |
842 | <a·id="ad439ba00463a7af51cf821692d6cc2e3"·name="ad439ba00463a7af51cf821692d6cc2e3"></a> | 842 | <a·id="ad439ba00463a7af51cf821692d6cc2e3"·name="ad439ba00463a7af51cf821692d6cc2e3"></a> |
843 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad439ba00463a7af51cf821692d6cc2e3">◆ </a></span>assignCreaseLimitMask()·<span·class="overload">[3/4]</span></h2> | 843 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad439ba00463a7af51cf821692d6cc2e3">◆ </a></span>assignCreaseLimitMask()·<span·class="overload">[3/4]</span></h2> |
844 | <div·class="memitem"> | 844 | <div·class="memitem"> |
Offset 921, 15 lines modified | Offset 921, 15 lines modified | ||
921 | ··</td> | 921 | ··</td> |
922 | ··<td·class="mlabels-right"> | 922 | ··<td·class="mlabels-right"> |
923 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td> | 923 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td> |
924 | ··</tr> | 924 | ··</tr> |
925 | </table> | 925 | </table> |
926 | </div><div·class="memdoc"> | 926 | </div><div·class="memdoc"> |
927 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0078 | 927 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00782_source.html#l00097">97</a>·of·file·<a·class="el"·href="a00782_source.html">bilinearScheme.h</a>.</p> |
928 | </div> | 928 | </div> |
929 | </div> | 929 | </div> |
930 | <a·id="a4f8e559b93bbaf26ea0d40b1fa2f194f"·name="a4f8e559b93bbaf26ea0d40b1fa2f194f"></a> | 930 | <a·id="a4f8e559b93bbaf26ea0d40b1fa2f194f"·name="a4f8e559b93bbaf26ea0d40b1fa2f194f"></a> |
931 | <h2·class="memtitle"><span·class="permalink"><a·href="#a4f8e559b93bbaf26ea0d40b1fa2f194f">◆ </a></span>assignCreaseLimitTangentMasks()·<span·class="overload">[1/4]</span></h2> | 931 | <h2·class="memtitle"><span·class="permalink"><a·href="#a4f8e559b93bbaf26ea0d40b1fa2f194f">◆ </a></span>assignCreaseLimitTangentMasks()·<span·class="overload">[1/4]</span></h2> |
932 | <div·class="memitem"> | 932 | <div·class="memitem"> |
Offset 1023, 15 lines modified | Offset 1023, 15 lines modified | ||
1023 | ··</td> | 1023 | ··</td> |
1024 | ··<td·class="mlabels-right"> | 1024 | ··<td·class="mlabels-right"> |
1025 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td> | 1025 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td> |
1026 | ··</tr> | 1026 | ··</tr> |
1027 | </table> | 1027 | </table> |
1028 | </div><div·class="memdoc"> | 1028 | </div><div·class="memdoc"> |
1029 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0078 | 1029 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00785_source.html#l00334">334</a>·of·file·<a·class="el"·href="a00785_source.html">catmarkScheme.h</a>.</p> |
1030 | </div> | 1030 | </div> |
1031 | </div> | 1031 | </div> |
1032 | <a·id="a2ef69ac92171507161acb0c0af01d6f2"·name="a2ef69ac92171507161acb0c0af01d6f2"></a> | 1032 | <a·id="a2ef69ac92171507161acb0c0af01d6f2"·name="a2ef69ac92171507161acb0c0af01d6f2"></a> |
1033 | <h2·class="memtitle"><span·class="permalink"><a·href="#a2ef69ac92171507161acb0c0af01d6f2">◆ </a></span>assignCreaseLimitTangentMasks()·<span·class="overload">[3/4]</span></h2> | 1033 | <h2·class="memtitle"><span·class="permalink"><a·href="#a2ef69ac92171507161acb0c0af01d6f2">◆ </a></span>assignCreaseLimitTangentMasks()·<span·class="overload">[3/4]</span></h2> |
1034 | <div·class="memitem"> | 1034 | <div·class="memitem"> |
Offset 1123, 15 lines modified | Offset 1123, 15 lines modified | ||
1123 | ··</td> | 1123 | ··</td> |
1124 | ··<td·class="mlabels-right"> | 1124 | ··<td·class="mlabels-right"> |
1125 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td> | 1125 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td> |
1126 | ··</tr> | 1126 | ··</tr> |
1127 | </table> | 1127 | </table> |
1128 | </div><div·class="memdoc"> | 1128 | </div><div·class="memdoc"> |
1129 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0078 | 1129 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00782_source.html#l00143">143</a>·of·file·<a·class="el"·href="a00782_source.html">bilinearScheme.h</a>.</p> |
1130 | </div> | 1130 | </div> |
1131 | </div> | 1131 | </div> |
1132 | <a·id="a0b9bc37795aeebc3e732c117a5934426"·name="a0b9bc37795aeebc3e732c117a5934426"></a> | 1132 | <a·id="a0b9bc37795aeebc3e732c117a5934426"·name="a0b9bc37795aeebc3e732c117a5934426"></a> |
1133 | <h2·class="memtitle"><span·class="permalink"><a·href="#a0b9bc37795aeebc3e732c117a5934426">◆ </a></span>assignCreaseMaskForEdge()·<span·class="overload">[1/2]</span></h2> | 1133 | <h2·class="memtitle"><span·class="permalink"><a·href="#a0b9bc37795aeebc3e732c117a5934426">◆ </a></span>assignCreaseMaskForEdge()·<span·class="overload">[1/2]</span></h2> |
1134 | <div·class="memitem"> | 1134 | <div·class="memitem"> |
Max diff block lines reached; 14437/21471 bytes (67.24%) of diff not shown. |
Offset 95, 83 lines modified | Offset 95, 83 lines modified | ||
95 | </div><!--header--> | 95 | </div><!--header--> |
96 | <div·class="contents"> | 96 | <div·class="contents"> |
97 | <table·class="memberdecls"> | 97 | <table·class="memberdecls"> |
98 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> | 98 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> |
99 | Files</h2></td></tr> | 99 | Files</h2></td></tr> |
100 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00899_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00899.html">bufferDescriptor.h</a></td></tr> | 100 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00899_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00899.html">bufferDescriptor.h</a></td></tr> |
101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0080 | 102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00803_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00803.html">clEvaluator.h</a></td></tr> |
103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
104 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00800_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00800.html">clPatchTable.h</a></td></tr> | 104 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00800_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00800.html">clPatchTable.h</a></td></tr> |
105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0079 | 106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00797_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00797.html">clVertexBuffer.h</a></td></tr> |
107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0084 | 108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00842_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00842.html">cpuD3D11VertexBuffer.h</a></td></tr> |
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00896_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00896.html">cpuEvaluator.h</a></td></tr> | 110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00896_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00896.html">cpuEvaluator.h</a></td></tr> |
111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
112 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00869_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00869.html">cpuGLVertexBuffer.h</a></td></tr> | 112 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00869_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00869.html">cpuGLVertexBuffer.h</a></td></tr> |
113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
114 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00893_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00893.html">cpuPatchTable.h</a></td></tr> | 114 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00893_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00893.html">cpuPatchTable.h</a></td></tr> |
115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
116 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00890_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00890.html">cpuVertexBuffer.h</a></td></tr> | 116 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00890_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00890.html">cpuVertexBuffer.h</a></td></tr> |
117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
118 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0079 | 118 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00794_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00794.html">cudaEvaluator.h</a></td></tr> |
119 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 119 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
120 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00788_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00788.html">cudaPatchTable.h</a></td></tr> | 120 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00788_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00788.html">cudaPatchTable.h</a></td></tr> |
121 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 121 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
122 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00902_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00902.html">cudaVertexBuffer.h</a></td></tr> | 122 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00902_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00902.html">cudaVertexBuffer.h</a></td></tr> |
123 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 123 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
124 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0084 | 124 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00845_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00845.html">d3d11ComputeEvaluator.h</a></td></tr> |
125 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 125 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
126 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00839_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00839.html">d3d11LegacyGregoryPatchTable.h</a></td></tr> | 126 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00839_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00839.html">d3d11LegacyGregoryPatchTable.h</a></td></tr> |
127 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 127 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
128 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a008 | 128 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00830_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00830.html">d3d11Mesh.h</a></td></tr> |
129 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 129 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
130 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00836_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00836.html">d3d11PatchTable.h</a></td></tr> | 130 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00836_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00836.html">d3d11PatchTable.h</a></td></tr> |
131 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 131 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
132 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00833_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00833.html">d3d11VertexBuffer.h</a></td></tr> | 132 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00833_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00833.html">d3d11VertexBuffer.h</a></td></tr> |
133 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 133 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
134 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00848_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00848.html">glComputeEvaluator.h</a></td></tr> | 134 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00848_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00848.html">glComputeEvaluator.h</a></td></tr> |
135 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 135 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
136 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0086 | 136 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00866_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00866.html">glLegacyGregoryPatchTable.h</a></td></tr> |
137 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 137 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
138 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00857_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00857.html">glMesh.h</a></td></tr> | 138 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00857_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00857.html">glMesh.h</a></td></tr> |
139 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 139 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
140 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0086 | 140 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00860_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00860.html">glPatchTable.h</a></td></tr> |
141 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 141 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
142 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00854_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00854.html">glslPatchShaderSource.h</a></td></tr> | 142 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00854_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00854.html">glslPatchShaderSource.h</a></td></tr> |
143 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 143 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
144 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0086 | 144 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00863_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00863.html">glVertexBuffer.h</a></td></tr> |
145 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 145 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
146 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00851_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00851.html">glXFBEvaluator.h</a></td></tr> | 146 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00851_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00851.html">glXFBEvaluator.h</a></td></tr> |
147 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 147 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
148 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a008 | 148 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00827_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00827.html">hlslPatchShaderSource.h</a></td></tr> |
149 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 149 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
150 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00887_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00887.html">mesh.h</a></td></tr> | 150 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00887_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00887.html">mesh.h</a></td></tr> |
151 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 151 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
152 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0080 | 152 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00806_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00806.html">mtlCommon.h</a></td></tr> |
153 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 153 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
154 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00821_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00821.html">mtlComputeEvaluator.h</a></td></tr> | 154 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00821_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00821.html">mtlComputeEvaluator.h</a></td></tr> |
155 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 155 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
156 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00818_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00818.html">mtlLegacyGregoryPatchTable.h</a></td></tr> | 156 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00818_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00818.html">mtlLegacyGregoryPatchTable.h</a></td></tr> |
157 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 157 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
158 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a008 | 158 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00812_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00812.html">mtlMesh.h</a></td></tr> |
159 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 159 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
160 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a008 | 160 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00809_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00809.html">mtlPatchShaderSource.h</a></td></tr> |
161 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 161 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
162 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00815_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00815.html">mtlPatchTable.h</a></td></tr> | 162 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00815_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00815.html">mtlPatchTable.h</a></td></tr> |
163 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 163 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
164 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00824_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00824.html">mtlVertexBuffer.h</a></td></tr> | 164 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00824_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00824.html">mtlVertexBuffer.h</a></td></tr> |
165 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 165 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
166 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a008 | 166 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00881_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00881.html">ompEvaluator.h</a></td></tr> |
167 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 167 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
168 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a008 | 168 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00878_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00878.html">ompKernel.h</a></td></tr> |
169 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 169 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
170 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0079 | 170 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00791_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00791.html">opencl.h</a></td></tr> |
171 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 171 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
172 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00884_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00884.html">opengl.h</a></td></tr> | 172 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00884_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00884.html">opengl.h</a></td></tr> |
173 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 173 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
174 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00875_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00875.html">tbbEvaluator.h</a></td></tr> | 174 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00875_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00875.html">tbbEvaluator.h</a></td></tr> |
175 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 175 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
176 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00872_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00872.html">tbbKernel.h</a></td></tr> | 176 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00872_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00872.html">tbbKernel.h</a></td></tr> |
177 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 177 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 1, 42 lines modified | Offset 1, 42 lines modified | ||
1 | var·dir_2483050b711c1829a6434006d0beb10c·=·[ | 1 | var·dir_2483050b711c1829a6434006d0beb10c·=·[ |
2 | ····["bufferDescriptor.h",·"a00899.html",·"a00899"], | 2 | ····["bufferDescriptor.h",·"a00899.html",·"a00899"], |
3 | ····["clEvaluator.h",·"a0080 | 3 | ····["clEvaluator.h",·"a00803.html",·"a00803"], |
4 | ····["clPatchTable.h",·"a00800.html",·"a00800"], | 4 | ····["clPatchTable.h",·"a00800.html",·"a00800"], |
5 | ····["clVertexBuffer.h",·"a0079 | 5 | ····["clVertexBuffer.h",·"a00797.html",·"a00797"], |
6 | ····["cpuD3D11VertexBuffer.h",·"a0084 | 6 | ····["cpuD3D11VertexBuffer.h",·"a00842.html",·"a00842"], |
7 | ····["cpuEvaluator.h",·"a00896.html",·"a00896"], | 7 | ····["cpuEvaluator.h",·"a00896.html",·"a00896"], |
8 | ····["cpuGLVertexBuffer.h",·"a00869.html",·"a00869"], | 8 | ····["cpuGLVertexBuffer.h",·"a00869.html",·"a00869"], |
9 | ····["cpuPatchTable.h",·"a00893.html",·"a00893"], | 9 | ····["cpuPatchTable.h",·"a00893.html",·"a00893"], |
10 | ····["cpuVertexBuffer.h",·"a00890.html",·"a00890"], | 10 | ····["cpuVertexBuffer.h",·"a00890.html",·"a00890"], |
11 | ····["cudaEvaluator.h",·"a0079 | 11 | ····["cudaEvaluator.h",·"a00794.html",·"a00794"], |
12 | ····["cudaPatchTable.h",·"a00788.html",·"a00788"], | 12 | ····["cudaPatchTable.h",·"a00788.html",·"a00788"], |
13 | ····["cudaVertexBuffer.h",·"a00902.html",·"a00902"], | 13 | ····["cudaVertexBuffer.h",·"a00902.html",·"a00902"], |
14 | ····["d3d11ComputeEvaluator.h",·"a0084 | 14 | ····["d3d11ComputeEvaluator.h",·"a00845.html",·"a00845"], |
15 | ····["d3d11LegacyGregoryPatchTable.h",·"a00839.html",·"a00839"], | 15 | ····["d3d11LegacyGregoryPatchTable.h",·"a00839.html",·"a00839"], |
16 | ····["d3d11Mesh.h",·"a008 | 16 | ····["d3d11Mesh.h",·"a00830.html",·"a00830"], |
17 | ····["d3d11PatchTable.h",·"a00836.html",·"a00836"], | 17 | ····["d3d11PatchTable.h",·"a00836.html",·"a00836"], |
18 | ····["d3d11VertexBuffer.h",·"a00833.html",·"a00833"], | 18 | ····["d3d11VertexBuffer.h",·"a00833.html",·"a00833"], |
19 | ····["glComputeEvaluator.h",·"a00848.html",·"a00848"], | 19 | ····["glComputeEvaluator.h",·"a00848.html",·"a00848"], |
20 | ····["glLegacyGregoryPatchTable.h",·"a0086 | 20 | ····["glLegacyGregoryPatchTable.h",·"a00866.html",·"a00866"], |
21 | ····["glMesh.h",·"a00857.html",·"a00857"], | 21 | ····["glMesh.h",·"a00857.html",·"a00857"], |
22 | ····["glPatchTable.h",·"a0086 | 22 | ····["glPatchTable.h",·"a00860.html",·"a00860"], |
23 | ····["glslPatchShaderSource.h",·"a00854.html",·"a00854"], | 23 | ····["glslPatchShaderSource.h",·"a00854.html",·"a00854"], |
24 | ····["glVertexBuffer.h",·"a0086 | 24 | ····["glVertexBuffer.h",·"a00863.html",·"a00863"], |
25 | ····["glXFBEvaluator.h",·"a00851.html",·"a00851"], | 25 | ····["glXFBEvaluator.h",·"a00851.html",·"a00851"], |
26 | ····["hlslPatchShaderSource.h",·"a008 | 26 | ····["hlslPatchShaderSource.h",·"a00827.html",·"a00827"], |
27 | ····["mesh.h",·"a00887.html",·"a00887"], | 27 | ····["mesh.h",·"a00887.html",·"a00887"], |
28 | ····["mtlCommon.h",·"a0080 | 28 | ····["mtlCommon.h",·"a00806.html",·"a00806"], |
29 | ····["mtlComputeEvaluator.h",·"a00821.html",·"a00821"], | 29 | ····["mtlComputeEvaluator.h",·"a00821.html",·"a00821"], |
30 | ····["mtlLegacyGregoryPatchTable.h",·"a00818.html",·"a00818"], | 30 | ····["mtlLegacyGregoryPatchTable.h",·"a00818.html",·"a00818"], |
31 | ····["mtlMesh.h",·"a008 | 31 | ····["mtlMesh.h",·"a00812.html",·"a00812"], |
32 | ····["mtlPatchShaderSource.h",·"a008 | 32 | ····["mtlPatchShaderSource.h",·"a00809.html",·"a00809"], |
33 | ····["mtlPatchTable.h",·"a00815.html",·"a00815"], | 33 | ····["mtlPatchTable.h",·"a00815.html",·"a00815"], |
34 | ····["mtlVertexBuffer.h",·"a00824.html",·"a00824"], | 34 | ····["mtlVertexBuffer.h",·"a00824.html",·"a00824"], |
35 | ····["ompEvaluator.h",·"a008 | 35 | ····["ompEvaluator.h",·"a00881.html",·"a00881"], |
36 | ····["ompKernel.h",·"a008 | 36 | ····["ompKernel.h",·"a00878.html",·"a00878"], |
37 | ····["opencl.h",·"a0079 | 37 | ····["opencl.h",·"a00791.html",·null], |
38 | ····["opengl.h",·"a00884.html",·null], | 38 | ····["opengl.h",·"a00884.html",·null], |
39 | ····["tbbEvaluator.h",·"a00875.html",·"a00875"], | 39 | ····["tbbEvaluator.h",·"a00875.html",·"a00875"], |
40 | ····["tbbKernel.h",·"a00872.html",·"a00872"], | 40 | ····["tbbKernel.h",·"a00872.html",·"a00872"], |
41 | ····["types.h",·"a01481.html",·"a01481"] | 41 | ····["types.h",·"a01481.html",·"a01481"] |
42 | ]; | 42 | ]; |
Offset 103, 25 lines modified | Offset 103, 25 lines modified | ||
103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
104 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00734_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00734.html">patchMap.h</a></td></tr> | 104 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00734_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00734.html">patchMap.h</a></td></tr> |
105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00737_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00737.html">patchParam.h</a></td></tr> | 106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00737_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00737.html">patchParam.h</a></td></tr> |
107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00731_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00731.html">patchTable.h</a></td></tr> | 108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00731_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00731.html">patchTable.h</a></td></tr> |
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0072 | 110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00725_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00725.html">patchTableFactory.h</a></td></tr> |
111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
112 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0072 | 112 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00728_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00728.html">primvarRefiner.h</a></td></tr> |
113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
114 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00722_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00722.html">ptexIndices.h</a></td></tr> | 114 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00722_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00722.html">ptexIndices.h</a></td></tr> |
115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
116 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00719_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00719.html">stencilTable.h</a></td></tr> | 116 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00719_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00719.html">stencilTable.h</a></td></tr> |
117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
118 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0071 | 118 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00716_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00716.html">stencilTableFactory.h</a></td></tr> |
119 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 119 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
120 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0071 | 120 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00713_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00713.html">topologyDescriptor.h</a></td></tr> |
121 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 121 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
122 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00710_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00710.html">topologyLevel.h</a></td></tr> | 122 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00710_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00710.html">topologyLevel.h</a></td></tr> |
123 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 123 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
124 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00704_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00704.html">topologyRefiner.h</a></td></tr> | 124 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00704_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00704.html">topologyRefiner.h</a></td></tr> |
125 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 125 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
126 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00707_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00707.html">topologyRefinerFactory.h</a></td></tr> | 126 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00707_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00707.html">topologyRefinerFactory.h</a></td></tr> |
127 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 127 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 1, 17 lines modified | Offset 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",·"a00734.html",·"a00734"], |
5 | ····["patchParam.h",·"a00737.html",·"a00737"], | 5 | ····["patchParam.h",·"a00737.html",·"a00737"], |
6 | ····["patchTable.h",·"a00731.html",·"a00731"], | 6 | ····["patchTable.h",·"a00731.html",·"a00731"], |
7 | ····["patchTableFactory.h",·"a0072 | 7 | ····["patchTableFactory.h",·"a00725.html",·"a00725"], |
8 | ····["primvarRefiner.h",·"a0072 | 8 | ····["primvarRefiner.h",·"a00728.html",·"a00728"], |
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",·"a0071 | 11 | ····["stencilTableFactory.h",·"a00716.html",·"a00716"], |
12 | ····["topologyDescriptor.h",·"a0071 | 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",·"a00704.html",·"a00704"], |
15 | ····["topologyRefinerFactory.h",·"a00707.html",·"a00707"], | 15 | ····["topologyRefinerFactory.h",·"a00707.html",·"a00707"], |
16 | ····["types.h",·"a01478.html",·"a01478"] | 16 | ····["types.h",·"a01478.html",·"a01478"] |
17 | ]; | 17 | ]; |
Offset 97, 17 lines modified | Offset 97, 17 lines modified | ||
97 | <table·class="memberdecls"> | 97 | <table·class="memberdecls"> |
98 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> | 98 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> |
99 | Files</h2></td></tr> | 99 | Files</h2></td></tr> |
100 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00767_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00767.html">array.h</a></td></tr> | 100 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00767_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00767.html">array.h</a></td></tr> |
101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00764_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00764.html">componentInterfaces.h</a></td></tr> | 102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00764_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00764.html">componentInterfaces.h</a></td></tr> |
103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
104 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a007 | 104 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00761_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00761.html">fvarLevel.h</a></td></tr> |
105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a007 | 106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00758_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00758.html">fvarRefinement.h</a></td></tr> |
107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00755_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00755.html">level.h</a></td></tr> | 108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00755_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00755.html">level.h</a></td></tr> |
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00752_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00752.html">refinement.h</a></td></tr> | 110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00752_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00752.html">refinement.h</a></td></tr> |
111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
112 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00749_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00749.html">sparseSelector.h</a></td></tr> | 112 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00749_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00749.html">sparseSelector.h</a></td></tr> |
113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 1, 11 lines modified | Offset 1, 11 lines modified | ||
1 | var·dir_bd5473d7d5841d48919aaa9ad0cb1f9b·=·[ | 1 | var·dir_bd5473d7d5841d48919aaa9ad0cb1f9b·=·[ |
2 | ····["array.h",·"a00767.html",·"a00767"], | 2 | ····["array.h",·"a00767.html",·"a00767"], |
3 | ····["componentInterfaces.h",·"a00764.html",·null], | 3 | ····["componentInterfaces.h",·"a00764.html",·null], |
4 | ····["fvarLevel.h",·"a007 | 4 | ····["fvarLevel.h",·"a00761.html",·null], |
5 | ····["fvarRefinement.h",·"a007 | 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",·"a00749.html",·null], | 8 | ····["sparseSelector.h",·"a00749.html",·null], |
9 | ····["stackBuffer.h",·"a00746.html",·null], | 9 | ····["stackBuffer.h",·"a00746.html",·null], |
10 | ····["types.h",·"a01487.html",·"a01487"] | 10 | ····["types.h",·"a01487.html",·"a01487"] |
11 | ]; | 11 | ]; |
Offset 93, 17 lines modified | Offset 93, 17 lines modified | ||
93 | <div·class="header"> | 93 | <div·class="header"> |
94 | ··<div·class="headertitle"><div·class="title">sdc·Directory·Reference</div></div> | 94 | ··<div·class="headertitle"><div·class="title">sdc·Directory·Reference</div></div> |
95 | </div><!--header--> | 95 | </div><!--header--> |
96 | <div·class="contents"> | 96 | <div·class="contents"> |
97 | <table·class="memberdecls"> | 97 | <table·class="memberdecls"> |
98 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> | 98 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> |
99 | Files</h2></td></tr> | 99 | Files</h2></td></tr> |
100 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0078 | 100 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00782_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00782.html">bilinearScheme.h</a></td></tr> |
101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0078 | 102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00785_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00785.html">catmarkScheme.h</a></td></tr> |
103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
104 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00779_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00779.html">crease.h</a></td></tr> | 104 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00779_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00779.html">crease.h</a></td></tr> |
105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00776_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00776.html">loopScheme.h</a></td></tr> | 106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00776_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00776.html">loopScheme.h</a></td></tr> |
107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00773_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00773.html">options.h</a></td></tr> | 108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00773_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00773.html">options.h</a></td></tr> |
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 1, 9 lines modified | Offset 1, 9 lines modified | ||
1 | var·dir_f61368944c63c2c1f8c69bc232e59c39·=·[ | 1 | var·dir_f61368944c63c2c1f8c69bc232e59c39·=·[ |
2 | ····["bilinearScheme.h",·"a0078 | 2 | ····["bilinearScheme.h",·"a00782.html",·null], |
3 | ····["catmarkScheme.h",·"a0078 | 3 | ····["catmarkScheme.h",·"a00785.html",·null], |
4 | ····["crease.h",·"a00779.html",·"a00779"], | 4 | ····["crease.h",·"a00779.html",·"a00779"], |
5 | ····["loopScheme.h",·"a00776.html",·null], | 5 | ····["loopScheme.h",·"a00776.html",·null], |
6 | ····["options.h",·"a00773.html",·"a00773"], | 6 | ····["options.h",·"a00773.html",·"a00773"], |
7 | ····["scheme.h",·"a00770.html",·"a00770"], | 7 | ····["scheme.h",·"a00770.html",·"a00770"], |
8 | ····["types.h",·"a01484.html",·"a01484"] | 8 | ····["types.h",·"a01484.html",·"a01484"] |
9 | ]; | 9 | ]; |
Offset 95, 25 lines modified | Offset 95, 25 lines modified | ||
95 | </div><!--header--> | 95 | </div><!--header--> |
96 | <div·class="contents"> | 96 | <div·class="contents"> |
97 | <table·class="memberdecls"> | 97 | <table·class="memberdecls"> |
98 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> | 98 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> |
99 | Files</h2></td></tr> | 99 | Files</h2></td></tr> |
100 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00698_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00698.html">limits.h</a></td></tr> | 100 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00698_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00698.html">limits.h</a></td></tr> |
101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0069 | 102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00692_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00692.html">parameterization.h</a></td></tr> |
103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
104 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0069 | 104 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00695_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00695.html">refinerSurfaceFactory.h</a></td></tr> |
105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00689_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00689.html">surface.h</a></td></tr> | 106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00689_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00689.html">surface.h</a></td></tr> |
107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0068 | 108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00686_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00686.html">surfaceFactory.h</a></td></tr> |
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0068 | 110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00680_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00680.html">surfaceFactoryCache.h</a></td></tr> |
111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
112 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0068 | 112 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00683_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00683.html">surfaceFactoryMeshAdapter.h</a></td></tr> |
113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
114 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00677_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00677.html">tessellation.h</a></td></tr> | 114 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00677_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00677.html">tessellation.h</a></td></tr> |
115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
116 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00674_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00674.html">vertexDescriptor.h</a></td></tr> | 116 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00674_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00674.html">vertexDescriptor.h</a></td></tr> |
117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
118 | </table> | 118 | </table> |
119 | </div><!--·contents·--> | 119 | </div><!--·contents·--> |
Offset 1, 11 lines modified | Offset 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",·"a0069 | 3 | ····["parameterization.h",·"a00692.html",·"a00692"], |
4 | ····["refinerSurfaceFactory.h",·"a0069 | 4 | ····["refinerSurfaceFactory.h",·"a00695.html",·"a00695"], |
5 | ····["surface.h",·"a00689.html",·"a00689"], | 5 | ····["surface.h",·"a00689.html",·"a00689"], |
6 | ····["surfaceFactory.h",·"a0068 | 6 | ····["surfaceFactory.h",·"a00686.html",·"a00686"], |
7 | ····["surfaceFactoryCache.h",·"a0068 | 7 | ····["surfaceFactoryCache.h",·"a00680.html",·"a00680"], |
8 | ····["surfaceFactoryMeshAdapter.h",·"a0068 | 8 | ····["surfaceFactoryMeshAdapter.h",·"a00683.html",·"a00683"], |
9 | ····["tessellation.h",·"a00677.html",·"a00677"], | 9 | ····["tessellation.h",·"a00677.html",·"a00677"], |
10 | ····["vertexDescriptor.h",·"a00674.html",·"a00674"] | 10 | ····["vertexDescriptor.h",·"a00674.html",·"a00674"] |
11 | ]; | 11 | ]; |
Offset 95, 92 lines modified | Offset 95, 92 lines modified | ||
95 | </div><!--header--> | 95 | </div><!--header--> |
96 | <div·class="contents"> | 96 | <div·class="contents"> |
97 | <div·class="textblock">Here·is·a·list·of·all·files·with·brief·descriptions:</div><div·class="directory"> | 97 | <div·class="textblock">Here·is·a·list·of·all·files·with·brief·descriptions:</div><div·class="directory"> |
98 | <div·class="levels">[detail·level·<span·onclick="javascript:toggleLevel(1);">1</span><span·onclick="javascript:toggleLevel(2);">2</span><span·onclick="javascript:toggleLevel(3);">3</span>]</div><table·class="directory"> | 98 | <div·class="levels">[detail·level·<span·onclick="javascript:toggleLevel(1);">1</span><span·onclick="javascript:toggleLevel(2);">2</span><span·onclick="javascript:toggleLevel(3);">3</span>]</div><table·class="directory"> |
99 | <tr·id="row_0_"·class="even"><td·class="entry"><span·style="width:0px;display:inline-block;"> </span><span·id="arr_0_"·class="arrow"·onclick="toggleFolder('0_')">▼</span><span·id="img_0_"·class="iconfopen"·onclick="toggleFolder('0_')"> </span><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html"·target="_self">opensubdiv</a></td><td·class="desc"></td></tr> | 99 | <tr·id="row_0_"·class="even"><td·class="entry"><span·style="width:0px;display:inline-block;"> </span><span·id="arr_0_"·class="arrow"·onclick="toggleFolder('0_')">▼</span><span·id="img_0_"·class="iconfopen"·onclick="toggleFolder('0_')"> </span><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html"·target="_self">opensubdiv</a></td><td·class="desc"></td></tr> |
100 | <tr·id="row_0_0_"·class="odd"><td·class="entry"><span·style="width:16px;display:inline-block;"> </span><span·id="arr_0_0_"·class="arrow"·onclick="toggleFolder('0_0_')">▼</span><span·id="img_0_0_"·class="iconfopen"·onclick="toggleFolder('0_0_')"> </span><a·class="el"·href="dir_fa5edef2a780a73fbfb6a11f1af88ceb.html"·target="_self">bfr</a></td><td·class="desc"></td></tr> | 100 | <tr·id="row_0_0_"·class="odd"><td·class="entry"><span·style="width:16px;display:inline-block;"> </span><span·id="arr_0_0_"·class="arrow"·onclick="toggleFolder('0_0_')">▼</span><span·id="img_0_0_"·class="iconfopen"·onclick="toggleFolder('0_0_')"> </span><a·class="el"·href="dir_fa5edef2a780a73fbfb6a11f1af88ceb.html"·target="_self">bfr</a></td><td·class="desc"></td></tr> |
101 | <tr·id="row_0_0_0_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00698_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00698.html"·target="_self">limits.h</a></td><td·class="desc"></td></tr> | 101 | <tr·id="row_0_0_0_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00698_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00698.html"·target="_self">limits.h</a></td><td·class="desc"></td></tr> |
102 | <tr·id="row_0_0_1_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a0069 | 102 | <tr·id="row_0_0_1_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00692_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00692.html"·target="_self">parameterization.h</a></td><td·class="desc"></td></tr> |
103 | <tr·id="row_0_0_2_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a0069 | 103 | <tr·id="row_0_0_2_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00695_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00695.html"·target="_self">refinerSurfaceFactory.h</a></td><td·class="desc"></td></tr> |
104 | <tr·id="row_0_0_3_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00689_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00689.html"·target="_self">surface.h</a></td><td·class="desc"></td></tr> | 104 | <tr·id="row_0_0_3_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00689_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00689.html"·target="_self">surface.h</a></td><td·class="desc"></td></tr> |
105 | <tr·id="row_0_0_4_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a0068 | 105 | <tr·id="row_0_0_4_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00686_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00686.html"·target="_self">surfaceFactory.h</a></td><td·class="desc"></td></tr> |
106 | <tr·id="row_0_0_5_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a0068 | 106 | <tr·id="row_0_0_5_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00680_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00680.html"·target="_self">surfaceFactoryCache.h</a></td><td·class="desc"></td></tr> |
107 | <tr·id="row_0_0_6_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a0068 | 107 | <tr·id="row_0_0_6_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00683_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00683.html"·target="_self">surfaceFactoryMeshAdapter.h</a></td><td·class="desc"></td></tr> |
108 | <tr·id="row_0_0_7_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00677_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00677.html"·target="_self">tessellation.h</a></td><td·class="desc"></td></tr> | 108 | <tr·id="row_0_0_7_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00677_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00677.html"·target="_self">tessellation.h</a></td><td·class="desc"></td></tr> |
109 | <tr·id="row_0_0_8_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="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> | 109 | <tr·id="row_0_0_8_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00674_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00674.html"·target="_self">vertexDescriptor.h</a></td><td·class="desc"></td></tr> |
110 | <tr·id="row_0_1_"·class="odd"><td·class="entry"><span·style="width:16px;display:inline-block;"> </span><span·id="arr_0_1_"·class="arrow"·onclick="toggleFolder('0_1_')">▼</span><span·id="img_0_1_"·class="iconfopen"·onclick="toggleFolder('0_1_')"> </span><a·class="el"·href="dir_7f420b72a822828cfa8b0561c695a5cc.html"·target="_self">far</a></td><td·class="desc"></td></tr> | 110 | <tr·id="row_0_1_"·class="odd"><td·class="entry"><span·style="width:16px;display:inline-block;"> </span><span·id="arr_0_1_"·class="arrow"·onclick="toggleFolder('0_1_')">▼</span><span·id="img_0_1_"·class="iconfopen"·onclick="toggleFolder('0_1_')"> </span><a·class="el"·href="dir_7f420b72a822828cfa8b0561c695a5cc.html"·target="_self">far</a></td><td·class="desc"></td></tr> |
111 | <tr·id="row_0_1_0_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00743_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00743.html"·target="_self">error.h</a></td><td·class="desc"></td></tr> | 111 | <tr·id="row_0_1_0_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00743_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00743.html"·target="_self">error.h</a></td><td·class="desc"></td></tr> |
112 | <tr·id="row_0_1_1_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00740_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00740.html"·target="_self">patchDescriptor.h</a></td><td·class="desc"></td></tr> | 112 | <tr·id="row_0_1_1_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00740_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00740.html"·target="_self">patchDescriptor.h</a></td><td·class="desc"></td></tr> |
113 | <tr·id="row_0_1_2_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="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> | 113 | <tr·id="row_0_1_2_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00734_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00734.html"·target="_self">patchMap.h</a></td><td·class="desc"></td></tr> |
114 | <tr·id="row_0_1_3_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00737_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00737.html"·target="_self">patchParam.h</a></td><td·class="desc"></td></tr> | 114 | <tr·id="row_0_1_3_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00737_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00737.html"·target="_self">patchParam.h</a></td><td·class="desc"></td></tr> |
115 | <tr·id="row_0_1_4_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="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> | 115 | <tr·id="row_0_1_4_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00731_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00731.html"·target="_self">patchTable.h</a></td><td·class="desc"></td></tr> |
116 | <tr·id="row_0_1_5_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a0072 | 116 | <tr·id="row_0_1_5_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00725_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00725.html"·target="_self">patchTableFactory.h</a></td><td·class="desc"></td></tr> |
117 | <tr·id="row_0_1_6_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a0072 | 117 | <tr·id="row_0_1_6_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00728_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00728.html"·target="_self">primvarRefiner.h</a></td><td·class="desc"></td></tr> |
118 | <tr·id="row_0_1_7_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00722_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00722.html"·target="_self">ptexIndices.h</a></td><td·class="desc"></td></tr> | 118 | <tr·id="row_0_1_7_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00722_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00722.html"·target="_self">ptexIndices.h</a></td><td·class="desc"></td></tr> |
119 | <tr·id="row_0_1_8_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00719_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00719.html"·target="_self">stencilTable.h</a></td><td·class="desc"></td></tr> | 119 | <tr·id="row_0_1_8_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00719_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00719.html"·target="_self">stencilTable.h</a></td><td·class="desc"></td></tr> |
120 | <tr·id="row_0_1_9_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a0071 | 120 | <tr·id="row_0_1_9_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00716_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00716.html"·target="_self">stencilTableFactory.h</a></td><td·class="desc"></td></tr> |
121 | <tr·id="row_0_1_10_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a0071 | 121 | <tr·id="row_0_1_10_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00713_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00713.html"·target="_self">topologyDescriptor.h</a></td><td·class="desc"></td></tr> |
122 | <tr·id="row_0_1_11_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00710_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00710.html"·target="_self">topologyLevel.h</a></td><td·class="desc"></td></tr> | 122 | <tr·id="row_0_1_11_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00710_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00710.html"·target="_self">topologyLevel.h</a></td><td·class="desc"></td></tr> |
123 | <tr·id="row_0_1_12_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </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> | 123 | <tr·id="row_0_1_12_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </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> |
124 | <tr·id="row_0_1_13_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </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> | 124 | <tr·id="row_0_1_13_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </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> |
125 | <tr·id="row_0_1_14_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </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> | 125 | <tr·id="row_0_1_14_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </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> |
126 | <tr·id="row_0_2_"·class="odd"><td·class="entry"><span·style="width:16px;display:inline-block;"> </span><span·id="arr_0_2_"·class="arrow"·onclick="toggleFolder('0_2_')">▼</span><span·id="img_0_2_"·class="iconfopen"·onclick="toggleFolder('0_2_')"> </span><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html"·target="_self">osd</a></td><td·class="desc"></td></tr> | 126 | <tr·id="row_0_2_"·class="odd"><td·class="entry"><span·style="width:16px;display:inline-block;"> </span><span·id="arr_0_2_"·class="arrow"·onclick="toggleFolder('0_2_')">▼</span><span·id="img_0_2_"·class="iconfopen"·onclick="toggleFolder('0_2_')"> </span><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html"·target="_self">osd</a></td><td·class="desc"></td></tr> |
127 | <tr·id="row_0_2_0_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </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> | 127 | <tr·id="row_0_2_0_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </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> |
128 | <tr·id="row_0_2_1_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a0080 | 128 | <tr·id="row_0_2_1_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </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> |
129 | <tr·id="row_0_2_2_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </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> | 129 | <tr·id="row_0_2_2_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </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> |
130 | <tr·id="row_0_2_3_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a0079 | 130 | <tr·id="row_0_2_3_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </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> |
131 | <tr·id="row_0_2_4_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a0084 | 131 | <tr·id="row_0_2_4_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00842_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00842.html"·target="_self">cpuD3D11VertexBuffer.h</a></td><td·class="desc"></td></tr> |
132 | <tr·id="row_0_2_5_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </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> | 132 | <tr·id="row_0_2_5_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </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> |
133 | <tr·id="row_0_2_6_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </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> | 133 | <tr·id="row_0_2_6_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </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> |
134 | <tr·id="row_0_2_7_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </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> | 134 | <tr·id="row_0_2_7_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </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> |
135 | <tr·id="row_0_2_8_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00890_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00890.html"·target="_self">cpuVertexBuffer.h</a></td><td·class="desc"></td></tr> | 135 | <tr·id="row_0_2_8_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00890_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00890.html"·target="_self">cpuVertexBuffer.h</a></td><td·class="desc"></td></tr> |
136 | <tr·id="row_0_2_9_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a0079 | 136 | <tr·id="row_0_2_9_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00794_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00794.html"·target="_self">cudaEvaluator.h</a></td><td·class="desc"></td></tr> |
137 | <tr·id="row_0_2_10_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00788_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00788.html"·target="_self">cudaPatchTable.h</a></td><td·class="desc"></td></tr> | 137 | <tr·id="row_0_2_10_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00788_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00788.html"·target="_self">cudaPatchTable.h</a></td><td·class="desc"></td></tr> |
138 | <tr·id="row_0_2_11_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00902_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00902.html"·target="_self">cudaVertexBuffer.h</a></td><td·class="desc"></td></tr> | 138 | <tr·id="row_0_2_11_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00902_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00902.html"·target="_self">cudaVertexBuffer.h</a></td><td·class="desc"></td></tr> |
139 | <tr·id="row_0_2_12_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a0084 | 139 | <tr·id="row_0_2_12_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00845_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00845.html"·target="_self">d3d11ComputeEvaluator.h</a></td><td·class="desc"></td></tr> |
140 | <tr·id="row_0_2_13_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00839_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00839.html"·target="_self">d3d11LegacyGregoryPatchTable.h</a></td><td·class="desc"></td></tr> | 140 | <tr·id="row_0_2_13_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00839_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00839.html"·target="_self">d3d11LegacyGregoryPatchTable.h</a></td><td·class="desc"></td></tr> |
141 | <tr·id="row_0_2_14_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a008 | 141 | <tr·id="row_0_2_14_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00830_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00830.html"·target="_self">d3d11Mesh.h</a></td><td·class="desc"></td></tr> |
142 | <tr·id="row_0_2_15_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="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> | 142 | <tr·id="row_0_2_15_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00836_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00836.html"·target="_self">d3d11PatchTable.h</a></td><td·class="desc"></td></tr> |
143 | <tr·id="row_0_2_16_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="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> | 143 | <tr·id="row_0_2_16_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00833_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00833.html"·target="_self">d3d11VertexBuffer.h</a></td><td·class="desc"></td></tr> |
144 | <tr·id="row_0_2_17_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00848_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00848.html"·target="_self">glComputeEvaluator.h</a></td><td·class="desc"></td></tr> | 144 | <tr·id="row_0_2_17_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00848_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00848.html"·target="_self">glComputeEvaluator.h</a></td><td·class="desc"></td></tr> |
145 | <tr·id="row_0_2_18_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a0086 | 145 | <tr·id="row_0_2_18_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00866_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00866.html"·target="_self">glLegacyGregoryPatchTable.h</a></td><td·class="desc"></td></tr> |
146 | <tr·id="row_0_2_19_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="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> | 146 | <tr·id="row_0_2_19_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00857_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00857.html"·target="_self">glMesh.h</a></td><td·class="desc"></td></tr> |
147 | <tr·id="row_0_2_20_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a0086 | 147 | <tr·id="row_0_2_20_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00860_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00860.html"·target="_self">glPatchTable.h</a></td><td·class="desc"></td></tr> |
148 | <tr·id="row_0_2_21_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="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> | 148 | <tr·id="row_0_2_21_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00854_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00854.html"·target="_self">glslPatchShaderSource.h</a></td><td·class="desc"></td></tr> |
149 | <tr·id="row_0_2_22_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a0086 | 149 | <tr·id="row_0_2_22_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00863_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00863.html"·target="_self">glVertexBuffer.h</a></td><td·class="desc"></td></tr> |
150 | <tr·id="row_0_2_23_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="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> | 150 | <tr·id="row_0_2_23_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00851_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00851.html"·target="_self">glXFBEvaluator.h</a></td><td·class="desc"></td></tr> |
151 | <tr·id="row_0_2_24_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a008 | 151 | <tr·id="row_0_2_24_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00827_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00827.html"·target="_self">hlslPatchShaderSource.h</a></td><td·class="desc"></td></tr> |
152 | <tr·id="row_0_2_25_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00887_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00887.html"·target="_self">mesh.h</a></td><td·class="desc"></td></tr> | 152 | <tr·id="row_0_2_25_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00887_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00887.html"·target="_self">mesh.h</a></td><td·class="desc"></td></tr> |
153 | <tr·id="row_0_2_26_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a0080 | 153 | <tr·id="row_0_2_26_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00806_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00806.html"·target="_self">mtlCommon.h</a></td><td·class="desc"></td></tr> |
154 | <tr·id="row_0_2_27_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="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> | 154 | <tr·id="row_0_2_27_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00821_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00821.html"·target="_self">mtlComputeEvaluator.h</a></td><td·class="desc"></td></tr> |
155 | <tr·id="row_0_2_28_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="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> | 155 | <tr·id="row_0_2_28_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00818_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00818.html"·target="_self">mtlLegacyGregoryPatchTable.h</a></td><td·class="desc"></td></tr> |
156 | <tr·id="row_0_2_29_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a008 | 156 | <tr·id="row_0_2_29_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00812_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00812.html"·target="_self">mtlMesh.h</a></td><td·class="desc"></td></tr> |
157 | <tr·id="row_0_2_30_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a008 | 157 | <tr·id="row_0_2_30_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00809_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00809.html"·target="_self">mtlPatchShaderSource.h</a></td><td·class="desc"></td></tr> |
158 | <tr·id="row_0_2_31_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00815_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00815.html"·target="_self">mtlPatchTable.h</a></td><td·class="desc"></td></tr> | 158 | <tr·id="row_0_2_31_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00815_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00815.html"·target="_self">mtlPatchTable.h</a></td><td·class="desc"></td></tr> |
159 | <tr·id="row_0_2_32_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00824_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00824.html"·target="_self">mtlVertexBuffer.h</a></td><td·class="desc"></td></tr> | 159 | <tr·id="row_0_2_32_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00824_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00824.html"·target="_self">mtlVertexBuffer.h</a></td><td·class="desc"></td></tr> |
160 | <tr·id="row_0_2_33_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a008 | 160 | <tr·id="row_0_2_33_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00881_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00881.html"·target="_self">ompEvaluator.h</a></td><td·class="desc"></td></tr> |
161 | <tr·id="row_0_2_34_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a008 | 161 | <tr·id="row_0_2_34_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00878_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00878.html"·target="_self">ompKernel.h</a></td><td·class="desc"></td></tr> |
162 | <tr·id="row_0_2_35_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a0079 | 162 | <tr·id="row_0_2_35_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00791_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00791.html"·target="_self">opencl.h</a></td><td·class="desc"></td></tr> |
163 | <tr·id="row_0_2_36_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00884_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00884.html"·target="_self">opengl.h</a></td><td·class="desc"></td></tr> | 163 | <tr·id="row_0_2_36_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00884_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00884.html"·target="_self">opengl.h</a></td><td·class="desc"></td></tr> |
164 | <tr·id="row_0_2_37_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00875_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00875.html"·target="_self">tbbEvaluator.h</a></td><td·class="desc"></td></tr> | 164 | <tr·id="row_0_2_37_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00875_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00875.html"·target="_self">tbbEvaluator.h</a></td><td·class="desc"></td></tr> |
165 | <tr·id="row_0_2_38_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="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> | 165 | <tr·id="row_0_2_38_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00872_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00872.html"·target="_self">tbbKernel.h</a></td><td·class="desc"></td></tr> |
166 | <tr·id="row_0_2_39_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="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> | 166 | <tr·id="row_0_2_39_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </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> |
167 | <tr·id="row_0_3_"·class="even"><td·class="entry"><span·style="width:16px;display:inline-block;"> </span><span·id="arr_0_3_"·class="arrow"·onclick="toggleFolder('0_3_')">▼</span><span·id="img_0_3_"·class="iconfopen"·onclick="toggleFolder('0_3_')"> </span><a·class="el"·href="dir_f61368944c63c2c1f8c69bc232e59c39.html"·target="_self">sdc</a></td><td·class="desc"></td></tr> | 167 | <tr·id="row_0_3_"·class="even"><td·class="entry"><span·style="width:16px;display:inline-block;"> </span><span·id="arr_0_3_"·class="arrow"·onclick="toggleFolder('0_3_')">▼</span><span·id="img_0_3_"·class="iconfopen"·onclick="toggleFolder('0_3_')"> </span><a·class="el"·href="dir_f61368944c63c2c1f8c69bc232e59c39.html"·target="_self">sdc</a></td><td·class="desc"></td></tr> |
168 | <tr·id="row_0_3_0_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a0078 | 168 | <tr·id="row_0_3_0_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00782_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00782.html"·target="_self">bilinearScheme.h</a></td><td·class="desc"></td></tr> |
169 | <tr·id="row_0_3_1_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a0078 | 169 | <tr·id="row_0_3_1_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00785_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00785.html"·target="_self">catmarkScheme.h</a></td><td·class="desc"></td></tr> |
170 | <tr·id="row_0_3_2_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00779_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00779.html"·target="_self">crease.h</a></td><td·class="desc"></td></tr> | 170 | <tr·id="row_0_3_2_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00779_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00779.html"·target="_self">crease.h</a></td><td·class="desc"></td></tr> |
171 | <tr·id="row_0_3_3_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00776_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00776.html"·target="_self">loopScheme.h</a></td><td·class="desc"></td></tr> | 171 | <tr·id="row_0_3_3_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00776_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00776.html"·target="_self">loopScheme.h</a></td><td·class="desc"></td></tr> |
172 | <tr·id="row_0_3_4_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00773_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00773.html"·target="_self">options.h</a></td><td·class="desc"></td></tr> | 172 | <tr·id="row_0_3_4_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00773_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00773.html"·target="_self">options.h</a></td><td·class="desc"></td></tr> |
173 | <tr·id="row_0_3_5_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00770_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00770.html"·target="_self">scheme.h</a></td><td·class="desc"></td></tr> | 173 | <tr·id="row_0_3_5_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00770_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00770.html"·target="_self">scheme.h</a></td><td·class="desc"></td></tr> |
174 | <tr·id="row_0_3_6_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="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> | 174 | <tr·id="row_0_3_6_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </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> |
175 | <tr·id="row_0_4_"·class="even"><td·class="entry"><span·style="width:16px;display:inline-block;"> </span><span·id="arr_0_4_"·class="arrow"·onclick="toggleFolder('0_4_')">▼</span><span·id="img_0_4_"·class="iconfopen"·onclick="toggleFolder('0_4_')"> </span><a·class="el"·href="dir_bd5473d7d5841d48919aaa9ad0cb1f9b.html"·target="_self">vtr</a></td><td·class="desc"></td></tr> | 175 | <tr·id="row_0_4_"·class="even"><td·class="entry"><span·style="width:16px;display:inline-block;"> </span><span·id="arr_0_4_"·class="arrow"·onclick="toggleFolder('0_4_')">▼</span><span·id="img_0_4_"·class="iconfopen"·onclick="toggleFolder('0_4_')"> </span><a·class="el"·href="dir_bd5473d7d5841d48919aaa9ad0cb1f9b.html"·target="_self">vtr</a></td><td·class="desc"></td></tr> |
176 | <tr·id="row_0_4_0_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00767_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00767.html"·target="_self">array.h</a></td><td·class="desc"></td></tr> | 176 | <tr·id="row_0_4_0_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00767_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00767.html"·target="_self">array.h</a></td><td·class="desc"></td></tr> |
177 | <tr·id="row_0_4_1_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00764_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00764.html"·target="_self">componentInterfaces.h</a></td><td·class="desc"></td></tr> | 177 | <tr·id="row_0_4_1_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00764_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00764.html"·target="_self">componentInterfaces.h</a></td><td·class="desc"></td></tr> |
178 | <tr·id="row_0_4_2_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a007 | 178 | <tr·id="row_0_4_2_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00761_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00761.html"·target="_self">fvarLevel.h</a></td><td·class="desc"></td></tr> |
179 | <tr·id="row_0_4_3_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a007 | 179 | <tr·id="row_0_4_3_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00758_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00758.html"·target="_self">fvarRefinement.h</a></td><td·class="desc"></td></tr> |
180 | <tr·id="row_0_4_4_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="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> | 180 | <tr·id="row_0_4_4_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00755_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00755.html"·target="_self">level.h</a></td><td·class="desc"></td></tr> |
181 | <tr·id="row_0_4_5_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="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> | 181 | <tr·id="row_0_4_5_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00752_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00752.html"·target="_self">refinement.h</a></td><td·class="desc"></td></tr> |
182 | <tr·id="row_0_4_6_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="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> | 182 | <tr·id="row_0_4_6_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00749_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00749.html"·target="_self">sparseSelector.h</a></td><td·class="desc"></td></tr> |
183 | <tr·id="row_0_4_7_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00746_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00746.html"·target="_self">stackBuffer.h</a></td><td·class="desc"></td></tr> | 183 | <tr·id="row_0_4_7_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00746_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00746.html"·target="_self">stackBuffer.h</a></td><td·class="desc"></td></tr> |
184 | <tr·id="row_0_4_8_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="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> | 184 | <tr·id="row_0_4_8_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </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> |
185 | </table> | 185 | </table> |
186 | </div><!--·directory·--> | 186 | </div><!--·directory·--> |
Offset 1, 44 lines modified | Offset 1, 44 lines modified | ||
1 | var·NAVTREEINDEX0·=·{ | 1 | var·NAVTREEINDEX0·=·{ |
2 | ····"a00674.html":·[2,·0,·0,·0,·8], | 2 | ····"a00674.html":·[2,·0,·0,·0,·8], |
3 | ····"a00674_source.html":·[2,·0,·0,·0,·8], | 3 | ····"a00674_source.html":·[2,·0,·0,·0,·8], |
4 | ····"a00677.html":·[2,·0,·0,·0,·7], | 4 | ····"a00677.html":·[2,·0,·0,·0,·7], |
5 | ····"a00677_source.html":·[2,·0,·0,·0,·7], | 5 | ····"a00677_source.html":·[2,·0,·0,·0,·7], |
6 | ····"a00680.html":·[2,·0,·0,·0,· | 6 | ····"a00680.html":·[2,·0,·0,·0,·5], |
7 | ····"a00680_source.html":·[2,·0,·0,·0,· | 7 | ····"a00680_source.html":·[2,·0,·0,·0,·5], |
8 | ····"a00683.html":·[2,·0,·0,·0,· | 8 | ····"a00683.html":·[2,·0,·0,·0,·6], |
9 | ····"a00683_source.html":·[2,·0,·0,·0,· | 9 | ····"a00683_source.html":·[2,·0,·0,·0,·6], |
10 | ····"a00686.html":·[2,·0,·0,·0,· | 10 | ····"a00686.html":·[2,·0,·0,·0,·4], |
11 | ····"a00686_source.html":·[2,·0,·0,·0,· | 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,· | 14 | ····"a00692.html":·[2,·0,·0,·0,·1], |
15 | ····"a00692_source.html":·[2,·0,·0,·0,· | 15 | ····"a00692_source.html":·[2,·0,·0,·0,·1], |
16 | ····"a00695.html":·[2,·0,·0,·0,· | 16 | ····"a00695.html":·[2,·0,·0,·0,·2], |
17 | ····"a00695_source.html":·[2,·0,·0,·0,· | 17 | ····"a00695_source.html":·[2,·0,·0,·0,·2], |
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,·12], |
21 | ····"a00704_source.html":·[2,·0,·0,·1,·12], | 21 | ····"a00704_source.html":·[2,·0,·0,·1,·12], |
22 | ····"a00707.html":·[2,·0,·0,·1,·13], | 22 | ····"a00707.html":·[2,·0,·0,·1,·13], |
23 | ····"a00707_source.html":·[2,·0,·0,·1,·13], | 23 | ····"a00707_source.html":·[2,·0,·0,·1,·13], |
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,·9], | ||
27 | ····"a00713_source.html":·[2,·0,·0,·1,·9], | ||
28 | ····"a0071 | 26 | ····"a00713.html":·[2,·0,·0,·1,·10], |
29 | ····"a0071 | 27 | ····"a00713_source.html":·[2,·0,·0,·1,·10], |
28 | ····"a00716.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,· | 34 | ····"a00725.html":·[2,·0,·0,·1,·5], |
35 | ····"a00725_source.html":·[2,·0,·0,·1,· | 35 | ····"a00725_source.html":·[2,·0,·0,·1,·5], |
36 | ····"a00728.html":·[2,·0,·0,·1,· | 36 | ····"a00728.html":·[2,·0,·0,·1,·6], |
37 | ····"a00728_source.html":·[2,·0,·0,·1,· | 37 | ····"a00728_source.html":·[2,·0,·0,·1,·6], |
38 | ····"a00731.html":·[2,·0,·0,·1,·4], | 38 | ····"a00731.html":·[2,·0,·0,·1,·4], |
39 | ····"a00731_source.html":·[2,·0,·0,·1,·4], | 39 | ····"a00731_source.html":·[2,·0,·0,·1,·4], |
40 | ····"a00734.html":·[2,·0,·0,·1,·2], | 40 | ····"a00734.html":·[2,·0,·0,·1,·2], |
41 | ····"a00734_source.html":·[2,·0,·0,·1,·2], | 41 | ····"a00734_source.html":·[2,·0,·0,·1,·2], |
42 | ····"a00737.html":·[2,·0,·0,·1,·3], | 42 | ····"a00737.html":·[2,·0,·0,·1,·3], |
43 | ····"a00737.html#a3139c7c52ddf26b2403e8e95ff63eeb3":·[2,·0,·0,·1,·3,·1], | 43 | ····"a00737.html#a3139c7c52ddf26b2403e8e95ff63eeb3":·[2,·0,·0,·1,·3,·1], |
44 | ····"a00737.html#a46ea68db89cc3d55c4191ef7648281ce":·[2,·0,·0,·1,·3,·3], | 44 | ····"a00737.html#a46ea68db89cc3d55c4191ef7648281ce":·[2,·0,·0,·1,·3,·3], |
Offset 65, 109 lines modified | Offset 65, 109 lines modified | ||
65 | ····"a00746_source.html":·[2,·0,·0,·4,·7], | 65 | ····"a00746_source.html":·[2,·0,·0,·4,·7], |
66 | ····"a00749.html":·[2,·0,·0,·4,·6], | 66 | ····"a00749.html":·[2,·0,·0,·4,·6], |
67 | ····"a00749_source.html":·[2,·0,·0,·4,·6], | 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,· | 72 | ····"a00758.html":·[2,·0,·0,·4,·3], |
73 | ····"a00758_source.html":·[2,·0,·0,·4,· | 73 | ····"a00758_source.html":·[2,·0,·0,·4,·3], |
74 | ····"a00761.html":·[2,·0,·0,·4,· | 74 | ····"a00761.html":·[2,·0,·0,·4,·2], |
75 | ····"a00761_source.html":·[2,·0,·0,·4,· | 75 | ····"a00761_source.html":·[2,·0,·0,·4,·2], |
76 | ····"a00764.html":·[2,·0,·0,·4,·1], | 76 | ····"a00764.html":·[2,·0,·0,·4,·1], |
77 | ····"a00764_source.html":·[2,·0,·0,·4,·1], | 77 | ····"a00764_source.html":·[2,·0,·0,·4,·1], |
78 | ····"a00767.html":·[2,·0,·0,·4,·0], | 78 | ····"a00767.html":·[2,·0,·0,·4,·0], |
79 | ····"a00767_source.html":·[2,·0,·0,·4,·0], | 79 | ····"a00767_source.html":·[2,·0,·0,·4,·0], |
80 | ····"a00770.html":·[2,·0,·0,·3,·5], | 80 | ····"a00770.html":·[2,·0,·0,·3,·5], |
81 | ····"a00770_source.html":·[2,·0,·0,·3,·5], | 81 | ····"a00770_source.html":·[2,·0,·0,·3,·5], |
82 | ····"a00773.html":·[2,·0,·0,·3,·4], | 82 | ····"a00773.html":·[2,·0,·0,·3,·4], |
83 | ····"a00773_source.html":·[2,·0,·0,·3,·4], | 83 | ····"a00773_source.html":·[2,·0,·0,·3,·4], |
84 | ····"a00776.html":·[2,·0,·0,·3,·3], | 84 | ····"a00776.html":·[2,·0,·0,·3,·3], |
85 | ····"a00776_source.html":·[2,·0,·0,·3,·3], | 85 | ····"a00776_source.html":·[2,·0,·0,·3,·3], |
86 | ····"a00779.html":·[2,·0,·0,·3,·2], | 86 | ····"a00779.html":·[2,·0,·0,·3,·2], |
87 | ····"a00779_source.html":·[2,·0,·0,·3,·2], | 87 | ····"a00779_source.html":·[2,·0,·0,·3,·2], |
88 | ····"a00782.html":·[2,·0,·0,·3,· | 88 | ····"a00782.html":·[2,·0,·0,·3,·0], |
89 | ····"a00782_source.html":·[2,·0,·0,·3,· | 89 | ····"a00782_source.html":·[2,·0,·0,·3,·0], |
90 | ····"a00785.html":·[2,·0,·0,·3,· | 90 | ····"a00785.html":·[2,·0,·0,·3,·1], |
91 | ····"a00785_source.html":·[2,·0,·0,·3,· | 91 | ····"a00785_source.html":·[2,·0,·0,·3,·1], |
92 | ····"a00788.html":·[2,·0,·0,·2,·10], | 92 | ····"a00788.html":·[2,·0,·0,·2,·10], |
93 | ····"a00788_source.html":·[2,·0,·0,·2,·10], | 93 | ····"a00788_source.html":·[2,·0,·0,·2,·10], |
94 | ····"a00791.html":·[2,·0,·0,·2,·35], | ||
95 | ····"a00791_source.html":·[2,·0,·0,·2,·35], | ||
94 | ····"a0079 | 96 | ····"a00794.html":·[2,·0,·0,·2,·9], |
95 | ····"a0079 | 97 | ····"a00794_source.html":·[2,·0,·0,·2,·9], |
96 | ····"a00794.html":·[2,·0,·0,·2,·3], | ||
97 | ····"a00794_source.html":·[2,·0,·0,·2,·3], | ||
98 | ····"a00797.html":·[2,·0,·0,·2,·3 | 98 | ····"a00797.html":·[2,·0,·0,·2,·3], |
99 | ····"a00797_source.html":·[2,·0,·0,·2,·3 | 99 | ····"a00797_source.html":·[2,·0,·0,·2,·3], |
100 | ····"a00800.html":·[2,·0,·0,·2,·2], | 100 | ····"a00800.html":·[2,·0,·0,·2,·2], |
101 | ····"a00800_source.html":·[2,·0,·0,·2,·2], | 101 | ····"a00800_source.html":·[2,·0,·0,·2,·2], |
102 | ····"a00803.html":·[2,·0,·0,·2,·1], | ||
103 | ····"a00803_source.html":·[2,·0,·0,·2,·1], | ||
102 | ····"a0080 | 104 | ····"a00806.html":·[2,·0,·0,·2,·26], |
103 | ····"a0080 | 105 | ····"a00806_source.html":·[2,·0,·0,·2,·26], |
104 | ····"a00806.html":·[2,·0,·0,·2,·1], | ||
105 | ····"a00806_source.html":·[2,·0,·0,·2,·1], | ||
106 | ····"a00809.html":·[2,·0,·0,·2,· | 106 | ····"a00809.html":·[2,·0,·0,·2,·30], |
107 | ····"a00809_source.html":·[2,·0,·0,·2,·30], | ||
108 | ····"a00812.html":·[2,·0,·0,·2,·29], | ||
107 | ····"a008 | 109 | ····"a00812.html#aa41e5b43fe46eeb0f97ff6ebdb1935aa":·[2,·0,·0,·2,·29,·0], |
108 | ····"a008 | 110 | ····"a00812_source.html":·[2,·0,·0,·2,·29], |
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], | 111 | ····"a00815.html":·[2,·0,·0,·2,·31], |
112 | ····"a00815_source.html":·[2,·0,·0,·2,·31], | 112 | ····"a00815_source.html":·[2,·0,·0,·2,·31], |
113 | ····"a00818.html":·[2,·0,·0,·2,·28], | 113 | ····"a00818.html":·[2,·0,·0,·2,·28], |
114 | ····"a00818_source.html":·[2,·0,·0,·2,·28], | 114 | ····"a00818_source.html":·[2,·0,·0,·2,·28], |
115 | ····"a00821.html":·[2,·0,·0,·2,·27], | 115 | ····"a00821.html":·[2,·0,·0,·2,·27], |
116 | ····"a00821_source.html":·[2,·0,·0,·2,·27], | 116 | ····"a00821_source.html":·[2,·0,·0,·2,·27], |
117 | ····"a00824.html":·[2,·0,·0,·2,·32], | 117 | ····"a00824.html":·[2,·0,·0,·2,·32], |
118 | ····"a00824_source.html":·[2,·0,·0,·2,·32], | 118 | ····"a00824_source.html":·[2,·0,·0,·2,·32], |
119 | ····"a00827.html":·[2,·0,·0,·2,· | 119 | ····"a00827.html":·[2,·0,·0,·2,·24], |
120 | ····"a00827.html#ae5c8e80d05d6eaee105d8eecfa9ab609":·[2,·0,·0,·2,·14,·0], | ||
121 | ····"a00827_source.html":·[2,·0,·0,·2,· | 120 | ····"a00827_source.html":·[2,·0,·0,·2,·24], |
122 | ····"a00830.html":·[2,·0,·0,·2,· | 121 | ····"a00830.html":·[2,·0,·0,·2,·14], |
122 | ····"a00830.html#ae5c8e80d05d6eaee105d8eecfa9ab609":·[2,·0,·0,·2,·14,·0], | ||
123 | ····"a00830_source.html":·[2,·0,·0,·2,· | 123 | ····"a00830_source.html":·[2,·0,·0,·2,·14], |
124 | ····"a00833.html":·[2,·0,·0,·2,·16], | 124 | ····"a00833.html":·[2,·0,·0,·2,·16], |
125 | ····"a00833_source.html":·[2,·0,·0,·2,·16], | 125 | ····"a00833_source.html":·[2,·0,·0,·2,·16], |
126 | ····"a00836.html":·[2,·0,·0,·2,·15], | 126 | ····"a00836.html":·[2,·0,·0,·2,·15], |
127 | ····"a00836_source.html":·[2,·0,·0,·2,·15], | 127 | ····"a00836_source.html":·[2,·0,·0,·2,·15], |
128 | ····"a00839.html":·[2,·0,·0,·2,·13], | 128 | ····"a00839.html":·[2,·0,·0,·2,·13], |
129 | ····"a00839_source.html":·[2,·0,·0,·2,·13], | 129 | ····"a00839_source.html":·[2,·0,·0,·2,·13], |
130 | ····"a00842.html":·[2,·0,·0,·2,·4], | ||
131 | ····"a00842_source.html":·[2,·0,·0,·2,·4], | ||
130 | ····"a0084 | 132 | ····"a00845.html":·[2,·0,·0,·2,·12], |
131 | ····"a0084 | 133 | ····"a00845_source.html":·[2,·0,·0,·2,·12], |
132 | ····"a00845.html":·[2,·0,·0,·2,·4], | ||
133 | ····"a00845_source.html":·[2,·0,·0,·2,·4], | ||
134 | ····"a00848.html":·[2,·0,·0,·2,·17], | 134 | ····"a00848.html":·[2,·0,·0,·2,·17], |
135 | ····"a00848_source.html":·[2,·0,·0,·2,·17], | 135 | ····"a00848_source.html":·[2,·0,·0,·2,·17], |
Max diff block lines reached; 2682/9686 bytes (27.69%) of diff not shown. |
Offset 10, 15 lines modified | Offset 10, 15 lines modified | ||
10 | ····['refinementlevel_4',·['refinementLevel',·['../a01117.html#a240d1e5f5b743486e8122db6223d4562',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::UniformOptions']]], | 10 | ····['refinementlevel_4',·['refinementLevel',·['../a01117.html#a240d1e5f5b743486e8122db6223d4562',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::UniformOptions']]], |
11 | ····['refinemesh_5',·['refinemesh',·['../a01261.html#a51f237c3f08f6ddc2ea7ba5cb0d00b36',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshInterface::refineMesh(Far::TopologyRefiner·&refiner,·int·level,·bool·adaptive,·bool·singleCreasePatch)'], | 11 | ····['refinemesh_5',·['refinemesh',·['../a01261.html#a51f237c3f08f6ddc2ea7ba5cb0d00b36',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshInterface::refineMesh(Far::TopologyRefiner·&refiner,·int·level,·bool·adaptive,·bool·singleCreasePatch)'], |
12 | ········['../a01261.html#a173851f742adc30ac139af96fe63732d',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshInterface::refineMesh(Far::TopologyRefiner·&refiner,·int·level,·MeshBitset·bits)'] | 12 | ········['../a01261.html#a173851f742adc30ac139af96fe63732d',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshInterface::refineMesh(Far::TopologyRefiner·&refiner,·int·level,·MeshBitset·bits)'] |
13 | ····]], | 13 | ····]], |
14 | ····['refinersurfacefactory_6',·['refinersurfacefactory',·['../a00929.html#af74dafe122d798d4069b675c52f6665a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::RefinerSurfaceFactory::RefinerSurfaceFactory()'], | 14 | ····['refinersurfacefactory_6',·['refinersurfacefactory',·['../a00929.html#af74dafe122d798d4069b675c52f6665a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::RefinerSurfaceFactory::RefinerSurfaceFactory()'], |
15 | ········['../a00929.html',·1,·'RefinerSurfaceFactory<·CACHE_TYPE·>'] | 15 | ········['../a00929.html',·1,·'RefinerSurfaceFactory<·CACHE_TYPE·>'] |
16 | ····]], | 16 | ····]], |
17 | ····['refinersurfacefactory_2eh_7',·['refinerSurfaceFactory.h',·['../a0069 | 17 | ····['refinersurfacefactory_2eh_7',·['refinerSurfaceFactory.h',·['../a00695.html',·1,·'']]], |
18 | ····['refinersurfacefactorybase_8',·['refinersurfacefactorybase',·['../a00925.html',·1,·'RefinerSurfaceFactoryBase'], | 18 | ····['refinersurfacefactorybase_8',·['refinersurfacefactorybase',·['../a00925.html',·1,·'RefinerSurfaceFactoryBase'], |
19 | ········['../a00925.html#af457c931d6d611e35737454f2c483f84',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::RefinerSurfaceFactoryBase::RefinerSurfaceFactoryBase()'] | 19 | ········['../a00925.html#af457c931d6d611e35737454f2c483f84',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::RefinerSurfaceFactoryBase::RefinerSurfaceFactoryBase()'] |
20 | ····]], | 20 | ····]], |
21 | ····['refineuniform_9',·['RefineUniform',·['../a01113.html#ad22b7ffd9f8f3b488e5f220cf00c8c82',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner']]], | 21 | ····['refineuniform_9',·['RefineUniform',·['../a01113.html#ad22b7ffd9f8f3b488e5f220cf00c8c82',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner']]], |
22 | ····['regdesc_10',·['regDesc',·['../a01317.html#a00efd3a5502664756617ee930cb4324c',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchArray']]], | 22 | ····['regdesc_10',·['regDesc',·['../a01317.html#a00efd3a5502664756617ee930cb4324c',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchArray']]], |
23 | ····['regular_11',·['REGULAR',·['../a00973.html#a1d1cfd8ffb84e947f82999c682b666a7afc488491175a6dac9e5881e363ad4c41',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor']]], | 23 | ····['regular_11',·['REGULAR',·['../a00973.html#a1d1cfd8ffb84e947f82999c682b666a7afc488491175a6dac9e5881e363ad4c41',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor']]], |
24 | ····['reportinvalidtopology_12',·['reportInvalidTopology',·['../a01109.html#a0c4c1d44df4c480bd0adfa9e86891b39',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefinerFactory']]], | 24 | ····['reportinvalidtopology_12',·['reportInvalidTopology',·['../a01109.html#a0c4c1d44df4c480bd0adfa9e86891b39',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefinerFactory']]], |
Offset 103, 15 lines modified | Offset 103, 15 lines modified | ||
103 | ········['../a01057.html#a54db76b34112b5cb3c623be8789dd8f4',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTable::StencilTable(int·numControlVerts)'], | 103 | ········['../a01057.html#a54db76b34112b5cb3c623be8789dd8f4',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTable::StencilTable(int·numControlVerts)'], |
104 | ········['../a01057.html#acc553d2d5624ab2a790ae9613812393e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTable::StencilTable()'], | 104 | ········['../a01057.html#acc553d2d5624ab2a790ae9613812393e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTable::StencilTable()'], |
105 | ········['../a01273.html#a6b90e8290c540c78bedd053e2cc42f31',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::Mesh::StencilTable'], | 105 | ········['../a01273.html#a6b90e8290c540c78bedd053e2cc42f31',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::Mesh::StencilTable'], |
106 | ········['../a01057.html',·1,·'StencilTable'] | 106 | ········['../a01057.html',·1,·'StencilTable'] |
107 | ····]], | 107 | ····]], |
108 | ····['stenciltable_2eh_76',·['stencilTable.h',·['../a00719.html',·1,·'']]], | 108 | ····['stenciltable_2eh_76',·['stencilTable.h',·['../a00719.html',·1,·'']]], |
109 | ····['stenciltablefactory_77',·['StencilTableFactory',·['../a01089.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far']]], | 109 | ····['stenciltablefactory_77',·['StencilTableFactory',·['../a01089.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far']]], |
110 | ····['stenciltablefactory_2eh_78',·['stencilTableFactory.h',·['../a0071 | 110 | ····['stenciltablefactory_2eh_78',·['stencilTableFactory.h',·['../a00716.html',·1,·'']]], |
111 | ····['stenciltablefactoryreal_79',·['StencilTableFactoryReal',·['../a01037.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far']]], | 111 | ····['stenciltablefactoryreal_79',·['StencilTableFactoryReal',·['../a01037.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far']]], |
112 | ····['stenciltablefactoryreal_3c_20float_20_3e_80',·['StencilTableFactoryReal<·float·>',·['../a01037.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far']]], | 112 | ····['stenciltablefactoryreal_3c_20float_20_3e_80',·['StencilTableFactoryReal<·float·>',·['../a01037.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far']]], |
113 | ····['stenciltablefactoryreal_3c_20real_20_3e_81',·['stenciltablefactoryreal<·real·>',·['../a01045.html#af58f6a3f9b167c3330097c1a69ca36a8',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilReal::StencilTableFactoryReal<·REAL·>'], | 113 | ····['stenciltablefactoryreal_3c_20real_20_3e_81',·['stenciltablefactoryreal<·real·>',·['../a01045.html#af58f6a3f9b167c3330097c1a69ca36a8',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilReal::StencilTableFactoryReal<·REAL·>'], |
114 | ········['../a01053.html#af58f6a3f9b167c3330097c1a69ca36a8',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableReal::StencilTableFactoryReal<·REAL·>'], | 114 | ········['../a01053.html#af58f6a3f9b167c3330097c1a69ca36a8',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableReal::StencilTableFactoryReal<·REAL·>'], |
115 | ········['../a01061.html#af58f6a3f9b167c3330097c1a69ca36a8',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilReal::StencilTableFactoryReal<·REAL·>'] | 115 | ········['../a01061.html#af58f6a3f9b167c3330097c1a69ca36a8',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilReal::StencilTableFactoryReal<·REAL·>'] |
116 | ····]], | 116 | ····]], |
117 | ····['stenciltablereal_82',·['stenciltablereal',·['../a01053.html',·1,·'StencilTableReal<·REAL·>'], | 117 | ····['stenciltablereal_82',·['stenciltablereal',·['../a01053.html',·1,·'StencilTableReal<·REAL·>'], |
Offset 134, 25 lines modified | Offset 134, 25 lines modified | ||
134 | ····]], | 134 | ····]], |
135 | ····['surface_2eh_90',·['surface.h',·['../a00689.html',·1,·'']]], | 135 | ····['surface_2eh_90',·['surface.h',·['../a00689.html',·1,·'']]], |
136 | ····['surfacefactory_91',·['surfacefactory',·['../a00941.html#ae54ee5a9e2bcb2bfdf395084395a0719',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactory::SurfaceFactory(Sdc::SchemeType·schemeType,·Sdc::Options·const·&schemeOptions,·Options·const·&limitOptions)'], | 136 | ····['surfacefactory_91',·['surfacefactory',·['../a00941.html#ae54ee5a9e2bcb2bfdf395084395a0719',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactory::SurfaceFactory(Sdc::SchemeType·schemeType,·Sdc::Options·const·&schemeOptions,·Options·const·&limitOptions)'], |
137 | ········['../a00941.html#a5ac6bb6255796f79debe11e25b816093',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactory::SurfaceFactory(SurfaceFactory·const·&)=delete'], | 137 | ········['../a00941.html#a5ac6bb6255796f79debe11e25b816093',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactory::SurfaceFactory(SurfaceFactory·const·&)=delete'], |
138 | ········['../a00933.html#a3bdc23048cdd1242d0a429413fa89256',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::SurfaceFactory'], | 138 | ········['../a00933.html#a3bdc23048cdd1242d0a429413fa89256',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::SurfaceFactory'], |
139 | ········['../a00941.html',·1,·'SurfaceFactory'] | 139 | ········['../a00941.html',·1,·'SurfaceFactory'] |
140 | ····]], | 140 | ····]], |
141 | ····['surfacefactory_2eh_92',·['surfaceFactory.h',·['../a0068 | 141 | ····['surfacefactory_2eh_92',·['surfaceFactory.h',·['../a00686.html',·1,·'']]], |
142 | ····['surfacefactorycache_93',·['surfacefactorycache',·['../a00949.html#a3f63565868cb0b0871e2db37939ec0e2',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryCache::SurfaceFactoryCache()'], | 142 | ····['surfacefactorycache_93',·['surfacefactorycache',·['../a00949.html#a3f63565868cb0b0871e2db37939ec0e2',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryCache::SurfaceFactoryCache()'], |
143 | ········['../a00949.html#a704742f6a7a07e766b5320c8d6f2f745',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryCache::SurfaceFactoryCache(SurfaceFactoryCache·const·&)=delete'], | 143 | ········['../a00949.html#a704742f6a7a07e766b5320c8d6f2f745',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryCache::SurfaceFactoryCache(SurfaceFactoryCache·const·&)=delete'], |
144 | ········['../a00949.html',·1,·'SurfaceFactoryCache'] | 144 | ········['../a00949.html',·1,·'SurfaceFactoryCache'] |
145 | ····]], | 145 | ····]], |
146 | ····['surfacefactorycache_2eh_94',·['surfaceFactoryCache.h',·['../a0068 | 146 | ····['surfacefactorycache_2eh_94',·['surfaceFactoryCache.h',·['../a00680.html',·1,·'']]], |
147 | ····['surfacefactorycachethreaded_95',·['surfacefactorycachethreaded',·['../a00953.html#a9e84b6f045809c700d7dc53c3a350afe',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryCacheThreaded::SurfaceFactoryCacheThreaded()'], | 147 | ····['surfacefactorycachethreaded_95',·['surfacefactorycachethreaded',·['../a00953.html#a9e84b6f045809c700d7dc53c3a350afe',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryCacheThreaded::SurfaceFactoryCacheThreaded()'], |
148 | ········['../a00953.html',·1,·'SurfaceFactoryCacheThreaded<·MUTEX_TYPE,·READ_LOCK_GUARD_TYPE,·WRITE_LOCK_GUARD_TYPE·>'] | 148 | ········['../a00953.html',·1,·'SurfaceFactoryCacheThreaded<·MUTEX_TYPE,·READ_LOCK_GUARD_TYPE,·WRITE_LOCK_GUARD_TYPE·>'] |
149 | ····]], | 149 | ····]], |
150 | ····['surfacefactorymeshadapter_96',·['SurfaceFactoryMeshAdapter',·['../a00957.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr']]], | 150 | ····['surfacefactorymeshadapter_96',·['SurfaceFactoryMeshAdapter',·['../a00957.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr']]], |
151 | ····['surfacefactorymeshadapter_2eh_97',·['surfaceFactoryMeshAdapter.h',·['../a0068 | 151 | ····['surfacefactorymeshadapter_2eh_97',·['surfaceFactoryMeshAdapter.h',·['../a00683.html',·1,·'']]], |
152 | ····['synchronize_98',·['synchronize',·['../a01141.html#a0529a707250f9931f945ec49d4e428d2',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLEvaluator::Synchronize(cl_command_queue·queue)'], | 152 | ····['synchronize_98',·['synchronize',·['../a01141.html#a0529a707250f9931f945ec49d4e428d2',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLEvaluator::Synchronize(cl_command_queue·queue)'], |
153 | ········['../a01141.html#a7e77f811e9d48160701e705bb4300388',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLEvaluator::Synchronize(DEVICE_CONTEXT·deviceContext)'], | 153 | ········['../a01141.html#a7e77f811e9d48160701e705bb4300388',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLEvaluator::Synchronize(DEVICE_CONTEXT·deviceContext)'], |
154 | ········['../a01157.html#ae339a533e5f7a5021c5a4b40ec09c208',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuEvaluator::Synchronize()'], | 154 | ········['../a01157.html#ae339a533e5f7a5021c5a4b40ec09c208',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuEvaluator::Synchronize()'], |
155 | ········['../a01309.html#a9689407af718de4263562bb3a760c1dd',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::TbbEvaluator::Synchronize()'], | 155 | ········['../a01309.html#a9689407af718de4263562bb3a760c1dd',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::TbbEvaluator::Synchronize()'], |
156 | ········['../a01305.html#a9689407af718de4263562bb3a760c1dd',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::OmpEvaluator::Synchronize()'], | 156 | ········['../a01305.html#a9689407af718de4263562bb3a760c1dd',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::OmpEvaluator::Synchronize()'], |
157 | ········['../a01285.html#a7e02041f843415c1056ea2ca3f7d0b62',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLComputeEvaluator::Synchronize()'], | 157 | ········['../a01285.html#a7e02041f843415c1056ea2ca3f7d0b62',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLComputeEvaluator::Synchronize()'], |
158 | ········['../a01273.html#ab945364bf8cadb3d1f8285551d9d49f0',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::Mesh::Synchronize()'], | 158 | ········['../a01273.html#ab945364bf8cadb3d1f8285551d9d49f0',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::Mesh::Synchronize()'], |
Offset 19, 15 lines modified | Offset 19, 15 lines modified | ||
19 | ········['../a00961.html#a7f0af117d53701f7ca6e3eb2368b89bb',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation::Tessellation(Parameterization·const·&p,·int·uniformRate,·Options·const·&options=Options())'] | 19 | ········['../a00961.html#a7f0af117d53701f7ca6e3eb2368b89bb',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation::Tessellation(Parameterization·const·&p,·int·uniformRate,·Options·const·&options=Options())'] |
20 | ····]], | 20 | ····]], |
21 | ····['tessellation_2eh_7',·['tessellation.h',·['../a00677.html',·1,·'']]], | 21 | ····['tessellation_2eh_7',·['tessellation.h',·['../a00677.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',·['../a0071 | 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'], |
29 | ········['../a01105.html#a03a8183081b34983ade155e3636ba835',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyLevel::TopologyLevel()'] | 29 | ········['../a01105.html#a03a8183081b34983ade155e3636ba835',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyLevel::TopologyLevel()'] |
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'], |
Offset 4, 15 lines modified | Offset 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',·['../a0078 | 11 | ····['bilinearscheme_2eh_3',·['bilinearScheme.h',·['../a00782.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 1, 35 lines modified | Offset 1, 35 lines modified | ||
1 | var·searchData·=·[ | 1 | var·searchData·=·[ |
2 | ····['catmarkscheme_2eh_0',·['catmarkScheme.h',·['../a0078 | 2 | ····['catmarkscheme_2eh_0',·['catmarkScheme.h',·['../a00785.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::clear()'], | 4 | ····['clear_2',·['clear',·['../a01017.html#ac8bb3912a3ce86b15842e79d0b421204',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::PatchFaceTag::clear()'], |
5 | ········['../a01069.html#aa71d36872f416feaa853788a7a7a7ef8',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilTableReal::Clear()'], | 5 | ········['../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_3',·['ClearEdgeSharpness',·['../a00969.html#a831025d6d817c4afb1df7d5a705af378',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::VertexDescriptor']]], | 10 | ····['clearedgesharpness_3',·['ClearEdgeSharpness',·['../a00969.html#a831025d6d817c4afb1df7d5a705af378',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::VertexDescriptor']]], |
11 | ····['clearincidentfacesizes_4',·['ClearIncidentFaceSizes',·['../a00969.html#a5c719e43580059139938a6ed0f851853',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::VertexDescriptor']]], | 11 | ····['clearincidentfacesizes_4',·['ClearIncidentFaceSizes',·['../a00969.html#a5c719e43580059139938a6ed0f851853',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::VertexDescriptor']]], |
12 | ····['clearvertexsharpness_5',·['ClearVertexSharpness',·['../a00969.html#a68afc60df5a617f5d7e1580548b72f9b',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::VertexDescriptor']]], | 12 | ····['clearvertexsharpness_5',·['ClearVertexSharpness',·['../a00969.html#a68afc60df5a617f5d7e1580548b72f9b',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::VertexDescriptor']]], |
13 | ····['clevaluator_6',·['clevaluator',·['../a01141.html',·1,·'CLEvaluator'], | 13 | ····['clevaluator_6',·['clevaluator',·['../a01141.html',·1,·'CLEvaluator'], |
14 | ········['../a01141.html#adbb0aafb7db3284f164499e8007c4cac',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLEvaluator::CLEvaluator()'] | 14 | ········['../a01141.html#adbb0aafb7db3284f164499e8007c4cac',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLEvaluator::CLEvaluator()'] |
15 | ····]], | 15 | ····]], |
16 | ····['clevaluator_2eh_7',·['clEvaluator.h',·['../a0080 | 16 | ····['clevaluator_2eh_7',·['clEvaluator.h',·['../a00803.html',·1,·'']]], |
17 | ····['clpatchtable_8',·['clpatchtable',·['../a01145.html',·1,·'CLPatchTable'], | 17 | ····['clpatchtable_8',·['clpatchtable',·['../a01145.html',·1,·'CLPatchTable'], |
18 | ········['../a01145.html#ae69549a9493f9a51edfa7d11cec1d72f',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLPatchTable::CLPatchTable()'] | 18 | ········['../a01145.html#ae69549a9493f9a51edfa7d11cec1d72f',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLPatchTable::CLPatchTable()'] |
19 | ····]], | 19 | ····]], |
20 | ····['clpatchtable_2eh_9',·['clPatchTable.h',·['../a00800.html',·1,·'']]], | 20 | ····['clpatchtable_2eh_9',·['clPatchTable.h',·['../a00800.html',·1,·'']]], |
21 | ····['clstenciltable_10',·['clstenciltable',·['../a01137.html#af2994e79cf93c872e39659321750351a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLStencilTable::CLStencilTable()'], | 21 | ····['clstenciltable_10',·['clstenciltable',·['../a01137.html#af2994e79cf93c872e39659321750351a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLStencilTable::CLStencilTable()'], |
22 | ········['../a01137.html',·1,·'CLStencilTable'], | 22 | ········['../a01137.html',·1,·'CLStencilTable'], |
23 | ········['../a01137.html#a33ca6bb1dba9f8e390a58395d164431e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLStencilTable::CLStencilTable()'] | 23 | ········['../a01137.html#a33ca6bb1dba9f8e390a58395d164431e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLStencilTable::CLStencilTable()'] |
24 | ····]], | 24 | ····]], |
25 | ····['clvertexbuffer_11',·['clvertexbuffer',·['../a01149.html#a48e2b665b557d5f3f838bc552152160b',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLVertexBuffer::CLVertexBuffer()'], | 25 | ····['clvertexbuffer_11',·['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_12',·['clVertexBuffer.h',·['../a0079 | 28 | ····['clvertexbuffer_2eh_12',·['clVertexBuffer.h',·['../a00797.html',·1,·'']]], |
29 | ····['combinevertexvertexmasks_13',·['CombineVertexVertexMasks',·['../a01337.html#a5ed800e9d702f57ae978fe60ba2a37dc',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Scheme::LocalMask']]], | 29 | ····['combinevertexvertexmasks_13',·['CombineVertexVertexMasks',·['../a01337.html#a5ed800e9d702f57ae978fe60ba2a37dc',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Scheme::LocalMask']]], |
30 | ····['commandqueue_14',·['commandQueue',·['../a01277.html#a66809eb79c7e79a491fd8c889465166b',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLContext']]], | 30 | ····['commandqueue_14',·['commandQueue',·['../a01277.html#a66809eb79c7e79a491fd8c889465166b',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLContext']]], |
31 | ····['compile_15',·['compile',·['../a01141.html#ade1086349c1a452f60bcf281383ceec2',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLEvaluator::Compile()'], | 31 | ····['compile_15',·['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, 15 lines modified | Offset 77, 15 lines modified | ||
77 | ····['converttocompatiblestenciltable_3c_20far_3a_3astenciltable_2c_20far_3a_3astenciltable_2c_20id3d11devicecontext_20_3e_41',·['convertToCompatibleStencilTable<·Far::StencilTable,·Far::StencilTable,·ID3D11DeviceContext·>',·['../a00912.html#ab5753a2b0a0995c8e2259d2c4765f7df',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], | 77 | ····['converttocompatiblestenciltable_3c_20far_3a_3astenciltable_2c_20far_3a_3astenciltable_2c_20id3d11devicecontext_20_3e_41',·['convertToCompatibleStencilTable<·Far::StencilTable,·Far::StencilTable,·ID3D11DeviceContext·>',·['../a00912.html#ab5753a2b0a0995c8e2259d2c4765f7df',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], |
78 | ····['converttocompatiblestenciltable_3c_20far_3a_3astenciltable_2c_20far_3a_3astenciltable_2c_20void_20_3e_42',·['convertToCompatibleStencilTable<·Far::StencilTable,·Far::StencilTable,·void·>',·['../a00912.html#a33f9830228f847fae1c30c9dffe02b5a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], | 78 | ····['converttocompatiblestenciltable_3c_20far_3a_3astenciltable_2c_20far_3a_3astenciltable_2c_20void_20_3e_42',·['convertToCompatibleStencilTable<·Far::StencilTable,·Far::StencilTable,·void·>',·['../a00912.html#a33f9830228f847fae1c30c9dffe02b5a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], |
79 | ····['cornervertexindices_43',·['cornerVertexIndices',·['../a01097.html#a3bf794743edda29fbee0653b65b75ba4',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor']]], | 79 | ····['cornervertexindices_43',·['cornerVertexIndices',·['../a01097.html#a3bf794743edda29fbee0653b65b75ba4',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor']]], |
80 | ····['cornerweights_44',·['cornerWeights',·['../a01097.html#a6d938f6b0a9ff0fa377ef675aa2c7fda',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor']]], | 80 | ····['cornerweights_44',·['cornerWeights',·['../a01097.html#a6d938f6b0a9ff0fa377ef675aa2c7fda',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor']]], |
81 | ····['cpud3d11vertexbuffer_45',·['cpud3d11vertexbuffer',·['../a01153.html',·1,·'CpuD3D11VertexBuffer'], | 81 | ····['cpud3d11vertexbuffer_45',·['cpud3d11vertexbuffer',·['../a01153.html',·1,·'CpuD3D11VertexBuffer'], |
82 | ········['../a01153.html#a632143bc1ec4fbbca2148b0e9e87bc08',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuD3D11VertexBuffer::CpuD3D11VertexBuffer()'] | 82 | ········['../a01153.html#a632143bc1ec4fbbca2148b0e9e87bc08',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuD3D11VertexBuffer::CpuD3D11VertexBuffer()'] |
83 | ····]], | 83 | ····]], |
84 | ····['cpud3d11vertexbuffer_2eh_46',·['cpuD3D11VertexBuffer.h',·['../a0084 | 84 | ····['cpud3d11vertexbuffer_2eh_46',·['cpuD3D11VertexBuffer.h',·['../a00842.html',·1,·'']]], |
85 | ····['cpuevaluator_47',·['CpuEvaluator',·['../a01157.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], | 85 | ····['cpuevaluator_47',·['CpuEvaluator',·['../a01157.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], |
86 | ····['cpuevaluator_2eh_48',·['cpuEvaluator.h',·['../a00896.html',·1,·'']]], | 86 | ····['cpuevaluator_2eh_48',·['cpuEvaluator.h',·['../a00896.html',·1,·'']]], |
87 | ····['cpuglvertexbuffer_49',·['cpuglvertexbuffer',·['../a01161.html',·1,·'CpuGLVertexBuffer'], | 87 | ····['cpuglvertexbuffer_49',·['cpuglvertexbuffer',·['../a01161.html',·1,·'CpuGLVertexBuffer'], |
88 | ········['../a01161.html#a32dd2317d622c1b079e3219f97c86955',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuGLVertexBuffer::CpuGLVertexBuffer()'] | 88 | ········['../a01161.html#a32dd2317d622c1b079e3219f97c86955',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuGLVertexBuffer::CpuGLVertexBuffer()'] |
89 | ····]], | 89 | ····]], |
90 | ····['cpuglvertexbuffer_2eh_50',·['cpuGLVertexBuffer.h',·['../a00869.html',·1,·'']]], | 90 | ····['cpuglvertexbuffer_2eh_50',·['cpuGLVertexBuffer.h',·['../a00869.html',·1,·'']]], |
91 | ····['cpumtlvertexbuffer_51',·['cpumtlvertexbuffer',·['../a01301.html',·1,·'CPUMTLVertexBuffer'], | 91 | ····['cpumtlvertexbuffer_51',·['cpumtlvertexbuffer',·['../a01301.html',·1,·'CPUMTLVertexBuffer'], |
Offset 174, 15 lines modified | Offset 174, 15 lines modified | ||
174 | ····]], | 174 | ····]], |
175 | ····['createfacevaryingsurface_65',·['createfacevaryingsurface',·['../a00941.html#a67a5dcab87b052d231634dd9fcf5dee2',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactory::CreateFaceVaryingSurface(Index·faceIndex)·const'], | 175 | ····['createfacevaryingsurface_65',·['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_66',·['CreateVaryingSurface',·['../a00941.html#a81638f2ff6818fd96aa7cd1ad3ed0703',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactory']]], | 178 | ····['createvaryingsurface_66',·['CreateVaryingSurface',·['../a00941.html#a81638f2ff6818fd96aa7cd1ad3ed0703',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactory']]], |
179 | ····['createvertexsurface_67',·['CreateVertexSurface',·['../a00941.html#a676cf019574c99fa77341ac09889192d',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactory']]], | 179 | ····['createvertexsurface_67',·['CreateVertexSurface',·['../a00941.html#a676cf019574c99fa77341ac09889192d',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactory']]], |
180 | ····['cudaevaluator_68',·['CudaEvaluator',·['../a01177.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], | 180 | ····['cudaevaluator_68',·['CudaEvaluator',·['../a01177.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], |
181 | ····['cudaevaluator_2eh_69',·['cudaEvaluator.h',·['../a0079 | 181 | ····['cudaevaluator_2eh_69',·['cudaEvaluator.h',·['../a00794.html',·1,·'']]], |
182 | ····['cudapatchtable_70',·['cudapatchtable',·['../a01181.html',·1,·'CudaPatchTable'], | 182 | ····['cudapatchtable_70',·['cudapatchtable',·['../a01181.html',·1,·'CudaPatchTable'], |
183 | ········['../a01181.html#aefa9c1a9175327a40e7cf46ed32ced2f',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaPatchTable::CudaPatchTable()'] | 183 | ········['../a01181.html#aefa9c1a9175327a40e7cf46ed32ced2f',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaPatchTable::CudaPatchTable()'] |
184 | ····]], | 184 | ····]], |
185 | ····['cudapatchtable_2eh_71',·['cudaPatchTable.h',·['../a00788.html',·1,·'']]], | 185 | ····['cudapatchtable_2eh_71',·['cudaPatchTable.h',·['../a00788.html',·1,·'']]], |
186 | ····['cudastenciltable_72',·['cudastenciltable',·['../a01173.html#a45150c630c07bbeabd4b91145cecf087',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaStencilTable::CudaStencilTable()'], | 186 | ····['cudastenciltable_72',·['cudastenciltable',·['../a01173.html#a45150c630c07bbeabd4b91145cecf087',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaStencilTable::CudaStencilTable()'], |
187 | ········['../a01173.html',·1,·'CudaStencilTable'], | 187 | ········['../a01173.html',·1,·'CudaStencilTable'], |
188 | ········['../a01173.html#af872fc469b3696a745d30d22c2b89c4c',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaStencilTable::CudaStencilTable()'] | 188 | ········['../a01173.html#af872fc469b3696a745d30d22c2b89c4c',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaStencilTable::CudaStencilTable()'] |
Offset 1, 17 lines modified | Offset 1, 17 lines modified | ||
1 | var·searchData·=·[ | 1 | var·searchData·=·[ |
2 | ····['d3d11computeevaluator_0',·['d3d11computeevaluator',·['../a01193.html',·1,·'D3D11ComputeEvaluator'], | 2 | ····['d3d11computeevaluator_0',·['d3d11computeevaluator',·['../a01193.html',·1,·'D3D11ComputeEvaluator'], |
3 | ········['../a01193.html#aa81511d3938d70d67a62217951cb8eb7',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11ComputeEvaluator::D3D11ComputeEvaluator()'] | 3 | ········['../a01193.html#aa81511d3938d70d67a62217951cb8eb7',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11ComputeEvaluator::D3D11ComputeEvaluator()'] |
4 | ····]], | 4 | ····]], |
5 | ····['d3d11computeevaluator_2eh_1',·['d3d11ComputeEvaluator.h',·['../a0084 | 5 | ····['d3d11computeevaluator_2eh_1',·['d3d11ComputeEvaluator.h',·['../a00845.html',·1,·'']]], |
6 | ····['d3d11legacygregorypatchtable_2',·['d3d11legacygregorypatchtable',·['../a01197.html',·1,·'D3D11LegacyGregoryPatchTable'], | 6 | ····['d3d11legacygregorypatchtable_2',·['d3d11legacygregorypatchtable',·['../a01197.html',·1,·'D3D11LegacyGregoryPatchTable'], |
7 | ········['../a01197.html#af138b4535e4db5f013225c5924e0b243',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11LegacyGregoryPatchTable::D3D11LegacyGregoryPatchTable()'] | 7 | ········['../a01197.html#af138b4535e4db5f013225c5924e0b243',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11LegacyGregoryPatchTable::D3D11LegacyGregoryPatchTable()'] |
8 | ····]], | 8 | ····]], |
9 | ····['d3d11legacygregorypatchtable_2eh_3',·['d3d11LegacyGregoryPatchTable.h',·['../a00839.html',·1,·'']]], | 9 | ····['d3d11legacygregorypatchtable_2eh_3',·['d3d11LegacyGregoryPatchTable.h',·['../a00839.html',·1,·'']]], |
10 | ····['d3d11mesh_2eh_4',·['d3d11Mesh.h',·['../a008 | 10 | ····['d3d11mesh_2eh_4',·['d3d11Mesh.h',·['../a00830.html',·1,·'']]], |
11 | ····['d3d11meshinterface_5',·['D3D11MeshInterface',·['../a00912.html#ae5c8e80d05d6eaee105d8eecfa9ab609',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], | 11 | ····['d3d11meshinterface_5',·['D3D11MeshInterface',·['../a00912.html#ae5c8e80d05d6eaee105d8eecfa9ab609',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], |
12 | ····['d3d11patchtable_6',·['d3d11patchtable',·['../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',·['../a00836.html',·1,·'']]], |
16 | ····['d3d11stenciltable_8',·['d3d11stenciltable',·['../a01189.html',·1,·'D3D11StencilTable'], | 16 | ····['d3d11stenciltable_8',·['d3d11stenciltable',·['../a01189.html',·1,·'D3D11StencilTable'], |
17 | ········['../a01189.html#a7e3a2f5c281c55308400138222797dbc',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11StencilTable::D3D11StencilTable()'] | 17 | ········['../a01189.html#a7e3a2f5c281c55308400138222797dbc',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11StencilTable::D3D11StencilTable()'] |
Offset 31, 12 lines modified | Offset 31, 12 lines modified | ||
31 | ········['../a01081.html#a7cd8273eef086a749ce3d40063fb4a28',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilTableFactoryReal::Options::fvarChannel'], | 31 | ········['../a01081.html#a7cd8273eef086a749ce3d40063fb4a28',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilTableFactoryReal::Options::fvarChannel'], |
32 | ········['../a01101.html#a029d281df9f5dc8c00b52a35f8e0dfde',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor::FVarChannel::FVarChannel()'], | 32 | ········['../a01101.html#a029d281df9f5dc8c00b52a35f8e0dfde',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor::FVarChannel::FVarChannel()'], |
33 | ········['../a01101.html',·1,·'TopologyDescriptor::FVarChannel'] | 33 | ········['../a01101.html',·1,·'TopologyDescriptor::FVarChannel'] |
34 | ····]], | 34 | ····]], |
35 | ····['fvarchannelindices_25',·['fvarChannelIndices',·['../a01013.html#a4c1ba8119a16ea0682a870ee7a8282a5',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Options']]], | 35 | ····['fvarchannelindices_25',·['fvarChannelIndices',·['../a01013.html#a4c1ba8119a16ea0682a870ee7a8282a5',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Options']]], |
36 | ····['fvarchannels_26',·['fvarChannels',·['../a01097.html#a222697ec045f92879ae194eb2d92b526',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor']]], | 36 | ····['fvarchannels_26',·['fvarChannels',·['../a01097.html#a222697ec045f92879ae194eb2d92b526',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor']]], |
37 | ····['fvarid_27',·['FVarID',·['../a00957.html#af98288d7b5176d7295be622a10c6c64e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryMeshAdapter']]], | 37 | ····['fvarid_27',·['FVarID',·['../a00957.html#af98288d7b5176d7295be622a10c6c64e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryMeshAdapter']]], |
38 | ····['fvarlevel_2eh_28',·['fvarLevel.h',·['../a007 | 38 | ····['fvarlevel_2eh_28',·['fvarLevel.h',·['../a00761.html',·1,·'']]], |
39 | ····['fvarlinearinterpolation_29',·['FVarLinearInterpolation',·['../a01329.html#a5b87eaca6ca0833462c9d4ad84df167b',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Options']]], | 39 | ····['fvarlinearinterpolation_29',·['FVarLinearInterpolation',·['../a01329.html#a5b87eaca6ca0833462c9d4ad84df167b',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Options']]], |
40 | ····['fvarpatchprecisiondouble_30',·['fvarPatchPrecisionDouble',·['../a01013.html#a3f663e5c2b7e65976b6521c21ea59130',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Options']]], | 40 | ····['fvarpatchprecisiondouble_30',·['fvarPatchPrecisionDouble',·['../a01013.html#a3f663e5c2b7e65976b6521c21ea59130',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Options']]], |
41 | ····['fvarrefinement_2eh_31',·['fvarRefinement.h',·['../a007 | 41 | ····['fvarrefinement_2eh_31',·['fvarRefinement.h',·['../a00758.html',·1,·'']]] |
42 | ]; | 42 | ]; |
Offset 525, 35 lines modified | Offset 525, 35 lines modified | ||
525 | ····['glcomputeevaluator_268',·['glcomputeevaluator',·['../a01213.html#a9fe54ab76e32fb2dc6f7cd631ce2e678',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLComputeEvaluator::GLComputeEvaluator()'], | 525 | ····['glcomputeevaluator_268',·['glcomputeevaluator',·['../a01213.html#a9fe54ab76e32fb2dc6f7cd631ce2e678',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLComputeEvaluator::GLComputeEvaluator()'], |
526 | ········['../a01213.html',·1,·'GLComputeEvaluator'] | 526 | ········['../a01213.html',·1,·'GLComputeEvaluator'] |
527 | ····]], | 527 | ····]], |
528 | ····['glcomputeevaluator_2eh_269',·['glComputeEvaluator.h',·['../a00848.html',·1,·'']]], | 528 | ····['glcomputeevaluator_2eh_269',·['glComputeEvaluator.h',·['../a00848.html',·1,·'']]], |
529 | ····['gllegacygregorypatchtable_270',·['gllegacygregorypatchtable',·['../a01225.html#a5b78188b846b316c5c0cdb42f4ee9563',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLLegacyGregoryPatchTable::GLLegacyGregoryPatchTable()'], | 529 | ····['gllegacygregorypatchtable_270',·['gllegacygregorypatchtable',·['../a01225.html#a5b78188b846b316c5c0cdb42f4ee9563',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLLegacyGregoryPatchTable::GLLegacyGregoryPatchTable()'], |
530 | ········['../a01225.html',·1,·'GLLegacyGregoryPatchTable'] | 530 | ········['../a01225.html',·1,·'GLLegacyGregoryPatchTable'] |
531 | ····]], | 531 | ····]], |
532 | ····['gllegacygregorypatchtable_2eh_271',·['glLegacyGregoryPatchTable.h',·['../a0086 | 532 | ····['gllegacygregorypatchtable_2eh_271',·['glLegacyGregoryPatchTable.h',·['../a00866.html',·1,·'']]], |
533 | ····['glmesh_2eh_272',·['glMesh.h',·['../a00857.html',·1,·'']]], | 533 | ····['glmesh_2eh_272',·['glMesh.h',·['../a00857.html',·1,·'']]], |
534 | ····['glmeshinterface_273',·['GLMeshInterface',·['../a00912.html#a7f9cf2b729178bdbb847fc4afd91af9e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], | 534 | ····['glmeshinterface_273',·['GLMeshInterface',·['../a00912.html#a7f9cf2b729178bdbb847fc4afd91af9e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], |
535 | ····['glpatchtable_274',·['glpatchtable',·['../a01229.html#a88c12681f62189c398c1d2dc32111264',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLPatchTable::GLPatchTable()'], | 535 | ····['glpatchtable_274',·['glpatchtable',·['../a01229.html#a88c12681f62189c398c1d2dc32111264',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLPatchTable::GLPatchTable()'], |
536 | ········['../a01229.html',·1,·'GLPatchTable'] | 536 | ········['../a01229.html',·1,·'GLPatchTable'] |
537 | ····]], | 537 | ····]], |
538 | ····['glpatchtable_2eh_275',·['glPatchTable.h',·['../a0086 | 538 | ····['glpatchtable_2eh_275',·['glPatchTable.h',·['../a00860.html',·1,·'']]], |
539 | ····['glslpatchshadersource_276',·['GLSLPatchShaderSource',·['../a01233.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], | 539 | ····['glslpatchshadersource_276',·['GLSLPatchShaderSource',·['../a01233.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], |
540 | ····['glslpatchshadersource_2eh_277',·['glslPatchShaderSource.h',·['../a00854.html',·1,·'']]], | 540 | ····['glslpatchshadersource_2eh_277',·['glslPatchShaderSource.h',·['../a00854.html',·1,·'']]], |
541 | ····['glstenciltablessbo_278',·['glstenciltablessbo',·['../a01209.html',·1,·'GLStencilTableSSBO'], | 541 | ····['glstenciltablessbo_278',·['glstenciltablessbo',·['../a01209.html',·1,·'GLStencilTableSSBO'], |
542 | ········['../a01209.html#aaacee6173a99bb3d7bbfb0a352ef9828',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLStencilTableSSBO::GLStencilTableSSBO(Far::StencilTable·const·*stencilTable)'], | 542 | ········['../a01209.html#aaacee6173a99bb3d7bbfb0a352ef9828',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLStencilTableSSBO::GLStencilTableSSBO(Far::StencilTable·const·*stencilTable)'], |
543 | ········['../a01209.html#a27a911fea9736fbe935c0edc4de9b998',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLStencilTableSSBO::GLStencilTableSSBO(Far::LimitStencilTable·const·*limitStencilTable)'] | 543 | ········['../a01209.html#a27a911fea9736fbe935c0edc4de9b998',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLStencilTableSSBO::GLStencilTableSSBO(Far::LimitStencilTable·const·*limitStencilTable)'] |
544 | ····]], | 544 | ····]], |
545 | ····['glstenciltabletbo_279',·['glstenciltabletbo',·['../a01241.html',·1,·'GLStencilTableTBO'], | 545 | ····['glstenciltabletbo_279',·['glstenciltabletbo',·['../a01241.html',·1,·'GLStencilTableTBO'], |
546 | ········['../a01241.html#abbba46ba67be00a0eac751e3e731db6e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLStencilTableTBO::GLStencilTableTBO(Far::StencilTable·const·*stencilTable)'], | 546 | ········['../a01241.html#abbba46ba67be00a0eac751e3e731db6e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLStencilTableTBO::GLStencilTableTBO(Far::StencilTable·const·*stencilTable)'], |
547 | ········['../a01241.html#ac74a769daf1fe45575a16b738bb761cd',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLStencilTableTBO::GLStencilTableTBO(Far::LimitStencilTable·const·*limitStencilTable)'] | 547 | ········['../a01241.html#ac74a769daf1fe45575a16b738bb761cd',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLStencilTableTBO::GLStencilTableTBO(Far::LimitStencilTable·const·*limitStencilTable)'] |
548 | ····]], | 548 | ····]], |
549 | ····['glvertexbuffer_280',·['glvertexbuffer',·['../a01237.html',·1,·'GLVertexBuffer'], | 549 | ····['glvertexbuffer_280',·['glvertexbuffer',·['../a01237.html',·1,·'GLVertexBuffer'], |
550 | ········['../a01237.html#aa6f38a53fba4a64d600b9c4695477049',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLVertexBuffer::GLVertexBuffer()'] | 550 | ········['../a01237.html#aa6f38a53fba4a64d600b9c4695477049',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLVertexBuffer::GLVertexBuffer()'] |
551 | ····]], | 551 | ····]], |
552 | ····['glvertexbuffer_2eh_281',·['glVertexBuffer.h',·['../a0086 | 552 | ····['glvertexbuffer_2eh_281',·['glVertexBuffer.h',·['../a00863.html',·1,·'']]], |
553 | ····['glxfbevaluator_282',·['glxfbevaluator',·['../a01245.html#a1932f725b28e271ab11ca768ba3bb01e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLXFBEvaluator::GLXFBEvaluator()'], | 553 | ····['glxfbevaluator_282',·['glxfbevaluator',·['../a01245.html#a1932f725b28e271ab11ca768ba3bb01e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLXFBEvaluator::GLXFBEvaluator()'], |
554 | ········['../a01245.html',·1,·'GLXFBEvaluator'] | 554 | ········['../a01245.html',·1,·'GLXFBEvaluator'] |
555 | ····]], | 555 | ····]], |
556 | ····['glxfbevaluator_2eh_283',·['glXFBEvaluator.h',·['../a00851.html',·1,·'']]], | 556 | ····['glxfbevaluator_2eh_283',·['glXFBEvaluator.h',·['../a00851.html',·1,·'']]], |
557 | ····['gregory_284',·['GREGORY',·['../a00973.html#a1d1cfd8ffb84e947f82999c682b666a7ae765e809376e5557d348d3e991a7273e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor']]], | 557 | ····['gregory_284',·['GREGORY',·['../a00973.html#a1d1cfd8ffb84e947f82999c682b666a7ae765e809376e5557d348d3e991a7273e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor']]], |
558 | ····['gregory_5fbasis_285',·['GREGORY_BASIS',·['../a00973.html#a1d1cfd8ffb84e947f82999c682b666a7ad7d1a88a40ae8938e07af7a7745054b0',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor']]], | 558 | ····['gregory_5fbasis_285',·['GREGORY_BASIS',·['../a00973.html#a1d1cfd8ffb84e947f82999c682b666a7ad7d1a88a40ae8938e07af7a7745054b0',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor']]], |
559 | ····['gregory_5fboundary_286',·['GREGORY_BOUNDARY',·['../a00973.html#a1d1cfd8ffb84e947f82999c682b666a7ac4ae10df9c13e44880ca7be341e44f2a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor']]], | 559 | ····['gregory_5fboundary_286',·['GREGORY_BOUNDARY',·['../a00973.html#a1d1cfd8ffb84e947f82999c682b666a7ac4ae10df9c13e44880ca7be341e44f2a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor']]], |
Offset 4, 10 lines modified | Offset 4, 10 lines modified | ||
4 | ····]], | 4 | ····]], |
5 | ····['hasedgesharpness_1',·['HasEdgeSharpness',·['../a00969.html#a2c6d182581c88931784f62fe2b8ae666',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::VertexDescriptor']]], | 5 | ····['hasedgesharpness_1',·['HasEdgeSharpness',·['../a00969.html#a2c6d182581c88931784f62fe2b8ae666',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::VertexDescriptor']]], |
6 | ····['hasholes_2',·['HasHoles',·['../a01113.html#a1b68f0501aabb94ba410e006181d2cc5',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner']]], | 6 | ····['hasholes_2',·['HasHoles',·['../a01113.html#a1b68f0501aabb94ba410e006181d2cc5',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner']]], |
7 | ····['hasincidentfacesizes_3',·['HasIncidentFaceSizes',·['../a00969.html#ad56c50bc5582768806d7890c55b63141',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::VertexDescriptor']]], | 7 | ····['hasincidentfacesizes_3',·['HasIncidentFaceSizes',·['../a00969.html#ad56c50bc5582768806d7890c55b63141',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::VertexDescriptor']]], |
8 | ····['hassubfaces_4',·['HasSubFaces',·['../a00921.html#adc4cd156a8fdb843b0e233a922bb8a17',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Parameterization']]], | 8 | ····['hassubfaces_4',·['HasSubFaces',·['../a00921.html#adc4cd156a8fdb843b0e233a922bb8a17',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Parameterization']]], |
9 | ····['hasvertexsharpness_5',·['HasVertexSharpness',·['../a00969.html#a4f46be1cfd41b34d8808363c83e9ff56',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::VertexDescriptor']]], | 9 | ····['hasvertexsharpness_5',·['HasVertexSharpness',·['../a00969.html#a4f46be1cfd41b34d8808363c83e9ff56',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::VertexDescriptor']]], |
10 | ····['hlslpatchshadersource_6',·['HLSLPatchShaderSource',·['../a01257.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], | 10 | ····['hlslpatchshadersource_6',·['HLSLPatchShaderSource',·['../a01257.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], |
11 | ····['hlslpatchshadersource_2eh_7',·['hlslPatchShaderSource.h',·['../a008 | 11 | ····['hlslpatchshadersource_2eh_7',·['hlslPatchShaderSource.h',·['../a00827.html',·1,·'']]], |
12 | ····['holeindices_8',·['holeIndices',·['../a01097.html#a4fcd8e9a636d89045d364607f2b035a1',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor']]] | 12 | ····['holeindices_8',·['holeIndices',·['../a01097.html#a4fcd8e9a636d89045d364607f2b035a1',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor']]] |
13 | ]; | 13 | ]; |
Offset 22, 26 lines modified | Offset 22, 26 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',·['../a0080 | 29 | ····['mtlcommon_2eh_21',·['mtlCommon.h',·['../a00806.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',·['../a00821.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',·['../a00818.html',·1,·'']]], |
37 | ····['mtlmesh_2eh_27',·['mtlMesh.h',·['../a008 | 37 | ····['mtlmesh_2eh_27',·['mtlMesh.h',·['../a00812.html',·1,·'']]], |
38 | ····['mtlmeshinterface_28',·['MTLMeshInterface',·['../a00912.html#aa41e5b43fe46eeb0f97ff6ebdb1935aa',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], | 38 | ····['mtlmeshinterface_28',·['MTLMeshInterface',·['../a00912.html#aa41e5b43fe46eeb0f97ff6ebdb1935aa',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], |
39 | ····['mtlpatchshadersource_29',·['MTLPatchShaderSource',·['../a01293.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], | 39 | ····['mtlpatchshadersource_29',·['MTLPatchShaderSource',·['../a01293.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], |
40 | ····['mtlpatchshadersource_2eh_30',·['mtlPatchShaderSource.h',·['../a008 | 40 | ····['mtlpatchshadersource_2eh_30',·['mtlPatchShaderSource.h',·['../a00809.html',·1,·'']]], |
41 | ····['mtlpatchtable_31',·['mtlpatchtable',·['../a01297.html',·1,·'MTLPatchTable'], | 41 | ····['mtlpatchtable_31',·['mtlpatchtable',·['../a01297.html',·1,·'MTLPatchTable'], |
42 | ········['../a01297.html#a3f197c2ae3862390d72e7443a2525187',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchTable::MTLPatchTable()'] | 42 | ········['../a01297.html#a3f197c2ae3862390d72e7443a2525187',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchTable::MTLPatchTable()'] |
43 | ····]], | 43 | ····]], |
44 | ····['mtlpatchtable_2eh_32',·['mtlPatchTable.h',·['../a00815.html',·1,·'']]], | 44 | ····['mtlpatchtable_2eh_32',·['mtlPatchTable.h',·['../a00815.html',·1,·'']]], |
45 | ····['mtlstenciltable_33',·['mtlstenciltable',·['../a01281.html',·1,·'MTLStencilTable'], | 45 | ····['mtlstenciltable_33',·['mtlstenciltable',·['../a01281.html',·1,·'MTLStencilTable'], |
46 | ········['../a01281.html#a015dc72c3360b4841ee2b3feb06c106f',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLStencilTable::MTLStencilTable(Far::LimitStencilTable·const·*stencilTable,·MTLContext·*context)'], | 46 | ········['../a01281.html#a015dc72c3360b4841ee2b3feb06c106f',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLStencilTable::MTLStencilTable(Far::LimitStencilTable·const·*stencilTable,·MTLContext·*context)'], |
47 | ········['../a01281.html#a45e329ffe9fe4e32a1b21bfc89a6763f',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLStencilTable::MTLStencilTable(Far::StencilTable·const·*stencilTable,·MTLContext·*context)'] | 47 | ········['../a01281.html#a45e329ffe9fe4e32a1b21bfc89a6763f',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLStencilTable::MTLStencilTable(Far::StencilTable·const·*stencilTable,·MTLContext·*context)'] |
Offset 1, 17 lines modified | Offset 1, 17 lines modified | ||
1 | var·searchData·=·[ | 1 | var·searchData·=·[ |
2 | ····['offset_0',·['offset',·['../a01133.html#aed7ea92f45bd273dde380a45ddced592',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::BufferDescriptor']]], | 2 | ····['offset_0',·['offset',·['../a01133.html#aed7ea92f45bd273dde380a45ddced592',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::BufferDescriptor']]], |
3 | ····['ompevalstencils_1',·['ompevalstencils',·['../a00912.html#a44a05502feb5015035bc81b93cffb99c',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::OmpEvalStencils(float·const·*src,·BufferDescriptor·const·&srcDesc,·float·*dst,·BufferDescriptor·const·&dstDesc,·float·*dstDu,·BufferDescriptor·const·&dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&dstDvDesc,·float·*dstDuu,·BufferDescriptor·const·&dstDuuDesc,·float·*dstDuv,·BufferDescriptor·const·&dstDuvDesc,·float·*dstDvv,·BufferDescriptor·const·&dstDvvDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·float·const·*duWeights,·float·const·*dvWeights,·float·const·*duuWeights,·float·const·*duvWeights,·float·const·*dvvWeights,·int·start,·int·end)'], | 3 | ····['ompevalstencils_1',·['ompevalstencils',·['../a00912.html#a44a05502feb5015035bc81b93cffb99c',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::OmpEvalStencils(float·const·*src,·BufferDescriptor·const·&srcDesc,·float·*dst,·BufferDescriptor·const·&dstDesc,·float·*dstDu,·BufferDescriptor·const·&dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&dstDvDesc,·float·*dstDuu,·BufferDescriptor·const·&dstDuuDesc,·float·*dstDuv,·BufferDescriptor·const·&dstDuvDesc,·float·*dstDvv,·BufferDescriptor·const·&dstDvvDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·float·const·*duWeights,·float·const·*dvWeights,·float·const·*duuWeights,·float·const·*duvWeights,·float·const·*dvvWeights,·int·start,·int·end)'], |
4 | ········['../a00912.html#a907dc53421460557871ddc35f77751f5',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::OmpEvalStencils(float·const·*src,·BufferDescriptor·const·&srcDesc,·float·*dst,·BufferDescriptor·const·&dstDesc,·float·*dstDu,·BufferDescriptor·const·&dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&dstDvDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·float·const·*duWeights,·float·const·*dvWeights,·int·start,·int·end)'], | 4 | ········['../a00912.html#a907dc53421460557871ddc35f77751f5',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::OmpEvalStencils(float·const·*src,·BufferDescriptor·const·&srcDesc,·float·*dst,·BufferDescriptor·const·&dstDesc,·float·*dstDu,·BufferDescriptor·const·&dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&dstDvDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·float·const·*duWeights,·float·const·*dvWeights,·int·start,·int·end)'], |
5 | ········['../a00912.html#a870745ff3e883b32547d4db42b3be2bd',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::OmpEvalStencils(float·const·*src,·BufferDescriptor·const·&srcDesc,·float·*dst,·BufferDescriptor·const·&dstDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·int·start,·int·end)'] | 5 | ········['../a00912.html#a870745ff3e883b32547d4db42b3be2bd',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::OmpEvalStencils(float·const·*src,·BufferDescriptor·const·&srcDesc,·float·*dst,·BufferDescriptor·const·&dstDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·int·start,·int·end)'] |
6 | ····]], | 6 | ····]], |
7 | ····['ompevaluator_2',·['OmpEvaluator',·['../a01305.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], | 7 | ····['ompevaluator_2',·['OmpEvaluator',·['../a01305.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], |
8 | ····['ompevaluator_2eh_3',·['ompEvaluator.h',·['../a008 | 8 | ····['ompevaluator_2eh_3',·['ompEvaluator.h',·['../a00881.html',·1,·'']]], |
9 | ····['ompkernel_2eh_4',·['ompKernel.h',·['../a008 | 9 | ····['ompkernel_2eh_4',·['ompKernel.h',·['../a00878.html',·1,·'']]], |
10 | ····['opencl_2eh_5',·['opencl.h',·['../a0079 | 10 | ····['opencl_2eh_5',·['opencl.h',·['../a00791.html',·1,·'']]], |
11 | ····['opengl_2eh_6',·['opengl.h',·['../a00884.html',·1,·'']]], | 11 | ····['opengl_2eh_6',·['opengl.h',·['../a00884.html',·1,·'']]], |
12 | ····['opensubdiv_7',·['OpenSubdiv',·['../a00905.html',·1,·'']]], | 12 | ····['opensubdiv_7',·['OpenSubdiv',·['../a00905.html',·1,·'']]], |
13 | ····['opensubdiv_3a_3aopensubdiv_5fversion_8',·['OPENSUBDIV_VERSION',·['../a00906.html',·1,·'OpenSubdiv']]], | 13 | ····['opensubdiv_3a_3aopensubdiv_5fversion_8',·['OPENSUBDIV_VERSION',·['../a00906.html',·1,·'OpenSubdiv']]], |
14 | ····['opensubdiv_3a_3aopensubdiv_5fversion_3a_3abfr_9',·['Bfr',·['../a00907.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION']]], | 14 | ····['opensubdiv_3a_3aopensubdiv_5fversion_3a_3abfr_9',·['Bfr',·['../a00907.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION']]], |
15 | ····['opensubdiv_3a_3aopensubdiv_5fversion_3a_3afar_10',·['Far',·['../a00908.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION']]], | 15 | ····['opensubdiv_3a_3aopensubdiv_5fversion_3a_3afar_10',·['Far',·['../a00908.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION']]], |
16 | ····['opensubdiv_3a_3aopensubdiv_5fversion_3a_3aosd_11',·['Osd',·['../a00912.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION']]], | 16 | ····['opensubdiv_3a_3aopensubdiv_5fversion_3a_3aosd_11',·['Osd',·['../a00912.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION']]], |
17 | ····['opensubdiv_3a_3aopensubdiv_5fversion_3a_3asdc_12',·['Sdc',·['../a00913.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION']]], | 17 | ····['opensubdiv_3a_3aopensubdiv_5fversion_3a_3asdc_12',·['Sdc',·['../a00913.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION']]], |
Offset 1, 14 lines modified | Offset 1, 14 lines modified | ||
1 | var·searchData·=·[ | 1 | var·searchData·=·[ |
2 | ····['parameterization_0',·['parameterization',·['../a00921.html#a64a4b29d36851a8d83be05af5b25f886',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Parameterization::Parameterization(Parameterization·const·&)=default'], | 2 | ····['parameterization_0',·['parameterization',·['../a00921.html#a64a4b29d36851a8d83be05af5b25f886',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Parameterization::Parameterization(Parameterization·const·&)=default'], |
3 | ········['../a00921.html#aa7e0b89d67d34c1dd7a37cdce95f9e2c',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Parameterization::Parameterization()'], | 3 | ········['../a00921.html#aa7e0b89d67d34c1dd7a37cdce95f9e2c',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Parameterization::Parameterization()'], |
4 | ········['../a00921.html#a301ad64c8ae0a3ba3af84377138a069f',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Parameterization::Parameterization(Sdc::SchemeType·scheme,·int·faceSize)'], | 4 | ········['../a00921.html#a301ad64c8ae0a3ba3af84377138a069f',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Parameterization::Parameterization(Sdc::SchemeType·scheme,·int·faceSize)'], |
5 | ········['../a00921.html',·1,·'Parameterization'] | 5 | ········['../a00921.html',·1,·'Parameterization'] |
6 | ····]], | 6 | ····]], |
7 | ····['parameterization_2eh_1',·['parameterization.h',·['../a0069 | 7 | ····['parameterization_2eh_1',·['parameterization.h',·['../a00692.html',·1,·'']]], |
8 | ····['patcharray_2',·['patcharray',·['../a01317.html',·1,·'PatchArray'], | 8 | ····['patcharray_2',·['patcharray',·['../a01317.html',·1,·'PatchArray'], |
9 | ········['../a01317.html#ad9821423935395f540ff8d37d907600a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchArray::PatchArray(Far::PatchDescriptor·regDesc_in,·Far::PatchDescriptor·irregDesc_in,·int·numPatches_in,·int·indexBase_in,·int·primitiveIdBase_in)'], | 9 | ········['../a01317.html#ad9821423935395f540ff8d37d907600a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchArray::PatchArray(Far::PatchDescriptor·regDesc_in,·Far::PatchDescriptor·irregDesc_in,·int·numPatches_in,·int·indexBase_in,·int·primitiveIdBase_in)'], |
10 | ········['../a01317.html#a9c551db8af15f4a0ddf4c2a13ce2505e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchArray::PatchArray(Far::PatchDescriptor·desc_in,·int·numPatches_in,·int·indexBase_in,·int·primitiveIdBase_in)'] | 10 | ········['../a01317.html#a9c551db8af15f4a0ddf4c2a13ce2505e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchArray::PatchArray(Far::PatchDescriptor·desc_in,·int·numPatches_in,·int·indexBase_in,·int·primitiveIdBase_in)'] |
11 | ····]], | 11 | ····]], |
12 | ····['patcharrayvector_3',·['PatchArrayVector',·['../a00912.html#a98098cd229f60d2397d84a76fe654a31',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], | 12 | ····['patcharrayvector_3',·['PatchArrayVector',·['../a00912.html#a98098cd229f60d2397d84a76fe654a31',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], |
13 | ····['patchbuilder_4',·['PatchBuilder',·['../a01113.html#a97612a1a955f8b65e6d7e7761ed1cef7',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner']]], | 13 | ····['patchbuilder_4',·['PatchBuilder',·['../a01113.html#a97612a1a955f8b65e6d7e7761ed1cef7',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner']]], |
14 | ····['patchcoord_5',·['patchcoord',·['../a01313.html#abe64006c4fe55b720f483bd7711bf216',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchCoord::PatchCoord(Far::PatchTable::PatchHandle·handleArg,·float·sArg,·float·tArg)'], | 14 | ····['patchcoord_5',·['patchcoord',·['../a01313.html#abe64006c4fe55b720f483bd7711bf216',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchCoord::PatchCoord(Far::PatchTable::PatchHandle·handleArg,·float·sArg,·float·tArg)'], |
Offset 45, 15 lines modified | Offset 45, 15 lines modified | ||
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',·['../a00731.html',·1,·'']]], |
48 | ····['patchtablebuilder_21',·['patchtablebuilder',·['../a00993.html#ad452cef79832abb71eef0c3d88acc1a0',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::PatchTableBuilder'], | 48 | ····['patchtablebuilder_21',·['patchtablebuilder',·['../a00993.html#ad452cef79832abb71eef0c3d88acc1a0',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::PatchTableBuilder'], |
49 | ········['../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',·['../a0072 | 52 | ····['patchtablefactory_2eh_23',·['patchTableFactory.h',·['../a00725.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']]], |
55 | ····['pointdescriptor_26',·['pointdescriptor',·['../a00937.html',·1,·'Surface<·REAL·>::PointDescriptor'], | 55 | ····['pointdescriptor_26',·['pointdescriptor',·['../a00937.html',·1,·'Surface<·REAL·>::PointDescriptor'], |
56 | ········['../a00937.html#ac60ab7fa3966237e2de95cc60defa4de',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::PointDescriptor::PointDescriptor()'], | 56 | ········['../a00937.html#ac60ab7fa3966237e2de95cc60defa4de',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::PointDescriptor::PointDescriptor()'], |
57 | ········['../a00937.html#a69d66788e741236b1176159a1d609189',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::PointDescriptor::PointDescriptor(int·n)'], | 57 | ········['../a00937.html#a69d66788e741236b1176159a1d609189',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::PointDescriptor::PointDescriptor(int·n)'], |
58 | ········['../a00937.html#a6e6069bdfef867e798fe863f40f4274a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::PointDescriptor::PointDescriptor(int·n,·int·m)'] | 58 | ········['../a00937.html#a6e6069bdfef867e798fe863f40f4274a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::PointDescriptor::PointDescriptor(int·n,·int·m)'] |
59 | ····]], | 59 | ····]], |
Offset 69, 15 lines modified | Offset 69, 15 lines modified | ||
69 | ····['preservequads_36',·['preservequads',·['../a00965.html#a98820ec764e776bd556a9b80b872b78f',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation::Options::PreserveQuads(bool·on)'], | 69 | ····['preservequads_36',·['preservequads',·['../a00965.html#a98820ec764e776bd556a9b80b872b78f',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation::Options::PreserveQuads(bool·on)'], |
70 | ········['../a00965.html#ae2ec197b850e8bd12878cc67a503a07a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation::Options::PreserveQuads()·const'] | 70 | ········['../a00965.html#ae2ec197b850e8bd12878cc67a503a07a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation::Options::PreserveQuads()·const'] |
71 | ····]], | 71 | ····]], |
72 | ····['primitiveidbase_37',·['primitiveIdBase',·['../a01317.html#a5a054ce6862ecc6ea8c404fadb1c9a15',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchArray']]], | 72 | ····['primitiveidbase_37',·['primitiveIdBase',·['../a01317.html#a5a054ce6862ecc6ea8c404fadb1c9a15',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchArray']]], |
73 | ····['primvarrefiner_38',·['primvarrefiner',·['../a01029.html#a643d81a2ae20ba1897433f5af5a3697a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PrimvarRefiner::PrimvarRefiner()'], | 73 | ····['primvarrefiner_38',·['primvarrefiner',·['../a01029.html#a643d81a2ae20ba1897433f5af5a3697a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PrimvarRefiner::PrimvarRefiner()'], |
74 | ········['../a01029.html',·1,·'PrimvarRefiner'] | 74 | ········['../a01029.html',·1,·'PrimvarRefiner'] |
75 | ····]], | 75 | ····]], |
76 | ····['primvarrefiner_2eh_39',·['primvarRefiner.h',·['../a0072 | 76 | ····['primvarrefiner_2eh_39',·['primvarRefiner.h',·['../a00728.html',·1,·'']]], |
77 | ····['primvarrefinerreal_40',·['primvarrefinerreal',·['../a01113.html#a2cb48b58c1c2ecef25abb39339a95ac1',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::PrimvarRefinerReal'], | 77 | ····['primvarrefinerreal_40',·['primvarrefinerreal',·['../a01113.html#a2cb48b58c1c2ecef25abb39339a95ac1',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::PrimvarRefinerReal'], |
78 | ········['../a01021.html#a1fe1fbda93c01c326f13929d1c3c6247',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PrimvarRefinerReal::PrimvarRefinerReal()'], | 78 | ········['../a01021.html#a1fe1fbda93c01c326f13929d1c3c6247',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PrimvarRefinerReal::PrimvarRefinerReal()'], |
79 | ········['../a01021.html',·1,·'PrimvarRefinerReal<·REAL·>'] | 79 | ········['../a01021.html',·1,·'PrimvarRefinerReal<·REAL·>'] |
80 | ····]], | 80 | ····]], |
81 | ····['primvarrefinerreal_3c_20float_20_3e_41',·['PrimvarRefinerReal<·float·>',·['../a01021.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far']]], | 81 | ····['primvarrefinerreal_3c_20float_20_3e_41',·['PrimvarRefinerReal<·float·>',·['../a01021.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far']]], |
82 | ····['print_42',·['print',·['../a00973.html#acd0f82d3c49b8a5dd436d4003c44b713',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor::print()'], | 82 | ····['print_42',·['print',·['../a00973.html#acd0f82d3c49b8a5dd436d4003c44b713',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor::print()'], |
83 | ········['../a00993.html#acd0f82d3c49b8a5dd436d4003c44b713',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::print()'] | 83 | ········['../a00993.html#acd0f82d3c49b8a5dd436d4003c44b713',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::print()'] |
Offset 1, 4 lines modified | Offset 1, 4 lines modified | ||
1 | var·searchData·=·[ | 1 | var·searchData·=·[ |
2 | ····['bilinearscheme_2eh_0',·['bilinearScheme.h',·['../a0078 | 2 | ····['bilinearscheme_2eh_0',·['bilinearScheme.h',·['../a00782.html',·1,·'']]], |
3 | ····['bufferdescriptor_2eh_1',·['bufferDescriptor.h',·['../a00899.html',·1,·'']]] | 3 | ····['bufferdescriptor_2eh_1',·['bufferDescriptor.h',·['../a00899.html',·1,·'']]] |
4 | ]; | 4 | ]; |
Offset 1, 16 lines modified | Offset 1, 16 lines modified | ||
1 | var·searchData·=·[ | 1 | var·searchData·=·[ |
2 | ····['catmarkscheme_2eh_0',·['catmarkScheme.h',·['../a0078 | 2 | ····['catmarkscheme_2eh_0',·['catmarkScheme.h',·['../a00785.html',·1,·'']]], |
3 | ····['clevaluator_2eh_1',·['clEvaluator.h',·['../a0080 | 3 | ····['clevaluator_2eh_1',·['clEvaluator.h',·['../a00803.html',·1,·'']]], |
4 | ····['clpatchtable_2eh_2',·['clPatchTable.h',·['../a00800.html',·1,·'']]], | 4 | ····['clpatchtable_2eh_2',·['clPatchTable.h',·['../a00800.html',·1,·'']]], |
5 | ····['clvertexbuffer_2eh_3',·['clVertexBuffer.h',·['../a0079 | 5 | ····['clvertexbuffer_2eh_3',·['clVertexBuffer.h',·['../a00797.html',·1,·'']]], |
6 | ····['componentinterfaces_2eh_4',·['componentInterfaces.h',·['../a00764.html',·1,·'']]], | 6 | ····['componentinterfaces_2eh_4',·['componentInterfaces.h',·['../a00764.html',·1,·'']]], |
7 | ····['cpud3d11vertexbuffer_2eh_5',·['cpuD3D11VertexBuffer.h',·['../a0084 | 7 | ····['cpud3d11vertexbuffer_2eh_5',·['cpuD3D11VertexBuffer.h',·['../a00842.html',·1,·'']]], |
8 | ····['cpuevaluator_2eh_6',·['cpuEvaluator.h',·['../a00896.html',·1,·'']]], | 8 | ····['cpuevaluator_2eh_6',·['cpuEvaluator.h',·['../a00896.html',·1,·'']]], |
9 | ····['cpuglvertexbuffer_2eh_7',·['cpuGLVertexBuffer.h',·['../a00869.html',·1,·'']]], | 9 | ····['cpuglvertexbuffer_2eh_7',·['cpuGLVertexBuffer.h',·['../a00869.html',·1,·'']]], |
10 | ····['cpupatchtable_2eh_8',·['cpuPatchTable.h',·['../a00893.html',·1,·'']]], | 10 | ····['cpupatchtable_2eh_8',·['cpuPatchTable.h',·['../a00893.html',·1,·'']]], |
11 | ····['cpuvertexbuffer_2eh_9',·['cpuVertexBuffer.h',·['../a00890.html',·1,·'']]], | 11 | ····['cpuvertexbuffer_2eh_9',·['cpuVertexBuffer.h',·['../a00890.html',·1,·'']]], |
12 | ····['crease_2eh_10',·['crease.h',·['../a00779.html',·1,·'']]], | 12 | ····['crease_2eh_10',·['crease.h',·['../a00779.html',·1,·'']]], |
13 | ····['cudaevaluator_2eh_11',·['cudaEvaluator.h',·['../a0079 | 13 | ····['cudaevaluator_2eh_11',·['cudaEvaluator.h',·['../a00794.html',·1,·'']]], |
14 | ····['cudapatchtable_2eh_12',·['cudaPatchTable.h',·['../a00788.html',·1,·'']]], | 14 | ····['cudapatchtable_2eh_12',·['cudaPatchTable.h',·['../a00788.html',·1,·'']]], |
15 | ····['cudavertexbuffer_2eh_13',·['cudaVertexBuffer.h',·['../a00902.html',·1,·'']]] | 15 | ····['cudavertexbuffer_2eh_13',·['cudaVertexBuffer.h',·['../a00902.html',·1,·'']]] |
16 | ]; | 16 | ]; |
Offset 1, 7 lines modified | Offset 1, 7 lines modified | ||
1 | var·searchData·=·[ | 1 | var·searchData·=·[ |
2 | ····['d3d11computeevaluator_2eh_0',·['d3d11ComputeEvaluator.h',·['../a0084 | 2 | ····['d3d11computeevaluator_2eh_0',·['d3d11ComputeEvaluator.h',·['../a00845.html',·1,·'']]], |
3 | ····['d3d11legacygregorypatchtable_2eh_1',·['d3d11LegacyGregoryPatchTable.h',·['../a00839.html',·1,·'']]], | 3 | ····['d3d11legacygregorypatchtable_2eh_1',·['d3d11LegacyGregoryPatchTable.h',·['../a00839.html',·1,·'']]], |
4 | ····['d3d11mesh_2eh_2',·['d3d11Mesh.h',·['../a008 | 4 | ····['d3d11mesh_2eh_2',·['d3d11Mesh.h',·['../a00830.html',·1,·'']]], |
5 | ····['d3d11patchtable_2eh_3',·['d3d11PatchTable.h',·['../a00836.html',·1,·'']]], | 5 | ····['d3d11patchtable_2eh_3',·['d3d11PatchTable.h',·['../a00836.html',·1,·'']]], |
6 | ····['d3d11vertexbuffer_2eh_4',·['d3d11VertexBuffer.h',·['../a00833.html',·1,·'']]] | 6 | ····['d3d11vertexbuffer_2eh_4',·['d3d11VertexBuffer.h',·['../a00833.html',·1,·'']]] |
7 | ]; | 7 | ]; |
Offset 1, 4 lines modified | Offset 1, 4 lines modified | ||
1 | var·searchData·=·[ | 1 | var·searchData·=·[ |
2 | ····['fvarlevel_2eh_0',·['fvarLevel.h',·['../a007 | 2 | ····['fvarlevel_2eh_0',·['fvarLevel.h',·['../a00761.html',·1,·'']]], |
3 | ····['fvarrefinement_2eh_1',·['fvarRefinement.h',·['../a007 | 3 | ····['fvarrefinement_2eh_1',·['fvarRefinement.h',·['../a00758.html',·1,·'']]] |
4 | ]; | 4 | ]; |
Offset 1, 9 lines modified | Offset 1, 9 lines modified | ||
1 | var·searchData·=·[ | 1 | var·searchData·=·[ |
2 | ····['glcomputeevaluator_2eh_0',·['glComputeEvaluator.h',·['../a00848.html',·1,·'']]], | 2 | ····['glcomputeevaluator_2eh_0',·['glComputeEvaluator.h',·['../a00848.html',·1,·'']]], |
3 | ····['gllegacygregorypatchtable_2eh_1',·['glLegacyGregoryPatchTable.h',·['../a0086 | 3 | ····['gllegacygregorypatchtable_2eh_1',·['glLegacyGregoryPatchTable.h',·['../a00866.html',·1,·'']]], |
4 | ····['glmesh_2eh_2',·['glMesh.h',·['../a00857.html',·1,·'']]], | 4 | ····['glmesh_2eh_2',·['glMesh.h',·['../a00857.html',·1,·'']]], |
5 | ····['glpatchtable_2eh_3',·['glPatchTable.h',·['../a0086 | 5 | ····['glpatchtable_2eh_3',·['glPatchTable.h',·['../a00860.html',·1,·'']]], |
6 | ····['glslpatchshadersource_2eh_4',·['glslPatchShaderSource.h',·['../a00854.html',·1,·'']]], | 6 | ····['glslpatchshadersource_2eh_4',·['glslPatchShaderSource.h',·['../a00854.html',·1,·'']]], |
7 | ····['glvertexbuffer_2eh_5',·['glVertexBuffer.h',·['../a0086 | 7 | ····['glvertexbuffer_2eh_5',·['glVertexBuffer.h',·['../a00863.html',·1,·'']]], |
8 | ····['glxfbevaluator_2eh_6',·['glXFBEvaluator.h',·['../a00851.html',·1,·'']]] | 8 | ····['glxfbevaluator_2eh_6',·['glXFBEvaluator.h',·['../a00851.html',·1,·'']]] |
9 | ]; | 9 | ]; |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | var·searchData·=·[ | 1 | var·searchData·=·[ |
2 | ····['hlslpatchshadersource_2eh_0',·['hlslPatchShaderSource.h',·['../a008 | 2 | ····['hlslpatchshadersource_2eh_0',·['hlslPatchShaderSource.h',·['../a00827.html',·1,·'']]] |
3 | ]; | 3 | ]; |
Offset 1, 10 lines modified | Offset 1, 10 lines modified | ||
1 | var·searchData·=·[ | 1 | var·searchData·=·[ |
2 | ····['mesh_2eh_0',·['mesh.h',·['../a00887.html',·1,·'']]], | 2 | ····['mesh_2eh_0',·['mesh.h',·['../a00887.html',·1,·'']]], |
3 | ····['mtlcommon_2eh_1',·['mtlCommon.h',·['../a0080 | 3 | ····['mtlcommon_2eh_1',·['mtlCommon.h',·['../a00806.html',·1,·'']]], |
4 | ····['mtlcomputeevaluator_2eh_2',·['mtlComputeEvaluator.h',·['../a00821.html',·1,·'']]], | 4 | ····['mtlcomputeevaluator_2eh_2',·['mtlComputeEvaluator.h',·['../a00821.html',·1,·'']]], |
5 | ····['mtllegacygregorypatchtable_2eh_3',·['mtlLegacyGregoryPatchTable.h',·['../a00818.html',·1,·'']]], | 5 | ····['mtllegacygregorypatchtable_2eh_3',·['mtlLegacyGregoryPatchTable.h',·['../a00818.html',·1,·'']]], |
6 | ····['mtlmesh_2eh_4',·['mtlMesh.h',·['../a008 | 6 | ····['mtlmesh_2eh_4',·['mtlMesh.h',·['../a00812.html',·1,·'']]], |
7 | ····['mtlpatchshadersource_2eh_5',·['mtlPatchShaderSource.h',·['../a008 | 7 | ····['mtlpatchshadersource_2eh_5',·['mtlPatchShaderSource.h',·['../a00809.html',·1,·'']]], |
8 | ····['mtlpatchtable_2eh_6',·['mtlPatchTable.h',·['../a00815.html',·1,·'']]], | 8 | ····['mtlpatchtable_2eh_6',·['mtlPatchTable.h',·['../a00815.html',·1,·'']]], |
9 | ····['mtlvertexbuffer_2eh_7',·['mtlVertexBuffer.h',·['../a00824.html',·1,·'']]] | 9 | ····['mtlvertexbuffer_2eh_7',·['mtlVertexBuffer.h',·['../a00824.html',·1,·'']]] |
10 | ]; | 10 | ]; |
Offset 1, 7 lines modified | Offset 1, 7 lines modified | ||
1 | var·searchData·=·[ | 1 | var·searchData·=·[ |
2 | ····['ompevaluator_2eh_0',·['ompEvaluator.h',·['../a008 | 2 | ····['ompevaluator_2eh_0',·['ompEvaluator.h',·['../a00881.html',·1,·'']]], |
3 | ····['ompkernel_2eh_1',·['ompKernel.h',·['../a008 | 3 | ····['ompkernel_2eh_1',·['ompKernel.h',·['../a00878.html',·1,·'']]], |
4 | ····['opencl_2eh_2',·['opencl.h',·['../a0079 | 4 | ····['opencl_2eh_2',·['opencl.h',·['../a00791.html',·1,·'']]], |
5 | ····['opengl_2eh_3',·['opengl.h',·['../a00884.html',·1,·'']]], | 5 | ····['opengl_2eh_3',·['opengl.h',·['../a00884.html',·1,·'']]], |
6 | ····['options_2eh_4',·['options.h',·['../a00773.html',·1,·'']]] | 6 | ····['options_2eh_4',·['options.h',·['../a00773.html',·1,·'']]] |
7 | ]; | 7 | ]; |
Offset 1, 10 lines modified | Offset 1, 10 lines modified | ||
1 | var·searchData·=·[ | 1 | var·searchData·=·[ |
2 | ····['parameterization_2eh_0',·['parameterization.h',·['../a0069 | 2 | ····['parameterization_2eh_0',·['parameterization.h',·['../a00692.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',·['../a00734.html',·1,·'']]], |
5 | ····['patchparam_2eh_3',·['patchParam.h',·['../a00737.html',·1,·'']]], | 5 | ····['patchparam_2eh_3',·['patchParam.h',·['../a00737.html',·1,·'']]], |
6 | ····['patchtable_2eh_4',·['patchTable.h',·['../a00731.html',·1,·'']]], | 6 | ····['patchtable_2eh_4',·['patchTable.h',·['../a00731.html',·1,·'']]], |
7 | ····['patchtablefactory_2eh_5',·['patchTableFactory.h',·['../a0072 | 7 | ····['patchtablefactory_2eh_5',·['patchTableFactory.h',·['../a00725.html',·1,·'']]], |
8 | ····['primvarrefiner_2eh_6',·['primvarRefiner.h',·['../a0072 | 8 | ····['primvarrefiner_2eh_6',·['primvarRefiner.h',·['../a00728.html',·1,·'']]], |
9 | ····['ptexindices_2eh_7',·['ptexIndices.h',·['../a00722.html',·1,·'']]] | 9 | ····['ptexindices_2eh_7',·['ptexIndices.h',·['../a00722.html',·1,·'']]] |
10 | ]; | 10 | ]; |
Offset 1, 4 lines modified | Offset 1, 4 lines modified | ||
1 | var·searchData·=·[ | 1 | var·searchData·=·[ |
2 | ····['refinement_2eh_0',·['refinement.h',·['../a00752.html',·1,·'']]], | 2 | ····['refinement_2eh_0',·['refinement.h',·['../a00752.html',·1,·'']]], |
3 | ····['refinersurfacefactory_2eh_1',·['refinerSurfaceFactory.h',·['../a0069 | 3 | ····['refinersurfacefactory_2eh_1',·['refinerSurfaceFactory.h',·['../a00695.html',·1,·'']]] |
4 | ]; | 4 | ]; |
Offset 1, 11 lines modified | Offset 1, 11 lines modified | ||
1 | var·searchData·=·[ | 1 | var·searchData·=·[ |
2 | ····['scheme_2eh_0',·['scheme.h',·['../a00770.html',·1,·'']]], | 2 | ····['scheme_2eh_0',·['scheme.h',·['../a00770.html',·1,·'']]], |
3 | ····['sparseselector_2eh_1',·['sparseSelector.h',·['../a00749.html',·1,·'']]], | 3 | ····['sparseselector_2eh_1',·['sparseSelector.h',·['../a00749.html',·1,·'']]], |
4 | ····['stackbuffer_2eh_2',·['stackBuffer.h',·['../a00746.html',·1,·'']]], | 4 | ····['stackbuffer_2eh_2',·['stackBuffer.h',·['../a00746.html',·1,·'']]], |
5 | ····['stenciltable_2eh_3',·['stencilTable.h',·['../a00719.html',·1,·'']]], | 5 | ····['stenciltable_2eh_3',·['stencilTable.h',·['../a00719.html',·1,·'']]], |
6 | ····['stenciltablefactory_2eh_4',·['stencilTableFactory.h',·['../a0071 | 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',·['../a0068 | 8 | ····['surfacefactory_2eh_6',·['surfaceFactory.h',·['../a00686.html',·1,·'']]], |
9 | ····['surfacefactorycache_2eh_7',·['surfaceFactoryCache.h',·['../a0068 | 9 | ····['surfacefactorycache_2eh_7',·['surfaceFactoryCache.h',·['../a00680.html',·1,·'']]], |
10 | ····['surfacefactorymeshadapter_2eh_8',·['surfaceFactoryMeshAdapter.h',·['../a0068 | 10 | ····['surfacefactorymeshadapter_2eh_8',·['surfaceFactoryMeshAdapter.h',·['../a00683.html',·1,·'']]] |
11 | ]; | 11 | ]; |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | var·searchData·=·[ | 1 | var·searchData·=·[ |
2 | ····['tbbevaluator_2eh_0',·['tbbEvaluator.h',·['../a00875.html',·1,·'']]], | 2 | ····['tbbevaluator_2eh_0',·['tbbEvaluator.h',·['../a00875.html',·1,·'']]], |
3 | ····['tbbkernel_2eh_1',·['tbbKernel.h',·['../a00872.html',·1,·'']]], | 3 | ····['tbbkernel_2eh_1',·['tbbKernel.h',·['../a00872.html',·1,·'']]], |
4 | ····['tessellation_2eh_2',·['tessellation.h',·['../a00677.html',·1,·'']]], | 4 | ····['tessellation_2eh_2',·['tessellation.h',·['../a00677.html',·1,·'']]], |
5 | ····['topologydescriptor_2eh_3',·['topologyDescriptor.h',·['../a0071 | 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',·['../a00704.html',·1,·'']]], |
8 | ····['topologyrefinerfactory_2eh_6',·['topologyRefinerFactory.h',·['../a00707.html',·1,·'']]], | 8 | ····['topologyrefinerfactory_2eh_6',·['topologyRefinerFactory.h',·['../a00707.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)'] |
Offset 1, 93 lines modified | Offset 1, 88 lines modified | ||
1 | var·tipuesearch·=·{ | 1 | var·tipuesearch·=·{ |
2 | ····"pages":·[{ | 2 | ····"pages":·[{ |
3 | ········"title":·"bfr_tutorial_3_1.cpp", | ||
4 | ········"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-02-29·1258·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | ||
5 | ········"tags":·"", | ||
6 | ········"loc":·"bfr_tutorial_3_1.html" | ||
7 | ····},·{ | ||
3 | ········"title":·"bfr_tutorial_3_2.cpp", | 8 | ········"title":·"bfr_tutorial_3_2.cpp", |
4 | ········"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-02-29·1258·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-02-29·1258·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", |
5 | ········"tags":·"", | 10 | ········"tags":·"", |
6 | ········"loc":·"bfr_tutorial_3_2.html" | 11 | ········"loc":·"bfr_tutorial_3_2.html" |
7 | ····},·{ | 12 | ····},·{ |
8 | ········"title":·"osd_tutorial_0.cpp", | 13 | ········"title":·"osd_tutorial_0.cpp", |
9 | ········"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-02-29·1258·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | 14 | ········"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-02-29·1258·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", |
10 | ········"tags":·"", | 15 | ········"tags":·"", |
11 | ········"loc":·"osd_tutorial_0.html" | 16 | ········"loc":·"osd_tutorial_0.html" |
12 | ····},·{ | 17 | ····},·{ |
13 | ········"title":·"bfr_tutorial_ | 18 | ········"title":·"bfr_tutorial_1_5.cpp", |
14 | ········"text":·"bfr_tutorial_ | 19 | ········"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·-------------------------------------------------------[·...·truncated·by·diffoscope;·len:·7572,·SHA:·0385a30e8bd1ca39ce6ef92f315c9533220f4b9cab6e1ebfebc5b383f6c3e460·...·]s·,·args··delete·meshTopology··return·EXIT_SUCCESS···------------------------------------------------------------------------------·Generated·on·2024-02-29·1258·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", |
15 | ········"tags":·"", | 20 | ········"tags":·"", |
16 | ········"loc":·"bfr_tutorial_ | 21 | ········"loc":·"bfr_tutorial_1_5.html" |
17 | ····},·{ | 22 | ····},·{ |
18 | ········"title":·"bfr_tutorial_2_1.cpp", | 23 | ········"title":·"bfr_tutorial_2_1.cpp", |
19 | ········"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-02-29·1258·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-02-29·1258·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", |
20 | ········"tags":·"", | 25 | ········"tags":·"", |
21 | ········"loc":·"bfr_tutorial_2_1.html" | 26 | ········"loc":·"bfr_tutorial_2_1.html" |
22 | ····},·{ | 27 | ····},·{ |
23 | ········"title":·"bfr_tutorial_2_2.cpp", | 28 | ········"title":·"bfr_tutorial_2_2.cpp", |
24 | ········"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-02-29·1258·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | 29 | ········"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-02-29·1258·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", |
25 | ········"tags":·"", | 30 | ········"tags":·"", |
26 | ········"loc":·"bfr_tutorial_2_2.html" | 31 | ········"loc":·"bfr_tutorial_2_2.html" |
27 | ····},·{ | 32 | ····},·{ |
28 | ········"title":·"bfr_tutorial_1_2.cpp", | ||
29 | ········"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-02-29·1258·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_2.html" | ||
32 | ····},·{ | ||
33 | ········"title":·"bfr_tutorial_1_4.cpp", | 33 | ········"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-02-29·1258·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | 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-02-29·1258·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", |
35 | ········"tags":·"", | 35 | ········"tags":·"", |
36 | ········"loc":·"bfr_tutorial_1_4.html" | 36 | ········"loc":·"bfr_tutorial_1_4.html" |
37 | ····},·{ | 37 | ····},·{ |
38 | ········"title":·"bfr_tutorial_1_3.cpp", | 38 | ········"title":·"bfr_tutorial_1_3.cpp", |
39 | ········"text":·"bfr_tutorial_1_3.cpp·bfr_tutorial_1_3.cpp·3.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-02-29·1258·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | 39 | ········"text":·"bfr_tutorial_1_3.cpp·bfr_tutorial_1_3.cpp·3.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-02-29·1258·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", |
40 | ········"tags":·"", | 40 | ········"tags":·"", |
41 | ········"loc":·"bfr_tutorial_1_3.html" | 41 | ········"loc":·"bfr_tutorial_1_3.html" |
42 | ····},·{ | 42 | ····},·{ |
43 | ········"title":·" | 43 | ········"title":·"far_tutorial_5_2.cpp", |
44 | ········"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-02-29·1258·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | ||
44 | ········"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-02-29·1258·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_5.html" | ||
47 | ····},·{ | ||
48 | ········"title":·"bfr_tutorial_1_1.cpp", | ||
49 | ········"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-02-29·1258·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | ||
50 | ········"tags":·"", | 45 | ········"tags":·"", |
51 | ········"loc":·" | 46 | ········"loc":·"far_tutorial_5_2.html" |
52 | ····},·{ | 47 | ····},·{ |
53 | ········"title":·"far_tutorial_5_3.cpp", | 48 | ········"title":·"far_tutorial_5_3.cpp", |
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·------------------------------------------------------------------------------··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-02-29·1258·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | 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-02-29·1258·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", |
55 | ········"tags":·"", | 50 | ········"tags":·"", |
56 | ········"loc":·"far_tutorial_5_3.html" | 51 | ········"loc":·"far_tutorial_5_3.html" |
57 | ····},·{ | 52 | ····},·{ |
58 | ········"title":·" | 53 | ········"title":·"bfr_tutorial_1_1.cpp", |
59 | ········"text":·" | 54 | ········"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:·6684,·SHA:·2a8499a779fbe44e31685594f2ba30a3ec623cd339be456fee9aac9a6fea5fb7·...·]·Generated·on·2024-02-29·1258·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", |
60 | ········"tags":·"", | 55 | ········"tags":·"", |
56 | ········"loc":·"bfr_tutorial_1_1.html" | ||
57 | ····},·{ | ||
58 | ········"title":·"bfr_tutorial_1_2.cpp", | ||
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·------------------------------------------------------------------------------··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-02-29·1258·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | ||
60 | ········"tags":·"", | ||
61 | ········"loc":·" | 61 | ········"loc":·"bfr_tutorial_1_2.html" |
62 | ····},·{ | 62 | ····},·{ |
63 | ········"title":·"far_tutorial_5_1.cpp", | 63 | ········"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-02-29·1258·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | 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-02-29·1258·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", |
65 | ········"tags":·"", | 65 | ········"tags":·"", |
66 | ········"loc":·"far_tutorial_5_1.html" | 66 | ········"loc":·"far_tutorial_5_1.html" |
67 | ····},·{ | 67 | ····},·{ |
68 | ········"title":·"far_tutorial_4_3.cpp", | 68 | ········"title":·"far_tutorial_4_3.cpp", |
69 | ········"text":·"far_tutorial_4_3.cpp·far_tutorial_4_3.cpp·3.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-02-29·1258·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-02-29·1258·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", |
70 | ········"tags":·"", | 70 | ········"tags":·"", |
71 | ········"loc":·"far_tutorial_4_3.html" | 71 | ········"loc":·"far_tutorial_4_3.html" |
72 | ····},·{ | 72 | ····},·{ |
73 | ········"title":·"far_tutorial_4_2.cpp", | ||
74 | ········"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-02-29·1258·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | ||
75 | ········"tags":·"", | ||
76 | ········"loc":·"far_tutorial_4_2.html" | ||
77 | ····},·{ | ||
78 | ········"title":·"far_tutorial_3_1.cpp", | 73 | ········"title":·"far_tutorial_3_1.cpp", |
79 | ········"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-02-29·1258·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | 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-02-29·1258·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", |
80 | ········"tags":·"", | 75 | ········"tags":·"", |
81 | ········"loc":·"far_tutorial_3_1.html" | 76 | ········"loc":·"far_tutorial_3_1.html" |
82 | ····},·{ | 77 | ····},·{ |
83 | ········"title":·"far_tutorial_ | 78 | ········"title":·"far_tutorial_4_2.cpp", |
84 | ········"text":·"far_tutorial_ | 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·-------------------------------------------------------[·...·truncated·by·diffoscope;·len:·5547,·SHA:·067ada6da8793857f942c3294109fd00c71cfbeb0a01fabba1ea74d63ce0df89·...·]···------------------------------------------------------------------------------·Generated·on·2024-02-29·1258·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_ | 81 | ········"loc":·"far_tutorial_4_2.html" |
87 | ····},·{ | 82 | ····},·{ |
88 | ········"title":·"far_tutorial_4_1.cpp", | 83 | ········"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-02-29·1258·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | 84 | ········"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-02-29·1258·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", |
90 | ········"tags":·"", | 85 | ········"tags":·"", |
91 | ········"loc":·"far_tutorial_4_1.html" | 86 | ········"loc":·"far_tutorial_4_1.html" |
92 | ····},·{ | 87 | ····},·{ |
93 | ········"title":·"far_tutorial_2_3.cpp", | 88 | ········"title":·"far_tutorial_2_3.cpp", |
Offset 101, 134 lines modified | Offset 96, 139 lines modified | ||
101 | ········"loc":·"far_tutorial_2_1.html" | 96 | ········"loc":·"far_tutorial_2_1.html" |
102 | ····},·{ | 97 | ····},·{ |
103 | ········"title":·"far_tutorial_1_2.cpp", | 98 | ········"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-02-29·1258·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | 99 | ········"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-02-29·1258·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", |
105 | ········"tags":·"", | 100 | ········"tags":·"", |
106 | ········"loc":·"far_tutorial_1_2.html" | 101 | ········"loc":·"far_tutorial_1_2.html" |
107 | ····},·{ | 102 | ····},·{ |
103 | ········"title":·"far_tutorial_2_2.cpp", | ||
104 | ········"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-02-29·1258·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | ||
105 | ········"tags":·"", | ||
106 | ········"loc":·"far_tutorial_2_2.html" | ||
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-02-29·1258·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-02-29·1258·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 | ····},·{ |
113 | ········"title":·"hbr_tutorial_ | 113 | ········"title":·"hbr_tutorial_2.cpp", |
114 | ········"text":·"hbr_tutorial_ | 114 | ········"text":·"hbr_tutorial_2.cpp·hbr_tutorial_2.cpp·3.5.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialshbrtutorial_2hbr_tutorial_2.cpp·---------------------------------------------------------------[·...·truncated·by·diffoscope;·len:·5522,·SHA:·d542f7ce9d0c6542f64a0c3c66cb3b2a82b162de6377eb69e26fb0c006992993·...·]···------------------------------------------------------------------------------·Generated·on·2024-02-29·1258·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", |
115 | ········"tags":·"", | 115 | ········"tags":·"", |
116 | ········"loc":·"hbr_tutorial_ | 116 | ········"loc":·"hbr_tutorial_2.html" |
117 | ····},·{ | 117 | ····},·{ |
Max diff block lines reached; 415210/682331 bytes (60.85%) of diff not shown. |
Offset 1, 14 lines modified | Offset 1, 14 lines modified | ||
1 | ··Streams:···········1 | 1 | ··Streams:···········1 |
2 | ··Blocks:············2 | 2 | ··Blocks:············2 |
3 | ··Compressed·size:···30.0·MiB·(31463 | 3 | ··Compressed·size:···30.0·MiB·(31463612·B) |
4 | ··Uncompressed·size:·47.8·MiB·(50135040·B) | 4 | ··Uncompressed·size:·47.8·MiB·(50135040·B) |
5 | ··Ratio:·············0.628 | 5 | ··Ratio:·············0.628 |
6 | ··Check:·············CRC64 | 6 | ··Check:·············CRC64 |
7 | ··Stream·Padding:····0·B | 7 | ··Stream·Padding:····0·B |
8 | ··Streams: | 8 | ··Streams: |
9 | ····Stream····Blocks······CompOffset····UncompOffset········CompSize······UncompSize··Ratio··Check······Padding | 9 | ····Stream····Blocks······CompOffset····UncompOffset········CompSize······UncompSize··Ratio··Check······Padding |
10 | ·········1·········2···············0···············0········31463 | 10 | ·········1·········2···············0···············0········31463612········50135040··0.628··CRC64············0 |
11 | ··Blocks: | 11 | ··Blocks: |
12 | ····Stream·····Block······CompOffset····UncompOffset·······TotalSize······UncompSize··Ratio··Check | 12 | ····Stream·····Block······CompOffset····UncompOffset·······TotalSize······UncompSize··Ratio··Check |
13 | ·········1·········1··············12···············0·········9141 | 13 | ·········1·········1··············12···············0·········9141624········25165824··0.363··CRC64 |
14 | ·········1·········2·········9141 | 14 | ·········1·········2·········9141636········25165824········22321940········24969216··0.894··CRC64 |