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
__host__ __device__ float3 operator()(float4 xyzw)
thrust::device_vector< float > * normals
thrust::device_vector< float > * scalars
thrust::device_vector< float > * points
__host__ __device__ float3 operator()(thrust::tuple< float, float, float > xyz)
Lower level handle on GPU resident data.
void DeleteData(vtkPistonReference *)