Kinetic Visualization
 All Classes Functions Variables Pages
Cuda.h
1 #pragma once
2 #include "common.hpp"
3 #include "Camera.h"
4 #include "VertexGeometry.h"
5 #include "Primitives.h"
6 
7 // Utilities and System includes
8 #include <shrUtils.h>
9 #include <cutil_inline.h>
10 #include <cutil_gl_inline.h>
11 #include <channel_descriptor.h>
12 
13 #include <vector_types.h>
14 #include <vector_functions.h>
15 #include <driver_functions.h>
16 #include <cuda_gl_interop.h>
17 
18 #include <glm/glm.hpp>
19 #include <glm/gtx/transform.hpp>
20 //#include <glm/gtc/type_ptr.hpp>
21 #include <glm\gtc\matrix_projection.hpp>
22 #include <glm/gtc/matrix_transform.hpp>
23 
24 class Cuda
25 {
26 public:
30  Cuda(void);
34  ~Cuda(void);
35 
39  void ArrayCopy(cudaArray* srcArray, void* dstArray, size_t size, cudaExtent res );
43  void ArrayCopy(void* srcArray, void* dstArray, size_t size, cudaExtent res );
44 
48  void ArrayCopy(cudaArray* srcArray, cudaArray* dstArray, size_t size, cudaExtent res );
52  void ArrayCopy(void* srcArray, cudaArray* dstArray, size_t size, cudaExtent res );
53 
54 
55  glm::mat4 m_camView;
56  glm::mat4 m_camProj;
57 
58  VertexGeometry* m_plane;
59 };
60