1#ifndef TINYURDF_MATERIAL_H
2#define TINYURDF_MATERIAL_H
10#include <loguru/loguru.hpp>
18 void clear()
override;
20 void setName(
const std::string& name_);
22 void setColor(
double r,
double g,
double b,
double a = 1.0);
23 bool isA(
const char* name)
override;
24 void print(std::ostream& os)
override;
27 std::string texture_filename;
28 std::shared_ptr<Color> color;
Material()
Definition material.cc:3
bool isA(const char *name) override
Definition material.cc:45
void setFilename(std::string &path)
Definition material.cc:17
void setName(const std::string &name_)
Definition material.cc:25
void setColor(double r, double g, double b, double a=1.0)
Definition material.cc:37
void print(std::ostream &os) override
Definition material.cc:49
void setDensity(double d)
Definition material.cc:31
void clear() override
Definition material.cc:8
Definition property_base.h:9