diff --git a/Clients/ParaView/ParaViewFilters.xml b/Clients/ParaView/ParaViewFilters.xml index 720d90ed6bb50bbb2d050dd77eeaaffc842d8776..6c9d79c2ddb9dac5632cd6cf2e94f0c1ed7d2fe1 100644 --- a/Clients/ParaView/ParaViewFilters.xml +++ b/Clients/ParaView/ParaViewFilters.xml @@ -322,6 +322,7 @@ + diff --git a/Clients/ParaView/Testing/Data/Baseline/ReverseSense.png.sha512 b/Clients/ParaView/Testing/Data/Baseline/ReverseSense.png.sha512 new file mode 100644 index 0000000000000000000000000000000000000000..9f24f53d9f0059da70e2fe874f1349f7fa74d222 --- /dev/null +++ b/Clients/ParaView/Testing/Data/Baseline/ReverseSense.png.sha512 @@ -0,0 +1 @@ +66387b614b8590ffd53973fdbe3801029f63602c0dc1f4b0e3df95424ad646e8301928a14f74326b536ae933c5c04f679ae5831af41da82c367a2b3d6e373149 diff --git a/Clients/ParaView/Testing/XML/CMakeLists.txt b/Clients/ParaView/Testing/XML/CMakeLists.txt index c04f2381bc385016064c55ab35a8b80da38c4ec0..d02e13876bc8c34cecb1850bc272225b0799c7fe 100644 --- a/Clients/ParaView/Testing/XML/CMakeLists.txt +++ b/Clients/ParaView/Testing/XML/CMakeLists.txt @@ -701,6 +701,7 @@ SET(TESTS_WITH_BASELINES MoleculeScalarBar.xml PassArrays.xml PerlinNoise.xml + ReverseSense.xml SelectionByArray.xml SeriesPreset.xml SeriesPresetRegexp.xml diff --git a/Clients/ParaView/Testing/XML/ReverseSense.xml b/Clients/ParaView/Testing/XML/ReverseSense.xml new file mode 100644 index 0000000000000000000000000000000000000000..f45d7c4ad6a3a729d506a940589506c4fb38c689 --- /dev/null +++ b/Clients/ParaView/Testing/XML/ReverseSense.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Remoting/Application/Resources/filters_filterscore.xml b/Remoting/Application/Resources/filters_filterscore.xml index 9d5fe90c4ea84668cda16e08e14a44f76716d77f..6f507242c538444c9bc3600be6ef493c07459af4 100644 --- a/Remoting/Application/Resources/filters_filterscore.xml +++ b/Remoting/Application/Resources/filters_filterscore.xml @@ -1630,6 +1630,50 @@ found and the point will be rejected. + + + + This filter reverses vertex ordering or normals for cells. In graphics 2d cells + have a notion of front or back face. If you use the right hand rule and wind + the vertices of a cell counter-clockwise (how your right fungers coil) then + the front face is in the direction of your thumb (the normal aligns with + your right thumb). If you need to reverse the normals, or change the winding + order of a polydata this filter can be used. + + + + + + + + + + Set the input to the ReverseSense filter. + + + + Flag controls whether to reverse cell ordering. + + + + + Flag controls whether to reverse normal orientation. + + + + +