#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/4]
open3d::visualization::gui::UIImage::UIImage |
( |
const char * |
image_path | ) |
|
|
explicit |
◆ UIImage() [2/4]
open3d::visualization::gui::UIImage::UIImage |
( |
std::shared_ptr< geometry::Image > |
image | ) |
|
|
explicit |
◆ UIImage() [3/4]
open3d::visualization::gui::UIImage::UIImage |
( |
std::shared_ptr< t::geometry::Image > |
image | ) |
|
|
explicit |
◆ UIImage() [4/4]
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()
◆ GetScaling()
◆ SetScaling()
void open3d::visualization::gui::UIImage::SetScaling |
( |
Scaling |
scaling | ) |
|
◆ UpdateImage() [1/2]
void open3d::visualization::gui::UIImage::UpdateImage |
( |
std::shared_ptr< geometry::Image > |
image | ) |
|
Updates the contents of the texture. If the image is a different size from the original, a new texture will be created.
◆ UpdateImage() [2/2]
void open3d::visualization::gui::UIImage::UpdateImage |
( |
std::shared_ptr< t::geometry::Image > |
image | ) |
|
Updates the contents of the texture. If the image is a different size from the original, a new texture will be created.
The documentation for this class was generated from the following files: