BRL-CAD
test_bot2nurbs.cpp File Reference
#include "common.h"
#include <map>
#include <set>
#include <queue>
#include <list>
#include <vector>
#include <iostream>
#include <fstream>
#include "vmath.h"
#include "raytrace.h"
#include "wdb.h"
#include "plot3.h"
#include "opennurbs.h"
#include "opennurbs_fit.h"
#include <Eigen/SVD>
#include "brep.h"
Include dependency graph for test_bot2nurbs.cpp:

Go to the source code of this file.

Data Structures

struct  Manifold_Info
 

Typedefs

typedef std::pair< size_t, size_t > Edge
 
typedef std::map< size_t, std::set< Edge > > VertToEdge
 
typedef std::map< size_t, std::set< size_t > > VertToPatch
 
typedef std::map< Edge, std::set< size_t > > EdgeToPatch
 
typedef std::map< Edge, std::set< size_t > > EdgeToFace
 
typedef std::map< size_t, size_t > FaceToPatch
 
typedef std::map< size_t, size_t > PatchToPlane
 
typedef std::set< EdgeEdgeList
 
typedef std::set< size_t > FaceList
 

Functions

int main (int argc, char *argv[])
 

Detailed Description

This file contains the logic that takes an input BoT, breaks that BoT down into patches, fits surfaces to those patches, builds trimming loops for the surfaces based on NURBS curves fitted to patch edge segments, and assembles the result into a closed BREP.

Definition in file test_bot2nurbs.cpp.

Typedef Documentation

typedef std::pair<size_t, size_t> Edge

Definition at line 59 of file test_bot2nurbs.cpp.

typedef std::map< size_t, std::set<Edge> > VertToEdge

Definition at line 60 of file test_bot2nurbs.cpp.

typedef std::map< size_t, std::set<size_t> > VertToPatch

Definition at line 61 of file test_bot2nurbs.cpp.

typedef std::map< Edge, std::set<size_t> > EdgeToPatch

Definition at line 62 of file test_bot2nurbs.cpp.

typedef std::map< Edge, std::set<size_t> > EdgeToFace

Definition at line 63 of file test_bot2nurbs.cpp.

typedef std::map< size_t, size_t > FaceToPatch

Definition at line 64 of file test_bot2nurbs.cpp.

typedef std::map< size_t, size_t > PatchToPlane

Definition at line 65 of file test_bot2nurbs.cpp.

typedef std::set<Edge> EdgeList

Definition at line 66 of file test_bot2nurbs.cpp.

typedef std::set<size_t> FaceList

Definition at line 67 of file test_bot2nurbs.cpp.

Function Documentation