pinocchio  3.7.0
A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
 
Loading...
Searching...
No Matches
GeometryPhongMaterial Struct Reference

#include <pinocchio/multibody/geometry-object.hpp>

Public Member Functions

 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.
 
double meshShininess {0.}
 Shininess associated to the specular lighting model.
 
Eigen::Vector4d meshSpecularColor {Eigen::Vector4d(0., 0., 0., 1.)}
 RGBA specular color value of the GeometryObject::geometry object.
 

Detailed Description

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

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

Constructor & Destructor Documentation

◆ GeometryPhongMaterial()

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

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

Member Function Documentation

◆ operator==()

bool operator== ( const GeometryPhongMaterial other) const
inline

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

Member Data Documentation

◆ meshEmissionColor

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

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

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

◆ meshShininess

double meshShininess {0.}

Shininess associated to the specular lighting model.

This value must normalized between 0 and 1.

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

◆ meshSpecularColor

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

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

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


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