Open3D (C++ API)  0.17.0
Public Member Functions | Static Public Member Functions
open3d::visualization::rendering::FilamentMaterialModifier Class Reference

#include <FilamentEntitiesMods.h>

Inheritance diagram for open3d::visualization::rendering::FilamentMaterialModifier:
open3d::visualization::rendering::MaterialModifier

Public Member Functions

 FilamentMaterialModifier (const std::shared_ptr< filament::MaterialInstance > &material_instance, const MaterialInstanceHandle &id)
 
 FilamentMaterialModifier ()=default
 
void Reset ()
 
void Init (const std::shared_ptr< filament::MaterialInstance > &material_instance, const MaterialInstanceHandle &id)
 
MaterialModifierSetParameter (const char *parameter, int value) override
 
MaterialModifierSetParameter (const char *parameter, float value) override
 
MaterialModifierSetParameter (const char *parameter, const Eigen::Vector3f &value) override
 
MaterialModifierSetColor (const char *parameter, const Eigen::Vector3f &value, bool srgb) override
 
MaterialModifierSetColor (const char *parameter, const Eigen::Vector4f &value, bool srgb) override
 
MaterialModifierSetTexture (const char *parameter, const TextureHandle &texture, const TextureSamplerParameters &sampler) override
 
MaterialModifierSetDoubleSided (bool double_sided) override
 
MaterialInstanceHandle Finish () override
 
- Public Member Functions inherited from open3d::visualization::rendering::MaterialModifier
virtual ~MaterialModifier ()=default
 

Static Public Member Functions

static filament::TextureSampler SamplerFromSamplerParameters (const TextureSamplerParameters &sampler_config)
 

Constructor & Destructor Documentation

◆ FilamentMaterialModifier() [1/2]

open3d::visualization::rendering::FilamentMaterialModifier::FilamentMaterialModifier ( const std::shared_ptr< filament::MaterialInstance > &  material_instance,
const MaterialInstanceHandle id 
)

◆ FilamentMaterialModifier() [2/2]

open3d::visualization::rendering::FilamentMaterialModifier::FilamentMaterialModifier ( )
default

Member Function Documentation

◆ Finish()

MaterialInstanceHandle open3d::visualization::rendering::FilamentMaterialModifier::Finish ( )
overridevirtual

◆ Init()

void open3d::visualization::rendering::FilamentMaterialModifier::Init ( const std::shared_ptr< filament::MaterialInstance > &  material_instance,
const MaterialInstanceHandle id 
)

◆ Reset()

void open3d::visualization::rendering::FilamentMaterialModifier::Reset ( )

◆ SamplerFromSamplerParameters()

TextureSampler open3d::visualization::rendering::FilamentMaterialModifier::SamplerFromSamplerParameters ( const TextureSamplerParameters sampler_config)
static

◆ SetColor() [1/2]

MaterialModifier & open3d::visualization::rendering::FilamentMaterialModifier::SetColor ( const char *  parameter,
const Eigen::Vector3f &  value,
bool  srgb 
)
overridevirtual

◆ SetColor() [2/2]

MaterialModifier & open3d::visualization::rendering::FilamentMaterialModifier::SetColor ( const char *  parameter,
const Eigen::Vector4f &  value,
bool  srgb 
)
overridevirtual

◆ SetDoubleSided()

MaterialModifier & open3d::visualization::rendering::FilamentMaterialModifier::SetDoubleSided ( bool  double_sided)
overridevirtual

◆ SetParameter() [1/3]

MaterialModifier & open3d::visualization::rendering::FilamentMaterialModifier::SetParameter ( const char *  parameter,
const Eigen::Vector3f &  value 
)
overridevirtual

◆ SetParameter() [2/3]

MaterialModifier & open3d::visualization::rendering::FilamentMaterialModifier::SetParameter ( const char *  parameter,
float  value 
)
overridevirtual

◆ SetParameter() [3/3]

MaterialModifier & open3d::visualization::rendering::FilamentMaterialModifier::SetParameter ( const char *  parameter,
int  value 
)
overridevirtual

◆ SetTexture()

MaterialModifier & open3d::visualization::rendering::FilamentMaterialModifier::SetTexture ( const char *  parameter,
const TextureHandle texture,
const TextureSamplerParameters sampler 
)
overridevirtual

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