|
Open3D (C++ API)
0.19.0
|
#include <Layout.h>
Public Member Functions | |
| Margins () | |
| Margins (int px) | |
| Margins (int horiz_px, int vert_px) | |
| Margins (int left_px, int top_px, int right_px, int bottom_px) | |
| int | GetHoriz () const |
| Convenience function that returns left + right. | |
| int | GetVert () const |
| Convenience function that returns top + bottom. | |
Data Fields | |
| int | left |
| int | top |
| int | right |
| int | bottom |
| open3d::visualization::gui::Margins::Margins | ( | ) |
Margins are specified in pixels, which are not the same size on all monitors. It is best to use a multiple of Window::GetTheme().fontSize to specify margins. Theme::fontSize, represents 1em and is scaled according to the scaling factor of the window. For example, 0.5em (that is, 0.5 * theme.fontSize) is typically a good size for a margin.
| open3d::visualization::gui::Margins::Margins | ( | int | px | ) |
| open3d::visualization::gui::Margins::Margins | ( | int | horiz_px, |
| int | vert_px ) |
| open3d::visualization::gui::Margins::Margins | ( | int | left_px, |
| int | top_px, | ||
| int | right_px, | ||
| int | bottom_px ) |
| int open3d::visualization::gui::Margins::GetHoriz | ( | ) | const |
Convenience function that returns left + right.
| int open3d::visualization::gui::Margins::GetVert | ( | ) | const |
Convenience function that returns top + bottom.
| int open3d::visualization::gui::Margins::bottom |
| int open3d::visualization::gui::Margins::left |
| int open3d::visualization::gui::Margins::right |
| int open3d::visualization::gui::Margins::top |