GraphicLibrary  0.5.0
GInterpolation_IF クラスabstract

サンプル補間用基底クラス [詳解]

GInterpolation_IF の継承関係図
GInterpolation_BicubicSpline GInterpolation_Bilinear GInterpolation_Convolution GInterpolation_NN GInterpolation_Polynomial

公開メンバ関数

virtual bool operator() (const DrawingArea_IF &draw, Coord< double > p, RGB *rgb) const =0
 サンプル補間処理用関数 [詳解]
 
virtual ~GInterpolation_IF ()
 仮想デストラクタ (何もしない)
 

詳解

サンプル補間用基底クラス

関数詳解

◆ operator()()

virtual bool GInterpolation_IF::operator() ( const DrawingArea_IF draw,
Coord< double >  p,
RGB rgb 
) const
pure virtual

サンプル補間処理用関数

引数
draw描画領域
p補間対象のピクセル座標
rgb補間した RGB 成分を返す変数へのポインタ
戻り値
draw のメンバ関数 DrawingArea_IF::point の返り値をそのまま返す ( 通常、RGB 成分が取得できたら true を返す )

GInterpolation_Polynomial, GInterpolation_Convolution, GInterpolation_BicubicSpline, GInterpolation_Bilinear, GInterpolation_NNで実装されています。


このクラス詳解は次のファイルから抽出されました: