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

#include <fcl.hpp>

Public Member Functions

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

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 135 of file fcl.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 138 of file fcl.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 147 of file fcl.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 155 of file fcl.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 150 of file fcl.hpp.


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


pinocchio
Author(s):
autogenerated on Tue Feb 13 2024 03:44:01