libmove3d  3.13.0
Public Types | Public Member Functions
Env Class Reference

Classe permettant de se lier à l'interface graphique. More...

#include <env.hpp>

List of all members.

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)

Detailed Description

Classe permettant de se lier à l'interface graphique.

Author:
Florian Pilardeau,B90,6349 <fpilarde>

Member Typedef Documentation

typedef std::pair<intParameter, intContainer*> Env::intMap_t

Maps Getters and Setters


Constructor & Destructor Documentation

Env::Env ( )

Constructeur de la classe

Env::~Env ( )

Destructeur de la classe


Member Function Documentation

void Env::expansionMethodChanged ( int  method)

signal émis lorsque le type de méthode d'expansion change

Parameters:
methodle nouveau type de méthode d'expansion
bool Env::getBool ( boolParameter  p)

obtient la valeur d'un paramètre bool

Parameters:
ple paramètre
Returns:
la valeur
double Env::getDouble ( doubleParameter  p)

obtient la valeur d'un paramètre double

Parameters:
ple paramètre
Returns:
la valeur
Env::expansionMethod Env::getExpansionMethod ( )

obtient le type de méthode d'expansion stocké

Returns:
le type de méthode d'expansion stocké
int Env::getInt ( intParameter  p)

obtient la valeur d'un paramètre int

Parameters:
ple paramètre
Returns:
la valeur
std::vector< double > Env::getVector ( vectorParameter  p)

get the value of a vector parameter

Parameters:
ple paramètre
Returns:
la valeur
void Env::setBool ( boolParameter  p,
bool  v 
)

modifie la valeur d'un paramètre bool

Parameters:
ple paramètre
vla nouvelle valeur
void Env::setDouble ( doubleParameter  p,
double  v 
)

modifie la valeur d'un paramètre double

Parameters:
ple paramètre
vla nouvelle valeur
void Env::setExpansionMethod ( expansionMethod  method)

obtient le QObject correspondant à un paramètre int

Parameters:
ple paramètre
Returns:
le QObject obtient le QObject correspondant à un paramètre bool
Parameters:
ple paramètre
Returns:
le QObject obtient le QObject correspondant à un paramètre double
Parameters:
ple paramètre
Returns:
le QObject obtient le QObject correspondant à un paramètre double
Parameters:
ple paramètre
Returns:
le QObject obtient le QObject correspondant à un paramètre double
Parameters:
ple paramètre
Returns:
le QObject modifie le type de méthode d'expansion stocké
Parameters:
methodle nouveau type stocké
void Env::setExpansionMethodSlot ( int  method)

stocke le type de méthode d'expansion

Parameters:
methodle type de méthode d'expansion
void Env::setInt ( intParameter  p,
int  v 
)

modifie la valeur d'un paramètre int

Parameters:
ple paramètre
vla nouvelle valeur
void Env::setVector ( vectorParameter  p,
std::vector< double >  v 
)

modifies the value of the vector

Parameters:
ple paramètre
vla nouvelle valeur

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