AURobotServers
4
|
Public Member Functions | |
UPatchType * | addPatchClass (int i) |
add a patch class More... | |
UPatchType * | getPatchType (int idx) |
get class based on index More... | |
int | getPatchTypeIndex (const char *typeName) |
get patch index from name More... | |
double | grade (int typeIdx, int attIdx, double value, double *weight) |
grade a patch for membership of a type for one attribute More... | |
UPatchTypeSets () | |
Public Attributes | |
UPatchType * | patchTypes [MPC] |
pointer to grade sets More... | |
int | patchTypesCnt |
number of patch classes defined More... | |
Static Public Attributes | |
static const int | MPC = UFuncGndAna::patchTypeCnt |
Set of graded membership values of the available grade sets
|
inline |
|
inline |
add a patch class
References UPatchType::addSet(), UFuncGndAna::asphalt, UFuncGndAna::attributeTypeCnt, UFuncGndAna::grass, UFuncGndAna::gravel, UFuncGndAna::green, UFuncGndAna::greenSd, UFuncGndAna::height, UFuncGndAna::heightCnt, UFuncGndAna::heightSd, UFuncGndAna::patchTypeCnt, UFuncGndAna::red, UFuncGndAna::redSd, UPatchType::setName(), UFuncGndAna::stone, and UFuncGndAna::weed.
|
inline |
get class based on index
|
inline |
get patch index from name
References UGradeSet::isA().
|
inline |
grade a patch for membership of a type for one attribute
Referenced by UGroundPatch::evaluatePatchType().
|
static |
UPatchType* UPatchTypeSets::patchTypes[MPC] |
pointer to grade sets
int UPatchTypeSets::patchTypesCnt |
number of patch classes defined