#include <FileDialog.h>
◆ Mode
◆ FileDialog()
open3d::gui::FileDialog::FileDialog |
( |
Mode |
type, |
|
|
const char * |
title, |
|
|
const Theme & |
theme |
|
) |
| |
◆ ~FileDialog()
open3d::gui::FileDialog::~FileDialog |
( |
| ) |
|
|
virtual |
◆ AddFilter()
void open3d::gui::FileDialog::AddFilter |
( |
const char * |
filter, |
|
|
const char * |
description |
|
) |
| |
'filter' is a string of extensions separated by a space or comma. An empty filter string matches all extensions. AddFilter(".jpg .png .gif", "Image file (.jpg, .png, .gif)") AddFilter(".jpg", "JPEG image (.jpg)") AddFilter("", "All files")
◆ CalcPreferredSize()
Size open3d::gui::FileDialog::CalcPreferredSize |
( |
const Theme & |
theme | ) |
const |
|
overridevirtual |
◆ OnDone()
void open3d::gui::FileDialog::OnDone |
( |
| ) |
|
|
protected |
◆ OnWillShow()
void open3d::gui::FileDialog::OnWillShow |
( |
| ) |
|
|
overridevirtual |
◆ SetOnCancel()
void open3d::gui::FileDialog::SetOnCancel |
( |
std::function< void()> |
on_cancel | ) |
|
The OnCancel and OnDone callbacks must be specified.
◆ SetOnDone()
void open3d::gui::FileDialog::SetOnDone |
( |
std::function< void(const char *)> |
on_done | ) |
|
The OnCancel and OnDone callbacks must be specified.
◆ SetPath()
void open3d::gui::FileDialog::SetPath |
( |
const char * |
path | ) |
|
May either be a directory or a file. If path is a file, it will be selected if it exists. Defaults to current working directory if no path is specified.
The documentation for this class was generated from the following files:
- /home/travis/build/intel-isl/Open3D/cpp/open3d/visualization/gui/FileDialog.h
- /home/travis/build/intel-isl/Open3D/cpp/open3d/visualization/gui/FileDialog.cpp