|  | 
| void | setRadius (float horz, float vert=nan_f, float horzLeft=nan_f, float vertUp=nan_f) | 
|  | 
| void | setDecrement (float horz, float vert=nan_f, float horzLeft=nan_f, float vertUp=nan_f) | 
|  | 
| virtual DistanceElement | getElement (short dx, short dy, bool forward=true) const | 
|  | 
| virtual float | decrease (float value, float coeff) const | 
|  | 
| void | setMax (float maxCodeValue) | 
|  | Set maximum (expected) code value. Radii, if given, will set pixel-to-pixel decrements scaled to this value. 
 | 
|  | 
| float | getMax () const | 
|  | Returns the maximum (expected) code value. 
 | 
|  | 
| void | setRadiusVerbatim (float horz, float vert=nan_f, float horzLeft=nan_f, float vertUp=nan_f) | 
|  | Simply copies values, does not try to set defaults. 
 | 
|  | 
| const Bidirectional< float > & | getRadiusHorz () const | 
|  | 
| const Bidirectional< float > & | getRadiusVert () const | 
|  | 
| void | update () | 
|  | 
| virtual void | updateBean () const override | 
|  | Called after setParameters() 
 | 
|  | 
| void | setTopology (PIXEL_ADJACENCY topology) | 
|  | Sets the topology of the computation grid: 0=diamond, 1=diagonal, 2=extended (chess knight steps) 
 | 
|  | 
| void | setTopology (const std::string &topology) | 
|  | 
| void | createChain (DistanceNeighbourhood &chain, PIXEL_ADJACENCY topology=PIXEL_ADJACENCY::KNIGHT, bool forward=true) const | 
|  | Creates a list of DistanceElements. 
 | 
|  | 
| void | createChain (DistanceNeighbourhood &chain, bool forward=true) const | 
|  | 
|  | BeanLike (const BeanLike &b) | 
|  | 
|  | BeanLike (const std::string &name, const std::string &description="") | 
|  | 
| virtual const std::string & | getName () const | 
|  | Return the name of an instance. 
 | 
|  | 
| virtual const std::string & | getDescription () const | 
|  | Return a brief description. 
 | 
|  | 
| bool | hasParameters () const | 
|  | 
| template<class F > | 
| F | getParameter (const std::string &p) const | 
|  | Gets a single parameter. 
 | 
|  | 
| const map_t & | getParameters () const | 
|  | 
| map_t & | getParameters () | 
|  | 
| template<class F > | 
| void | setParametersFromEntries (const F &args) | 
|  | 
| void | setParameters (std::initializer_list< Variable::init_pair_t > args) | 
|  | Grants access to (if above hidden) 
 | 
|  | 
| virtual void | setParameters (const std::string &p, char assignmentSymbol='=', char separatorSymbol=0) | 
|  | Sets comma-separated parameters in a predetermined order "a,b,c" or by specifing them "b=2". 
 | 
|  | 
| template<class T > | 
| void | setParameters (const std::map< std::string, T > &args) | 
|  | Set parameters. 
 | 
|  | 
| template<class T > | 
| void | setParameters (const SmartMap< T > &args) | 
|  | Set parameters. 
 | 
|  | 
| void | setParameter (const std::string &p, const Castable &value) | 
|  | Sets a single parameter. 
 | 
|  | 
| template<class T > | 
| void | setParameter (const std::string &p, const VariableT< T > &value) | 
|  | 
| template<class F > | 
| void | setParameter (const std::string &p, const F &value) | 
|  | Sets a single parameter. 
 | 
|  | 
| template<class F > | 
| void | setParameter (const std::string &p, std::initializer_list< F > value) | 
|  | Sets a single parameter. 
 | 
|  | 
| BeanLike & | operator= (const BeanLike &b) | 
|  | 
| virtual std::ostream & | toStream (std::ostream &ostr, bool compact=true) const | 
|  | 
|  | 
| enum | PIXEL_ADJACENCY { CONN_UNSET =0
, CONN4 =4
, CONN8 =8
, KNIGHT =16
 } | 
|  | 
| typedef PIXEL_ADJACENCY | topol_t | 
|  | 
| typedef drain::EnumFlagger< drain::SingleFlagger< PIXEL_ADJACENCY > > | PixelAdjacencyFlagger | 
|  | 
| typedef ReferenceMap | map_t | 
|  | 
| PixelAdjacencyFlagger | pixelAdjacency | 
|  | 
| static const float | nan_f = std::numeric_limits<float>::quiet_NaN() | 
|  | 
| std::string | pixelAdjacencyStr | 
|  | 
| drain::Bidirectional< float > | horzRadius | 
|  | 
| drain::Bidirectional< float > | vertRadius | 
|  | 
| drain::Bidirectional< float > | horzDec | 
|  | Final decrement or decay per pixel in horizontal direction. Derived from horzRadius; definition varies in subclasses. 
 | 
|  | 
| drain::Bidirectional< float > | vertDec | 
|  | Final decrement or decay per pixel in vertical direction. Derived from vertRadius; definition varies in subclasses. 
 | 
|  | 
| float | maxCodeValue | 
|  | Needed internally to get diag decrement larger than horz/vert decrements. (Not used for scaling). 
 | 
|  | 
| const std::string | name | 
|  | 
| const std::string | description | 
|  | 
| map_t | parameters | 
|  |