1#ifndef INCLUDE_TINYURDF_GEOMETRY_MESH_H_
2#define INCLUDE_TINYURDF_GEOMETRY_MESH_H_
10#include <loguru/loguru.hpp>
20 bool isA(
const char* name)
override;
21 void clear()
override;
24 void setScale(
double xs,
double ys,
double zs);
27 void setColor(
double r,
double g,
double b,
double a = 1.0);
28 void print(std::ostream& os)
override;
29 void setOrigin(
double x,
double y,
double z)
override;
30 void getOrigin(
double* xyz)
const override;
31 bool empty()
const override;
Definition geometry_base.h:9
std::string getFilename() override
Definition mesh.cc:30
Mesh()
Definition mesh.cc:3
void getOrigin(double *xyz) const override
Definition mesh.cc:71
void setColor(Color c)
Definition mesh.cc:51
~Mesh()
Definition mesh.cc:7
void setOrigin(double x, double y, double z) override
Definition mesh.cc:67
Vec3 getScale() override
Definition mesh.cc:46
void setScale(double xs, double ys, double zs)
Definition mesh.cc:35
const char * getTypename() override
Definition mesh.cc:80
void clear() override
Definition mesh.cc:15
void print(std::ostream &os) override
Definition mesh.cc:59
bool empty() const override
Definition mesh.cc:75
bool isA(const char *name) override
Definition mesh.cc:11
void setFilename(const std::string &path)
Definition mesh.cc:21
Eigen::Matrix< double, 3, 1 > Vec3
Definition utils.h:14