Commit Graph

11412 Commits

Author SHA1 Message Date
Roxana Bujack
5d3c9604f2 second round of fixes 2023-11-07 17:20:05 -07:00
Kenneth Moreland
4d02add0e0 Enable new instances of unknown arrays with dynamic sizes
`UnknownArrayHandle` allows you to create a new instance of a compatible
array so that when receiving an array of unknown type, a place to put the
output can be created. However, these methods only worked if the number of
components in each value could be determined statically at compile time.

However, there are some special `ArrayHandle`s that can define the number
of components at runtime. In this case, the `ArrayHandle` would throw an
exception if `NewInstanceBasic` or `NewInstanceFloatBasic` was called.

Although rare, this condition could happen when, for example, an array was
extracted from an `UnknownArrayHandle` with `ExtractArrayFromComponents` or
with `CastAndCallWithExtractedArray` and then the resulting array was
passed to a function with arrays passed with `UnknownArrayHandle` such as
`ArrayCopy`.
2023-11-07 16:59:25 -05:00
Roxana Bujack
fae4cc4c79 first round of fixes 2023-11-07 13:52:05 -07:00
Kenneth Moreland
7e09fb7033 ken's suggestion to remove const 2023-11-07 14:31:36 -05:00
Roxana Bujack
f8d1dff30c use float 64 instead of default 2023-11-07 12:23:44 -07:00
Roxana Bujack
bc0447ec00 only remove blanked cells if the number of cells matches the ghost array 2023-11-07 11:56:37 -07:00
Roxana Bujack
2955b834e7 use float default instead of 64 2023-11-07 10:46:38 -07:00
Roxana Bujack
48793964d0 use global ghost array name 2023-11-07 10:37:54 -07:00
Roxana Bujack
f8c9af4f11 add default empty ghost field for compatibility 2023-11-07 10:29:16 -07:00
Roxana Bujack
bc83184e70 remove ambiguity from default 2023-11-07 10:02:37 -07:00
Roxana Bujack
c720744fb9 enable partitioned rendering by ghost blanking and depth sorting 2023-11-06 17:42:43 -07:00
Jefferson Amstutz
b7125bd6fc Merge topic 'anari_sdk_compatibility'
c3489535a adjustments for upcoming ANARI-SDK changes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !3147
2023-11-03 10:36:40 -04:00
Jefferson Amstutz
c3489535af adjustments for upcoming ANARI-SDK changes 2023-11-01 20:39:48 -05:00
Sujin Philip
709961393f Merge topic 'fix-threshold-all-comps' into release-2.1
d825d2450 Add a regression test for issue #804
e0c5500a2 Simplify threshold worklet
6e1de4fa8 Fix threshold for any-point-all-components case

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !3143
2023-10-30 12:32:59 -04:00
Sujin Philip
7c2a150c12 Merge branch 'release-2.1' 2023-10-30 12:32:59 -04:00
Sujin Philip
4eb5da26fa Merge topic 'fix-threshold-all-comps'
d825d2450 Add a regression test for issue #804
e0c5500a2 Simplify threshold worklet
6e1de4fa8 Fix threshold for any-point-all-components case

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !3143
2023-10-30 12:32:59 -04:00
Dan Lipsa
97dfaf183a Merge topic 'external_vtk'
2fb446a4b Add INSTALL_RPATH to solve reference to library not found

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !3144
2023-10-30 10:03:56 -04:00
Sujin Philip
d825d2450e Add a regression test for issue #804 2023-10-26 10:09:03 -04:00
Kenneth Moreland
8297109a01 Merge topic 'user-guide-todos'
39aa256bb docs: edit .readthedocs.yaml
b261d2387 Allow turning off todo notes in user's guide

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Acked-by: Vicente Bolea <vicente.bolea@kitware.com>
Merge-request: !3145
2023-10-24 18:09:34 -04:00
Vicente Adolfo Bolea Sanchez
39aa256bb0 docs: edit .readthedocs.yaml 2023-10-24 10:35:06 -04:00
Sujin Philip
e0c5500a22 Simplify threshold worklet
Removes code that is no longer used.
2023-10-24 08:43:53 -04:00
Kenneth Moreland
b261d23876 Allow turning off todo notes in user's guide 2023-10-24 15:47:17 +11:00
Vicente Adolfo Bolea Sanchez
e2e5abad79 docs: edit .readthedocs.yaml 2023-10-23 20:04:00 -04:00
Vicente Adolfo Bolea Sanchez
9de0ee3429 docs: edit .readthedocs.yaml 2023-10-23 19:25:02 -04:00
Vicente Adolfo Bolea Sanchez
cee2c6e2cb docs: edit .readthedocs.yaml 2023-10-23 19:17:52 -04:00
Dan Lipsa
2fb446a4b9 Add INSTALL_RPATH to solve reference to library not found 2023-10-23 19:14:50 -04:00
Vicente Adolfo Bolea Sanchez
d0c1ed6d72 docs: edit .readthedocs.yaml 2023-10-23 19:04:15 -04:00
Vicente Adolfo Bolea Sanchez
2d9fea1902 docs: edit .readthedocs.yaml 2023-10-23 18:49:38 -04:00
Sujin Philip
6e1de4fa8f Fix threshold for any-point-all-components case
Threshold was producing wrong results with options `SetAllInRange(false)` and
`SetComponentToTestToAll` because the logic of running
`worklet::Threshold::RunIncremental` on individual components of the input
field and combining the results is incorrect for this case.

With this fix, component modes 'Any' and 'All' are handled by applying
the threshold criteria to each component of each value of the field,
combining the results, and running the threshold worklet on the result
array.
2023-10-23 11:23:30 -04:00
Vicente Adolfo Bolea Sanchez
43a6c1d110 docs: edit .readthedocs.yaml 2023-10-20 19:06:23 -04:00
Vicente Adolfo Bolea Sanchez
dcfedd023d docs: edit .readthedocs.yaml 2023-10-20 18:53:38 -04:00
Vicente Adolfo Bolea Sanchez
05b86fa3a1 docs: edit .readthedocs.yaml 2023-10-20 18:43:29 -04:00
Vicente Adolfo Bolea Sanchez
bfaf862bbb docs: edit .readthedocs.yaml 2023-10-20 18:35:28 -04:00
Vicente Adolfo Bolea Sanchez
8ebeb7bdc0 docs: edit .readthedocs.yaml 2023-10-20 18:24:39 -04:00
Vicente Adolfo Bolea Sanchez
6b02cad740 docs: edit docs/requirements.txt 2023-10-20 18:11:14 -04:00
Vicente Adolfo Bolea Sanchez
692d19c5dc docs: edit docs/requirements.txt 2023-10-20 18:10:48 -04:00
Vicente Adolfo Bolea Sanchez
4e04fcb08a docs: edit docs/requirements.txt 2023-10-20 17:35:30 -04:00
Vicente Adolfo Bolea Sanchez
6daebf9ffe docs: edit docs/requirements.txt 2023-10-20 17:32:51 -04:00
Vicente Adolfo Bolea Sanchez
0a9538a8dc docs: edit docs/requirements.txt 2023-10-20 17:26:25 -04:00
Vicente Adolfo Bolea Sanchez
fe8decf7c0 docs: edit docs/requirements.txt 2023-10-20 16:42:39 -04:00
Vicente Adolfo Bolea Sanchez
c8c5b964dd docs: edit docs/requirements.txt 2023-10-20 16:07:13 -04:00
Vicente Adolfo Bolea Sanchez
ad9523d78a docs: add docs/requirements.txt 2023-10-20 16:04:09 -04:00
Vicente Adolfo Bolea Sanchez
6cb991e8e2 docs: add docs/requirements.txt 2023-10-20 16:02:01 -04:00
Vicente Bolea
d249350fe6 Merge topic 'add-sphinx-ci'
181d5616e build,docs: add sphinx to CI
7f400505c build,docs: add sphinx to CI

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Vicente Bolea <vicente.bolea@kitware.com>
Merge-request: !3142
2023-10-20 15:54:51 -04:00
Vicente Adolfo Bolea Sanchez
181d5616eb build,docs: add sphinx to CI 2023-10-20 15:28:15 -04:00
Vicente Adolfo Bolea Sanchez
7f400505c9 build,docs: add sphinx to CI 2023-10-20 14:14:39 -04:00
Vicente Adolfo Bolea Sanchez
911fe63624 docs: add readthedocs.yaml 2023-10-20 14:13:51 -04:00
Vicente Bolea
1766fc1e52 Merge branch 'release-2.1' 2023-10-19 15:01:51 -04:00
Vicente Bolea
c96c34ad54 Merge topic 'update-to-2.1.0'
599d8ff38 release: 2.1.0-rc2 release notes
05e850fa8 release: update version and License

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !3140
2023-10-19 15:01:51 -04:00
Kenneth Moreland
d356b78502 Merge topic 'users-guide'
b80b7e2e7 Add VTK-m User's Guide to source
feee5a2f9 Add cow dataset

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Vicente Bolea <vicente.bolea@kitware.com>
Merge-request: !3103
2023-10-19 12:55:46 -04:00