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

The FilterDeformGrid class. More...

#include <display.hpp>

Inheritance diagram for pic::pic::FilterDeformGrid:
pic::pic::Filter

Public Member Functions

 FilterDeformGrid (Image *grid_move)
 FilterDeformGrid. More...
 
 ~FilterDeformGrid ()
 
void getCoordinatesAfterTransform (float x, float y, float &xOut, float &yOut)
 getCoordinatesAfterTransform More...
 
- Public Member Functions inherited from pic::pic::Filter
 Filter ()
 Filter. More...
 
 ~Filter ()
 
virtual void release ()
 release More...
 
virtual void changePass (int pass, int tPass)
 changePass changes the pass direction. More...
 
virtual std::string signature ()
 signature returns the signature for the filter. More...
 
int checkHalfSize (int size)
 checkHalfSize More...
 
std::string getOutPutName (std::string nameIn)
 getOutPutName More...
 
ImagecachedProcess (ImageVec imgIn, Image *imgOut, std::string nameIn)
 CachedProcess. More...
 
virtual void OutputSize (ImageVec imgIn, int &width, int &height, int &channels, int &frames)
 OutputSize. More...
 
ImageallocateOutputMemory (ImageVec imgIn, Image *imgOut, bool bDelete)
 allocateOutputMemory More...
 
void insertFilter (Filter *flt, bool asSingle=false)
 insertFilter More...
 
void setFloatParameters (std::vector< float > param_f)
 setFloatParameters sets float parameters. More...
 
virtual void ProcessAux (ImageVec imgIn, Image *imgOut, TileList *tiles)
 ProcessAux. More...
 
virtual ImageProcess (ImageVec imgIn, Image *imgOut)
 Process. More...
 

Static Public Member Functions

static ImagegetUniformGrid (int sampleX, int sampleY)
 getUniformGrid More...
 

Protected Member Functions

void ProcessBBox (Image *dst, ImageVec src, BBox *box)
 ProcessBBox. More...
 
- Protected Member Functions inherited from pic::pic::Filter
bool checkInput (ImageVec &imgIn)
 checkInput More...
 
virtual void f (FilterFData *data)
 f More...
 
ImageProcessP (ImageVec imgIn, Image *imgOut)
 ProcessP. More...
 
virtual ImagesetupAux (ImageVec imgIn, Image *imgOut)
 setupAux More...
 

Protected Attributes

ImageSamplerBicubic isb
 
ImageSamplerNearest isb_lin
 
Imagegrid_rest
 
Imagegrid_move
 
Image grid_diff
 
- Protected Attributes inherited from pic::pic::Filter
float scale
 
std::vector< float > param_f
 
int minInputImages
 

Additional Inherited Members

- Public Attributes inherited from pic::pic::Filter
bool cachedOnly
 
bool bDelete
 
std::vector< Filter * > filters
 

Detailed Description

The FilterDeformGrid class.

Constructor & Destructor Documentation

◆ FilterDeformGrid()

pic::pic::FilterDeformGrid::FilterDeformGrid ( Image grid_move)
inline

FilterDeformGrid.

Parameters
type

◆ ~FilterDeformGrid()

pic::pic::FilterDeformGrid::~FilterDeformGrid ( )
inline

Member Function Documentation

◆ getCoordinatesAfterTransform()

void pic::pic::FilterDeformGrid::getCoordinatesAfterTransform ( float  x,
float  y,
float &  xOut,
float &  yOut 
)
inline

getCoordinatesAfterTransform

Parameters
xis normalized in [0,1]
yis normalized in [0,1]
xOut
yOut

◆ getUniformGrid()

static Image* pic::pic::FilterDeformGrid::getUniformGrid ( int  sampleX,
int  sampleY 
)
inlinestatic

getUniformGrid

Parameters
sampleX
sampleY
Returns

◆ ProcessBBox()

void pic::pic::FilterDeformGrid::ProcessBBox ( Image dst,
ImageVec  src,
BBox box 
)
inlineprotectedvirtual

ProcessBBox.

Parameters
dst
src
box

Reimplemented from pic::pic::Filter.

Member Data Documentation

◆ grid_diff

Image pic::pic::FilterDeformGrid::grid_diff
protected

◆ grid_move

Image * pic::pic::FilterDeformGrid::grid_move
protected

◆ grid_rest

Image* pic::pic::FilterDeformGrid::grid_rest
protected

◆ isb

ImageSamplerBicubic pic::pic::FilterDeformGrid::isb
protected

◆ isb_lin

ImageSamplerNearest pic::pic::FilterDeformGrid::isb_lin
protected

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