'''Wrapper for nviz.h

Generated with:
./ctypesgen.py --cpp gcc -E -I/c/OSGeo4W/include -I/c/OSGeo4W/apps/msys/include     -DPACKAGE="grasslibs" -DPACKAGE="grasslibs"  -I/c/osgeo4w/usr/src/grass644RC1/dist.i686-pc-mingw32/include -lgrass_nviz.6.4.4RC1 c:/osgeo4w/usr/src/grass644RC1/dist.i686-pc-mingw32/include/grass/nviz.h -o nviz.py

Do not modify this file.
'''

__docformat__ =  'restructuredtext'


_libs = {}
_libdirs = []

from ctypes_preamble import *
from ctypes_preamble import _variadic_function
from ctypes_loader import *

add_library_search_dirs([])

# Begin libraries

_libs["grass_nviz.6.4.4RC1"] = load_library("grass_nviz.6.4.4RC1")

# 1 libraries
# End libraries

# No modules

# c:\\osgeo4w\\bin\\../lib/gcc/mingw32/4.7.2/../../../../include/windef.h: 272
class struct_HBITMAP__(Structure):
    pass

struct_HBITMAP__.__slots__ = [
    'i',
]
struct_HBITMAP__._fields_ = [
    ('i', c_int),
]

HBITMAP = POINTER(struct_HBITMAP__) # c:\\osgeo4w\\bin\\../lib/gcc/mingw32/4.7.2/../../../../include/windef.h: 272

# c:\\osgeo4w\\bin\\../lib/gcc/mingw32/4.7.2/../../../../include/windef.h: 275
class struct_HDC__(Structure):
    pass

struct_HDC__.__slots__ = [
    'i',
]
struct_HDC__._fields_ = [
    ('i', c_int),
]

HDC = POINTER(struct_HDC__) # c:\\osgeo4w\\bin\\../lib/gcc/mingw32/4.7.2/../../../../include/windef.h: 275

# c:\\osgeo4w\\bin\\../lib/gcc/mingw32/4.7.2/../../../../include/windef.h: 276
class struct_HGLRC__(Structure):
    pass

struct_HGLRC__.__slots__ = [
    'i',
]
struct_HGLRC__._fields_ = [
    ('i', c_int),
]

HGLRC = POINTER(struct_HGLRC__) # c:\\osgeo4w\\bin\\../lib/gcc/mingw32/4.7.2/../../../../include/windef.h: 276

GLubyte = c_ubyte # c:\\osgeo4w\\bin\\../lib/gcc/mingw32/4.7.2/../../../../include/GL/gl.h: 119

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 72
class struct_anon_161(Structure):
    pass

struct_anon_161.__slots__ = [
    'id',
    'brt',
    'r',
    'g',
    'b',
    'ar',
    'ag',
    'ab',
    'x',
    'y',
    'z',
    'w',
]
struct_anon_161._fields_ = [
    ('id', c_int),
    ('brt', c_float),
    ('r', c_float),
    ('g', c_float),
    ('b', c_float),
    ('ar', c_float),
    ('ag', c_float),
    ('ab', c_float),
    ('x', c_float),
    ('y', c_float),
    ('z', c_float),
    ('w', c_float),
]

light_data = struct_anon_161 # c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 72

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 74
class struct_fringe_data(Structure):
    pass

struct_fringe_data.__slots__ = [
    'id',
    'color',
    'elev',
    'where',
]
struct_fringe_data._fields_ = [
    ('id', c_int),
    ('color', c_ulong),
    ('elev', c_float),
    ('where', c_int * 4),
]

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 82
class struct_arrow_data(Structure):
    pass

struct_arrow_data.__slots__ = [
    'color',
    'size',
    'where',
]
struct_arrow_data._fields_ = [
    ('color', c_ulong),
    ('size', c_float),
    ('where', c_float * 3),
]

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 89
class struct_scalebar_data(Structure):
    pass

struct_scalebar_data.__slots__ = [
    'id',
    'color',
    'size',
    'where',
]
struct_scalebar_data._fields_ = [
    ('id', c_int),
    ('color', c_ulong),
    ('size', c_float),
    ('where', c_float * 3),
]

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 126
class struct_anon_162(Structure):
    pass

struct_anon_162.__slots__ = [
    'zrange',
    'xyrange',
    'num_cplanes',
    'cur_cplane',
    'cp_on',
    'cp_trans',
    'cp_rot',
    'light',
    'num_fringes',
    'fringe',
    'draw_arrow',
    'arrow',
    'num_scalebars',
    'scalebar',
    'bgcolor',
]
struct_anon_162._fields_ = [
    ('zrange', c_float),
    ('xyrange', c_float),
    ('num_cplanes', c_int),
    ('cur_cplane', c_int),
    ('cp_on', c_int * 6),
    ('cp_trans', (c_float * 3) * 6),
    ('cp_rot', (c_float * 3) * 6),
    ('light', light_data * 3),
    ('num_fringes', c_int),
    ('fringe', POINTER(POINTER(struct_fringe_data))),
    ('draw_arrow', c_int),
    ('arrow', POINTER(struct_arrow_data)),
    ('num_scalebars', c_int),
    ('scalebar', POINTER(POINTER(struct_scalebar_data))),
    ('bgcolor', c_int),
]

nv_data = struct_anon_162 # c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 126

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 128
class struct_render_window(Structure):
    pass

struct_render_window.__slots__ = [
    'displayId',
    'contextId',
    'bitmapId',
]
struct_render_window._fields_ = [
    ('displayId', HDC),
    ('contextId', HGLRC),
    ('bitmapId', HBITMAP),
]

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 147
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_resize_window'):
        Nviz_resize_window = _lib.Nviz_resize_window
        Nviz_resize_window.restype = c_int
        Nviz_resize_window.argtypes = [c_int, c_int]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 148
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_update_ranges'):
        Nviz_update_ranges = _lib.Nviz_update_ranges
        Nviz_update_ranges.restype = c_int
        Nviz_update_ranges.argtypes = [POINTER(nv_data)]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 149
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_set_viewpoint_position'):
        Nviz_set_viewpoint_position = _lib.Nviz_set_viewpoint_position
        Nviz_set_viewpoint_position.restype = c_int
        Nviz_set_viewpoint_position.argtypes = [c_double, c_double]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 150
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_get_viewpoint_position'):
        Nviz_get_viewpoint_position = _lib.Nviz_get_viewpoint_position
        Nviz_get_viewpoint_position.restype = None
        Nviz_get_viewpoint_position.argtypes = [POINTER(c_double), POINTER(c_double)]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 151
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_set_viewpoint_height'):
        Nviz_set_viewpoint_height = _lib.Nviz_set_viewpoint_height
        Nviz_set_viewpoint_height.restype = c_int
        Nviz_set_viewpoint_height.argtypes = [c_double]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 152
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_get_viewpoint_height'):
        Nviz_get_viewpoint_height = _lib.Nviz_get_viewpoint_height
        Nviz_get_viewpoint_height.restype = None
        Nviz_get_viewpoint_height.argtypes = [POINTER(c_double)]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 153
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_set_viewpoint_persp'):
        Nviz_set_viewpoint_persp = _lib.Nviz_set_viewpoint_persp
        Nviz_set_viewpoint_persp.restype = c_int
        Nviz_set_viewpoint_persp.argtypes = [c_int]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 154
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_set_viewpoint_twist'):
        Nviz_set_viewpoint_twist = _lib.Nviz_set_viewpoint_twist
        Nviz_set_viewpoint_twist.restype = c_int
        Nviz_set_viewpoint_twist.argtypes = [c_int]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 155
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_change_exag'):
        Nviz_change_exag = _lib.Nviz_change_exag
        Nviz_change_exag.restype = c_int
        Nviz_change_exag.argtypes = [POINTER(nv_data), c_double]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 156
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_look_here'):
        Nviz_look_here = _lib.Nviz_look_here
        Nviz_look_here.restype = c_int
        Nviz_look_here.argtypes = [c_double, c_double]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 157
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_get_modelview'):
        Nviz_get_modelview = _lib.Nviz_get_modelview
        Nviz_get_modelview.restype = None
        Nviz_get_modelview.argtypes = [POINTER(c_double)]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 158
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_set_rotation'):
        Nviz_set_rotation = _lib.Nviz_set_rotation
        Nviz_set_rotation.restype = None
        Nviz_set_rotation.argtypes = [c_double, c_double, c_double, c_double]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 159
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_unset_rotation'):
        Nviz_unset_rotation = _lib.Nviz_unset_rotation
        Nviz_unset_rotation.restype = None
        Nviz_unset_rotation.argtypes = []
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 160
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_init_rotation'):
        Nviz_init_rotation = _lib.Nviz_init_rotation
        Nviz_init_rotation.restype = None
        Nviz_init_rotation.argtypes = []
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 161
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_flythrough'):
        Nviz_flythrough = _lib.Nviz_flythrough
        Nviz_flythrough.restype = None
        Nviz_flythrough.argtypes = [POINTER(nv_data), POINTER(c_float), POINTER(c_int), c_int]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 164
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_new_cplane'):
        Nviz_new_cplane = _lib.Nviz_new_cplane
        Nviz_new_cplane.restype = c_int
        Nviz_new_cplane.argtypes = [POINTER(nv_data), c_int]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 165
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_on_cplane'):
        Nviz_on_cplane = _lib.Nviz_on_cplane
        Nviz_on_cplane.restype = c_int
        Nviz_on_cplane.argtypes = [POINTER(nv_data), c_int]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 166
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_off_cplane'):
        Nviz_off_cplane = _lib.Nviz_off_cplane
        Nviz_off_cplane.restype = c_int
        Nviz_off_cplane.argtypes = [POINTER(nv_data), c_int]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 167
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_draw_cplane'):
        Nviz_draw_cplane = _lib.Nviz_draw_cplane
        Nviz_draw_cplane.restype = c_int
        Nviz_draw_cplane.argtypes = [POINTER(nv_data), c_int, c_int]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 168
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_num_cplanes'):
        Nviz_num_cplanes = _lib.Nviz_num_cplanes
        Nviz_num_cplanes.restype = c_int
        Nviz_num_cplanes.argtypes = [POINTER(nv_data)]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 169
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_get_current_cplane'):
        Nviz_get_current_cplane = _lib.Nviz_get_current_cplane
        Nviz_get_current_cplane.restype = c_int
        Nviz_get_current_cplane.argtypes = [POINTER(nv_data)]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 170
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_set_cplane_rotation'):
        Nviz_set_cplane_rotation = _lib.Nviz_set_cplane_rotation
        Nviz_set_cplane_rotation.restype = c_int
        Nviz_set_cplane_rotation.argtypes = [POINTER(nv_data), c_int, c_float, c_float, c_float]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 171
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_get_cplane_rotation'):
        Nviz_get_cplane_rotation = _lib.Nviz_get_cplane_rotation
        Nviz_get_cplane_rotation.restype = c_int
        Nviz_get_cplane_rotation.argtypes = [POINTER(nv_data), c_int, POINTER(c_float), POINTER(c_float), POINTER(c_float)]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 172
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_set_cplane_translation'):
        Nviz_set_cplane_translation = _lib.Nviz_set_cplane_translation
        Nviz_set_cplane_translation.restype = c_int
        Nviz_set_cplane_translation.argtypes = [POINTER(nv_data), c_int, c_float, c_float, c_float]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 173
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_get_cplane_translation'):
        Nviz_get_cplane_translation = _lib.Nviz_get_cplane_translation
        Nviz_get_cplane_translation.restype = c_int
        Nviz_get_cplane_translation.argtypes = [POINTER(nv_data), c_int, POINTER(c_float), POINTER(c_float), POINTER(c_float)]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 174
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_set_fence_color'):
        Nviz_set_fence_color = _lib.Nviz_set_fence_color
        Nviz_set_fence_color.restype = c_int
        Nviz_set_fence_color.argtypes = [POINTER(nv_data), c_int]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 175
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_set_cplane_here'):
        Nviz_set_cplane_here = _lib.Nviz_set_cplane_here
        Nviz_set_cplane_here.restype = c_int
        Nviz_set_cplane_here.argtypes = [POINTER(nv_data), c_int, c_float, c_float]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 179
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_draw_all_surf'):
        Nviz_draw_all_surf = _lib.Nviz_draw_all_surf
        Nviz_draw_all_surf.restype = c_int
        Nviz_draw_all_surf.argtypes = [POINTER(nv_data)]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 180
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_draw_all_vect'):
        Nviz_draw_all_vect = _lib.Nviz_draw_all_vect
        Nviz_draw_all_vect.restype = c_int
        Nviz_draw_all_vect.argtypes = []
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 181
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_draw_all_site'):
        Nviz_draw_all_site = _lib.Nviz_draw_all_site
        Nviz_draw_all_site.restype = c_int
        Nviz_draw_all_site.argtypes = []
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 182
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_draw_all_vol'):
        Nviz_draw_all_vol = _lib.Nviz_draw_all_vol
        Nviz_draw_all_vol.restype = c_int
        Nviz_draw_all_vol.argtypes = []
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 183
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_draw_all'):
        Nviz_draw_all = _lib.Nviz_draw_all
        Nviz_draw_all.restype = c_int
        Nviz_draw_all.argtypes = [POINTER(nv_data)]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 184
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_draw_quick'):
        Nviz_draw_quick = _lib.Nviz_draw_quick
        Nviz_draw_quick.restype = c_int
        Nviz_draw_quick.argtypes = [POINTER(nv_data), c_int]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 185
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_load_image'):
        Nviz_load_image = _lib.Nviz_load_image
        Nviz_load_image.restype = c_int
        Nviz_load_image.argtypes = [POINTER(GLubyte), c_int, c_int, c_int]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 186
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_draw_image'):
        Nviz_draw_image = _lib.Nviz_draw_image
        Nviz_draw_image.restype = None
        Nviz_draw_image.argtypes = [c_int, c_int, c_int, c_int, c_int]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 187
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_set_2D'):
        Nviz_set_2D = _lib.Nviz_set_2D
        Nviz_set_2D.restype = None
        Nviz_set_2D.argtypes = [c_int, c_int]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 188
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_del_texture'):
        Nviz_del_texture = _lib.Nviz_del_texture
        Nviz_del_texture.restype = None
        Nviz_del_texture.argtypes = [c_int]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 189
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_get_max_texture'):
        Nviz_get_max_texture = _lib.Nviz_get_max_texture
        Nviz_get_max_texture.restype = None
        Nviz_get_max_texture.argtypes = [POINTER(c_int)]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 192
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_get_exag_height'):
        Nviz_get_exag_height = _lib.Nviz_get_exag_height
        Nviz_get_exag_height.restype = c_int
        Nviz_get_exag_height.argtypes = [POINTER(c_double), POINTER(c_double), POINTER(c_double)]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 193
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_get_exag'):
        Nviz_get_exag = _lib.Nviz_get_exag
        Nviz_get_exag.restype = c_double
        Nviz_get_exag.argtypes = []
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 196
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_set_light_position'):
        Nviz_set_light_position = _lib.Nviz_set_light_position
        Nviz_set_light_position.restype = c_int
        Nviz_set_light_position.argtypes = [POINTER(nv_data), c_int, c_double, c_double, c_double, c_double]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 197
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_set_light_bright'):
        Nviz_set_light_bright = _lib.Nviz_set_light_bright
        Nviz_set_light_bright.restype = c_int
        Nviz_set_light_bright.argtypes = [POINTER(nv_data), c_int, c_double]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 198
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_set_light_color'):
        Nviz_set_light_color = _lib.Nviz_set_light_color
        Nviz_set_light_color.restype = c_int
        Nviz_set_light_color.argtypes = [POINTER(nv_data), c_int, c_int, c_int, c_int]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 199
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_set_light_ambient'):
        Nviz_set_light_ambient = _lib.Nviz_set_light_ambient
        Nviz_set_light_ambient.restype = c_int
        Nviz_set_light_ambient.argtypes = [POINTER(nv_data), c_int, c_double]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 200
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_init_light'):
        Nviz_init_light = _lib.Nviz_init_light
        Nviz_init_light.restype = c_int
        Nviz_init_light.argtypes = [POINTER(nv_data), c_int]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 201
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_new_light'):
        Nviz_new_light = _lib.Nviz_new_light
        Nviz_new_light.restype = c_int
        Nviz_new_light.argtypes = [POINTER(nv_data)]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 202
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_draw_model'):
        Nviz_draw_model = _lib.Nviz_draw_model
        Nviz_draw_model.restype = None
        Nviz_draw_model.argtypes = [POINTER(nv_data)]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 205
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_new_map_obj'):
        Nviz_new_map_obj = _lib.Nviz_new_map_obj
        Nviz_new_map_obj.restype = c_int
        Nviz_new_map_obj.argtypes = [c_int, String, c_double, POINTER(nv_data)]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 206
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_set_attr'):
        Nviz_set_attr = _lib.Nviz_set_attr
        Nviz_set_attr.restype = c_int
        Nviz_set_attr.argtypes = [c_int, c_int, c_int, c_int, String, c_double, POINTER(nv_data)]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 207
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_set_surface_attr_default'):
        Nviz_set_surface_attr_default = _lib.Nviz_set_surface_attr_default
        Nviz_set_surface_attr_default.restype = None
        Nviz_set_surface_attr_default.argtypes = []
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 208
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_set_vpoint_attr_default'):
        Nviz_set_vpoint_attr_default = _lib.Nviz_set_vpoint_attr_default
        Nviz_set_vpoint_attr_default.restype = c_int
        Nviz_set_vpoint_attr_default.argtypes = []
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 209
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_set_volume_attr_default'):
        Nviz_set_volume_attr_default = _lib.Nviz_set_volume_attr_default
        Nviz_set_volume_attr_default.restype = c_int
        Nviz_set_volume_attr_default.argtypes = []
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 210
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_unset_attr'):
        Nviz_unset_attr = _lib.Nviz_unset_attr
        Nviz_unset_attr.restype = c_int
        Nviz_unset_attr.argtypes = [c_int, c_int, c_int]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 213
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_init_data'):
        Nviz_init_data = _lib.Nviz_init_data
        Nviz_init_data.restype = None
        Nviz_init_data.argtypes = [POINTER(nv_data)]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 214
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_destroy_data'):
        Nviz_destroy_data = _lib.Nviz_destroy_data
        Nviz_destroy_data.restype = None
        Nviz_destroy_data.argtypes = [POINTER(nv_data)]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 215
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_set_bgcolor'):
        Nviz_set_bgcolor = _lib.Nviz_set_bgcolor
        Nviz_set_bgcolor.restype = None
        Nviz_set_bgcolor.argtypes = [POINTER(nv_data), c_int]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 216
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_get_bgcolor'):
        Nviz_get_bgcolor = _lib.Nviz_get_bgcolor
        Nviz_get_bgcolor.restype = c_int
        Nviz_get_bgcolor.argtypes = [POINTER(nv_data)]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 217
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_color_from_str'):
        Nviz_color_from_str = _lib.Nviz_color_from_str
        Nviz_color_from_str.restype = c_int
        Nviz_color_from_str.argtypes = [String]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 218
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_new_fringe'):
        Nviz_new_fringe = _lib.Nviz_new_fringe
        Nviz_new_fringe.restype = POINTER(struct_fringe_data)
        Nviz_new_fringe.argtypes = [POINTER(nv_data), c_int, c_ulong, c_double, c_int, c_int, c_int, c_int]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 220
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_set_fringe'):
        Nviz_set_fringe = _lib.Nviz_set_fringe
        Nviz_set_fringe.restype = POINTER(struct_fringe_data)
        Nviz_set_fringe.argtypes = [POINTER(nv_data), c_int, c_ulong, c_double, c_int, c_int, c_int, c_int]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 222
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_draw_fringe'):
        Nviz_draw_fringe = _lib.Nviz_draw_fringe
        Nviz_draw_fringe.restype = None
        Nviz_draw_fringe.argtypes = [POINTER(nv_data)]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 223
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_draw_arrow'):
        Nviz_draw_arrow = _lib.Nviz_draw_arrow
        Nviz_draw_arrow.restype = c_int
        Nviz_draw_arrow.argtypes = [POINTER(nv_data)]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 224
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_set_arrow'):
        Nviz_set_arrow = _lib.Nviz_set_arrow
        Nviz_set_arrow.restype = c_int
        Nviz_set_arrow.argtypes = [POINTER(nv_data), c_int, c_int, c_float, c_uint]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 225
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_delete_arrow'):
        Nviz_delete_arrow = _lib.Nviz_delete_arrow
        Nviz_delete_arrow.restype = None
        Nviz_delete_arrow.argtypes = [POINTER(nv_data)]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 226
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_new_scalebar'):
        Nviz_new_scalebar = _lib.Nviz_new_scalebar
        Nviz_new_scalebar.restype = POINTER(struct_scalebar_data)
        Nviz_new_scalebar.argtypes = [POINTER(nv_data), c_int, POINTER(c_float), c_float, c_uint]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 227
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_set_scalebar'):
        Nviz_set_scalebar = _lib.Nviz_set_scalebar
        Nviz_set_scalebar.restype = POINTER(struct_scalebar_data)
        Nviz_set_scalebar.argtypes = [POINTER(nv_data), c_int, c_int, c_int, c_float, c_uint]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 228
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_draw_scalebar'):
        Nviz_draw_scalebar = _lib.Nviz_draw_scalebar
        Nviz_draw_scalebar.restype = None
        Nviz_draw_scalebar.argtypes = [POINTER(nv_data)]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 229
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_delete_scalebar'):
        Nviz_delete_scalebar = _lib.Nviz_delete_scalebar
        Nviz_delete_scalebar.restype = None
        Nviz_delete_scalebar.argtypes = [POINTER(nv_data), c_int]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 232
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_init_view'):
        Nviz_init_view = _lib.Nviz_init_view
        Nviz_init_view.restype = None
        Nviz_init_view.argtypes = [POINTER(nv_data)]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 233
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_set_focus_state'):
        Nviz_set_focus_state = _lib.Nviz_set_focus_state
        Nviz_set_focus_state.restype = c_int
        Nviz_set_focus_state.argtypes = [c_int]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 234
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_set_focus_map'):
        Nviz_set_focus_map = _lib.Nviz_set_focus_map
        Nviz_set_focus_map.restype = c_int
        Nviz_set_focus_map.argtypes = [c_int, c_int]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 235
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_has_focus'):
        Nviz_has_focus = _lib.Nviz_has_focus
        Nviz_has_focus.restype = c_int
        Nviz_has_focus.argtypes = [POINTER(nv_data)]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 236
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_set_focus'):
        Nviz_set_focus = _lib.Nviz_set_focus
        Nviz_set_focus.restype = c_int
        Nviz_set_focus.argtypes = [POINTER(nv_data), c_float, c_float, c_float]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 237
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_get_focus'):
        Nviz_get_focus = _lib.Nviz_get_focus
        Nviz_get_focus.restype = c_int
        Nviz_get_focus.argtypes = [POINTER(nv_data), POINTER(c_float), POINTER(c_float), POINTER(c_float)]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 238
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_get_xyrange'):
        Nviz_get_xyrange = _lib.Nviz_get_xyrange
        Nviz_get_xyrange.restype = c_float
        Nviz_get_xyrange.argtypes = [POINTER(nv_data)]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 239
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_get_zrange'):
        Nviz_get_zrange = _lib.Nviz_get_zrange
        Nviz_get_zrange.restype = c_int
        Nviz_get_zrange.argtypes = [POINTER(nv_data), POINTER(c_float), POINTER(c_float)]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 240
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_get_longdim'):
        Nviz_get_longdim = _lib.Nviz_get_longdim
        Nviz_get_longdim.restype = c_float
        Nviz_get_longdim.argtypes = [POINTER(nv_data)]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 243
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_new_render_window'):
        Nviz_new_render_window = _lib.Nviz_new_render_window
        Nviz_new_render_window.restype = POINTER(struct_render_window)
        Nviz_new_render_window.argtypes = []
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 244
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_init_render_window'):
        Nviz_init_render_window = _lib.Nviz_init_render_window
        Nviz_init_render_window.restype = None
        Nviz_init_render_window.argtypes = [POINTER(struct_render_window)]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 245
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_destroy_render_window'):
        Nviz_destroy_render_window = _lib.Nviz_destroy_render_window
        Nviz_destroy_render_window.restype = None
        Nviz_destroy_render_window.argtypes = [POINTER(struct_render_window)]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 246
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_create_render_window'):
        Nviz_create_render_window = _lib.Nviz_create_render_window
        Nviz_create_render_window.restype = c_int
        Nviz_create_render_window.argtypes = [POINTER(struct_render_window), POINTER(None), c_int, c_int]
        break

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 247
for _lib in _libs.values():
    if hasattr(_lib, 'Nviz_make_current_render_window'):
        Nviz_make_current_render_window = _lib.Nviz_make_current_render_window
        Nviz_make_current_render_window.restype = c_int
        Nviz_make_current_render_window.argtypes = [POINTER(struct_render_window)]
        break

# c:/osgeo4w/usr/src/grass644RC1/dist.i686-pc-mingw32/include/grass/gsurf.h: 20
try:
    GS_UNIT_SIZE = 1000.0
except:
    pass

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 34
try:
    MAP_OBJ_UNDEFINED = 0
except:
    pass

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 34
try:
    MAP_OBJ_SURF = 1
except:
    pass

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 34
try:
    MAP_OBJ_VOL = 2
except:
    pass

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 34
try:
    MAP_OBJ_VECT = 3
except:
    pass

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 34
try:
    MAP_OBJ_SITE = 4
except:
    pass

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 35
try:
    DRAW_COARSE = 0
except:
    pass

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 35
try:
    DRAW_FINE = 1
except:
    pass

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 35
try:
    DRAW_BOTH = 2
except:
    pass

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 37
try:
    DRAW_QUICK_SURFACE = 1
except:
    pass

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 37
try:
    DRAW_QUICK_VLINES = 2
except:
    pass

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 37
try:
    DRAW_QUICK_VPOINTS = 4
except:
    pass

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 37
try:
    DRAW_QUICK_VOLUME = 8
except:
    pass

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 38
try:
    RANGE = (5 * GS_UNIT_SIZE)
except:
    pass

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 38
try:
    RANGE_OFFSET = (2 * GS_UNIT_SIZE)
except:
    pass

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 38
try:
    ZRANGE = (3 * GS_UNIT_SIZE)
except:
    pass

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 38
try:
    ZRANGE_OFFSET = (1 * GS_UNIT_SIZE)
except:
    pass

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 39
try:
    DEFAULT_SURF_COLOR = 3390463
except:
    pass

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 40
try:
    RED_MASK = 255
except:
    pass

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 40
try:
    GRN_MASK = 65280
except:
    pass

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 40
try:
    BLU_MASK = 16711680
except:
    pass

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 41
try:
    FORMAT_PPM = 1
except:
    pass

# c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 41
try:
    FORMAT_TIF = 2
except:
    pass

fringe_data = struct_fringe_data # c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 74

arrow_data = struct_arrow_data # c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 82

scalebar_data = struct_scalebar_data # c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 89

render_window = struct_render_window # c:\\osgeo4w\\usr\\src\\grass644RC1\\dist.i686-pc-mingw32\\include\\grass\\nviz.h: 128

# No inserted files

