0024947: Redesign OCCT legacy type system -- automatic
[occt.git] / src / IVtk / IVtk_Interface.hxx
1 // Created on: 2011-10-11 
2 // Created by: Roman KOZLOV
3 // Copyright (c) 2011-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 __IVTK_INTERFACE_H__
17 #define __IVTK_INTERFACE_H__
18
19 #include <Standard_Type.hxx>
20 #include <Standard_Transient.hxx>
21
22 DEFINE_STANDARD_HANDLE( IVtk_Interface, Standard_Transient )
23
24 //! @class IVtk_Interface 
25 //! @brief Base interface for visualisation component.
26 //!
27 //! It is a handle class ("smart" pointer). IVtk_Interface is a base class for OCC interfaces
28 //! for VTK classes, such as interface for shape objects (IVtk_IShape) and view(IVtk_IView),
29 //! shape triangulation (IVtk_IShapeData, IVtk_IShapeMesher) and picking (IVtk_IShapePickerAlgo). 
30 class IVtk_Interface : public Standard_Transient
31 {
32
33 public:
34   typedef Handle(IVtk_Interface) Handle;
35   DEFINE_STANDARD_RTTI(IVtk_Interface, Standard_Transient)
36
37   virtual ~IVtk_Interface() { }
38 };
39
40 #endif // __IVTK_INTERFACE_H__