Pathfinder
Namespaces | Macros | Functions
OBJ.cpp File Reference

This file implements all functionality declared in OBJ.h. More...

#include <fstream>
#include <memory>
#include <chrono>
#include <spdlog/spdlog.h>
#include <spdlog/sinks/basic_file_sink.h>
#include <spdlog/stopwatch.h>
#include <spdlog/fmt/chrono.h>
#include "convhull_3d/convhull_3d.h"
#include "OBJ.h"
#include "Sort.h"
#include "Compare.h"
Include dependency graph for OBJ.cpp:

Namespaces

 Pathfinder
 

Macros

#define CONVHULL_3D_ENABLE
 

Functions

std::tuple< size_t, size_t, size_t > Pathfinder::getOBJIndices (const std::list< Geometry::Vec3 > &vertices, const Geometry::Vec3 &a, const Geometry::Vec3 &b, const Geometry::Vec3 &c)
 Given three points, get their names for an OBJ file. More...
 
void Pathfinder::writeOBJFromMesh (const MinSG::GeometryNode *geoNodePtr, const std::string &path)
 Go through the mesh associated with geoNodePtr and print the appropriate OBJ commands. More...
 
void Pathfinder::writeOBJFromGraph (const Graph *graph, const std::string &path)
 Go through graph and output appropriate OBJ commands. More...
 
void Pathfinder::appendPointcloudOBJFile (const std::vector< Geometry::Vec3 > &points, const std::string &path)
 Given a list of points, append all of these points onto the file at location path. More...
 
void Pathfinder::writeIntersectionOBJFiles (const std::vector< std::tuple< Graph *, Graph *, std::vector< Geometry::Vec3 >> > &intersections, const std::string &path)
 

Detailed Description

This file implements all functionality declared in OBJ.h.

Author
Jan-Luca Hansel

Macro Definition Documentation

◆ CONVHULL_3D_ENABLE

#define CONVHULL_3D_ENABLE