36 #ifndef JSK_RVIZ_PLUGIN_OVERLAY_PICKER_TOOL_H_ 37 #define JSK_RVIZ_PLUGIN_OVERLAY_PICKER_TOOL_H_ 59 return dynamic_cast<T*
>(
p);
61 catch (
const std::bad_cast& e) {
70 if (isPropertyType<T>(property)) {
71 bool res = isPropertyType<T>(property)->isInRegion(event.
x, event.
y);
92 20 * (orig_x / 20), 20 * (orig_y / 20));
107 20 * (orig_x / 20), 20 * (orig_y / 20));