VTK-m  2.0
ParticleArrayCopy.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 #ifndef vtk_m_cont_ParticleArrayCopy_h
11 #define vtk_m_cont_ParticleArrayCopy_h
12 
13 #include <vtkm/Particle.h>
14 #include <vtkm/cont/ArrayHandle.h>
15 #include <vtkm/cont/vtkm_cont_export.h>
16 
17 namespace vtkm
18 {
19 namespace cont
20 {
21 
27 
28 template <typename ParticleType>
32  bool CopyTerminatedOnly = false);
33 
34 
40 template <typename ParticleType>
44 
51 
52 template <typename ParticleType>
60 }
61 } // namespace vtkm::cont
62 
63 #ifndef vtk_m_cont_ParticleArrayCopy_hxx
64 #include <vtkm/cont/ParticleArrayCopy.hxx>
65 #endif //vtk_m_cont_ParticleArrayCopy_hxx
66 
67 #endif //vtk_m_cont_ParticleArrayCopy_h
vtkm::cont::ArrayHandle
Manages an array-worth of data.
Definition: ArrayHandle.h:283
ArrayHandle.h
vtkm
Groups connected points that have the same field value.
Definition: Atomic.h:19
vtkm::cont::ParticleArrayCopy
VTKM_ALWAYS_EXPORT void ParticleArrayCopy(const vtkm::cont::ArrayHandle< ParticleType, vtkm::cont::StorageTagBasic > &inP, vtkm::cont::ArrayHandle< vtkm::Vec3f, vtkm::cont::StorageTagBasic > &outPos, bool CopyTerminatedOnly=false)
Copy fields in vtkm::Particle to standard types.
VTKM_ALWAYS_EXPORT
#define VTKM_ALWAYS_EXPORT
Definition: ExportMacros.h:92
Particle.h