1 // Created on: 2011-10-11
2 // Created by: Roman KOZLOV
3 // Copyright (c) 2011-2014 OPEN CASCADE SAS
5 // This file is part of Open CASCADE Technology software library.
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.
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
16 #ifndef __IVTK_INTERFACE_H__
17 #define __IVTK_INTERFACE_H__
19 #include <Standard_Type.hxx>
20 #include <Standard_Transient.hxx>
23 DEFINE_STANDARD_HANDLE( IVtk_Interface, Standard_Transient )
25 //! @class IVtk_Interface
26 //! @brief Base interface for visualisation component.
28 //! It is a handle class ("smart" pointer). IVtk_Interface is a base class for OCC interfaces
29 //! for VTK classes, such as interface for shape objects (IVtk_IShape) and view(IVtk_IView),
30 //! shape triangulation (IVtk_IShapeData, IVtk_IShapeMesher) and picking (IVtk_IShapePickerAlgo).
31 class IVtk_Interface : public Standard_Transient
35 typedef Handle(IVtk_Interface) Handle;
36 DEFINE_STANDARD_RTTIEXT(IVtk_Interface,Standard_Transient)
38 virtual ~IVtk_Interface() { }
41 #endif // __IVTK_INTERFACE_H__