void WidgetTool::display(GLContextData& contextData) const { if(isDrawRay()) { /* Draw the GUI interactor's state: */ GUIInteractor::glRenderAction(getRayWidth(),getRayColor(),contextData); } }
void RayMenuTool::display(GLContextData& contextData) const { if(isDrawRay()&&(factory->interactWithWidgets||GUIInteractor::isActive())) { /* Draw the GUI interactor's state: */ GUIInteractor::glRenderAction(getRayWidth(),getRayColor(),contextData); } }