My Project
Functions
reconstMethods.h File Reference
#include "basicComponents.h"
#include "complexComponents.h"
#include "figures.h"
#include "structs.h"
Include dependency graph for reconstMethods.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

WireFrame constUniq3dEdges (vector< vector< Edge > > edgeSet)
 Function to construct 3d edges from 2d edges by checking the possibility of the edges being projections of each other. More...
 
std::vector< std::vector< Edge > > readFile (const char *)
 Function to read txt file contatining labelled data of xy , yz and xz views and returns the result as a vector of vector of edges. More...
 
Fig3D wireframeTo3D (WireFrame a)
 Takes a wireframe object and converts it into a 3d object by creating faces by forming edge loops. More...
 
vector< vector< int > > coplanarEdges (vector< Edge > &edges)
 
vector< vector< int > > getEdgeLoops (vector< Edge > &edges, vector< int > coplanarIndices)
 

Function Documentation

◆ constUniq3dEdges()

WireFrame constUniq3dEdges ( vector< vector< Edge > >  edgeSet)

Function to construct 3d edges from 2d edges by checking the possibility of the edges being projections of each other.

Defines methods required for 3D reconstruction process

◆ coplanarEdges()

vector< vector<int> > coplanarEdges ( vector< Edge > &  edges)

Returns coplanar sets of edges of size>=3 (each coplanar set is represented as a list of edge indices)

◆ getEdgeLoops()

vector< vector<int> > getEdgeLoops ( vector< Edge > &  edges,
vector< int >  coplanarIndices 
)

takes input a set of coplanar edges (as edges + indices) and returns a list of edge loops(candidate faces) formed using these edges (each edgeLoop is represented by a list of indices)

◆ readFile()

std::vector<std::vector<Edge> > readFile ( const char *  )

Function to read txt file contatining labelled data of xy , yz and xz views and returns the result as a vector of vector of edges.

◆ wireframeTo3D()

Fig3D wireframeTo3D ( WireFrame  a)

Takes a wireframe object and converts it into a 3d object by creating faces by forming edge loops.