Raytrix Light Field SDK  4.0
Logo
Public Member Functions | List of all members
Rx::LFR::Net::ImageStacking Class Reference

Detailed Description

Provides information about the CUDA hardware in your system and enables access to available CUDA devices.

Inherits Rx::Net::NativeInterfaceWrapper< Rx::LFR::CImageStacking, Rx::LFR::Net::Interfaces::EImageStacking >.

Public Member Functions

 ImageStacking ()
 Default constructor. More...
 
 ~ImageStacking ()
 Destructor. More...
 
void AddImage (Rx::Net::Image^ xImage)
 Adds an image to the stack. The image is uploaded to the CUDA device and processed. More...
 
void AddImage (Rx::LFR::Net::ConstImage^ xImage)
 Adds an image to the stack. The image is uploaded to the CUDA device and processed. More...
 
void Clear ()
 Clears the stack by resetting the internal counter to zero. More...
 
void DownloadStackedImage (Rx::Net::Image^ xImage)
 Gets the stacked image if the stacking has been finished. More...
 
void Free ()
 Clears the stack and frees the memory used by this stack. The memory is reallocated by calling AddImage. More...
 
virtual System::Object^  GetInterface (Rx::LFR::Net::Interfaces::EImageStacking eData)
 Gets the interface. More...
 
bool IsComplete ()
 Queries if the stack is complete. This is the case if the stack is full. More...
 
void SetCudaDevice (CudaDevice^ xCudaDevice)
 Sets the CUDA device that allocates the memory required for the stack operation and that runs the algorithm. More...
 
void SetMaxImageCount (unsigned uMaxImageCount)
 Sets the maximum number of image on the stack. Resets the stacking result if changed. More...
 
void SetStackingOperation (Rx::LFR::Net::EImgStack eStackingOp)
 Sets the stacking operation. Resets the stacking result if changed. More...
 

Constructor & Destructor Documentation

Rx::LFR::Net::ImageStacking::ImageStacking ( )
inline

Default constructor.

Rx::LFR::Net::ImageStacking::~ImageStacking ( )
inline

Destructor.

Member Function Documentation

void Rx::LFR::Net::ImageStacking::AddImage ( Rx::Net::Image xImage)
inline

Adds an image to the stack. The image is uploaded to the CUDA device and processed.

Parameters
xImage[in] The image to add.
void Rx::LFR::Net::ImageStacking::AddImage ( Rx::LFR::Net::ConstImage xImage)
inline

Adds an image to the stack. The image is uploaded to the CUDA device and processed.

Parameters
xImage[in] The image to add.
void Rx::LFR::Net::ImageStacking::Clear ( )
inline

Clears the stack by resetting the internal counter to zero.

void Rx::LFR::Net::ImageStacking::DownloadStackedImage ( Rx::Net::Image xImage)
inline

Gets the stacked image if the stacking has been finished.

Returns
The stacked image.
void Rx::LFR::Net::ImageStacking::Free ( )
inline

Clears the stack and frees the memory used by this stack. The memory is reallocated by calling AddImage.

Gets the interface.

Returns
The interface.
bool Rx::LFR::Net::ImageStacking::IsComplete ( )
inline

Queries if the stack is complete. This is the case if the stack is full.

Returns
True if complete, false if not.
void Rx::LFR::Net::ImageStacking::SetCudaDevice ( CudaDevice xCudaDevice)
inline

Sets the CUDA device that allocates the memory required for the stack operation and that runs the algorithm.

Parameters
xCudaDeviceThe CUDA device.
void Rx::LFR::Net::ImageStacking::SetMaxImageCount ( unsigned  uMaxImageCount)
inline

Sets the maximum number of image on the stack. Resets the stacking result if changed.

Parameters
uMaxImageCountThe maximum number of images.
void Rx::LFR::Net::ImageStacking::SetStackingOperation ( Rx::LFR::Net::EImgStack  eStackingOp)
inline

Sets the stacking operation. Resets the stacking result if changed.

Parameters
eStackingOpThe stacking operation.