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

#include <FilamentEntitiesMods.h>

Inheritance diagram for open3d::visualization::FilamentMaterialModifier:
open3d::visualization::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) override
 
MaterialModifierSetColor (const char *parameter, const Eigen::Vector4f &value) 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::MaterialModifier
virtual ~MaterialModifier ()=default
 

Static Public Member Functions

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

Constructor & Destructor Documentation

◆ FilamentMaterialModifier() [1/2]

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

◆ FilamentMaterialModifier() [2/2]

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

Member Function Documentation

◆ Finish()

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

◆ Init()

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

◆ Reset()

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

◆ SamplerFromSamplerParameters()

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

◆ SetColor() [1/2]

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

◆ SetColor() [2/2]

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

◆ SetDoubleSided()

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

◆ SetParameter() [1/3]

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

◆ SetParameter() [2/3]

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

◆ SetParameter() [3/3]

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

◆ SetTexture()

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

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