//============================================================================== void InteractiveFrame::deleteAllVisualizationShapes() { removeAllShapeFrames(); for(size_t i=0; i<InteractiveTool::NUM_TYPES; ++i) { for(size_t j=0; j<3; ++j) { InteractiveTool* tool = mTools[i][j]; tool->removeAllShapeFrames(); } } }
void CollisionGroup::removeShapeFramesOf( const CollisionGroup* otherGroup, const Others*... others) { assert(otherGroup); if (otherGroup) { if (this == otherGroup) { removeAllShapeFrames(); return; } for (const auto& pair : otherGroup->mShapeFrameMap) removeShapeFrame(pair.first); } removeShapeFramesOf(others...); }