# This file was automatically generated by SWIG (http://www.swig.org). # Version 3.0.6 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info if version_info >= (2, 6, 0): def swig_import_helper(): from os.path import dirname import imp fp = None try: fp, pathname, description = imp.find_module('_pixieInterface', [dirname(__file__)]) except ImportError: import _pixieInterface return _pixieInterface if fp is not None: try: _mod = imp.load_module('_pixieInterface', fp, pathname, description) finally: fp.close() return _mod _pixieInterface = swig_import_helper() del swig_import_helper else: import _pixieInterface del version_info try: _swig_property = property except NameError: pass # Python < 2.2 doesn't have 'property'. def _swig_setattr_nondynamic(self, class_type, name, value, static=1): if (name == "thisown"): return self.this.own(value) if (name == "this"): if type(value).__name__ == 'SwigPyObject': self.__dict__[name] = value return method = class_type.__swig_setmethods__.get(name, None) if method: return method(self, value) if (not static): if _newclass: object.__setattr__(self, name, value) else: self.__dict__[name] = value else: raise AttributeError("You cannot add attributes to %s" % self) def _swig_setattr(self, class_type, name, value): return _swig_setattr_nondynamic(self, class_type, name, value, 0) def _swig_getattr_nondynamic(self, class_type, name, static=1): if (name == "thisown"): return self.this.own() method = class_type.__swig_getmethods__.get(name, None) if method: return method(self) if (not static): return object.__getattr__(self, name) else: raise AttributeError(name) def _swig_getattr(self, class_type, name): return _swig_getattr_nondynamic(self, class_type, name, 0) def _swig_repr(self): try: strthis = "proxy of " + self.this.__repr__() except: strthis = "" return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,) try: _object = object _newclass = 1 except AttributeError: class _object: pass _newclass = 0 class SwigPyIterator(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, SwigPyIterator, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, SwigPyIterator, name) def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract") __repr__ = _swig_repr __swig_destroy__ = _pixieInterface.delete_SwigPyIterator __del__ = lambda self: None def value(self): return _pixieInterface.SwigPyIterator_value(self) def incr(self, n=1): return _pixieInterface.SwigPyIterator_incr(self, n) def decr(self, n=1): return _pixieInterface.SwigPyIterator_decr(self, n) def distance(self, x): return _pixieInterface.SwigPyIterator_distance(self, x) def equal(self, x): return _pixieInterface.SwigPyIterator_equal(self, x) def copy(self): return _pixieInterface.SwigPyIterator_copy(self) def next(self): return _pixieInterface.SwigPyIterator_next(self) def __next__(self): return _pixieInterface.SwigPyIterator___next__(self) def previous(self): return _pixieInterface.SwigPyIterator_previous(self) def advance(self, n): return _pixieInterface.SwigPyIterator_advance(self, n) def __eq__(self, x): return _pixieInterface.SwigPyIterator___eq__(self, x) def __ne__(self, x): return _pixieInterface.SwigPyIterator___ne__(self, x) def __iadd__(self, n): return _pixieInterface.SwigPyIterator___iadd__(self, n) def __isub__(self, n): return _pixieInterface.SwigPyIterator___isub__(self, n) def __add__(self, n): return _pixieInterface.SwigPyIterator___add__(self, n) def __sub__(self, *args): return _pixieInterface.SwigPyIterator___sub__(self, *args) def __iter__(self): return self SwigPyIterator_swigregister = _pixieInterface.SwigPyIterator_swigregister SwigPyIterator_swigregister(SwigPyIterator) class intp(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, intp, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, intp, name) __repr__ = _swig_repr def __init__(self): this = _pixieInterface.new_intp() try: self.this.append(this) except: self.this = this __swig_destroy__ = _pixieInterface.delete_intp __del__ = lambda self: None def assign(self, value): return _pixieInterface.intp_assign(self, value) def value(self): return _pixieInterface.intp_value(self) def cast(self): return _pixieInterface.intp_cast(self) __swig_getmethods__["frompointer"] = lambda x: _pixieInterface.intp_frompointer if _newclass: frompointer = staticmethod(_pixieInterface.intp_frompointer) intp_swigregister = _pixieInterface.intp_swigregister intp_swigregister(intp) def intp_frompointer(t): return _pixieInterface.intp_frompointer(t) intp_frompointer = _pixieInterface.intp_frompointer class doublep(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, doublep, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, doublep, name) __repr__ = _swig_repr def __init__(self): this = _pixieInterface.new_doublep() try: self.this.append(this) except: self.this = this __swig_destroy__ = _pixieInterface.delete_doublep __del__ = lambda self: None def assign(self, value): return _pixieInterface.doublep_assign(self, value) def value(self): return _pixieInterface.doublep_value(self) def cast(self): return _pixieInterface.doublep_cast(self) __swig_getmethods__["frompointer"] = lambda x: _pixieInterface.doublep_frompointer if _newclass: frompointer = staticmethod(_pixieInterface.doublep_frompointer) doublep_swigregister = _pixieInterface.doublep_swigregister doublep_swigregister(doublep) def doublep_frompointer(t): return _pixieInterface.doublep_frompointer(t) doublep_frompointer = _pixieInterface.doublep_frompointer class floatp(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, floatp, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, floatp, name) __repr__ = _swig_repr def __init__(self): this = _pixieInterface.new_floatp() try: self.this.append(this) except: self.this = this __swig_destroy__ = _pixieInterface.delete_floatp __del__ = lambda self: None def assign(self, value): return _pixieInterface.floatp_assign(self, value) def value(self): return _pixieInterface.floatp_value(self) def cast(self): return _pixieInterface.floatp_cast(self) __swig_getmethods__["frompointer"] = lambda x: _pixieInterface.floatp_frompointer if _newclass: frompointer = staticmethod(_pixieInterface.floatp_frompointer) floatp_swigregister = _pixieInterface.floatp_swigregister floatp_swigregister(floatp) def floatp_frompointer(t): return _pixieInterface.floatp_frompointer(t) floatp_frompointer = _pixieInterface.floatp_frompointer class inta(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, inta, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, inta, name) __repr__ = _swig_repr def __init__(self, nelements): this = _pixieInterface.new_inta(nelements) try: self.this.append(this) except: self.this = this __swig_destroy__ = _pixieInterface.delete_inta __del__ = lambda self: None def __getitem__(self, index): return _pixieInterface.inta___getitem__(self, index) def __setitem__(self, index, value): return _pixieInterface.inta___setitem__(self, index, value) def cast(self): return _pixieInterface.inta_cast(self) __swig_getmethods__["frompointer"] = lambda x: _pixieInterface.inta_frompointer if _newclass: frompointer = staticmethod(_pixieInterface.inta_frompointer) inta_swigregister = _pixieInterface.inta_swigregister inta_swigregister(inta) def inta_frompointer(t): return _pixieInterface.inta_frompointer(t) inta_frompointer = _pixieInterface.inta_frompointer class doublea(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, doublea, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, doublea, name) __repr__ = _swig_repr def __init__(self, nelements): this = _pixieInterface.new_doublea(nelements) try: self.this.append(this) except: self.this = this __swig_destroy__ = _pixieInterface.delete_doublea __del__ = lambda self: None def __getitem__(self, index): return _pixieInterface.doublea___getitem__(self, index) def __setitem__(self, index, value): return _pixieInterface.doublea___setitem__(self, index, value) def cast(self): return _pixieInterface.doublea_cast(self) __swig_getmethods__["frompointer"] = lambda x: _pixieInterface.doublea_frompointer if _newclass: frompointer = staticmethod(_pixieInterface.doublea_frompointer) doublea_swigregister = _pixieInterface.doublea_swigregister doublea_swigregister(doublea) def doublea_frompointer(t): return _pixieInterface.doublea_frompointer(t) doublea_frompointer = _pixieInterface.doublea_frompointer class floata(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, floata, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, floata, name) __repr__ = _swig_repr def __init__(self, nelements): this = _pixieInterface.new_floata(nelements) try: self.this.append(this) except: self.this = this __swig_destroy__ = _pixieInterface.delete_floata __del__ = lambda self: None def __getitem__(self, index): return _pixieInterface.floata___getitem__(self, index) def __setitem__(self, index, value): return _pixieInterface.floata___setitem__(self, index, value) def cast(self): return _pixieInterface.floata_cast(self) __swig_getmethods__["frompointer"] = lambda x: _pixieInterface.floata_frompointer if _newclass: frompointer = staticmethod(_pixieInterface.floata_frompointer) floata_swigregister = _pixieInterface.floata_swigregister floata_swigregister(floata) def floata_frompointer(t): return _pixieInterface.floata_frompointer(t) floata_frompointer = _pixieInterface.floata_frompointer import xmapview import cprim import pygl_coord class RenderInfo(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, RenderInfo, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, RenderInfo, name) __repr__ = _swig_repr def __init__(self, *args): this = _pixieInterface.new_RenderInfo(*args) try: self.this.append(this) except: self.this = this def CreateRenderMemoryStructures(self, obj, pointScale, singleSided=False, darkInside=False, flatInside=False): return _pixieInterface.RenderInfo_CreateRenderMemoryStructures(self, obj, pointScale, singleSided, darkInside, flatInside) def AddRenderMemoryStructures(self, obj, pointScale, singleSided=False, darkInside=False, flatInside=False): return _pixieInterface.RenderInfo_AddRenderMemoryStructures(self, obj, pointScale, singleSided, darkInside, flatInside) def CreateAndWriteRIBFileObjects(self, obj, pointScale, singleSided, darkInside, flatInside, outStream): return _pixieInterface.RenderInfo_CreateAndWriteRIBFileObjects(self, obj, pointScale, singleSided, darkInside, flatInside, outStream) def AddSearchpath(self, type, path): return _pixieInterface.RenderInfo_AddSearchpath(self, type, path) def SetFormat(self, w, h): return _pixieInterface.RenderInfo_SetFormat(self, w, h) def SetSamples(self, x, y): return _pixieInterface.RenderInfo_SetSamples(self, x, y) def SetDisplay(self, outputFile, outputType, outputColourType): return _pixieInterface.RenderInfo_SetDisplay(self, outputFile, outputType, outputColourType) def SetProjection(self, projection): return _pixieInterface.RenderInfo_SetProjection(self, projection) def SetScreenWindow(self, x1, x2, y1, y2): return _pixieInterface.RenderInfo_SetScreenWindow(self, x1, x2, y1, y2) def SetExposure(self, t, g): return _pixieInterface.RenderInfo_SetExposure(self, t, g) def SetClipping(self, f, b): return _pixieInterface.RenderInfo_SetClipping(self, f, b) def SetClippingEnabled(self, enabled): return _pixieInterface.RenderInfo_SetClippingEnabled(self, enabled) def SetFog(self, r, g, b, mindist, maxdist): return _pixieInterface.RenderInfo_SetFog(self, r, g, b, mindist, maxdist) def SetFogEnabled(self, enabled): return _pixieInterface.RenderInfo_SetFogEnabled(self, enabled) def SetZOffset(self, zOffset): return _pixieInterface.RenderInfo_SetZOffset(self, zOffset) def SetRayTraceEnabled(self, enabled): return _pixieInterface.RenderInfo_SetRayTraceEnabled(self, enabled) def SetAmbientOcclusionEnabled(self, enabled): return _pixieInterface.RenderInfo_SetAmbientOcclusionEnabled(self, enabled) def SetAmbientOcclusionScale(self, scale): return _pixieInterface.RenderInfo_SetAmbientOcclusionScale(self, scale) def SetAmbientOcclusionSamples(self, samples): return _pixieInterface.RenderInfo_SetAmbientOcclusionSamples(self, samples) def SetDarkColour(self, _darkColour): return _pixieInterface.RenderInfo_SetDarkColour(self, _darkColour) def AddLight(self, type, r, g, b, i, arg7, to): return _pixieInterface.RenderInfo_AddLight(self, type, r, g, b, i, arg7, to) def SetRotation(self, q): return _pixieInterface.RenderInfo_SetRotation(self, q) def SetTranslation(self, trans): return _pixieInterface.RenderInfo_SetTranslation(self, trans) def SetAxesEnabled(self, enabled): return _pixieInterface.RenderInfo_SetAxesEnabled(self, enabled) def SetBackgroundColour(self, r, g, b): return _pixieInterface.RenderInfo_SetBackgroundColour(self, r, g, b) def WriteRIBFileObjects(self, c): return _pixieInterface.RenderInfo_WriteRIBFileObjects(self, c) def WriteRIBFileHeader(self, c): return _pixieInterface.RenderInfo_WriteRIBFileHeader(self, c) def WriteRIBFileTail(self, c): return _pixieInterface.RenderInfo_WriteRIBFileTail(self, c) def WriteRIBFile(self, c): return _pixieInterface.RenderInfo_WriteRIBFile(self, c) def RIRender(self, output): return _pixieInterface.RenderInfo_RIRender(self, output) def RIRenderObjects(self): return _pixieInterface.RenderInfo_RIRenderObjects(self) def RIRenderHeader(self): return _pixieInterface.RenderInfo_RIRenderHeader(self) def RIRenderTail(self): return _pixieInterface.RenderInfo_RIRenderTail(self) def hasRI(self): return _pixieInterface.RenderInfo_hasRI(self) def SetTransparentBackground(self, isTransparent): return _pixieInterface.RenderInfo_SetTransparentBackground(self, isTransparent) def SetExtraMatrix(self, extra_matrix): return _pixieInterface.RenderInfo_SetExtraMatrix(self, extra_matrix) __swig_destroy__ = _pixieInterface.delete_RenderInfo __del__ = lambda self: None RenderInfo_swigregister = _pixieInterface.RenderInfo_swigregister RenderInfo_swigregister(RenderInfo) # This file is compatible with both classic and new-style classes.