PCL
pcl::GetDirectoryDialog Class Reference

A modal dialog box to select an existing directory. More...

#include <FileDialog.h>

+ Inheritance diagram for pcl::GetDirectoryDialog:

Public Member Functions

 GetDirectoryDialog ()
 
 ~GetDirectoryDialog () override
 
String Directory () const
 
bool Execute () override
 
- Public Member Functions inherited from pcl::FileDialog
 FileDialog ()
 
virtual ~FileDialog ()
 
void AddFilter (const FileFilter &filter)
 
void AddFilters (const filter_list &filters)
 
String Caption () const
 
filter_listFilters ()
 
const filter_listFilters () const
 
String InitialPath () const
 
String SelectedFileExtension () const
 
void SetCaption (const String &caption)
 
void SetFilter (const FileFilter &filter)
 
void SetFilters (const filter_list &filters)
 
void SetInitialPath (const String &path)
 
void SetSelectedFileExtension (const String &)
 

Additional Inherited Members

- Public Types inherited from pcl::FileDialog
using filter_list = Array< FileFilter >
 

Detailed Description

TODO: Write a detailed description for GetDirectoryDialog.

See also
FileDialog, OpenFileDialog, SaveFileDialog

Definition at line 500 of file FileDialog.h.

Constructor & Destructor Documentation

◆ GetDirectoryDialog()

pcl::GetDirectoryDialog::GetDirectoryDialog ( )

Constructs a GetDirectoryDialog object

◆ ~GetDirectoryDialog()

pcl::GetDirectoryDialog::~GetDirectoryDialog ( )
override

Destroys a GetDirectoryDialog object

Member Function Documentation

◆ Directory()

String pcl::GetDirectoryDialog::Directory ( ) const

Returns the selected directory path. A full path is always returned.

◆ Execute()

bool pcl::GetDirectoryDialog::Execute ( )
overridevirtual

Modal dialog execution.

Returns true if the dialog has been accepted; false if the dialog has been cancelled.

Implements pcl::FileDialog.


The documentation for this class was generated from the following file: