Public Member Functions | Static Public Member Functions | Protected Attributes | Friends
CuTexImage Class Reference

#include <CuTexImage.h>

List of all members.

Public Member Functions

void BindTexture (textureReference &texRef)
void BindTexture2D (textureReference &texRef)
void CopyFromHost (const void *buf)
void CopyFromPBO (int width, int height, GLuint pbo)
void CopyToHost (void *buf)
void CopyToHost (void *buf, int stream)
int CopyToPBO (GLuint pbo)
void CopyToTexture2D ()
 CuTexImage ()
 CuTexImage (int width, int height, int nchannel, GLuint pbo)
int GetDataSize ()
int GetImgHeight ()
int GetImgWidth ()
virtual void InitTexture (int width, int height, int nchannel=1)
void InitTexture2D ()
virtual void SetImageSize (int width, int height)
virtual ~CuTexImage ()

Static Public Member Functions

static int DebugCopyToTexture2D ()

Protected Attributes

void_cuData
cudaArray * _cuData2D
GLuint _fromPBO
int _imgHeight
int _imgWidth
int _numBytes
int _numChannel
int _texHeight
int _texWidth

Friends

class ProgramCU
class PyramidCU

Detailed Description

Definition at line 35 of file CuTexImage.h.


Constructor & Destructor Documentation

CuTexImage::CuTexImage ( int  width,
int  height,
int  nchannel,
GLuint  pbo 
)
virtual CuTexImage::~CuTexImage ( ) [virtual]

Member Function Documentation

void CuTexImage::BindTexture ( textureReference &  texRef) [inline]
void CuTexImage::BindTexture2D ( textureReference &  texRef) [inline]
void CuTexImage::CopyFromPBO ( int  width,
int  height,
GLuint  pbo 
)
void CuTexImage::CopyToHost ( void buf,
int  stream 
)

Definition at line 63 of file CuTexImage.h.

Definition at line 62 of file CuTexImage.h.

Definition at line 61 of file CuTexImage.h.

virtual void CuTexImage::InitTexture ( int  width,
int  height,
int  nchannel = 1 
) [virtual]
virtual void CuTexImage::SetImageSize ( int  width,
int  height 
) [virtual]

Friends And Related Function Documentation

friend class ProgramCU [friend]

Definition at line 68 of file CuTexImage.h.

friend class PyramidCU [friend]

Definition at line 69 of file CuTexImage.h.


Member Data Documentation

void* CuTexImage::_cuData [protected]

Definition at line 38 of file CuTexImage.h.

cudaArray* CuTexImage::_cuData2D [protected]

Definition at line 39 of file CuTexImage.h.

Definition at line 46 of file CuTexImage.h.

Definition at line 43 of file CuTexImage.h.

Definition at line 42 of file CuTexImage.h.

Definition at line 41 of file CuTexImage.h.

Definition at line 40 of file CuTexImage.h.

Definition at line 45 of file CuTexImage.h.

Definition at line 44 of file CuTexImage.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


rgbd_registration
Author(s): Ross Kidson
autogenerated on Thu May 23 2013 15:36:57