![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Functions | |
| void | MakeSquare (ccBBox &box, int pivotType, int defaultDim=-1) |
Variables | |
| static ccBBox | s_lastBBox |
| void MakeSquare | ( | ccBBox & | box, |
| int | pivotType, | ||
| int | defaultDim = -1 |
||
| ) |
References cloudViewer::BoundingBoxTpl< T >::getCenter(), cloudViewer::BoundingBoxTpl< T >::getDiagVec(), cloudViewer::BoundingBoxTpl< T >::maxCorner(), cloudViewer::BoundingBoxTpl< T >::minCorner(), Tuple3Tpl< Type >::u, Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
Referenced by ccBoundingBoxEditorDlg::squareModeActivated(), ccBoundingBoxEditorDlg::updateXWidth(), ccBoundingBoxEditorDlg::updateYWidth(), and ccBoundingBoxEditorDlg::updateZWidth().
|
static |