1 #ifndef array2dbitmapimpl_h 2 #define array2dbitmapimpl_h 14 #include "generalmod.h" 21 mStruct(General) WVAA2DBitMapGenPars : public A2DBitMapGenPars
30 , reflinevalue_(
mUdf(float))
31 , x1reversed_(false) { midvalue_ = 0; }
45 static char cRefLineFill();
46 static char cWiggFill();
47 static char cLowFill();
48 static char cHighFill();
63 WVAA2DBitMapGenPars&
wvapars() {
return gtPars(); }
64 const WVAA2DBitMapGenPars&
wvapars()
const {
return gtPars(); }
68 inline WVAA2DBitMapGenPars&
gtPars()
const 69 {
return (WVAA2DBitMapGenPars&)pars_; }
79 float getDim0Offset(
float val)
const;
80 int dim0SubSampling(
int nrdisptrcs)
const;
84 void drawVal(
int,
int,
float,
float,
float,
float);
88 namespace Interpolate {
template <
class T>
class Applier2D; }
94 mStruct(General) VDA2DBitMapGenPars : public A2DBitMapGenPars
97 : lininterp_(false) {}
101 static char cMinFill();
102 static char cMaxFill();
104 static float offset(
char);
120 VDA2DBitMapGenPars&
vdpars() {
return gtPars(); }
121 const VDA2DBitMapGenPars&
vdpars()
const {
return gtPars(); }
124 { gtPars().lininterp_ = yn; }
130 inline VDA2DBitMapGenPars&
gtPars()
const 131 {
return (VDA2DBitMapGenPars&)pars_; }
146 void drawVal(
int,
int,
float);
#define mExpClass(module)
Definition: commondefs.h:160
Definition: interpol1d.h:38
VDA2DBitMapGenPars & gtPars() const
Definition: array2dbitmapimpl.h:130
#define mStruct(module)
Definition: commondefs.h:165
const VDA2DBitMapGenPars & vdpars() const
Definition: array2dbitmapimpl.h:121
#define od_int64
Definition: plftypes.h:36
void linearInterpolate(bool yn)
Definition: array2dbitmapimpl.h:123
Array2D Bitmap generation setup.
Definition: array2dbitmap.h:109
Generalization of a task that can be run in parallel.
Definition: paralleltask.h:66
#define mUdf(type)
Use this macro to get the undefined for simple types.
Definition: undefval.h:272
WVAA2DBitMapGenPars & wvapars()
Definition: array2dbitmapimpl.h:63
const WVAA2DBitMapGenPars & wvapars() const
Definition: array2dbitmapimpl.h:64
Array2D<float>& + statistics.
Definition: array2dbitmap.h:53
TypeSet< int > stripstodraw_
Definition: array2dbitmapimpl.h:148
float stripwidth_
Definition: array2dbitmapimpl.h:71
VDA2DBitMapGenPars & vdpars()
Definition: array2dbitmapimpl.h:120
specification for a 2D interpolator
Definition: interpol2d.h:45
Variable density A2DBitMap generation parameters.
Definition: array2dbitmapimpl.h:112
WVAA2DBitMapGenPars & gtPars() const
Definition: array2dbitmapimpl.h:68
float strippixs_
Definition: array2dbitmapimpl.h:133
Generates Array2D bitmap from Array2D<float>.
Definition: array2dbitmap.h:178
Common parameters for A2DBitMapGenerators.
Definition: array2dbitmapimpl.h:56