Public Types | Public Member Functions | Public Attributes | List of all members
pinocchio::mjcf::details::MjcfMaterial Struct Reference

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

#include <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. More...
 

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 225 of file mjcf-graph.hpp.

Member Typedef Documentation

◆ ptree

typedef boost::property_tree::ptree pinocchio::mjcf::details::MjcfMaterial::ptree

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

Member Function Documentation

◆ goThroughElement()

void pinocchio::mjcf::details::MjcfMaterial::goThroughElement ( const ptree el)

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

Parameters
elptree material node

Definition at line 195 of file mjcf-graph-geom.cpp.

Member Data Documentation

◆ emission

float pinocchio::mjcf::details::MjcfMaterial::emission = 0

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

◆ reflectance

float pinocchio::mjcf::details::MjcfMaterial::reflectance = 0

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

◆ rgba

Eigen::Vector4d pinocchio::mjcf::details::MjcfMaterial::rgba = Eigen::Vector4d::Constant(1)

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

◆ shininess

float pinocchio::mjcf::details::MjcfMaterial::shininess = 0.5

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

◆ specular

float pinocchio::mjcf::details::MjcfMaterial::specular = 0.5

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

◆ texture

std::string pinocchio::mjcf::details::MjcfMaterial::texture

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


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


pinocchio
Author(s):
autogenerated on Tue Jun 25 2024 02:42:44