#include <UIImage.h>
◆ Scaling
Enumerator |
---|
NONE | |
ANY | No scaling, fixed size.
|
ASPECT | Scales to any size and aspect ratio.
Scales to any size, but fixed aspect ratio (default)
|
◆ UIImage() [1/2]
open3d::visualization::gui::UIImage::UIImage |
( |
const char * |
image_path | ) |
|
|
explicit |
Uses image from the specified path. Each ImageLabel will use one draw call.
◆ UIImage() [2/2]
Uses an existing texture, using texture coordinates (u0, v0) to (u1, v1). Does not deallocate texture on destruction. This is useful for using an icon atlas to reduce draw calls.
◆ ~UIImage()
open3d::visualization::gui::UIImage::~UIImage |
( |
| ) |
|
◆ CalcDrawParams()
◆ CalcPreferredSize()
Size open3d::visualization::gui::UIImage::CalcPreferredSize |
( |
const Theme & |
theme | ) |
const |
◆ GetScaling()
◆ SetScaling()
void open3d::visualization::gui::UIImage::SetScaling |
( |
Scaling |
scaling | ) |
|
The documentation for this class was generated from the following files: