mt
Class MT_Kernel

Object
  extended by common:Generic
      extended by mt:MT_Kernel
Direct Known Subclasses:
MT_CenterKernel, MT_CustomKernel, MT_EdgeDetectKernel, MT_EmbossKernel, MT_SharpenKernel, MT_SoftenKernel

class 
Generic:MT_Kernel

Base class for convolution kernels.

Mark Townsend, May 2008


Ultra Fractal Source

Toggle UF Source Code Display

 class MT_Kernel(common.ulb:Generic) {
 ;
 ; Base class for convolution kernels.
 ; <p>
 ; Mark Townsend, May 2008
 ;
 public:
   func MT_Kernel(Generic pparent)
     Generic.Generic(pparent)
   endfunc
   
   float func GetWeight(int n)
     return fWeight[n]
   endfunc
   
 protected:
   float fWeight[9]
   
 default:
 }
 


Constructor Summary
MT_Kernel()
           
MT_Kernel(Generic pparent)
           
 
Method Summary
 float GetWeight(int n)
           
 
Methods inherited from class common:Generic
GetParent
 
Methods inherited from class Object
 

Constructor Detail

MT_Kernel

public MT_Kernel(Generic pparent)

MT_Kernel

public MT_Kernel()
Method Detail

GetWeight

public float GetWeight(int n)