forked from gregori/Slicer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Graphics.h
39 lines (35 loc) · 845 Bytes
/
Graphics.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#pragma once
namespace ProcessPlanning
{
class GraphicsImp;
class Facet;
class Point;
class Rect;
class Raster;
class Contour;
class Mesh;
class ComplexGeometry;
class Graphics
{
private:
GraphicsImp* imp;
public:
Graphics(GraphicsImp* implementation = NULL);
~Graphics();
void init(void);
void render(Point* p);
void render(Facet* t);
void render(Rect* r);
void prepareRender(Point* p);
void prepareRender(Rect* r);
void prepareRender(Facet* t);
void prepareRender(Raster* r);
void prepareRender(Contour* c);
void prepareRender(Mesh* m);
void prepareRender(ComplexGeometry *cg);
void finishRender(void);
void resizeView(float posX, float posY);
void clearScreen(void);
void cameraSetup(float zoom, float posX, float posY, float rotX, float rotY);
};
}