16f3eda0f5f85a67fca328533c039956b5ecbc48
[occt.git] / src / IVtkDraw / IVtkDraw.hxx
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
19 #include <MMgt_TShared.hxx>
20 #include <Standard.hxx>
21 #include <Standard_Macro.hxx>
22
23 class Draw_Interpretor;
24 class MMgt_TShared;
25
26 class IVtkDraw
27 {
28 public:
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
40 private:
41   Standard_EXPORT   static const Handle(MMgt_TShared)& WClass();
42 };
43
44 #endif
45