HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TIL_PixelFilterMinMax< IS_MAX > Class Template Reference

#include <TIL_PixelFilter.h>

+ Inheritance diagram for TIL_PixelFilterMinMax< IS_MAX >:

Public Member Functions

 TIL_PixelFilterMinMax ()
 
template<int NSRCCOMPONENTS, typename T , int NDSTCOMPONENTS, bool INTERLEAVED>
void filterPlane (const TIL_AdaptiveImage &src, PXL_RasterWrapper< T, NDSTCOMPONENTS, INTERLEAVED, false > dest, int planei) const
 
void combineSample (int ncomponents, exint nexisting_samples, float *existing, exint nnew_samples, const float *new_sample) const override
 
bool ownedBySingleton () const override
 
- Public Member Functions inherited from TIL_PixelFilterT< TIL_PixelFilterMinMax< IS_MAX > >
 ~TIL_PixelFilterT () override
 
void filterPlaneVirtual (const TIL_AdaptiveImage &src, TIL_Raster &dest, int planei, int plane_src_components) const override
 
- Public Member Functions inherited from TIL_PixelFilter
virtual ~TIL_PixelFilter ()
 
SYS_FORCE_INLINE bool needsSquares () const
 
SYS_FORCE_INLINE bool needsWeights () const
 
SYS_FORCE_INLINE bool vetsSamples () const
 

Static Public Attributes

static TIL_PixelFilterMinMax
< IS_MAX > 
theInstance
 

Additional Inherited Members

- Public Types inherited from TIL_PixelFilterT< TIL_PixelFilterMinMax< IS_MAX > >
typedef TIL_PixelFilterMinMax
< IS_MAX > 
SubclassType
 
- Protected Member Functions inherited from TIL_PixelFilterT< TIL_PixelFilterMinMax< IS_MAX > >
 TIL_PixelFilterT (bool needs_squares=false, bool vets_samples=false, bool needs_weights=false)
 
- Protected Member Functions inherited from TIL_PixelFilter
 TIL_PixelFilter ()
 
 TIL_PixelFilter (bool needs_squares, bool vets_samples, bool needs_weights)
 

Detailed Description

template<bool IS_MAX>
class TIL_PixelFilterMinMax< IS_MAX >

Definition at line 211 of file TIL_PixelFilter.h.

Constructor & Destructor Documentation

template<bool IS_MAX>
TIL_PixelFilterMinMax< IS_MAX >::TIL_PixelFilterMinMax ( )
inline

Definition at line 215 of file TIL_PixelFilter.h.

Member Function Documentation

template<bool IS_MAX>
void TIL_PixelFilterMinMax< IS_MAX >::combineSample ( int  ncomponents,
exint  nexisting_samples,
float existing,
exint  nnew_samples,
const float new_sample 
) const
inlineoverridevirtual

When vetsSamples() returns true, this should be called so that the pixel filter can decide how to combine samples, instead of just summing. NOTE: nnew_samples is 1 when adding a new sample, but may be more than 1 when combining pixels into higher levels of the TIL_AdaptiveImage.

Reimplemented from TIL_PixelFilter.

Definition at line 225 of file TIL_PixelFilter.h.

template<bool IS_MAX>
template<int NSRCCOMPONENTS, typename T , int NDSTCOMPONENTS, bool INTERLEAVED>
void TIL_PixelFilterMinMax< IS_MAX >::filterPlane ( const TIL_AdaptiveImage src,
PXL_RasterWrapper< T, NDSTCOMPONENTS, INTERLEAVED, false >  dest,
int  planei 
) const
template<bool IS_MAX>
bool TIL_PixelFilterMinMax< IS_MAX >::ownedBySingleton ( ) const
inlineoverridevirtual

Returns false iff TIL_AdaptiveImage needs to create/delete it. true means that it's owned globally, so will be deleted when the process exits.

Reimplemented from TIL_PixelFilter.

Definition at line 263 of file TIL_PixelFilter.h.

Member Data Documentation

template<bool IS_MAX>
TIL_PixelFilterMinMax<IS_MAX> TIL_PixelFilterMinMax< IS_MAX >::theInstance
static

Definition at line 268 of file TIL_PixelFilter.h.


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