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

All informations related to material are stored here. More...

#include <pinocchio/parsers/mjcf/mjcf-graph.hpp>

Public Types

typedef boost::property_tree::ptree ptree

Public Member Functions

void goThroughElement (const ptree &el)
 Go through a ptree node to look for material tag related.

Public Attributes

float emission = 0
float reflectance = 0
Eigen::Vector4d rgba = Eigen::Vector4d::Constant(1)
float shininess = 0.5
float specular = 0.5
std::string texture

Detailed Description

All informations related to material are stored here.

Definition at line 228 of file mjcf-graph.hpp.

Member Typedef Documentation

◆ ptree

typedef boost::property_tree::ptree ptree

Definition at line 230 of file mjcf-graph.hpp.

Member Function Documentation

◆ goThroughElement()

void goThroughElement(const ptree &el)

Go through a ptree node to look for material tag related.

Parameters
elptree material node

Member Data Documentation

◆ emission

float emission = 0

Definition at line 240 of file mjcf-graph.hpp.

◆ reflectance

float reflectance = 0

Definition at line 234 of file mjcf-graph.hpp.

◆ rgba

Eigen::Vector4d rgba = Eigen::Vector4d::Constant(1)

Definition at line 232 of file mjcf-graph.hpp.

◆ shininess

float shininess = 0.5

Definition at line 236 of file mjcf-graph.hpp.

◆ specular

float specular = 0.5

Definition at line 238 of file mjcf-graph.hpp.

◆ texture

std::string texture

Definition at line 242 of file mjcf-graph.hpp.


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