24 #ifndef vtkPistonDataWrangling_h
25 #define vtkPistonDataWrangling_h
27 #include <thrust/version.h>
28 #if THRUST_VERSION >= 100600
29 # define SPACE thrust::device_space_tag
31 # define SPACE thrust::detail::default_device_space_tag
44 thrust::device_vector<float> *
points;
50 thrust::unary_function<thrust::tuple<float, float, float>, float3>
53 float3
operator()(thrust::tuple<float, float, float> xyz) {
54 return make_float3((
float) thrust::get<0>(xyz),
55 (
float) thrust::get<1>(xyz),
56 (
float) thrust::get<2>(xyz));
73 #endif //vtkPistonDataWrangling_h