File: qwt3dmod.sip

package info (click to toggle)
pyqwt3d 0.1.8-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 984 kB
  • sloc: python: 3,932; cpp: 328; makefile: 115; sh: 7
file content (95 lines) | stat: -rw-r--r-- 2,742 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
// The SIP interface definition for the _Qwt3D module of PyQwt3D.
//
// Copyright (C) 2004-2008 Gerard Vermeulen
//
// This file is part of PyQwt3D.
//
// PyQwt3D is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// PyQwt3D is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License along
// with PyQwt3D; if not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
//
// In addition, as a special exception, Gerard Vermeulen gives permission
// to link PyQwt3D dynamically with non-free versions of Qt and PyQt,
// and to distribute PyQwt3D in this form, provided that equally powerful
// versions of Qt and PyQt have been released under the terms of the GNU
// General Public License.
//
// If PyQwt3D is dynamically linked with non-free versions of Qt and PyQt,
// PyQwt3D becomes a free plug-in for a non-free program.


%Include features.sip
//%Include types.sip


%ModuleHeaderCode
#if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN)
typedef int Py_ssize_t;
#define PY_SSIZE_T_MAX INT_MAX
#define PY_SSIZE_T_MIN INT_MIN
#endif

#include <qwt3d_python.h>
%End

%PostInitialisationCode
#ifdef HAS_NUMARRAY
    qwt3d_import_numarray();
#endif
#ifdef HAS_NUMERIC
    qwt3d_import_numeric();
#endif
#ifdef HAS_NUMPY
    qwt3d_import_numpy();
#endif
%End

// automagically generated
%Include qwt3d_axisvector.sip
%Include qwt3d_cell.sip
%Include qwt3d_cellfield.sip
%Include qwt3d_colorvector.sip
%Include qwt3d_doublevector.sip
%Include qwt3d_freevectorfield.sip
%Include qwt3d_triplefield.sip

// blood, sweat and tears
%Include qwt3d_autoscaler.sip
%Include qwt3d_axis.sip
%Include qwt3d_color.sip
%Include qwt3d_colorlegend.sip
%Include qwt3d_coordsys.sip
%Include qwt3d_drawable.sip
%Include qwt3d_enrichment.sip
%Include qwt3d_enrichment_std.sip
%Include qwt3d_function.sip
%Include qwt3d_gridmapping.sip
%Include qwt3d_io.sip
%Include qwt3d_io_gl2ps.sip
%Include qwt3d_io_reader.sip
%Include qwt3d_label.sip
%Include qwt3d_mapping.sip
%Include qwt3d_openglhelper.sip
%Include qwt3d_parametricsurface.sip
%Include qwt3d_plot.sip
%Include qwt3d_portability.sip
%Include qwt3d_scale.sip
%Include qwt3d_surfaceplot.sip
%Include qwt3d_types.sip


// Local Variables:
// mode: C++
// c-file-style: "stroustrup"
// indent-tabs-mode: nil
// End: