0031668: Visualization - WebGL sample doesn't work on Emscripten 1.39
[occt.git] / src / IVtkDraw / IVtkDraw.hxx
CommitLineData
52f99d93 1// Created on: 2012-02-03
2//
3// Copyright (c) 2012-2014 OPEN CASCADE SAS
4//
5// This file is part of Open CASCADE Technology software library.
6//
7// This library is free software; you can redistribute it and/or modify it under
8// the terms of the GNU Lesser General Public License version 2.1 as published
9// by the Free Software Foundation, with special exception defined in the file
10// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11// distribution for complete text of the license and disclaimer of any warranty.
12//
13// Alternatively, this file may be used under the terms of Open CASCADE
14// commercial license or contractual agreement.
15
16#ifndef _IVtkDraw_HeaderFile
17#define _IVtkDraw_HeaderFile
18
ad03c234 19#include <Standard_Transient.hxx>
52f99d93 20#include <Standard.hxx>
21#include <Standard_Macro.hxx>
22
23class Draw_Interpretor;
1bd04b5a 24class WNT_WClass;
52f99d93 25
26class IVtkDraw
27{
28public:
29
30 DEFINE_STANDARD_ALLOC
31
32 Standard_EXPORT static void ViewerInit (Standard_Integer thePxLeft,
33 Standard_Integer thePxTop,
34 Standard_Integer thePxWidth,
35 Standard_Integer thePxHeight);
36
37 Standard_EXPORT static void Factory (Draw_Interpretor& theDI);
38 Standard_EXPORT static void Commands (Draw_Interpretor& theCommands);
39
40private:
1bd04b5a 41 Standard_EXPORT static const Handle(WNT_WClass)& WClass();
52f99d93 42};
43
44#endif
45