Jafar
|
Definition at line 28 of file Decomp.hpp.
Public Member Functions | |
DecompCluster (GeoData *_rast=NULL) | |
Constructor. | |
DecompCluster (int _xsize, int _ysize, GeoData *_rast=NULL, int tlx=-1, int tly=-1) | |
Constructor. | |
~DecompCluster () | |
Destructor. | |
void | set (int _xsize, int _ysize) |
bool | valid () |
bool | isNegative () |
bool | operator== (const DecompCluster &rhs) const |
DecompCluster & | operator= (const DecompCluster &rdc) |
Attributes * | getAttributes () |
bool | hasBeenSet (attributeKey at_) |
Checking of the given attribute has been set. | |
bool | setCertainty (attributeKey at_, double value_, bool reset_=true) |
Setting certainty table for at_ attribute. | |
double | getEntropy (attributeClass _ac) const |
double | getCertainty (attributeKey _at) const |
Public Attributes | |
int | xsize |
Size on X axis in pixels. | |
int | ysize |
Size on Y axis in pixels. | |
Private Attributes | |
GeoData * | raster |
Attributes * | att |
jafar::lgl::DecompCluster::DecompCluster | ( | GeoData * | _rast = NULL | ) |
Constructor.
No attribute will be created on this one
jafar::lgl::DecompCluster::DecompCluster | ( | int | _xsize, |
int | _ysize, | ||
GeoData * | _rast = NULL , |
||
int | tlx = -1 , |
||
int | tly = -1 |
||
) |
Constructor.
The creation of Attributes will be done if tlx and tly are both positive.
_xsize | Cluster number of pixels on X axis |
_ysize | Cluster number of pixels on Y axis |
tlx | the information source pixel top left X coordinate |
tly | the information source pixel top left Y coordinate |
bool jafar::lgl::DecompCluster::setCertainty | ( | attributeKey | at_, |
double | value_, | ||
bool | reset_ = true |
||
) | [inline] |
Setting certainty table for at_ attribute.
reset_ | default is true as in the definition of attributes |
Definition at line 88 of file Decomp.hpp.
References jafar::lgl::Attributes::set().
Generated on Wed Oct 15 2014 00:37:41 for Jafar by doxygen 1.7.6.1 |