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

The ImageSamplerNearest class. More...

#include <image_sampler_nearest.hpp>

Inheritance diagram for pic::ImageSamplerNearest:
pic::pic::ImageSampler

Public Member Functions

 ImageSamplerNearest ()
 ImageSamplerNearest. More...
 
void SampleImage (Image *img, float x, float y, float *vOut)
 SampleImage samples an image in uniform coordiantes. More...
 
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...
 
void SampleImage (Image *img, float x, float y, float t, float *vOut)
 SampleImage samples an image in uniform coordiantes. More...
 
- Public Member Functions inherited from pic::pic::ImageSampler
 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...
 

Additional Inherited Members

- Protected Attributes inherited from pic::pic::ImageSampler
int dirs [3]
 

Detailed Description

The ImageSamplerNearest class.

Constructor & Destructor Documentation

◆ ImageSamplerNearest()

pic::ImageSamplerNearest::ImageSamplerNearest ( )
inline

Member Function Documentation

◆ SampleImage() [1/2]

void pic::ImageSamplerNearest::SampleImage ( Image img,
float  x,
float  y,
float *  vOut 
)
inline

SampleImage samples an image in uniform coordiantes.

Parameters
img
x
y
vOut

◆ SampleImage() [2/2]

void pic::ImageSamplerNearest::SampleImage ( Image img,
float  x,
float  y,
float  t,
float *  vOut 
)
inline

SampleImage samples an image in uniform coordiantes.

Parameters
img
x
y
t
vOut

◆ SampleImageUC()

void pic::ImageSamplerNearest::SampleImageUC ( Image img,
float  x,
float  y,
float *  vOut 
)
inline

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

Parameters
img
x
y
vOut

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