My Project
|
#include "basicComponents.h"
#include "objLoader.h"
#include "figures.h"
#include <QtUiTools>
#include <iostream>
#include <vector>
#include <set>
#include <cmath>
Functions | |
void | render2D (Fig3D &object3D, QPainter &painter, int plane, double scale_factor) |
void | renderAxes (Fig3D &object3D, QPainter &painter, int plane, double scale_factor) |
Function to display axes on the labels for reference. More... | |
void render2D | ( | Fig3D & | object3D, |
QPainter & | painter, | ||
int | plane, | ||
double | scale_factor | ||
) |
Takes input 3D object , QPainter object, othographic plane (XY /YZ/ XZ/isometric) and draws the corresponding 2D view on the QPainter object
void renderAxes | ( | Fig3D & | object3D, |
QPainter & | painter, | ||
int | plane, | ||
double | scale_factor | ||
) |
Function to display axes on the labels for reference.