23 #ifndef __vtkPistonDataWrangling_h
24 #define __vtkPistonDataWrangling_h
26 #define SPACE thrust::detail::default_device_space_tag
38 thrust::device_vector<float> *
points;
44 thrust::unary_function<thrust::tuple<float, float, float>, float3>
47 float3
operator()(thrust::tuple<float, float, float> xyz) {
48 return make_float3((
float) thrust::get<0>(xyz),
49 (
float) thrust::get<1>(xyz),
50 (
float) thrust::get<2>(xyz));
67 #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 *)