153 { |
153 { |
154 m_config->toggleDrawWireframe(); |
154 m_config->toggleDrawWireframe(); |
155 m_window->renderer()->refresh(); |
155 m_window->renderer()->refresh(); |
156 } |
156 } |
157 |
157 |
158 void ViewToolset::setOverlay() |
|
159 { |
|
160 OverlayDialog dlg; |
|
161 |
|
162 if (not dlg.exec()) |
|
163 return; |
|
164 |
|
165 m_window->renderer()->setupOverlay ((Camera) dlg.camera(), dlg.fpath(), dlg.ofsx(), |
|
166 dlg.ofsy(), dlg.lwidth(), dlg.lheight()); |
|
167 } |
|
168 |
|
169 void ViewToolset::clearOverlay() |
|
170 { |
|
171 m_window->renderer()->clearOverlay(); |
|
172 } |
|
173 |
|
174 void ViewToolset::drawAngles() |
158 void ViewToolset::drawAngles() |
175 { |
159 { |
176 m_config->toggleDrawAngles(); |
160 m_config->toggleDrawAngles(); |
177 m_window->renderer()->refresh(); |
161 m_window->renderer()->refresh(); |
178 } |
162 } |