My Project
|
#include "basicComponents.h"
#include "objLoader.h"
#include "figures.h"
#include "hiddenLines.h"
#include "helperfunctions.h"
#include <stdio.h>
#include <QtUiTools>
#include <iostream>
#include <vector>
#include <set>
#include <cmath>
Macros | |
#define | INF 1000000 |
#define | epsilon 0.1 |
Functions | |
bool | opposite_side (vector< Vertice > &faceVertices, Vertice e, Vertice f) |
Vertice | back_proj (Vertice v, Edge e, int plane) |
Vertice | get_vertex_inf (Vertice x, int plane) |
void | render2DHidden (Fig3D &object3D, QPainter &painter, int plane, double scale_factor) |
Renders the figure and also marks lines as hidden where they are hidden by some plane. More... | |
#define epsilon 0.1 |
#define INF 1000000 |
returns 3D vertex on Edge e whose projection is v
Returns Vertex at infinity for the corresponding projection plane (to check if a vertex and our view point lie on opposite side of a face)
returns true if a and b are on opposite side of plane formed by faceVertices , false otherwise
void render2DHidden | ( | Fig3D & | object3D, |
QPainter & | painter, | ||
int | plane, | ||
double | scale_factor | ||
) |
Renders the figure and also marks lines as hidden where they are hidden by some plane.