0022819: Redesign of OpenGl driver
[occt.git] / src / OpenGl / OpenGl_togl_graduatedtrihedron.cxx
1 // File:      OpenGl_togl_graduatedtrihedron.cxx
2 // Created:   6 March 2011
3 // Author:    Sergey ZERCHANINOV
4 // Copyright: OPEN CASCADE SA 2011
5
6 #include <OpenGl_graduatedtrihedron.hxx>
7
8 #include <OpenGl_tsm_ws.hxx>
9 #include <OpenGl_telem_view.hxx>
10
11 #include <InterfaceGraphic_Graphic3d.hxx>
12 #include <InterfaceGraphic_Aspect.hxx>
13 #include <InterfaceGraphic_Visual3d.hxx>
14
15 void EXPORT call_togl_graduatedtrihedron_display(CALL_DEF_VIEW* view, 
16                                                  const Graphic3d_CGraduatedTrihedron &cubic)
17 {
18     call_graduatedtrihedron_display(view->WsId, cubic);
19 }
20
21 void EXPORT call_togl_graduatedtrihedron_erase(CALL_DEF_VIEW* view)
22 {
23     call_graduatedtrihedron_erase(view->WsId);
24 }
25
26 void EXPORT call_togl_graduatedtrihedron_minmaxvalues(float xmin, float ymin, float zmin,
27                                                       float xmax, float ymax, float zmax)
28 {
29     call_graduatedtrihedron_minmaxvalues(xmin, ymin, zmin, xmax, ymax, zmax);
30 }