GraphicLibrary  0.5.0
tadah_fussy::gl::interpolation::Base クラスabstract

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

tadah_fussy::gl::interpolation::Base の継承関係図
tadah_fussy::gl::interpolation::BicubicSpline tadah_fussy::gl::interpolation::Bilinear tadah_fussy::gl::interpolation::Convolution tadah_fussy::gl::interpolation::NearestNeighbor tadah_fussy::gl::interpolation::Polynomial

公開メンバ関数

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

詳解

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

関数詳解

◆ operator()()

virtual bool tadah_fussy::gl::interpolation::Base::operator() ( const canvas::DrawingArea_IF draw,
Coord< double >  p,
RGB rgb 
) const
pure virtual

サンプル補間処理用関数

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

tadah_fussy::gl::interpolation::NearestNeighbor, tadah_fussy::gl::interpolation::Bilinear, tadah_fussy::gl::interpolation::BicubicSpline, tadah_fussy::gl::interpolation::Convolution, tadah_fussy::gl::interpolation::Polynomialで実装されています。


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