PICCANTE  0.4
The hottest HDR imaging library!
Public Member Functions | Protected Attributes | List of all members
pic::ImageSampler Class Reference

The ImageSampler class. More...

#include <image_sampler.hpp>

Public Member Functions

 ImageSampler ()
 ImageSampler. More...
 
 ~ImageSampler ()
 
void SetDirection (unsigned int direction)
 
virtual void SampleImage (Image *img, float x, float y, float *vOut)
 SampleImage samples an image in uniform coordiantes. More...
 
virtual void SampleImageUC (Image *img, float x, float y, float *vOut)
 SampleImageUC samples an image in unnormalized coordinates [0,width-1]x[0,height-1]. More...
 
virtual void SampleImage (Image *img, float x, float y, float t, float *vOut)
 SampleImage samples an image in uniform coordiantes. More...
 

Protected Attributes

int dirs [3]
 

Detailed Description

The ImageSampler class.

Constructor & Destructor Documentation

◆ ImageSampler()

pic::ImageSampler::ImageSampler ( )
inline

◆ ~ImageSampler()

pic::ImageSampler::~ImageSampler ( )
inline

Member Function Documentation

◆ SampleImage() [1/2]

virtual void pic::ImageSampler::SampleImage ( Image img,
float  x,
float  y,
float *  vOut 
)
inlinevirtual

SampleImage samples an image in uniform coordiantes.

Parameters
img
x
y
vOut

◆ SampleImage() [2/2]

virtual void pic::ImageSampler::SampleImage ( Image img,
float  x,
float  y,
float  t,
float *  vOut 
)
inlinevirtual

SampleImage samples an image in uniform coordiantes.

Parameters
img
x
y
t
vOut

◆ SampleImageUC()

virtual void pic::ImageSampler::SampleImageUC ( Image img,
float  x,
float  y,
float *  vOut 
)
inlinevirtual

SampleImageUC samples an image in unnormalized coordinates [0,width-1]x[0,height-1].

Parameters
img
x
y
vOut

◆ SetDirection()

void pic::ImageSampler::SetDirection ( unsigned int  direction)
inline

Member Data Documentation

◆ dirs

int pic::ImageSampler::dirs[3]
protected

The documentation for this class was generated from the following file: