Public Member Functions | Public Attributes | List of all members
pinocchio::GeometryPhongMaterial Struct Reference

#include <geometry-object.hpp>

Public Member Functions

 GeometryPhongMaterial ()=default
 
 GeometryPhongMaterial (const Eigen::Vector4d &meshEmissionColor, const Eigen::Vector4d &meshSpecularColor, double meshShininess)
 
bool operator== (const GeometryPhongMaterial &other) const
 

Public Attributes

Eigen::Vector4d meshEmissionColor {Eigen::Vector4d(0., 0., 0., 1.)}
 RGBA emission (ambient) color value of the GeometryObject::geometry object. More...
 
double meshShininess {0.}
 Shininess associated to the specular lighting model. More...
 
Eigen::Vector4d meshSpecularColor {Eigen::Vector4d(0., 0., 0., 1.)}
 RGBA specular color value of the GeometryObject::geometry object. More...
 

Detailed Description

Mesh material based on the Phong lighting model. Diffuse color is stored in GeometryObject::meshColor.

Definition at line 41 of file multibody/geometry-object.hpp.

Constructor & Destructor Documentation

◆ GeometryPhongMaterial() [1/2]

pinocchio::GeometryPhongMaterial::GeometryPhongMaterial ( )
default

◆ GeometryPhongMaterial() [2/2]

pinocchio::GeometryPhongMaterial::GeometryPhongMaterial ( const Eigen::Vector4d &  meshEmissionColor,
const Eigen::Vector4d &  meshSpecularColor,
double  meshShininess 
)
inline

Definition at line 44 of file multibody/geometry-object.hpp.

Member Function Documentation

◆ operator==()

bool pinocchio::GeometryPhongMaterial::operator== ( const GeometryPhongMaterial other) const
inline

Definition at line 54 of file multibody/geometry-object.hpp.

Member Data Documentation

◆ meshEmissionColor

Eigen::Vector4d pinocchio::GeometryPhongMaterial::meshEmissionColor {Eigen::Vector4d(0., 0., 0., 1.)}

RGBA emission (ambient) color value of the GeometryObject::geometry object.

Definition at line 62 of file multibody/geometry-object.hpp.

◆ meshShininess

double pinocchio::GeometryPhongMaterial::meshShininess {0.}

Shininess associated to the specular lighting model.

This value must normalized between 0 and 1.

Definition at line 70 of file multibody/geometry-object.hpp.

◆ meshSpecularColor

Eigen::Vector4d pinocchio::GeometryPhongMaterial::meshSpecularColor {Eigen::Vector4d(0., 0., 0., 1.)}

RGBA specular color value of the GeometryObject::geometry object.

Definition at line 65 of file multibody/geometry-object.hpp.


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


pinocchio
Author(s):
autogenerated on Mon Dec 16 2024 03:41:07