23 #ifndef vtkPistonDataWrangling_h
24 #define vtkPistonDataWrangling_h
26 #include <thrust/version.h>
27 #if THRUST_VERSION >= 100600
28 # define SPACE thrust::device_space_tag
30 # define SPACE thrust::detail::default_device_space_tag
43 thrust::device_vector<float> *
points;
49 thrust::unary_function<thrust::tuple<float, float, float>, float3>
52 float3
operator()(thrust::tuple<float, float, float> xyz) {
53 return make_float3((
float) thrust::get<0>(xyz),
54 (
float) thrust::get<1>(xyz),
55 (
float) thrust::get<2>(xyz));
72 #endif //vtkPistonDataWrangling_h