Open3D (C++ API)  0.12.0
Data Fields
open3d::visualization::rendering::Material Struct Reference

#include <Material.h>

Data Fields

std::string name
 
bool has_alpha = false
 
Eigen::Vector4f base_color = Eigen::Vector4f(1.f, 1.f, 1.f, 1.f)
 
float base_metallic = 0.f
 
float base_roughness = 1.f
 
float base_reflectance = 0.5f
 
float base_clearcoat = 0.f
 
float base_clearcoat_roughness = 0.f
 
float base_anisotropy = 0.f
 
float thickness = 1.f
 
float transmission = 1.f
 
Eigen::Vector3f absorption_color
 
float absorption_distance = 1.f
 
float point_size = 3.f
 
float line_width = 1.f
 
std::shared_ptr< geometry::Imagealbedo_img
 
std::shared_ptr< geometry::Imagenormal_img
 
std::shared_ptr< geometry::Imageao_img
 
std::shared_ptr< geometry::Imagemetallic_img
 
std::shared_ptr< geometry::Imageroughness_img
 
std::shared_ptr< geometry::Imagereflectance_img
 
std::shared_ptr< geometry::Imageclearcoat_img
 
std::shared_ptr< geometry::Imageclearcoat_roughness_img
 
std::shared_ptr< geometry::Imageanisotropy_img
 
std::shared_ptr< geometry::Imageao_rough_metal_img
 
std::shared_ptr< Gradientgradient
 
float scalar_min = 0.0f
 
float scalar_max = 1.0f
 
bool sRGB_color = true
 
float aspect_ratio = 0.0f
 
std::unordered_map< std::string, Eigen::Vector4f > generic_params
 
std::unordered_map< std::string, geometry::Imagegeneric_imgs
 
std::string shader
 

Field Documentation

◆ absorption_color

Eigen::Vector3f open3d::visualization::rendering::Material::absorption_color
Initial value:
=
Eigen::Vector3f(1.f, 1.f, 1.f)

◆ absorption_distance

float open3d::visualization::rendering::Material::absorption_distance = 1.f

◆ albedo_img

std::shared_ptr<geometry::Image> open3d::visualization::rendering::Material::albedo_img

◆ anisotropy_img

std::shared_ptr<geometry::Image> open3d::visualization::rendering::Material::anisotropy_img

◆ ao_img

std::shared_ptr<geometry::Image> open3d::visualization::rendering::Material::ao_img

◆ ao_rough_metal_img

std::shared_ptr<geometry::Image> open3d::visualization::rendering::Material::ao_rough_metal_img

◆ aspect_ratio

float open3d::visualization::rendering::Material::aspect_ratio = 0.0f

◆ base_anisotropy

float open3d::visualization::rendering::Material::base_anisotropy = 0.f

◆ base_clearcoat

float open3d::visualization::rendering::Material::base_clearcoat = 0.f

◆ base_clearcoat_roughness

float open3d::visualization::rendering::Material::base_clearcoat_roughness = 0.f

◆ base_color

Eigen::Vector4f open3d::visualization::rendering::Material::base_color = Eigen::Vector4f(1.f, 1.f, 1.f, 1.f)

◆ base_metallic

float open3d::visualization::rendering::Material::base_metallic = 0.f

◆ base_reflectance

float open3d::visualization::rendering::Material::base_reflectance = 0.5f

◆ base_roughness

float open3d::visualization::rendering::Material::base_roughness = 1.f

◆ clearcoat_img

std::shared_ptr<geometry::Image> open3d::visualization::rendering::Material::clearcoat_img

◆ clearcoat_roughness_img

std::shared_ptr<geometry::Image> open3d::visualization::rendering::Material::clearcoat_roughness_img

◆ generic_imgs

std::unordered_map<std::string, geometry::Image> open3d::visualization::rendering::Material::generic_imgs

◆ generic_params

std::unordered_map<std::string, Eigen::Vector4f> open3d::visualization::rendering::Material::generic_params

◆ gradient

std::shared_ptr<Gradient> open3d::visualization::rendering::Material::gradient

◆ has_alpha

bool open3d::visualization::rendering::Material::has_alpha = false

◆ line_width

float open3d::visualization::rendering::Material::line_width = 1.f

◆ metallic_img

std::shared_ptr<geometry::Image> open3d::visualization::rendering::Material::metallic_img

◆ name

std::string open3d::visualization::rendering::Material::name

◆ normal_img

std::shared_ptr<geometry::Image> open3d::visualization::rendering::Material::normal_img

◆ point_size

float open3d::visualization::rendering::Material::point_size = 3.f

◆ reflectance_img

std::shared_ptr<geometry::Image> open3d::visualization::rendering::Material::reflectance_img

◆ roughness_img

std::shared_ptr<geometry::Image> open3d::visualization::rendering::Material::roughness_img

◆ scalar_max

float open3d::visualization::rendering::Material::scalar_max = 1.0f

◆ scalar_min

float open3d::visualization::rendering::Material::scalar_min = 0.0f

◆ shader

std::string open3d::visualization::rendering::Material::shader

◆ sRGB_color

bool open3d::visualization::rendering::Material::sRGB_color = true

◆ thickness

float open3d::visualization::rendering::Material::thickness = 1.f

◆ transmission

float open3d::visualization::rendering::Material::transmission = 1.f

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