Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Public Attributes | Private Attributes
jafar::lgl::DecompCluster Class Reference

Detailed Description

Definition at line 28 of file Decomp.hpp.

List of all members.

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
DecompClusteroperator= (const DecompCluster &rdc)
AttributesgetAttributes ()
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

GeoDataraster
Attributesatt

Constructor & Destructor Documentation

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.

Parameters:
_xsizeCluster number of pixels on X axis
_ysizeCluster number of pixels on Y axis
tlxthe information source pixel top left X coordinate
tlythe information source pixel top left Y coordinate

Member Function Documentation

bool jafar::lgl::DecompCluster::setCertainty ( attributeKey  at_,
double  value_,
bool  reset_ = true 
) [inline]

Setting certainty table for at_ attribute.

Parameters:
reset_default is true as in the definition of attributes

Definition at line 88 of file Decomp.hpp.

References jafar::lgl::Attributes::set().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:41 for Jafar by doxygen 1.7.6.1
LAAS-CNRS