https://github.com/lsw9021/DexterousManipulation
Tip revision: 11269e20e5283c3f31b6ce1ea9a4805c8bdeecac authored by Lee Seung Hwan on 07 October 2021, 05:40:43 UTC
Create LICENSE
Create LICENSE
Tip revision: 11269e2
OBJMesh.h
#ifndef __OBJ_MESH_H__
#define __OBJ_MESH_H__
#include "Mesh.h"
#include <Eigen/Core>
#include <Eigen/Sparse>
#include <Eigen/Geometry>
namespace FEM
{
class OBJMesh : public Mesh
{
public:
OBJMesh(const OBJMesh& other) = delete;
OBJMesh& operator=(const OBJMesh& other) = delete;
std::shared_ptr<Mesh> Clone() override;
static std::shared_ptr<OBJMesh> Create(const std::string& path,const Eigen::Affine3d& M = Eigen::Affine3d::Identity());
protected:
OBJMesh(const std::string& path,const Eigen::Affine3d& _M = Eigen::Affine3d::Identity());
std::string mPath;
Eigen::Affine3d mT;
};
};
#endif