0031668: Visualization - WebGL sample doesn't work on Emscripten 1.39
[occt.git] / src / IVtk / IVtk_Interface.hxx
CommitLineData
913a4c4a 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
ec357c5c 19#include <Standard_Type.hxx>
913a4c4a 20#include <Standard_Transient.hxx>
21
c04c30b3 22class IVtk_Interface;
913a4c4a 23DEFINE_STANDARD_HANDLE( IVtk_Interface, Standard_Transient )
24
25//! @class IVtk_Interface
26//! @brief Base interface for visualisation component.
27//!
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).
31class IVtk_Interface : public Standard_Transient
32{
33
34public:
35 typedef Handle(IVtk_Interface) Handle;
92efcf78 36 DEFINE_STANDARD_RTTIEXT(IVtk_Interface,Standard_Transient)
913a4c4a 37
38 virtual ~IVtk_Interface() { }
39};
40
41#endif // __IVTK_INTERFACE_H__