libmove3d
3.13.0
|
Classe permettant de se lier à l'interface graphique. More...
#include <env.hpp>
Public Types | |
enum | boolParameter { use_p3d_structures, isPRMvsDiffusion, isGoalBiased, treePlannerIsEST, expandToGoal, expandBalanced, biDir, minimize, addCycles, expandControl, discardNodes, findLowCostConf, isManhattan, isMultiRRT, drawDisabled, drawFrame, drawGraph, drawTraj, drawOTPTraj, drawTrajVector, drawAll, drawLightSource, drawGrid, drawEntireGrid, drawDistance, drawPoints, drawGaze, drawBox, drawOnlyOneLine, drawVectorField, drawMultiColorLocalpath, useHriDis, useHriPen, useHriNat, enableHri, computeGrid, HRIPlannerTS, HRIPlannerWS, HRIPlannerCS, HRIPlannerTRRT, HRIPathDistance, HRIleftArmVsRightArm, HRIcameraBehindHuman, HRINoRobot, HRIComputeOTP, HRIAutoLoadGrid, printTemp, printRadius, printNbQRand, printCollFail, printCostFail, ligandExitTrajectory, useRefiRadius, debugCostOptim, trajCostRecompute, isCostSpace, isPasExtWhenAct, useDist, costBeforeColl, costExpandToGoal, costThresholdRRT, costThresholdPlanner, costStarRRT, FastComputingRobotBase, DrawRobotBaseGridCosts, withMaxIteration, withGainLimit, withTimeLimit, withSmoothing, withShortCut, withDeformation, saveTrajCost, withCleaning, useTRRT, useBoxDist, useBallDist, isInverseKinematics, isRunning, initPlot, isWeightedRotation, randomConnectionToGoal, tryClosest, StopMultiRun, tRrtComputeGradient, FKShoot, FKDistance, RecomputeCellCost, UseDPGGrids, startWithFKCntrt, showOneCell } |
enum | intParameter { PRMType, nbOfSeeds, jntToDraw, maxCostOptimFailures, nbQRand, nbCostTransFailed, nbCollExpanFailed, nbCostOptimize, nbGreedyTraj, maxNodeCompco, maxNode, maxConnect, NbTry, MaxExpandNodeFail, MaxPassiveExpand, DistConfigChoice, ExpansionNodeMethod, costMethodChoice, test, nbRound, nbMultiRun, nbMultiSmooth, akinJntId, heightFactor, progress, costDeltaMethod, hriCostType, hriActiveGrid, hriShownGridLine, tRrtNbtry, cellToShow, lineToShow, nbCells, typeRobotBaseGrid } |
enum | doubleParameter { dmax, FPS, showTrajFPS, extensionStep, costStep, costThreshold, temperatureRate, temperatureStart, temperatureGoal, initialTemperature, alpha, zone_size, coeffPen, coeffDis, coeffNat, coeffJoint, coeffEnerg, coeffConfo, coeffArmPr, multCost, Kdistance, Kvisibility, Knatural, Kreachable, KlengthWeight, optimTimeLimit, MaxFactor, MinStep, refiRadius, manhatRatio, dist, visThresh, PlanCellSize, CellSize, Bias, RotationWeight, colorThreshold1, colorThreshold2, findLowCostThreshold, bestCost, minimalFinalExpansionGap, timeOptimize, optimalDist, robotMaximalDist, gazeAngle, optimalDistFactor, robotMaximalDistFactor, gazeAngleFactor } |
enum | stringParameter { nameOfFile, numberOfCollisionPerSec, numberOfLocalPathPerSec, numberOfCostPerSec, ObjectToCarry, ActiveGrid } |
enum | vectorParameter { costAlongTraj } |
enum | expansionMethod { Extend, nExtend, Connect, costConnect } |
typedef std::pair < intParameter, intContainer * > | intMap_t |
typedef std::pair < stringParameter, stringContainer * > | stringMap_t |
typedef std::pair < vectorParameter, vectorContainer * > | vectorMap_t |
typedef std::pair < doubleParameter, doubleContainer * > | doubleMap_t |
typedef std::pair < boolParameter, boolContainer * > | boolMap_t |
Public Member Functions | |
Env () | |
~Env () | |
std::vector< double > | getVector (vectorParameter p) |
void | setVector (vectorParameter p, std::vector< double > v) |
int | getInt (intParameter p) |
void | setInt (intParameter p, int v) |
double | getDouble (doubleParameter p) |
void | setDouble (doubleParameter p, double v) |
bool | getBool (boolParameter p) |
void | setBool (boolParameter p, bool v) |
void | setExpansionMethod (expansionMethod method) |
expansionMethod | getExpansionMethod () |
std::map< intParameter, intContainer * > | getIntMap () |
std::map< stringParameter, stringContainer * > | getStringMap () |
std::map< vectorParameter, vectorContainer * > | getVectorMap () |
std::map< doubleParameter, doubleContainer * > | getDoubleMap () |
std::map< boolParameter, boolContainer * > | getBoolMap () |
void | setExpansionMethodSlot (int method) |
void | expansionMethodChanged (int method) |
Classe permettant de se lier à l'interface graphique.
typedef std::pair<intParameter, intContainer*> Env::intMap_t |
Maps Getters and Setters
Env::Env | ( | ) |
Constructeur de la classe
Env::~Env | ( | ) |
Destructeur de la classe
void Env::expansionMethodChanged | ( | int | method | ) |
signal émis lorsque le type de méthode d'expansion change
method | le nouveau type de méthode d'expansion |
bool Env::getBool | ( | boolParameter | p | ) |
obtient la valeur d'un paramètre bool
p | le paramètre |
double Env::getDouble | ( | doubleParameter | p | ) |
obtient la valeur d'un paramètre double
p | le paramètre |
Env::expansionMethod Env::getExpansionMethod | ( | ) |
obtient le type de méthode d'expansion stocké
int Env::getInt | ( | intParameter | p | ) |
obtient la valeur d'un paramètre int
p | le paramètre |
std::vector< double > Env::getVector | ( | vectorParameter | p | ) |
get the value of a vector parameter
p | le paramètre |
void Env::setBool | ( | boolParameter | p, |
bool | v | ||
) |
modifie la valeur d'un paramètre bool
p | le paramètre |
v | la nouvelle valeur |
void Env::setDouble | ( | doubleParameter | p, |
double | v | ||
) |
modifie la valeur d'un paramètre double
p | le paramètre |
v | la nouvelle valeur |
void Env::setExpansionMethod | ( | expansionMethod | method | ) |
obtient le QObject correspondant à un paramètre int
p | le paramètre |
p | le paramètre |
p | le paramètre |
p | le paramètre |
p | le paramètre |
method | le nouveau type stocké |
void Env::setExpansionMethodSlot | ( | int | method | ) |
stocke le type de méthode d'expansion
method | le type de méthode d'expansion |
void Env::setInt | ( | intParameter | p, |
int | v | ||
) |
modifie la valeur d'un paramètre int
p | le paramètre |
v | la nouvelle valeur |
void Env::setVector | ( | vectorParameter | p, |
std::vector< double > | v | ||
) |
modifies the value of the vector
p | le paramètre |
v | la nouvelle valeur |