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::FilterCrop Class Reference

The FilterCrop class. More...

#include <filter_crop.hpp>

Inheritance diagram for pic::FilterCrop:
pic::pic::Filter

Public Member Functions

 FilterCrop (Vec2i min, Vec2i max)
 FilterCrop. More...
 
 FilterCrop (Vec3i min, Vec3i max)
 FilterCrop. More...
 
 FilterCrop (Vec4i min, Vec4i max)
 FilterCrop. More...
 
 FilterCrop (Vec3f min, Vec3f max)
 FilterCrop. More...
 
void OutputSize (ImageVec imgIn, int &width, int &height, int &channels, int &frames)
 OutputSize. 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...
 
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 Imageexecute (Image *imgIn, Image *imgOut, Vec4i min, Vec4i max)
 execute More...
 
static Imageexecute (Image *imgIn, Image *imgOut, Vec2i min, Vec2i max)
 execute More...
 
static void test ()
 test 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...
 
virtual void ProcessBBox (Image *dst, ImageVec src, BBox *box)
 ProcessBBox. More...
 
ImageProcessP (ImageVec imgIn, Image *imgOut)
 ProcessP. More...
 
virtual ImagesetupAux (ImageVec imgIn, Image *imgOut)
 setupAux More...
 

Protected Attributes

bool flag
 
Vec4i mini
 
Vec4i maxi
 
Vec3f minf
 
Vec3f maxf
 
- 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 FilterCrop class.

Constructor & Destructor Documentation

◆ FilterCrop() [1/4]

PIC_INLINE pic::FilterCrop::FilterCrop ( Vec2i  min,
Vec2i  max 
)

FilterCrop.

Parameters
min
max

◆ FilterCrop() [2/4]

PIC_INLINE pic::FilterCrop::FilterCrop ( Vec3i  min,
Vec3i  max 
)

FilterCrop.

Parameters
min
max

◆ FilterCrop() [3/4]

PIC_INLINE pic::FilterCrop::FilterCrop ( Vec4i  min,
Vec4i  max 
)

FilterCrop.

Parameters
min
max

◆ FilterCrop() [4/4]

PIC_INLINE pic::FilterCrop::FilterCrop ( Vec3f  min,
Vec3f  max 
)

FilterCrop.

Parameters
min
max

Member Function Documentation

◆ execute() [1/2]

static Image* pic::FilterCrop::execute ( Image imgIn,
Image imgOut,
Vec4i  min,
Vec4i  max 
)
inlinestatic

execute

Parameters
imgIn
imgOut
min
max
Returns

◆ execute() [2/2]

static Image* pic::FilterCrop::execute ( Image imgIn,
Image imgOut,
Vec2i  min,
Vec2i  max 
)
inlinestatic

execute

Parameters
imgIn
imgOut
min
max
Returns

◆ OutputSize()

PIC_INLINE void pic::FilterCrop::OutputSize ( ImageVec  imgIn,
int &  width,
int &  height,
int &  channels,
int &  frames 
)
virtual

OutputSize.

Parameters
imgIn
width
height
channels
frames

Reimplemented from pic::pic::Filter.

◆ ProcessBBox()

PIC_INLINE void pic::FilterCrop::ProcessBBox ( Image dst,
ImageVec  src,
BBox box 
)
protected

ProcessBBox.

Parameters
dst
src
box

◆ test()

static void pic::FilterCrop::test ( )
inlinestatic

test

Member Data Documentation

◆ flag

bool pic::FilterCrop::flag
protected

◆ maxf

Vec3f pic::FilterCrop::maxf
protected

◆ maxi

Vec4i pic::FilterCrop::maxi
protected

◆ minf

Vec3f pic::FilterCrop::minf
protected

◆ mini

Vec4i pic::FilterCrop::mini
protected

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