PeriDyno 1.2.1
Loading...
Searching...
No Matches
stlreader_helper.h
Go to the documentation of this file.
1#pragma once
3
4#include <Field/FilePath.h>
5
6namespace dyno
7{
8 bool loadTextureMeshFromStl(std::shared_ptr<TextureMesh> texMesh, const FilePath& fullname,bool useToCenter = true);
9
10 bool loadStl(std::vector<Vec3f>& points, std::vector<TopologyModule::Triangle>& triangles, std::string filename, bool append = false);
11
12}
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25
bool loadStl(std::vector< Vec3f > &points, std::vector< TopologyModule::Triangle > &triangles, std::string filename, bool append)
bool loadTextureMeshFromStl(std::shared_ptr< TextureMesh > texMesh, const FilePath &fullname, bool useToCenter)