Commit Graph

11146 Commits

Author SHA1 Message Date
Kenneth Moreland
f9ddba8d5c Merge topic 'contour-test-warning'
44650c2e4 Fix unused variable in contour test

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Louis Gombert <louis.gombert@kitware.com>
Merge-request: !3059
2023-05-14 00:44:06 -04:00
Kenneth Moreland
3c1afe53dc Fix new instances of ArrayHandleRuntimeVec in UnknownArrayHandle
`UnknownArrayHandle` is supposed to treat `ArrayHandleRuntimeVec` the
same as `ArrayHandleBasic`. However, the `NewInstance` methods were
failing because they need custom handling of the vec size.
2023-05-12 13:11:23 -06:00
Kenneth Moreland
44650c2e48 Fix unused variable in contour test 2023-05-12 12:00:17 -06:00
Vicente Bolea
70f8fee958 Merge topic 'warnings-win-exception'
83b1cb9ec ci,warnings: add configure warning exceptions

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !3055
2023-05-12 11:58:52 -04:00
Louis Gombert
57abd08684 Merge topic 'fe-structured'
1538fc02f Implement Flying Edges for all structured CellSets

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !3056
2023-05-12 08:06:40 -04:00
Vicente Adolfo Bolea Sanchez
83b1cb9ecd ci,warnings: add configure warning exceptions 2023-05-11 19:17:45 -04:00
Li-Ta Lo
066e6a6969 I think this is the proper way doing PIMPL 2023-05-10 20:05:34 -06:00
Li-Ta Lo
6e75be33ec unique_ptr know if itself is valid 2023-05-10 17:31:50 -06:00
Li-Ta Lo
50a9efc2f5 use rvalue ref for parameter 2023-05-10 17:28:30 -06:00
Dave Pugmire
51435f2277 Merge branch 'master' of https://gitlab.kitware.com/vtk/vtk-m 2023-05-10 13:11:12 -04:00
Li-Ta Lo
61c002072f cleanup C++ usage, use unique_ptr for PIMPL 2023-05-10 10:17:14 -06:00
Louis Gombert
1538fc02fb Implement Flying Edges for all structured CellSets
In addition to  using uniform coordinates, the ContourFlyingEdges filter can now process any type of coordinate system, making the  filter use Flying Edges in more cases
2023-05-10 15:20:53 +02:00
Louis Gombert
a36415ff2b Merge topic 'contour-split'
dcdda3065 Split flying edges and marching cells into separate filters

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !3050
2023-05-10 03:34:20 -04:00
Li-Ta Lo
48393aa495 Merge topic 'rendering_cpp_cleanup'
0c9573e8d use mutable instead of const_cast, remove virtual

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3054
2023-05-09 16:09:27 -04:00
Li-Ta Lo
0c9573e8d3 use mutable instead of const_cast, remove virtual 2023-05-08 09:29:27 -06:00
Vicente Bolea
d90fcefab4 Merge topic 'crusher-update-rocm'
a3fcc3180 ci,crusher: updating to rocm 5.4

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Vicente Bolea <vicente.bolea@kitware.com>
Merge-request: !3049
2023-05-04 21:02:25 -04:00
Vicente Adolfo Bolea Sanchez
a3fcc3180f ci,crusher: updating to rocm 5.4 2023-05-04 19:50:32 -04:00
Li-Ta Lo
86ba9ff31a Merge topic 'unify_uniform_locators'
527940871 revert renaming this to self
58bbc0965 disable AxisAnnontation in unit tests
5787852a8 use Invoker instead of Dispatcher
eab63f68a revert change to CMakeList.txt
3045deb66 rename Adopter -> Adapter
9cdc16c9a fixed warning about float
2d3580636 add baseline image for volume renderer
8c324f824 Vec3f for param
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !3048
2023-05-04 11:18:04 -04:00
Louis Gombert
dcdda3065a Split flying edges and marching cells into separate filters
In order to compile the contour filter more efficiently, we split the contour filter into two separate translation units, corresponding to the new filters ContourFlyingEdges and ContourMarchingCells. The API for Contour filter is left totally unchanged, and tries to use flying edges if the dataset is structured and uniform.
All three contour filters inherit from the `AbstractContour` class, providing utility methods used in the implementations.
2023-05-04 15:20:20 +02:00
Li-Ta Lo
5279408711 revert renaming this to self 2023-05-03 12:35:53 -06:00
Li-Ta Lo
58bbc0965f disable AxisAnnontation in unit tests 2023-05-03 07:14:41 -06:00
Vicente Bolea
13a68cc86b Merge topic 'add-warning-icon-pipelines'
1a0ca75fc ci: Add warning icons in GL pipelines
af06da04f ci,cuda: parametrize arch for diff cmake vers

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !3051
2023-05-02 16:03:18 -04:00
Vicente Adolfo Bolea Sanchez
1a0ca75fc8 ci: Add warning icons in GL pipelines 2023-05-02 14:31:36 -04:00
Vicente Adolfo Bolea Sanchez
af06da04fd ci,cuda: parametrize arch for diff cmake vers 2023-05-02 14:31:36 -04:00
Li-Ta Lo
5787852a8e use Invoker instead of Dispatcher 2023-05-01 14:41:16 -06:00
Dave Pugmire
8651d9f284 Merge topic 'add_get_block_to_boundsmap'
b43763429 Kick the dashboards.....
f3279b0f5 Merge branch 'add_get_block_to_boundsmap' of https://gitlab.kitware.com/dpugmire/vtk-m into add_get_block_to_boundsmap
1ce2922d1 Remove warning. Add BoundsMap methods.
b9a684fda Merge branch 'master' of https://gitlab.kitware.com/vtk/vtk-m into add_get_block_to_boundsmap
a4b4bf656 Merge branch 'master' of https://gitlab.kitware.com/vtk/vtk-m
086f99e54 Merge branch 'master' of https://gitlab.kitware.com/vtk/vtk-m into add_get_block_to_boundsmap
166f5d405 Kick the dashboards.....
5fba6382b Kick the dashboards..........
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3041
2023-05-01 15:15:48 -04:00
Dave Pugmire
b437634295 Kick the dashboards..... 2023-05-01 14:41:32 -04:00
Dave Pugmire
f3279b0f57 Merge branch 'add_get_block_to_boundsmap' of https://gitlab.kitware.com/dpugmire/vtk-m into add_get_block_to_boundsmap 2023-05-01 13:05:21 -04:00
Dave Pugmire
1ce2922d15 Remove warning. Add BoundsMap methods.
Fix compiler warnings......

Kick the dashboards..........

Kick the dashboards.....

use lambda instead of functor, remove unused code

ArrayHandle::StorageType should be public

StorageType is public in vtkm::cont::ArrayHandle, but some subclasses  
re-declare it as private. Having it public provides a convenient way to  
get the storage type of an ArrayHandle, otherwise it is quite verbose.

Addresses: #314

Tetrahedralize and Triangulate filters check if input is already triangulated

Previously, tetrahedralize/triangulate would blindly convert all the cells to tetrahedra/triangles, even when they were already. Now, the dataset is directly returned if the CellSet is a CellSetSingleType of tetras/triangles, and no further processing is done in the worklets for CellSetExplicit when all shapes are tetras or triangles.

ci,crusher: changed fs to orion

ci,osx,macos: fix value of GIT_CLONE_PATH
2023-05-01 13:05:11 -04:00
Dave Pugmire
b9a684fda1 Merge branch 'master' of https://gitlab.kitware.com/vtk/vtk-m into add_get_block_to_boundsmap 2023-05-01 13:04:10 -04:00
Li-Ta Lo
eab63f68ad revert change to CMakeList.txt 2023-04-28 13:51:18 -06:00
Li-Ta Lo
3045deb665 rename Adopter -> Adapter 2023-04-28 13:21:26 -06:00
Li-Ta Lo
9cdc16c9ab fixed warning about float 2023-04-28 08:24:15 -06:00
Li-Ta Lo
2d35806361 add baseline image for volume renderer 2023-04-27 10:49:54 -06:00
Li-Ta Lo
8c324f8244 Vec3f for param 2023-04-27 10:18:15 -06:00
Li-Ta Lo
f799826faa use Vec3f for parametric coordinate 2023-04-27 10:10:45 -06:00
Li-Ta Lo
6fa506d60d clean up 2023-04-27 08:29:42 -06:00
Li-Ta Lo
b7b3d51b1d use CRTP to factor out common code 2023-04-26 12:33:05 -06:00
Li-Ta Lo
b1804f591c calculate invSpacing 2023-04-26 11:41:55 -06:00
Vicente Bolea
f8a63d18da Merge topic 'change-macos-clone-path'
54dd42271 ci,osx,macos: fix value of GIT_CLONE_PATH

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3046
2023-04-26 11:34:56 -04:00
Vicente Adolfo Bolea Sanchez
54dd42271c ci,osx,macos: fix value of GIT_CLONE_PATH 2023-04-26 11:33:07 -04:00
Li-Ta Lo
4f91cfded4 making the two sampler look closer 2023-04-26 09:02:43 -06:00
Vicente Bolea
feff1f24fb Merge topic 'migrate-crusher-build-orion'
8db94832f ci,crusher: changed fs to orion

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3047
2023-04-25 20:41:16 -04:00
Vicente Adolfo Bolea Sanchez
8db94832f1 ci,crusher: changed fs to orion 2023-04-25 19:38:29 -04:00
Li-Ta Lo
5ccf5dd5bc first cut at delegate RectilinearLocator 2023-04-25 16:42:21 -06:00
Li-Ta Lo
8dcd78b1ba delegate to vtk::cont::CellLocatorUniformGrid 2023-04-25 08:47:57 -06:00
Louis Gombert
60d8e66d8c Merge topic 'tetra-check'
1d272592e Tetrahedralize and Triangulate filters check if input is already triangulated

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !3044
2023-04-24 10:31:49 -04:00
Louis Gombert
1d272592e3 Tetrahedralize and Triangulate filters check if input is already triangulated
Previously, tetrahedralize/triangulate would blindly convert all the cells to tetrahedra/triangles, even when they were already. Now, the dataset is directly returned if the CellSet is a CellSetSingleType of tetras/triangles, and no further processing is done in the worklets for CellSetExplicit when all shapes are tetras or triangles.
2023-04-24 12:37:11 +02:00
Sujin Philip
fdf2c079fa Merge topic 'StorageType-public'
b0715e14a ArrayHandle::StorageType should be public

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !3038
2023-04-23 23:13:25 -04:00
Li-Ta Lo
0fd47317b2 Merge topic 'volume_render_cleanup'
86e6c5c3e use lambda instead of functor, remove unused code

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Acked-by: Manish Mathai <mmathai@uoregon.edu>
Merge-request: !3043
2023-04-21 10:39:30 -04:00