3 #ifndef SE2EZ_GUI_CSPACEPANEL_ 4 #define SE2EZ_GUI_CSPACEPANEL_ 46 void draw(QPainter &painter,
RenderArea *canvas)
override;
47 bool click(QMouseEvent *event,
double x,
double y,
int sx,
int sy)
override;
48 void update(boost::posix_time::ptime last, boost::posix_time::ptime current)
override;
53 void updateImage(
bool force =
false);
57 void updatePlanData();
58 void updatePlanState();
60 void updatePlanPanel();
62 void updateCallback();
76 void drawGraph(QPainter &painter,
CSpaceGridPtr &grid,
bool offset);
77 void drawPlan(QPainter &painter,
CSpaceGridPtr &grid,
bool offset,
bool bold);
78 void drawState(QPainter &painter,
CSpaceGridPtr &grid,
bool offset,
bool interface =
true);
81 bool lockedProjection();
83 const unsigned int xPoint_{4};
84 const unsigned int yPoint_{4};
85 const unsigned int xOffset_{5};
86 const unsigned int yOffset_{5};
87 const unsigned int xBorder_{2};
88 const unsigned int yBorder_{2};
89 const unsigned int xSize_{150};
90 const unsigned int ySize_{150};
91 unsigned int xCurSize_{150};
92 unsigned int yCurSize_{150};
93 const unsigned int yText_{12};
94 const unsigned int HiRes_{3};
95 const unsigned int wheelSize_{51};
117 bool imageGen_{
false};
120 ompl::base::PlannerDataPtr pd_{
nullptr};
123 ompl::base::ConstraintPtr constraint_{
nullptr};
A shared pointer wrapper for se2ez::State.
std::set< std::string > pnames_
Mode
Drawing mode for the grid.
QMetaObject::Connection jpc_
std::vector< StatePtr > path_
std::set< std::string > panelnames_
A shared pointer wrapper for se2ez::CSpaceGrid.
A shared pointer wrapper for se2ez::Robot.
QMetaObject::Connection pdc_
std::set< std::string > jnames_
The canvas widget. It contains all the drawing functions as well as all the general settings for draw...
QMetaObject::Connection ppc_
#define SE2EZ_CLASS_FORWARD(C)
std::map< std::string, ompl::base::ConstraintPtr > constraints_