VTK-m  2.0
ParticleDensityNearestGridPoint.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_density_estimate_ParticleDensityNGP_h
12 #define vtk_m_filter_density_estimate_ParticleDensityNGP_h
13 
15 
16 namespace vtkm
17 {
18 namespace filter
19 {
20 namespace density_estimate
21 {
37 class VTKM_FILTER_DENSITY_ESTIMATE_EXPORT ParticleDensityNearestGridPoint
38  : public ParticleDensityBase
39 {
40 public:
42 
44 
45 private:
46  VTKM_CONT vtkm::cont::DataSet DoExecute(const vtkm::cont::DataSet& input) override;
47 };
48 } // namespace density_estimate
49 } // namespace filter
50 } // namespace vtkm
51 #endif //vtk_m_filter_density_estimate_ParticleDensityNGP_h
vtkm
Groups connected points that have the same field value.
Definition: Atomic.h:19
vtkm::cont::DataSet
Definition: DataSet.h:34
ParticleDensityBase.h
VTKM_CONT
#define VTKM_CONT
Definition: ExportMacros.h:57
vtkm::filter::density_estimate::ParticleDensityNearestGridPoint
Estimate the density of particles using the Nearest Grid Point method This filter treats the Coordina...
Definition: ParticleDensityNearestGridPoint.h:37
vtkm::filter::density_estimate::ParticleDensityBase
Definition: ParticleDensityBase.h:23