HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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
 
virtual void combineSample (int ncomponents, exint nexisting_samples, float *existing, exint nnew_samples, const float *new_sample) const
 
virtual bool ownedBySingleton () const
 
- Public Member Functions inherited from TIL_PixelFilterT< TIL_PixelFilterMinMax< IS_MAX > >
virtual ~TIL_PixelFilterT ()
 
virtual 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 282 of file TIL_PixelFilter.h.

Constructor & Destructor Documentation

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

Definition at line 286 of file TIL_PixelFilter.h.

Member Function Documentation

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

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 296 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>
virtual bool TIL_PixelFilterMinMax< IS_MAX >::ownedBySingleton ( ) const
inlinevirtual

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 334 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 339 of file TIL_PixelFilter.h.


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