VTK-m  2.0
VectorMagnitude.h
Go to the documentation of this file.
1 //============================================================================
2 // Copyright (c) Kitware, Inc.
3 // All rights reserved.
4 // See LICENSE.txt for details.
5 //
6 // This software is distributed WITHOUT ANY WARRANTY; without even
7 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8 // PURPOSE. See the above copyright notice for more information.
9 //============================================================================
10 
11 #ifndef vtk_m_filter_vector_analysis_VectorMagnitude_h
12 #define vtk_m_filter_vector_analysis_VectorMagnitude_h
13 
15 #include <vtkm/filter/vector_analysis/vtkm_filter_vector_analysis_export.h>
16 
17 namespace vtkm
18 {
19 namespace filter
20 {
21 namespace vector_analysis
22 {
23 class VTKM_FILTER_VECTOR_ANALYSIS_EXPORT VectorMagnitude : public vtkm::filter::FilterField
24 {
25 public:
27 
28 private:
29  VTKM_CONT vtkm::cont::DataSet DoExecute(const vtkm::cont::DataSet& input) override;
30 };
31 } // namespace vector_analysis
32 } // namespace filter
33 } // namespace vtkm::filter
34 
35 #endif // vtk_m_filter_vector_analysis_VectorMagnitude_h
vtkm
Groups connected points that have the same field value.
Definition: Atomic.h:19
vtkm::cont::DataSet
Definition: DataSet.h:34
FilterField.h
vtkm::filter::FilterField
Definition: FilterField.h:21
vtkm::filter::vector_analysis::VectorMagnitude
Definition: VectorMagnitude.h:23
VTKM_CONT
#define VTKM_CONT
Definition: ExportMacros.h:57