Open3D (C++ API)
0.11.0
|
#include <GuiSettingsModel.h>
Data Structures | |
struct | LightingProfile |
struct | LitMaterial |
struct | Materials |
struct | UnlitMaterial |
Public Types | |
enum | MaterialType { LIT = 0, UNLIT, NORMAL_MAP, DEPTH } |
Public Member Functions | |
GuiSettingsModel () | |
bool | GetShowSkybox () const |
void | SetShowSkybox (bool show) |
bool | GetShowAxes () const |
void | SetShowAxes (bool show) |
const Eigen::Vector3f & | GetBackgroundColor () const |
void | SetBackgroundColor (const Eigen::Vector3f &color) |
const LightingProfile & | GetLighting () const |
void | SetLightingProfile (const LightingProfile &profile) |
void | SetCustomLighting (const LightingProfile &profile) |
MaterialType | GetMaterialType () const |
void | SetMaterialType (MaterialType type) |
const Materials & | GetCurrentMaterials () const |
Materials & | GetCurrentMaterials () |
void | SetLitMaterial (const LitMaterial &material, const std::string &name) |
void | SetCurrentMaterials (const Materials &materials, const std::string &name) |
void | SetCurrentMaterials (const std::string &name) |
void | SetMaterialsToDefault () |
const Eigen::Vector3f & | GetCurrentMaterialColor () const |
void | SetCurrentMaterialColor (const Eigen::Vector3f &color) |
void | ResetColors () |
void | SetCustomDefaultColor (const Eigen::Vector3f color) |
void | UnsetCustomDefaultColor () |
int | GetPointSize () const |
void | SetPointSize (int size) |
bool | GetDisplayingPointClouds () const |
void | SetDisplayingPointClouds (bool displaying) |
If true, enables point size. More... | |
bool | GetUserHasChangedLightingProfile () const |
bool | GetUserHasCustomizedLighting () const |
bool | GetUserHasChangedColor () const |
void | SetOnChanged (std::function< void(bool)> on_changed) |
Static Public Member Functions | |
static const LightingProfile & | GetDefaultLightingProfile () |
static const LightingProfile & | GetDefaultPointCloudLightingProfile () |
static const LitMaterial & | GetDefaultLitMaterial () |
Static Public Attributes | |
static constexpr const char * | DEFAULT_IBL = "default" |
static constexpr const char * | CUSTOM_IBL = "Custom KTX file..." |
static constexpr const char * | DEFAULT_MATERIAL_NAME = "Polished ceramic" |
static constexpr const char * | MATERIAL_FROM_FILE_NAME |
static constexpr const char * | POINT_CLOUD_PROFILE_NAME |
static const std::vector< LightingProfile > | lighting_profiles_ |
static const std::map< std::string, const LitMaterial > | prefab_materials_ |
open3d::visualization::GuiSettingsModel::GuiSettingsModel | ( | ) |
const Eigen::Vector3f & open3d::visualization::GuiSettingsModel::GetBackgroundColor | ( | ) | const |
const Eigen::Vector3f & open3d::visualization::GuiSettingsModel::GetCurrentMaterialColor | ( | ) | const |
const GuiSettingsModel::Materials & open3d::visualization::GuiSettingsModel::GetCurrentMaterials | ( | ) | const |
GuiSettingsModel::Materials & open3d::visualization::GuiSettingsModel::GetCurrentMaterials | ( | ) |
|
static |
|
static |
|
static |
bool open3d::visualization::GuiSettingsModel::GetDisplayingPointClouds | ( | ) | const |
const GuiSettingsModel::LightingProfile & open3d::visualization::GuiSettingsModel::GetLighting | ( | ) | const |
GuiSettingsModel::MaterialType open3d::visualization::GuiSettingsModel::GetMaterialType | ( | ) | const |
int open3d::visualization::GuiSettingsModel::GetPointSize | ( | ) | const |
bool open3d::visualization::GuiSettingsModel::GetShowAxes | ( | ) | const |
bool open3d::visualization::GuiSettingsModel::GetShowSkybox | ( | ) | const |
bool open3d::visualization::GuiSettingsModel::GetUserHasChangedColor | ( | ) | const |
bool open3d::visualization::GuiSettingsModel::GetUserHasChangedLightingProfile | ( | ) | const |
bool open3d::visualization::GuiSettingsModel::GetUserHasCustomizedLighting | ( | ) | const |
void open3d::visualization::GuiSettingsModel::ResetColors | ( | ) |
void open3d::visualization::GuiSettingsModel::SetBackgroundColor | ( | const Eigen::Vector3f & | color | ) |
void open3d::visualization::GuiSettingsModel::SetCurrentMaterialColor | ( | const Eigen::Vector3f & | color | ) |
void open3d::visualization::GuiSettingsModel::SetCurrentMaterials | ( | const Materials & | materials, |
const std::string & | name | ||
) |
void open3d::visualization::GuiSettingsModel::SetCurrentMaterials | ( | const std::string & | name | ) |
void open3d::visualization::GuiSettingsModel::SetCustomDefaultColor | ( | const Eigen::Vector3f | color | ) |
void open3d::visualization::GuiSettingsModel::SetCustomLighting | ( | const LightingProfile & | profile | ) |
void open3d::visualization::GuiSettingsModel::SetDisplayingPointClouds | ( | bool | displaying | ) |
If true, enables point size.
void open3d::visualization::GuiSettingsModel::SetLightingProfile | ( | const LightingProfile & | profile | ) |
void open3d::visualization::GuiSettingsModel::SetLitMaterial | ( | const LitMaterial & | material, |
const std::string & | name | ||
) |
void open3d::visualization::GuiSettingsModel::SetMaterialsToDefault | ( | ) |
void open3d::visualization::GuiSettingsModel::SetMaterialType | ( | MaterialType | type | ) |
void open3d::visualization::GuiSettingsModel::SetOnChanged | ( | std::function< void(bool)> | on_changed | ) |
void open3d::visualization::GuiSettingsModel::SetPointSize | ( | int | size | ) |
void open3d::visualization::GuiSettingsModel::SetShowAxes | ( | bool | show | ) |
void open3d::visualization::GuiSettingsModel::SetShowSkybox | ( | bool | show | ) |
void open3d::visualization::GuiSettingsModel::UnsetCustomDefaultColor | ( | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |