My Project
Macros | Functions
hiddenLines.h File Reference
#include <QtUiTools>
#include "figures.h"
Include dependency graph for hiddenLines.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define RENDERMETHODS_H
 

Functions

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...
 
bool opposite_side (vector< Vertice > &faceVertices, Vertice a, Vertice b)
 
Vertice back_proj (Vertice v, Edge e, int plane)
 

Macro Definition Documentation

◆ RENDERMETHODS_H

#define RENDERMETHODS_H

Methods for rendering 3D object and diplaying 2D views (will use OpenGL and GTK libraries)

Function Documentation

◆ back_proj()

Vertice back_proj ( Vertice  v,
Edge  e,
int  plane 
)

returns vertex on 3D edge e whose projection is v

returns 3D vertex on Edge e whose projection is v

◆ opposite_side()

bool opposite_side ( vector< Vertice > &  faceVertices,
Vertice  e,
Vertice  f 
)

returns true if a and b are on opposite side of plane formed by faceVertices , false otherwise

◆ render2DHidden()

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.