0022792: Globally defined symbol PI conflicts with VTK definition (Intel compiler)
[occt.git] / src / OpenGl / OpenGl_userdraw.cxx
CommitLineData
7fd59977 1/*
2// File: OpenGl_userdraw.c
3// Created: Thu Mar 3 12:34:02 2005
4// Author: Sergey ZERTCHANINOV
5// <sergey.zertchaninov@opencascade.com>
6// Copyright: Open CASCADE 2005
7*/
8
9#include <OpenGl_tgl_all.hxx>
10#include <OpenGl_cmn_varargs.hxx>
11#include <OpenGl_callback.hxx>
12
13
14static TStatus (*MtdTbl[])( TSM_ELEM_DATA, Tint, cmn_key* ) =
15{
16 0, /* UserdrawPick, */
17 0, /* UserdrawDisplay, */
18 0, /* UserdrawAdd, */
19 0, /* UserdrawDelete, */
20 0, /* UserdrawPrint, */
21 0, /* UserdrawInquire */
22};
23
24MtblPtr TelUserdrawInitClass( TelType* el )
25{
26 *el = TelUserdraw;
27 return MtdTbl;
28}
29
30MtblPtr GetCallbackTable ()
31{
32 return MtdTbl;
33}