1 // Copyright (c) 1995-1999 Matra Datavision
2 // Copyright (c) 1999-2014 OPEN CASCADE SAS
4 // This file is part of Open CASCADE Technology software library.
6 // This library is free software; you can redistribute it and / or modify it
7 // under the terms of the GNU Lesser General Public version 2.1 as published
8 // by the Free Software Foundation, with special exception defined in the file
9 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
10 // distribution for complete text of the license and disclaimer of any warranty.
12 // Alternatively, this file may be used under the terms of Open CASCADE
13 // commercial license or contractual agreement.
15 /***********************************************************************
19 File OpenGl_telem_view.h :
26 HISTORIQUE DES MODIFICATIONS :
27 --------------------------------
28 xx-xx-xx : xxx ; Creation.
29 02-07-96 : FMN ; Suppression WSWSHeight et WSWSWidth
30 Suppression de TelSetWSWindow
31 03-07-96 : FMN ; A une workstation correspond une vue.
32 Suppression de TelGetViewportAtLocation()
33 Suppression de TelPrintAllViews()
34 03-03-98 : FMN ; Suppression variable externe TglWhetherPerspective
36 ************************************************************************/
38 #ifndef OPENGL_TELEM_VIEW_H
39 #define OPENGL_TELEM_VIEW_H
41 #include <InterfaceGraphic_tgl_all.hxx>
42 #include <Handle_OpenGl_Display.hxx>
64 TelParallel, TelPerspective
76 } TEL_VIEW_MAPPING, *tel_view_mapping;
78 extern void /* vrp, vpn, vup, error_ind, mat */
79 TelEvalViewOrientationMatrix(Tfloat*, Tfloat*, Tfloat*, Tfloat*, Tint*, Tmatrix3);
81 extern void /* mapping, error_ind, mat */
82 TelEvalViewMappingMatrix (const Handle(OpenGl_Display)& theGlDisplay, tel_view_mapping theMapping, Tint* theError, Tmatrix3 theMat);