My Project
Functions
renderMethods.cpp File Reference
#include "basicComponents.h"
#include "objLoader.h"
#include "figures.h"
#include <QtUiTools>
#include <iostream>
#include <vector>
#include <set>
#include <cmath>
Include dependency graph for renderMethods.cpp:

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...
 

Function Documentation

◆ render2D()

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

◆ renderAxes()

void renderAxes ( Fig3D object3D,
QPainter &  painter,
int  plane,
double  scale_factor 
)

Function to display axes on the labels for reference.