| // Created on: 2011-10-11 | |
| // Created by: Roman KOZLOV | |
| // Copyright (c) 2011-2014 OPEN CASCADE SAS | |
| // | |
| // This file is part of Open CASCADE Technology software library. | |
| // | |
| // This library is free software; you can redistribute it and/or modify it under | |
| // the terms of the GNU Lesser General Public License version 2.1 as published | |
| // by the Free Software Foundation, with special exception defined in the file | |
| // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT | |
| // distribution for complete text of the license and disclaimer of any warranty. | |
| // | |
| // Alternatively, this file may be used under the terms of Open CASCADE | |
| // commercial license or contractual agreement. | |
| #ifndef __IVTK_INTERFACE_H__ | |
| #define __IVTK_INTERFACE_H__ | |
| #include <Standard_Type.hxx> | |
| #include <Standard_Transient.hxx> | |
| //! @class IVtk_Interface | |
| //! @brief Base interface for visualisation component. | |
| //! | |
| //! It is a handle class ("smart" pointer). IVtk_Interface is a base class for OCC interfaces | |
| //! for VTK classes, such as interface for shape objects (IVtk_IShape) and view(IVtk_IView), | |
| //! shape triangulation (IVtk_IShapeData, IVtk_IShapeMesher) and picking (IVtk_IShapePickerAlgo). | |
| class IVtk_Interface : public Standard_Transient | |
| { | |
| public: | |
| typedef occ::handle<IVtk_Interface> Handle; | |
| DEFINE_STANDARD_RTTIEXT(IVtk_Interface, Standard_Transient) | |
| ~IVtk_Interface() override = default; | |
| }; | |
| #endif // __IVTK_INTERFACE_H__ |