# 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('_cprim', [dirname(__file__)]) except ImportError: import _cprim return _cprim if fp is not None: try: _mod = imp.load_module('_cprim', fp, pathname, description) finally: fp.close() return _mod _cprim = swig_import_helper() del swig_import_helper else: import _cprim 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 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 = _cprim.new_intp() try: self.this.append(this) except: self.this = this __swig_destroy__ = _cprim.delete_intp __del__ = lambda self: None def assign(self, value): return _cprim.intp_assign(self, value) def value(self): return _cprim.intp_value(self) def cast(self): return _cprim.intp_cast(self) __swig_getmethods__["frompointer"] = lambda x: _cprim.intp_frompointer if _newclass: frompointer = staticmethod(_cprim.intp_frompointer) intp_swigregister = _cprim.intp_swigregister intp_swigregister(intp) def intp_frompointer(t): return _cprim.intp_frompointer(t) intp_frompointer = _cprim.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 = _cprim.new_doublep() try: self.this.append(this) except: self.this = this __swig_destroy__ = _cprim.delete_doublep __del__ = lambda self: None def assign(self, value): return _cprim.doublep_assign(self, value) def value(self): return _cprim.doublep_value(self) def cast(self): return _cprim.doublep_cast(self) __swig_getmethods__["frompointer"] = lambda x: _cprim.doublep_frompointer if _newclass: frompointer = staticmethod(_cprim.doublep_frompointer) doublep_swigregister = _cprim.doublep_swigregister doublep_swigregister(doublep) def doublep_frompointer(t): return _cprim.doublep_frompointer(t) doublep_frompointer = _cprim.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 = _cprim.new_floatp() try: self.this.append(this) except: self.this = this __swig_destroy__ = _cprim.delete_floatp __del__ = lambda self: None def assign(self, value): return _cprim.floatp_assign(self, value) def value(self): return _cprim.floatp_value(self) def cast(self): return _cprim.floatp_cast(self) __swig_getmethods__["frompointer"] = lambda x: _cprim.floatp_frompointer if _newclass: frompointer = staticmethod(_cprim.floatp_frompointer) floatp_swigregister = _cprim.floatp_swigregister floatp_swigregister(floatp) def floatp_frompointer(t): return _cprim.floatp_frompointer(t) floatp_frompointer = _cprim.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 = _cprim.new_inta(nelements) try: self.this.append(this) except: self.this = this __swig_destroy__ = _cprim.delete_inta __del__ = lambda self: None def __getitem__(self, index): return _cprim.inta___getitem__(self, index) def __setitem__(self, index, value): return _cprim.inta___setitem__(self, index, value) def cast(self): return _cprim.inta_cast(self) __swig_getmethods__["frompointer"] = lambda x: _cprim.inta_frompointer if _newclass: frompointer = staticmethod(_cprim.inta_frompointer) inta_swigregister = _cprim.inta_swigregister inta_swigregister(inta) def inta_frompointer(t): return _cprim.inta_frompointer(t) inta_frompointer = _cprim.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 = _cprim.new_doublea(nelements) try: self.this.append(this) except: self.this = this __swig_destroy__ = _cprim.delete_doublea __del__ = lambda self: None def __getitem__(self, index): return _cprim.doublea___getitem__(self, index) def __setitem__(self, index, value): return _cprim.doublea___setitem__(self, index, value) def cast(self): return _cprim.doublea_cast(self) __swig_getmethods__["frompointer"] = lambda x: _cprim.doublea_frompointer if _newclass: frompointer = staticmethod(_cprim.doublea_frompointer) doublea_swigregister = _cprim.doublea_swigregister doublea_swigregister(doublea) def doublea_frompointer(t): return _cprim.doublea_frompointer(t) doublea_frompointer = _cprim.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 = _cprim.new_floata(nelements) try: self.this.append(this) except: self.this = this __swig_destroy__ = _cprim.delete_floata __del__ = lambda self: None def __getitem__(self, index): return _cprim.floata___getitem__(self, index) def __setitem__(self, index, value): return _cprim.floata___setitem__(self, index, value) def cast(self): return _cprim.floata_cast(self) __swig_getmethods__["frompointer"] = lambda x: _cprim.floata_frompointer if _newclass: frompointer = staticmethod(_cprim.floata_frompointer) floata_swigregister = _cprim.floata_swigregister floata_swigregister(floata) def floata_frompointer(t): return _cprim.floata_frompointer(t) floata_frompointer = _cprim.floata_frompointer 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__ = _cprim.delete_SwigPyIterator __del__ = lambda self: None def value(self): return _cprim.SwigPyIterator_value(self) def incr(self, n=1): return _cprim.SwigPyIterator_incr(self, n) def decr(self, n=1): return _cprim.SwigPyIterator_decr(self, n) def distance(self, x): return _cprim.SwigPyIterator_distance(self, x) def equal(self, x): return _cprim.SwigPyIterator_equal(self, x) def copy(self): return _cprim.SwigPyIterator_copy(self) def next(self): return _cprim.SwigPyIterator_next(self) def __next__(self): return _cprim.SwigPyIterator___next__(self) def previous(self): return _cprim.SwigPyIterator_previous(self) def advance(self, n): return _cprim.SwigPyIterator_advance(self, n) def __eq__(self, x): return _cprim.SwigPyIterator___eq__(self, x) def __ne__(self, x): return _cprim.SwigPyIterator___ne__(self, x) def __iadd__(self, n): return _cprim.SwigPyIterator___iadd__(self, n) def __isub__(self, n): return _cprim.SwigPyIterator___isub__(self, n) def __add__(self, n): return _cprim.SwigPyIterator___add__(self, n) def __sub__(self, *args): return _cprim.SwigPyIterator___sub__(self, *args) def __iter__(self): return self SwigPyIterator_swigregister = _cprim.SwigPyIterator_swigregister SwigPyIterator_swigregister(SwigPyIterator) import pygl_coord class PrimitiveVector(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, PrimitiveVector, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, PrimitiveVector, name) __repr__ = _swig_repr def iterator(self): return _cprim.PrimitiveVector_iterator(self) def __iter__(self): return self.iterator() def __nonzero__(self): return _cprim.PrimitiveVector___nonzero__(self) def __bool__(self): return _cprim.PrimitiveVector___bool__(self) def __len__(self): return _cprim.PrimitiveVector___len__(self) def pop(self): return _cprim.PrimitiveVector_pop(self) def __getslice__(self, i, j): return _cprim.PrimitiveVector___getslice__(self, i, j) def __setslice__(self, *args): return _cprim.PrimitiveVector___setslice__(self, *args) def __delslice__(self, i, j): return _cprim.PrimitiveVector___delslice__(self, i, j) def __delitem__(self, *args): return _cprim.PrimitiveVector___delitem__(self, *args) def __getitem__(self, *args): return _cprim.PrimitiveVector___getitem__(self, *args) def __setitem__(self, *args): return _cprim.PrimitiveVector___setitem__(self, *args) def append(self, x): return _cprim.PrimitiveVector_append(self, x) def empty(self): return _cprim.PrimitiveVector_empty(self) def size(self): return _cprim.PrimitiveVector_size(self) def clear(self): return _cprim.PrimitiveVector_clear(self) def swap(self, v): return _cprim.PrimitiveVector_swap(self, v) def get_allocator(self): return _cprim.PrimitiveVector_get_allocator(self) def begin(self): return _cprim.PrimitiveVector_begin(self) def end(self): return _cprim.PrimitiveVector_end(self) def rbegin(self): return _cprim.PrimitiveVector_rbegin(self) def rend(self): return _cprim.PrimitiveVector_rend(self) def pop_back(self): return _cprim.PrimitiveVector_pop_back(self) def erase(self, *args): return _cprim.PrimitiveVector_erase(self, *args) def __init__(self, *args): this = _cprim.new_PrimitiveVector(*args) try: self.this.append(this) except: self.this = this def push_back(self, x): return _cprim.PrimitiveVector_push_back(self, x) def front(self): return _cprim.PrimitiveVector_front(self) def back(self): return _cprim.PrimitiveVector_back(self) def assign(self, n, x): return _cprim.PrimitiveVector_assign(self, n, x) def resize(self, *args): return _cprim.PrimitiveVector_resize(self, *args) def insert(self, *args): return _cprim.PrimitiveVector_insert(self, *args) def reserve(self, n): return _cprim.PrimitiveVector_reserve(self, n) def capacity(self): return _cprim.PrimitiveVector_capacity(self) __swig_destroy__ = _cprim.delete_PrimitiveVector __del__ = lambda self: None PrimitiveVector_swigregister = _cprim.PrimitiveVector_swigregister PrimitiveVector_swigregister(PrimitiveVector) class DisplayobjectVector(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, DisplayobjectVector, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, DisplayobjectVector, name) __repr__ = _swig_repr def iterator(self): return _cprim.DisplayobjectVector_iterator(self) def __iter__(self): return self.iterator() def __nonzero__(self): return _cprim.DisplayobjectVector___nonzero__(self) def __bool__(self): return _cprim.DisplayobjectVector___bool__(self) def __len__(self): return _cprim.DisplayobjectVector___len__(self) def pop(self): return _cprim.DisplayobjectVector_pop(self) def __getslice__(self, i, j): return _cprim.DisplayobjectVector___getslice__(self, i, j) def __setslice__(self, *args): return _cprim.DisplayobjectVector___setslice__(self, *args) def __delslice__(self, i, j): return _cprim.DisplayobjectVector___delslice__(self, i, j) def __delitem__(self, *args): return _cprim.DisplayobjectVector___delitem__(self, *args) def __getitem__(self, *args): return _cprim.DisplayobjectVector___getitem__(self, *args) def __setitem__(self, *args): return _cprim.DisplayobjectVector___setitem__(self, *args) def append(self, x): return _cprim.DisplayobjectVector_append(self, x) def empty(self): return _cprim.DisplayobjectVector_empty(self) def size(self): return _cprim.DisplayobjectVector_size(self) def clear(self): return _cprim.DisplayobjectVector_clear(self) def swap(self, v): return _cprim.DisplayobjectVector_swap(self, v) def get_allocator(self): return _cprim.DisplayobjectVector_get_allocator(self) def begin(self): return _cprim.DisplayobjectVector_begin(self) def end(self): return _cprim.DisplayobjectVector_end(self) def rbegin(self): return _cprim.DisplayobjectVector_rbegin(self) def rend(self): return _cprim.DisplayobjectVector_rend(self) def pop_back(self): return _cprim.DisplayobjectVector_pop_back(self) def erase(self, *args): return _cprim.DisplayobjectVector_erase(self, *args) def __init__(self, *args): this = _cprim.new_DisplayobjectVector(*args) try: self.this.append(this) except: self.this = this def push_back(self, x): return _cprim.DisplayobjectVector_push_back(self, x) def front(self): return _cprim.DisplayobjectVector_front(self) def back(self): return _cprim.DisplayobjectVector_back(self) def assign(self, n, x): return _cprim.DisplayobjectVector_assign(self, n, x) def resize(self, *args): return _cprim.DisplayobjectVector_resize(self, *args) def insert(self, *args): return _cprim.DisplayobjectVector_insert(self, *args) def reserve(self, n): return _cprim.DisplayobjectVector_reserve(self, n) def capacity(self): return _cprim.DisplayobjectVector_capacity(self) __swig_destroy__ = _cprim.delete_DisplayobjectVector __del__ = lambda self: None DisplayobjectVector_swigregister = _cprim.DisplayobjectVector_swigregister DisplayobjectVector_swigregister(DisplayobjectVector) class BillboardPrimitivePointerVector(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, BillboardPrimitivePointerVector, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, BillboardPrimitivePointerVector, name) __repr__ = _swig_repr def iterator(self): return _cprim.BillboardPrimitivePointerVector_iterator(self) def __iter__(self): return self.iterator() def __nonzero__(self): return _cprim.BillboardPrimitivePointerVector___nonzero__(self) def __bool__(self): return _cprim.BillboardPrimitivePointerVector___bool__(self) def __len__(self): return _cprim.BillboardPrimitivePointerVector___len__(self) def pop(self): return _cprim.BillboardPrimitivePointerVector_pop(self) def __getslice__(self, i, j): return _cprim.BillboardPrimitivePointerVector___getslice__(self, i, j) def __setslice__(self, *args): return _cprim.BillboardPrimitivePointerVector___setslice__(self, *args) def __delslice__(self, i, j): return _cprim.BillboardPrimitivePointerVector___delslice__(self, i, j) def __delitem__(self, *args): return _cprim.BillboardPrimitivePointerVector___delitem__(self, *args) def __getitem__(self, *args): return _cprim.BillboardPrimitivePointerVector___getitem__(self, *args) def __setitem__(self, *args): return _cprim.BillboardPrimitivePointerVector___setitem__(self, *args) def append(self, x): return _cprim.BillboardPrimitivePointerVector_append(self, x) def empty(self): return _cprim.BillboardPrimitivePointerVector_empty(self) def size(self): return _cprim.BillboardPrimitivePointerVector_size(self) def clear(self): return _cprim.BillboardPrimitivePointerVector_clear(self) def swap(self, v): return _cprim.BillboardPrimitivePointerVector_swap(self, v) def get_allocator(self): return _cprim.BillboardPrimitivePointerVector_get_allocator(self) def begin(self): return _cprim.BillboardPrimitivePointerVector_begin(self) def end(self): return _cprim.BillboardPrimitivePointerVector_end(self) def rbegin(self): return _cprim.BillboardPrimitivePointerVector_rbegin(self) def rend(self): return _cprim.BillboardPrimitivePointerVector_rend(self) def pop_back(self): return _cprim.BillboardPrimitivePointerVector_pop_back(self) def erase(self, *args): return _cprim.BillboardPrimitivePointerVector_erase(self, *args) def __init__(self, *args): this = _cprim.new_BillboardPrimitivePointerVector(*args) try: self.this.append(this) except: self.this = this def push_back(self, x): return _cprim.BillboardPrimitivePointerVector_push_back(self, x) def front(self): return _cprim.BillboardPrimitivePointerVector_front(self) def back(self): return _cprim.BillboardPrimitivePointerVector_back(self) def assign(self, n, x): return _cprim.BillboardPrimitivePointerVector_assign(self, n, x) def resize(self, *args): return _cprim.BillboardPrimitivePointerVector_resize(self, *args) def insert(self, *args): return _cprim.BillboardPrimitivePointerVector_insert(self, *args) def reserve(self, n): return _cprim.BillboardPrimitivePointerVector_reserve(self, n) def capacity(self): return _cprim.BillboardPrimitivePointerVector_capacity(self) __swig_destroy__ = _cprim.delete_BillboardPrimitivePointerVector __del__ = lambda self: None BillboardPrimitivePointerVector_swigregister = _cprim.BillboardPrimitivePointerVector_swigregister BillboardPrimitivePointerVector_swigregister(BillboardPrimitivePointerVector) class TextVector(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, TextVector, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, TextVector, name) __repr__ = _swig_repr def iterator(self): return _cprim.TextVector_iterator(self) def __iter__(self): return self.iterator() def __nonzero__(self): return _cprim.TextVector___nonzero__(self) def __bool__(self): return _cprim.TextVector___bool__(self) def __len__(self): return _cprim.TextVector___len__(self) def pop(self): return _cprim.TextVector_pop(self) def __getslice__(self, i, j): return _cprim.TextVector___getslice__(self, i, j) def __setslice__(self, *args): return _cprim.TextVector___setslice__(self, *args) def __delslice__(self, i, j): return _cprim.TextVector___delslice__(self, i, j) def __delitem__(self, *args): return _cprim.TextVector___delitem__(self, *args) def __getitem__(self, *args): return _cprim.TextVector___getitem__(self, *args) def __setitem__(self, *args): return _cprim.TextVector___setitem__(self, *args) def append(self, x): return _cprim.TextVector_append(self, x) def empty(self): return _cprim.TextVector_empty(self) def size(self): return _cprim.TextVector_size(self) def clear(self): return _cprim.TextVector_clear(self) def swap(self, v): return _cprim.TextVector_swap(self, v) def get_allocator(self): return _cprim.TextVector_get_allocator(self) def begin(self): return _cprim.TextVector_begin(self) def end(self): return _cprim.TextVector_end(self) def rbegin(self): return _cprim.TextVector_rbegin(self) def rend(self): return _cprim.TextVector_rend(self) def pop_back(self): return _cprim.TextVector_pop_back(self) def erase(self, *args): return _cprim.TextVector_erase(self, *args) def __init__(self, *args): this = _cprim.new_TextVector(*args) try: self.this.append(this) except: self.this = this def push_back(self, x): return _cprim.TextVector_push_back(self, x) def front(self): return _cprim.TextVector_front(self) def back(self): return _cprim.TextVector_back(self) def assign(self, n, x): return _cprim.TextVector_assign(self, n, x) def resize(self, *args): return _cprim.TextVector_resize(self, *args) def insert(self, *args): return _cprim.TextVector_insert(self, *args) def reserve(self, n): return _cprim.TextVector_reserve(self, n) def capacity(self): return _cprim.TextVector_capacity(self) __swig_destroy__ = _cprim.delete_TextVector __del__ = lambda self: None TextVector_swigregister = _cprim.TextVector_swigregister TextVector_swigregister(TextVector) class ImageVector(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, ImageVector, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, ImageVector, name) __repr__ = _swig_repr def iterator(self): return _cprim.ImageVector_iterator(self) def __iter__(self): return self.iterator() def __nonzero__(self): return _cprim.ImageVector___nonzero__(self) def __bool__(self): return _cprim.ImageVector___bool__(self) def __len__(self): return _cprim.ImageVector___len__(self) def pop(self): return _cprim.ImageVector_pop(self) def __getslice__(self, i, j): return _cprim.ImageVector___getslice__(self, i, j) def __setslice__(self, *args): return _cprim.ImageVector___setslice__(self, *args) def __delslice__(self, i, j): return _cprim.ImageVector___delslice__(self, i, j) def __delitem__(self, *args): return _cprim.ImageVector___delitem__(self, *args) def __getitem__(self, *args): return _cprim.ImageVector___getitem__(self, *args) def __setitem__(self, *args): return _cprim.ImageVector___setitem__(self, *args) def append(self, x): return _cprim.ImageVector_append(self, x) def empty(self): return _cprim.ImageVector_empty(self) def size(self): return _cprim.ImageVector_size(self) def clear(self): return _cprim.ImageVector_clear(self) def swap(self, v): return _cprim.ImageVector_swap(self, v) def get_allocator(self): return _cprim.ImageVector_get_allocator(self) def begin(self): return _cprim.ImageVector_begin(self) def end(self): return _cprim.ImageVector_end(self) def rbegin(self): return _cprim.ImageVector_rbegin(self) def rend(self): return _cprim.ImageVector_rend(self) def pop_back(self): return _cprim.ImageVector_pop_back(self) def erase(self, *args): return _cprim.ImageVector_erase(self, *args) def __init__(self, *args): this = _cprim.new_ImageVector(*args) try: self.this.append(this) except: self.this = this def push_back(self, x): return _cprim.ImageVector_push_back(self, x) def front(self): return _cprim.ImageVector_front(self) def back(self): return _cprim.ImageVector_back(self) def assign(self, n, x): return _cprim.ImageVector_assign(self, n, x) def resize(self, *args): return _cprim.ImageVector_resize(self, *args) def insert(self, *args): return _cprim.ImageVector_insert(self, *args) def reserve(self, n): return _cprim.ImageVector_reserve(self, n) def capacity(self): return _cprim.ImageVector_capacity(self) __swig_destroy__ = _cprim.delete_ImageVector __del__ = lambda self: None ImageVector_swigregister = _cprim.ImageVector_swigregister ImageVector_swigregister(ImageVector) class MMUTLipidVector(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, MMUTLipidVector, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, MMUTLipidVector, name) __repr__ = _swig_repr def iterator(self): return _cprim.MMUTLipidVector_iterator(self) def __iter__(self): return self.iterator() def __nonzero__(self): return _cprim.MMUTLipidVector___nonzero__(self) def __bool__(self): return _cprim.MMUTLipidVector___bool__(self) def __len__(self): return _cprim.MMUTLipidVector___len__(self) def pop(self): return _cprim.MMUTLipidVector_pop(self) def __getslice__(self, i, j): return _cprim.MMUTLipidVector___getslice__(self, i, j) def __setslice__(self, *args): return _cprim.MMUTLipidVector___setslice__(self, *args) def __delslice__(self, i, j): return _cprim.MMUTLipidVector___delslice__(self, i, j) def __delitem__(self, *args): return _cprim.MMUTLipidVector___delitem__(self, *args) def __getitem__(self, *args): return _cprim.MMUTLipidVector___getitem__(self, *args) def __setitem__(self, *args): return _cprim.MMUTLipidVector___setitem__(self, *args) def append(self, x): return _cprim.MMUTLipidVector_append(self, x) def empty(self): return _cprim.MMUTLipidVector_empty(self) def size(self): return _cprim.MMUTLipidVector_size(self) def clear(self): return _cprim.MMUTLipidVector_clear(self) def swap(self, v): return _cprim.MMUTLipidVector_swap(self, v) def get_allocator(self): return _cprim.MMUTLipidVector_get_allocator(self) def begin(self): return _cprim.MMUTLipidVector_begin(self) def end(self): return _cprim.MMUTLipidVector_end(self) def rbegin(self): return _cprim.MMUTLipidVector_rbegin(self) def rend(self): return _cprim.MMUTLipidVector_rend(self) def pop_back(self): return _cprim.MMUTLipidVector_pop_back(self) def erase(self, *args): return _cprim.MMUTLipidVector_erase(self, *args) def __init__(self, *args): this = _cprim.new_MMUTLipidVector(*args) try: self.this.append(this) except: self.this = this def push_back(self, x): return _cprim.MMUTLipidVector_push_back(self, x) def front(self): return _cprim.MMUTLipidVector_front(self) def back(self): return _cprim.MMUTLipidVector_back(self) def assign(self, n, x): return _cprim.MMUTLipidVector_assign(self, n, x) def resize(self, *args): return _cprim.MMUTLipidVector_resize(self, *args) def insert(self, *args): return _cprim.MMUTLipidVector_insert(self, *args) def reserve(self, n): return _cprim.MMUTLipidVector_reserve(self, n) def capacity(self): return _cprim.MMUTLipidVector_capacity(self) __swig_destroy__ = _cprim.delete_MMUTLipidVector __del__ = lambda self: None MMUTLipidVector_swigregister = _cprim.MMUTLipidVector_swigregister MMUTLipidVector_swigregister(MMUTLipidVector) class FloatVector(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, FloatVector, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, FloatVector, name) __repr__ = _swig_repr def iterator(self): return _cprim.FloatVector_iterator(self) def __iter__(self): return self.iterator() def __nonzero__(self): return _cprim.FloatVector___nonzero__(self) def __bool__(self): return _cprim.FloatVector___bool__(self) def __len__(self): return _cprim.FloatVector___len__(self) def pop(self): return _cprim.FloatVector_pop(self) def __getslice__(self, i, j): return _cprim.FloatVector___getslice__(self, i, j) def __setslice__(self, *args): return _cprim.FloatVector___setslice__(self, *args) def __delslice__(self, i, j): return _cprim.FloatVector___delslice__(self, i, j) def __delitem__(self, *args): return _cprim.FloatVector___delitem__(self, *args) def __getitem__(self, *args): return _cprim.FloatVector___getitem__(self, *args) def __setitem__(self, *args): return _cprim.FloatVector___setitem__(self, *args) def append(self, x): return _cprim.FloatVector_append(self, x) def empty(self): return _cprim.FloatVector_empty(self) def size(self): return _cprim.FloatVector_size(self) def clear(self): return _cprim.FloatVector_clear(self) def swap(self, v): return _cprim.FloatVector_swap(self, v) def get_allocator(self): return _cprim.FloatVector_get_allocator(self) def begin(self): return _cprim.FloatVector_begin(self) def end(self): return _cprim.FloatVector_end(self) def rbegin(self): return _cprim.FloatVector_rbegin(self) def rend(self): return _cprim.FloatVector_rend(self) def pop_back(self): return _cprim.FloatVector_pop_back(self) def erase(self, *args): return _cprim.FloatVector_erase(self, *args) def __init__(self, *args): this = _cprim.new_FloatVector(*args) try: self.this.append(this) except: self.this = this def push_back(self, x): return _cprim.FloatVector_push_back(self, x) def front(self): return _cprim.FloatVector_front(self) def back(self): return _cprim.FloatVector_back(self) def assign(self, n, x): return _cprim.FloatVector_assign(self, n, x) def resize(self, *args): return _cprim.FloatVector_resize(self, *args) def insert(self, *args): return _cprim.FloatVector_insert(self, *args) def reserve(self, n): return _cprim.FloatVector_reserve(self, n) def capacity(self): return _cprim.FloatVector_capacity(self) __swig_destroy__ = _cprim.delete_FloatVector __del__ = lambda self: None FloatVector_swigregister = _cprim.FloatVector_swigregister FloatVector_swigregister(FloatVector) def sphere(accu, radius, force_dl=False): return _cprim.sphere(accu, radius, force_dl) sphere = _cprim.sphere def draw_billboards(objs, quat_in, radius, ox, oy, oz): return _cprim.draw_billboards(objs, quat_in, radius, ox, oy, oz) draw_billboards = _cprim.draw_billboards def draw_imposters(prims, quat_in, radius, ox, oy, oz): return _cprim.draw_imposters(prims, quat_in, radius, ox, oy, oz) draw_imposters = _cprim.draw_imposters _cprim.IMAGE_FULLSCREEN_swigconstant(_cprim) IMAGE_FULLSCREEN = _cprim.IMAGE_FULLSCREEN _cprim.IMAGE_ORIGINAL_SIZE_swigconstant(_cprim) IMAGE_ORIGINAL_SIZE = _cprim.IMAGE_ORIGINAL_SIZE _cprim.IMAGE_KEEP_ORIGINAL_SIZE_swigconstant(_cprim) IMAGE_KEEP_ORIGINAL_SIZE = _cprim.IMAGE_KEEP_ORIGINAL_SIZE class Primitive(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, Primitive, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, Primitive, name) def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract") __repr__ = _swig_repr __swig_destroy__ = _cprim.delete_Primitive __del__ = lambda self: None def get_origin(self): return _cprim.Primitive_get_origin(self) def set_origin(self, *args): return _cprim.Primitive_set_origin(self, *args) def SetColourOverride(self, colour_override_in): return _cprim.Primitive_SetColourOverride(self, colour_override_in) def GetColourOverride(self): return _cprim.Primitive_GetColourOverride(self) def draw(self, override_colour=None, selective_override=0): return _cprim.Primitive_draw(self, override_colour, selective_override) def SetAlpha(self, alpha_in): return _cprim.Primitive_SetAlpha(self, alpha_in) def GetAlpha(self): return _cprim.Primitive_GetAlpha(self) def set_draw_colour_poly(self): return _cprim.Primitive_set_draw_colour_poly(self) def set_draw_colour_line(self): return _cprim.Primitive_set_draw_colour_line(self) def set_draw_colour_poly_override(self, colp): return _cprim.Primitive_set_draw_colour_poly_override(self, colp) def set_draw_colour_line_override(self, colp): return _cprim.Primitive_set_draw_colour_line_override(self, colp) def initialize_lighting(self): return _cprim.Primitive_initialize_lighting(self) def apply_textures(self): return _cprim.Primitive_apply_textures(self) def unbind_textures(self): return _cprim.Primitive_unbind_textures(self) def get_transparent(self): return _cprim.Primitive_get_transparent(self) def set_transparent(self, trans_in): return _cprim.Primitive_set_transparent(self, trans_in) def SetColours(self, colours_in): return _cprim.Primitive_SetColours(self, colours_in) def GetColours(self): return _cprim.Primitive_GetColours(self) def SetNormals(self, normals_in): return _cprim.Primitive_SetNormals(self, normals_in) def GetNormals(self): return _cprim.Primitive_GetNormals(self) def SetVertices(self, vertices_in): return _cprim.Primitive_SetVertices(self, vertices_in) def GetVertices(self): return _cprim.Primitive_GetVertices(self) def GetColour(self): return _cprim.Primitive_GetColour(self) def GetSize(self): return _cprim.Primitive_GetSize(self) def SetSize(self, size_in): return _cprim.Primitive_SetSize(self, size_in) def SetOrigin(self, o_in): return _cprim.Primitive_SetOrigin(self, o_in) def SetColour(self, *args): return _cprim.Primitive_SetColour(self, *args) def isLine(self): return _cprim.Primitive_isLine(self) def isDots(self): return _cprim.Primitive_isDots(self) def isImposter(self): return _cprim.Primitive_isImposter(self) def GetNumberOfSimplePrimitives(self): return _cprim.Primitive_GetNumberOfSimplePrimitives(self) def SetOccDataAttrib(self, occDataAttrib_in): return _cprim.Primitive_SetOccDataAttrib(self, occDataAttrib_in) def forceRegenerateArrays(self): return _cprim.Primitive_forceRegenerateArrays(self) def GetUseVBO(self): return _cprim.Primitive_GetUseVBO(self) def SetUseVBO(self, _useVBO): return _cprim.Primitive_SetUseVBO(self, _useVBO) def GetUseVertexArrays(self): return _cprim.Primitive_GetUseVertexArrays(self) def SetUseVertexArrays(self, _useVertexArrays): return _cprim.Primitive_SetUseVertexArrays(self, _useVertexArrays) def generateArrays(self): return _cprim.Primitive_generateArrays(self) def GetBufferOrigins(self): return _cprim.Primitive_GetBufferOrigins(self) def GetBufferSizes(self): return _cprim.Primitive_GetBufferSizes(self) def GetNumberOfBufferVertices(self): return _cprim.Primitive_GetNumberOfBufferVertices(self) def GetNumberOfBufferIndices(self): return _cprim.Primitive_GetNumberOfBufferIndices(self) def GetBufferVertices(self): return _cprim.Primitive_GetBufferVertices(self) def GetBufferNormals(self): return _cprim.Primitive_GetBufferNormals(self) def GetBufferColours(self): return _cprim.Primitive_GetBufferColours(self) def GetBufferIndices(self): return _cprim.Primitive_GetBufferIndices(self) def GetPrimitiveTypeAsString(self): return _cprim.Primitive_GetPrimitiveTypeAsString(self) Primitive_swigregister = _cprim.Primitive_swigregister Primitive_swigregister(Primitive) class RenderQuality(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, RenderQuality, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, RenderQuality, name) __repr__ = _swig_repr __swig_getmethods__["SetRenderQuality"] = lambda x: _cprim.RenderQuality_SetRenderQuality if _newclass: SetRenderQuality = staticmethod(_cprim.RenderQuality_SetRenderQuality) __swig_getmethods__["GetRenderQuality"] = lambda x: _cprim.RenderQuality_GetRenderQuality if _newclass: GetRenderQuality = staticmethod(_cprim.RenderQuality_GetRenderQuality) __swig_getmethods__["SetSmoothRibbons"] = lambda x: _cprim.RenderQuality_SetSmoothRibbons if _newclass: SetSmoothRibbons = staticmethod(_cprim.RenderQuality_SetSmoothRibbons) __swig_getmethods__["GetSmoothRibbons"] = lambda x: _cprim.RenderQuality_GetSmoothRibbons if _newclass: GetSmoothRibbons = staticmethod(_cprim.RenderQuality_GetSmoothRibbons) def __init__(self): this = _cprim.new_RenderQuality() try: self.this.append(this) except: self.this = this __swig_destroy__ = _cprim.delete_RenderQuality __del__ = lambda self: None RenderQuality_swigregister = _cprim.RenderQuality_swigregister RenderQuality_swigregister(RenderQuality) def RenderQuality_SetRenderQuality(render_quality_in): return _cprim.RenderQuality_SetRenderQuality(render_quality_in) RenderQuality_SetRenderQuality = _cprim.RenderQuality_SetRenderQuality def RenderQuality_GetRenderQuality(): return _cprim.RenderQuality_GetRenderQuality() RenderQuality_GetRenderQuality = _cprim.RenderQuality_GetRenderQuality def RenderQuality_SetSmoothRibbons(ribbon_quality_in): return _cprim.RenderQuality_SetSmoothRibbons(ribbon_quality_in) RenderQuality_SetSmoothRibbons = _cprim.RenderQuality_SetSmoothRibbons def RenderQuality_GetSmoothRibbons(): return _cprim.RenderQuality_GetSmoothRibbons() RenderQuality_GetSmoothRibbons = _cprim.RenderQuality_GetSmoothRibbons class SimpleText(Primitive): __swig_setmethods__ = {} for _s in [Primitive]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, SimpleText, name, value) __swig_getmethods__ = {} for _s in [Primitive]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, SimpleText, name) def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract") __repr__ = _swig_repr def initialize(self): return _cprim.SimpleText_initialize(self) def renderStringToPixmap(self): return _cprim.SimpleText_renderStringToPixmap(self) def isMultiColoured(self): return _cprim.SimpleText_isMultiColoured(self) def GetTexture(self): return _cprim.SimpleText_GetTexture(self) def GetTextureID(self): return _cprim.SimpleText_GetTextureID(self) def GetTextureID_B(self): return _cprim.SimpleText_GetTextureID_B(self) __swig_destroy__ = _cprim.delete_SimpleText __del__ = lambda self: None def SetRasterPosition(self, x_in, y_in, z_in): return _cprim.SimpleText_SetRasterPosition(self, x_in, y_in, z_in) def draw(self, override_colour=None, selective_override=0): return _cprim.SimpleText_draw(self, override_colour, selective_override) def IsBillBoard(self): return _cprim.SimpleText_IsBillBoard(self) def draw_main(self, override_colour=None, selective_override=0): return _cprim.SimpleText_draw_main(self, override_colour, selective_override) def SetFontName(self, family_in, size_in, weight_in, slant_in): return _cprim.SimpleText_SetFontName(self, family_in, size_in, weight_in, slant_in) def StripTags(self): return _cprim.SimpleText_StripTags(self) def LoadFont(self): return _cprim.SimpleText_LoadFont(self) def SetFontSize(self, fn_isize): return _cprim.SimpleText_SetFontSize(self, fn_isize) def SetFontFamily(self, Family): return _cprim.SimpleText_SetFontFamily(self, Family) def SetFontWeight(self, Weight): return _cprim.SimpleText_SetFontWeight(self, Weight) def SetFontSlant(self, Slant): return _cprim.SimpleText_SetFontSlant(self, Slant) def SetText(self, text_in): return _cprim.SimpleText_SetText(self, text_in) def GetFontSize(self): return _cprim.SimpleText_GetFontSize(self) def GetFontFamily(self): return _cprim.SimpleText_GetFontFamily(self) def GetFontWeight(self): return _cprim.SimpleText_GetFontWeight(self) def GetFontSlant(self): return _cprim.SimpleText_GetFontSlant(self) def GetText(self): return _cprim.SimpleText_GetText(self) def SetDefaultColour(self): return _cprim.SimpleText_SetDefaultColour(self) def SetColour(self, r, b, g, a): return _cprim.SimpleText_SetColour(self, r, b, g, a) def GetID(self): return _cprim.SimpleText_GetID(self) def isLine(self): return _cprim.SimpleText_isLine(self) def DrawPSmain(self, fp, quat, radius, ox, oy, oz, objrotmatrix, objorigin, xoff, yoff, xscale, yscale, xscaleps, v, is_a_bill_board): return _cprim.SimpleText_DrawPSmain(self, fp, quat, radius, ox, oy, oz, objrotmatrix, objorigin, xoff, yoff, xscale, yscale, xscaleps, v, is_a_bill_board) def SetFontDescent(self, fn_isize): return _cprim.SimpleText_SetFontDescent(self, fn_isize) def GetFontDescent(self): return _cprim.SimpleText_GetFontDescent(self) def SetFontUnderline(self, underline_in): return _cprim.SimpleText_SetFontUnderline(self, underline_in) def SetFontStrikeout(self, strikeout_in): return _cprim.SimpleText_SetFontStrikeout(self, strikeout_in) def GetFontUnderline(self): return _cprim.SimpleText_GetFontUnderline(self) def GetFontStrikeout(self): return _cprim.SimpleText_GetFontStrikeout(self) def GetTextWidth(self): return _cprim.SimpleText_GetTextWidth(self) def GetTextHeight(self): return _cprim.SimpleText_GetTextHeight(self) def SetTextWidth(self, w_in): return _cprim.SimpleText_SetTextWidth(self, w_in) def SetTextHeight(self, h_in): return _cprim.SimpleText_SetTextHeight(self, h_in) def SetCentered(self, centered_in): return _cprim.SimpleText_SetCentered(self, centered_in) def GetCentered(self): return _cprim.SimpleText_GetCentered(self) def SetTextureID(self, i): return _cprim.SimpleText_SetTextureID(self, i) def ClearTextureID(self): return _cprim.SimpleText_ClearTextureID(self) def SetTextureID_B(self, i): return _cprim.SimpleText_SetTextureID_B(self, i) def ClearTextureID_B(self): return _cprim.SimpleText_ClearTextureID_B(self) SimpleText_swigregister = _cprim.SimpleText_swigregister SimpleText_swigregister(SimpleText) class SimpleBillBoard(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, SimpleBillBoard, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, SimpleBillBoard, name) def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract") __repr__ = _swig_repr __swig_destroy__ = _cprim.delete_SimpleBillBoard __del__ = lambda self: None __swig_getmethods__["GetProjectionMatrix"] = lambda x: _cprim.SimpleBillBoard_GetProjectionMatrix if _newclass: GetProjectionMatrix = staticmethod(_cprim.SimpleBillBoard_GetProjectionMatrix) __swig_getmethods__["GetModelviewMatrix"] = lambda x: _cprim.SimpleBillBoard_GetModelviewMatrix if _newclass: GetModelviewMatrix = staticmethod(_cprim.SimpleBillBoard_GetModelviewMatrix) __swig_getmethods__["GetViewport"] = lambda x: _cprim.SimpleBillBoard_GetViewport if _newclass: GetViewport = staticmethod(_cprim.SimpleBillBoard_GetViewport) __swig_getmethods__["SetMatrices"] = lambda x: _cprim.SimpleBillBoard_SetMatrices if _newclass: SetMatrices = staticmethod(_cprim.SimpleBillBoard_SetMatrices) __swig_getmethods__["GetMagnification"] = lambda x: _cprim.SimpleBillBoard_GetMagnification if _newclass: GetMagnification = staticmethod(_cprim.SimpleBillBoard_GetMagnification) def draw(self, override_colour=None, selective_override=0): return _cprim.SimpleBillBoard_draw(self, override_colour, selective_override) def isLine(self): return _cprim.SimpleBillBoard_isLine(self) SimpleBillBoard_swigregister = _cprim.SimpleBillBoard_swigregister SimpleBillBoard_swigregister(SimpleBillBoard) def SimpleBillBoard_GetProjectionMatrix(): return _cprim.SimpleBillBoard_GetProjectionMatrix() SimpleBillBoard_GetProjectionMatrix = _cprim.SimpleBillBoard_GetProjectionMatrix def SimpleBillBoard_GetModelviewMatrix(): return _cprim.SimpleBillBoard_GetModelviewMatrix() SimpleBillBoard_GetModelviewMatrix = _cprim.SimpleBillBoard_GetModelviewMatrix def SimpleBillBoard_GetViewport(): return _cprim.SimpleBillBoard_GetViewport() SimpleBillBoard_GetViewport = _cprim.SimpleBillBoard_GetViewport def SimpleBillBoard_SetMatrices(): return _cprim.SimpleBillBoard_SetMatrices() SimpleBillBoard_SetMatrices = _cprim.SimpleBillBoard_SetMatrices def SimpleBillBoard_GetMagnification(): return _cprim.SimpleBillBoard_GetMagnification() SimpleBillBoard_GetMagnification = _cprim.SimpleBillBoard_GetMagnification class BillBoardText(SimpleText, SimpleBillBoard): __swig_setmethods__ = {} for _s in [SimpleText, SimpleBillBoard]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, BillBoardText, name, value) __swig_getmethods__ = {} for _s in [SimpleText, SimpleBillBoard]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, BillBoardText, name) __repr__ = _swig_repr def __init__(self, *args): this = _cprim.new_BillBoardText(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _cprim.delete_BillBoardText __del__ = lambda self: None def draw(self, override_colour=None, selective_override=0): return _cprim.BillBoardText_draw(self, override_colour, selective_override) def SetRasterPosition(self, x_in, y_in, z_in): return _cprim.BillBoardText_SetRasterPosition(self, x_in, y_in, z_in) def IsBillBoard(self): return _cprim.BillBoardText_IsBillBoard(self) def isLine(self): return _cprim.BillBoardText_isLine(self) BillBoardText_swigregister = _cprim.BillBoardText_swigregister BillBoardText_swigregister(BillBoardText) class Text(SimpleText): __swig_setmethods__ = {} for _s in [SimpleText]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, Text, name, value) __swig_getmethods__ = {} for _s in [SimpleText]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, Text, name) __repr__ = _swig_repr def __init__(self, *args): this = _cprim.new_Text(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _cprim.delete_Text __del__ = lambda self: None def draw(self, override_colour=None, selective_override=0): return _cprim.Text_draw(self, override_colour, selective_override) def SetRasterPosition(self, x_in, y_in, z_in): return _cprim.Text_SetRasterPosition(self, x_in, y_in, z_in) def IsBillBoard(self): return _cprim.Text_IsBillBoard(self) def isLine(self): return _cprim.Text_isLine(self) Text_swigregister = _cprim.Text_swigregister Text_swigregister(Text) class BillBoard(Primitive, SimpleBillBoard): __swig_setmethods__ = {} for _s in [Primitive, SimpleBillBoard]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, BillBoard, name, value) __swig_getmethods__ = {} for _s in [Primitive, SimpleBillBoard]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, BillBoard, name) __repr__ = _swig_repr def __init__(self, *args): this = _cprim.new_BillBoard(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _cprim.delete_BillBoard __del__ = lambda self: None def SetScale(self, scale_w_in, scale_h_in): return _cprim.BillBoard_SetScale(self, scale_w_in, scale_h_in) def draw(self, override_colour=None, selective_override=0): return _cprim.BillBoard_draw(self, override_colour, selective_override) def isLine(self): return _cprim.BillBoard_isLine(self) def GetScale(self): return _cprim.BillBoard_GetScale(self) def GetScaleW(self): return _cprim.BillBoard_GetScaleW(self) def GetScaleH(self): return _cprim.BillBoard_GetScaleH(self) def GetTextureID(self): return _cprim.BillBoard_GetTextureID(self) def GetImageSize(self): return _cprim.BillBoard_GetImageSize(self) def GetImageWidth(self): return _cprim.BillBoard_GetImageWidth(self) def GetImageHeight(self): return _cprim.BillBoard_GetImageHeight(self) def GetFilename(self): return _cprim.BillBoard_GetFilename(self) def SetTextureID(self, i): return _cprim.BillBoard_SetTextureID(self, i) def ClearTextureID(self): return _cprim.BillBoard_ClearTextureID(self) BillBoard_swigregister = _cprim.BillBoard_swigregister BillBoard_swigregister(BillBoard) def draw_cylinder(vertices, size, accu, textured, force_dl=False, capped=False): return _cprim.draw_cylinder(vertices, size, accu, textured, force_dl, capped) draw_cylinder = _cprim.draw_cylinder class PolyCollection(Primitive): __swig_setmethods__ = {} for _s in [Primitive]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, PolyCollection, name, value) __swig_getmethods__ = {} for _s in [Primitive]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, PolyCollection, name) __repr__ = _swig_repr def __init__(self): this = _cprim.new_PolyCollection() try: self.this.append(this) except: self.this = this __swig_destroy__ = _cprim.delete_PolyCollection __del__ = lambda self: None def add_primitive(self, prims): return _cprim.PolyCollection_add_primitive(self, prims) def draw(self, override_colour=None, selective_override=0): return _cprim.PolyCollection_draw(self, override_colour, selective_override) def isLine(self): return _cprim.PolyCollection_isLine(self) def SetAlpha(self, alpha_in): return _cprim.PolyCollection_SetAlpha(self, alpha_in) def set_transparent(self, trans_in): return _cprim.PolyCollection_set_transparent(self, trans_in) def GetPrimitives(self): return _cprim.PolyCollection_GetPrimitives(self) def SetPrimitives(self, prims_in): return _cprim.PolyCollection_SetPrimitives(self, prims_in) def GetNumberOfSimplePrimitives(self): return _cprim.PolyCollection_GetNumberOfSimplePrimitives(self) def SetUseVBO(self, _useVBO): return _cprim.PolyCollection_SetUseVBO(self, _useVBO) def SetUseVertexArrays(self, _useVertexArrays): return _cprim.PolyCollection_SetUseVertexArrays(self, _useVertexArrays) PolyCollection_swigregister = _cprim.PolyCollection_swigregister PolyCollection_swigregister(PolyCollection) class SphereElement(Primitive): __swig_setmethods__ = {} for _s in [Primitive]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, SphereElement, name, value) __swig_getmethods__ = {} for _s in [Primitive]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, SphereElement, name) __repr__ = _swig_repr def __init__(self, *args): this = _cprim.new_SphereElement(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _cprim.delete_SphereElement __del__ = lambda self: None def draw(self, override_colour=None, selective_override=0): return _cprim.SphereElement_draw(self, override_colour, selective_override) def isLine(self): return _cprim.SphereElement_isLine(self) SphereElement_swigregister = _cprim.SphereElement_swigregister SphereElement_swigregister(SphereElement) class CylinderElement(Primitive): __swig_setmethods__ = {} for _s in [Primitive]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, CylinderElement, name, value) __swig_getmethods__ = {} for _s in [Primitive]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, CylinderElement, name) __repr__ = _swig_repr def __init__(self, *args): this = _cprim.new_CylinderElement(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _cprim.delete_CylinderElement __del__ = lambda self: None def draw(self, override_colour=None, selective_override=0): return _cprim.CylinderElement_draw(self, override_colour, selective_override) def isLine(self): return _cprim.CylinderElement_isLine(self) CylinderElement_swigregister = _cprim.CylinderElement_swigregister CylinderElement_swigregister(CylinderElement) class ConeElement(CylinderElement): __swig_setmethods__ = {} for _s in [CylinderElement]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, ConeElement, name, value) __swig_getmethods__ = {} for _s in [CylinderElement]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, ConeElement, name) __repr__ = _swig_repr def __init__(self, *args): this = _cprim.new_ConeElement(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _cprim.delete_ConeElement __del__ = lambda self: None def draw(self, override_colour=None, selective_override=0): return _cprim.ConeElement_draw(self, override_colour, selective_override) def isLine(self): return _cprim.ConeElement_isLine(self) ConeElement_swigregister = _cprim.ConeElement_swigregister ConeElement_swigregister(ConeElement) class DashCylinderElement(CylinderElement): __swig_setmethods__ = {} for _s in [CylinderElement]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, DashCylinderElement, name, value) __swig_getmethods__ = {} for _s in [CylinderElement]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, DashCylinderElement, name) __repr__ = _swig_repr def __init__(self, *args): this = _cprim.new_DashCylinderElement(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _cprim.delete_DashCylinderElement __del__ = lambda self: None def draw(self, override_colour=None, selective_override=0): return _cprim.DashCylinderElement_draw(self, override_colour, selective_override) def isLine(self): return _cprim.DashCylinderElement_isLine(self) def SetDashLength(self, length): return _cprim.DashCylinderElement_SetDashLength(self, length) def GetDashLength(self): return _cprim.DashCylinderElement_GetDashLength(self) def SetDashEnd(self, end): return _cprim.DashCylinderElement_SetDashEnd(self, end) def GetDashEnd(self): return _cprim.DashCylinderElement_GetDashEnd(self) DashCylinderElement_swigregister = _cprim.DashCylinderElement_swigregister DashCylinderElement_swigregister(DashCylinderElement) class CircleElement(Primitive): __swig_setmethods__ = {} for _s in [Primitive]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, CircleElement, name, value) __swig_getmethods__ = {} for _s in [Primitive]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, CircleElement, name) __repr__ = _swig_repr def __init__(self, *args): this = _cprim.new_CircleElement(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _cprim.delete_CircleElement __del__ = lambda self: None def draw(self, override_colour=None, selective_override=0): return _cprim.CircleElement_draw(self, override_colour, selective_override) def isLine(self): return _cprim.CircleElement_isLine(self) def setMatrix(self, a): return _cprim.CircleElement_setMatrix(self, a) def getMatrix(self): return _cprim.CircleElement_getMatrix(self) CircleElement_swigregister = _cprim.CircleElement_swigregister CircleElement_swigregister(CircleElement) class PartialCircleElement(CircleElement): __swig_setmethods__ = {} for _s in [CircleElement]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, PartialCircleElement, name, value) __swig_getmethods__ = {} for _s in [CircleElement]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, PartialCircleElement, name) __repr__ = _swig_repr def __init__(self, *args): this = _cprim.new_PartialCircleElement(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _cprim.delete_PartialCircleElement __del__ = lambda self: None def draw(self, override_colour=None, selective_override=0): return _cprim.PartialCircleElement_draw(self, override_colour, selective_override) def isLine(self): return _cprim.PartialCircleElement_isLine(self) def setMatrix(self, a): return _cprim.PartialCircleElement_setMatrix(self, a) def getMatrix(self): return _cprim.PartialCircleElement_getMatrix(self) def setStartAngle(self, s): return _cprim.PartialCircleElement_setStartAngle(self, s) def getStartAngle(self): return _cprim.PartialCircleElement_getStartAngle(self) def setSweepAngle(self, s): return _cprim.PartialCircleElement_setSweepAngle(self, s) def getSweepAngle(self): return _cprim.PartialCircleElement_getSweepAngle(self) PartialCircleElement_swigregister = _cprim.PartialCircleElement_swigregister PartialCircleElement_swigregister(PartialCircleElement) class Line(Primitive): __swig_setmethods__ = {} for _s in [Primitive]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, Line, name, value) __swig_getmethods__ = {} for _s in [Primitive]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, Line, name) __repr__ = _swig_repr def __init__(self, *args): this = _cprim.new_Line(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _cprim.delete_Line __del__ = lambda self: None def draw(self, override_colour=None, selective_override=0): return _cprim.Line_draw(self, override_colour, selective_override) def isLine(self): return _cprim.Line_isLine(self) Line_swigregister = _cprim.Line_swigregister Line_swigregister(Line) class LineElement(Line): __swig_setmethods__ = {} for _s in [Line]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, LineElement, name, value) __swig_getmethods__ = {} for _s in [Line]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, LineElement, name) __repr__ = _swig_repr __swig_destroy__ = _cprim.delete_LineElement __del__ = lambda self: None def __init__(self, *args): this = _cprim.new_LineElement(*args) try: self.this.append(this) except: self.this = this def draw(self, override_colour=None, selective_override=0): return _cprim.LineElement_draw(self, override_colour, selective_override) def isLine(self): return _cprim.LineElement_isLine(self) LineElement_swigregister = _cprim.LineElement_swigregister LineElement_swigregister(LineElement) class DashLineElement(LineElement): __swig_setmethods__ = {} for _s in [LineElement]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, DashLineElement, name, value) __swig_getmethods__ = {} for _s in [LineElement]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, DashLineElement, name) __repr__ = _swig_repr __swig_destroy__ = _cprim.delete_DashLineElement __del__ = lambda self: None def __init__(self, *args): this = _cprim.new_DashLineElement(*args) try: self.this.append(this) except: self.this = this def draw(self, override_colour=None, selective_override=0): return _cprim.DashLineElement_draw(self, override_colour, selective_override) def isLine(self): return _cprim.DashLineElement_isLine(self) def SetDashLength(self, length): return _cprim.DashLineElement_SetDashLength(self, length) def GetDashLength(self): return _cprim.DashLineElement_GetDashLength(self) DashLineElement_swigregister = _cprim.DashLineElement_swigregister DashLineElement_swigregister(DashLineElement) class DashArrowElement(LineElement): __swig_setmethods__ = {} for _s in [LineElement]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, DashArrowElement, name, value) __swig_getmethods__ = {} for _s in [LineElement]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, DashArrowElement, name) __repr__ = _swig_repr def __init__(self, *args): this = _cprim.new_DashArrowElement(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _cprim.delete_DashArrowElement __del__ = lambda self: None def draw(self, override_colour=None, selective_override=0): return _cprim.DashArrowElement_draw(self, override_colour, selective_override) def isLine(self): return _cprim.DashArrowElement_isLine(self) def SetDashLength(self, length): return _cprim.DashArrowElement_SetDashLength(self, length) def GetDashLength(self): return _cprim.DashArrowElement_GetDashLength(self) def GetArrowHead(self): return _cprim.DashArrowElement_GetArrowHead(self) def SetArrowHead(self, arrow_head_in): return _cprim.DashArrowElement_SetArrowHead(self, arrow_head_in) def setArrowLength(self, length): return _cprim.DashArrowElement_setArrowLength(self, length) def getArrowLength(self): return _cprim.DashArrowElement_getArrowLength(self) def setArrowWidth(self, Width): return _cprim.DashArrowElement_setArrowWidth(self, Width) def getArrowWidth(self): return _cprim.DashArrowElement_getArrowWidth(self) DashArrowElement_swigregister = _cprim.DashArrowElement_swigregister DashArrowElement_swigregister(DashArrowElement) class ArrowElement(LineElement): __swig_setmethods__ = {} for _s in [LineElement]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, ArrowElement, name, value) __swig_getmethods__ = {} for _s in [LineElement]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, ArrowElement, name) __repr__ = _swig_repr def __init__(self, *args): this = _cprim.new_ArrowElement(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _cprim.delete_ArrowElement __del__ = lambda self: None def draw(self, override_colour=None, selective_override=0): return _cprim.ArrowElement_draw(self, override_colour, selective_override) def isLine(self): return _cprim.ArrowElement_isLine(self) def GetArrowHead(self): return _cprim.ArrowElement_GetArrowHead(self) def SetArrowHead(self, arrow_head_in): return _cprim.ArrowElement_SetArrowHead(self, arrow_head_in) def setArrowLength(self, length): return _cprim.ArrowElement_setArrowLength(self, length) def getArrowLength(self): return _cprim.ArrowElement_getArrowLength(self) def setArrowWidth(self, Width): return _cprim.ArrowElement_setArrowWidth(self, Width) def getArrowWidth(self): return _cprim.ArrowElement_getArrowWidth(self) ArrowElement_swigregister = _cprim.ArrowElement_swigregister ArrowElement_swigregister(ArrowElement) class LineCollection(Primitive): __swig_setmethods__ = {} for _s in [Primitive]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, LineCollection, name, value) __swig_getmethods__ = {} for _s in [Primitive]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, LineCollection, name) __repr__ = _swig_repr def __init__(self): this = _cprim.new_LineCollection() try: self.this.append(this) except: self.this = this __swig_destroy__ = _cprim.delete_LineCollection __del__ = lambda self: None def add_primitive(self, line): return _cprim.LineCollection_add_primitive(self, line) def draw(self, override_colour=None, selective_override=0): return _cprim.LineCollection_draw(self, override_colour, selective_override) def isLine(self): return _cprim.LineCollection_isLine(self) def GetPrimitives(self): return _cprim.LineCollection_GetPrimitives(self) def SetPrimitives(self, lines_in): return _cprim.LineCollection_SetPrimitives(self, lines_in) def GetNumberOfSimplePrimitives(self): return _cprim.LineCollection_GetNumberOfSimplePrimitives(self) def GetSimplePrimitivesArrays(self, clip_vol, objrotmatrix, objorigin, start=-1, end=-1): return _cprim.LineCollection_GetSimplePrimitivesArrays(self, clip_vol, objrotmatrix, objorigin, start, end) LineCollection_swigregister = _cprim.LineCollection_swigregister LineCollection_swigregister(LineCollection) class PolygonElement(Primitive): __swig_setmethods__ = {} for _s in [Primitive]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, PolygonElement, name, value) __swig_getmethods__ = {} for _s in [Primitive]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, PolygonElement, name) __repr__ = _swig_repr def __init__(self, *args): this = _cprim.new_PolygonElement(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _cprim.delete_PolygonElement __del__ = lambda self: None def draw(self, override_colour=None, selective_override=0): return _cprim.PolygonElement_draw(self, override_colour, selective_override) def isLine(self): return _cprim.PolygonElement_isLine(self) PolygonElement_swigregister = _cprim.PolygonElement_swigregister PolygonElement_swigregister(PolygonElement) class TorusElement(Primitive): __swig_setmethods__ = {} for _s in [Primitive]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, TorusElement, name, value) __swig_getmethods__ = {} for _s in [Primitive]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, TorusElement, name) __repr__ = _swig_repr def __init__(self, *args): this = _cprim.new_TorusElement(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _cprim.delete_TorusElement __del__ = lambda self: None def draw(self, override_colour=None, selective_override=0): return _cprim.TorusElement_draw(self, override_colour, selective_override) def isLine(self): return _cprim.TorusElement_isLine(self) def setMatrix(self, a): return _cprim.TorusElement_setMatrix(self, a) def getMatrix(self): return _cprim.TorusElement_getMatrix(self) def setStartAngle(self, s): return _cprim.TorusElement_setStartAngle(self, s) def getStartAngle(self): return _cprim.TorusElement_getStartAngle(self) def setSweepAngle(self, s): return _cprim.TorusElement_setSweepAngle(self, s) def getSweepAngle(self): return _cprim.TorusElement_getSweepAngle(self) def setMinorRadius(self, s): return _cprim.TorusElement_setMinorRadius(self, s) def getMinorRadius(self): return _cprim.TorusElement_getMinorRadius(self) def setMajorRadius(self, s): return _cprim.TorusElement_setMajorRadius(self, s) def getMajorRadius(self): return _cprim.TorusElement_getMajorRadius(self) def GetDashLength(self): return _cprim.TorusElement_GetDashLength(self) def SetDashLength(self, length): return _cprim.TorusElement_SetDashLength(self, length) def setIsDashed(self, dash): return _cprim.TorusElement_setIsDashed(self, dash) def getIsDashed(self): return _cprim.TorusElement_getIsDashed(self) TorusElement_swigregister = _cprim.TorusElement_swigregister TorusElement_swigregister(TorusElement) class HelixElement(Primitive): __swig_setmethods__ = {} for _s in [Primitive]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, HelixElement, name, value) __swig_getmethods__ = {} for _s in [Primitive]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, HelixElement, name) __repr__ = _swig_repr def __init__(self, *args): this = _cprim.new_HelixElement(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _cprim.delete_HelixElement __del__ = lambda self: None def draw(self, override_colour=None, selective_override=0): return _cprim.HelixElement_draw(self, override_colour, selective_override) def isLine(self): return _cprim.HelixElement_isLine(self) def setMatrix(self, a): return _cprim.HelixElement_setMatrix(self, a) def getMatrix(self): return _cprim.HelixElement_getMatrix(self) def setStartAngle(self, s): return _cprim.HelixElement_setStartAngle(self, s) def getStartAngle(self): return _cprim.HelixElement_getStartAngle(self) def setSweepAngle(self, s): return _cprim.HelixElement_setSweepAngle(self, s) def getSweepAngle(self): return _cprim.HelixElement_getSweepAngle(self) def setMinorRadius(self, s): return _cprim.HelixElement_setMinorRadius(self, s) def getMinorRadius(self): return _cprim.HelixElement_getMinorRadius(self) def setMajorRadius(self, s): return _cprim.HelixElement_setMajorRadius(self, s) def getMajorRadius(self): return _cprim.HelixElement_getMajorRadius(self) def setPitch(self, s): return _cprim.HelixElement_setPitch(self, s) def getPitch(self): return _cprim.HelixElement_getPitch(self) def GetDashLength(self): return _cprim.HelixElement_GetDashLength(self) def SetDashLength(self, length): return _cprim.HelixElement_SetDashLength(self, length) def setIsDashed(self, dash): return _cprim.HelixElement_setIsDashed(self, dash) def getIsDashed(self): return _cprim.HelixElement_getIsDashed(self) HelixElement_swigregister = _cprim.HelixElement_swigregister HelixElement_swigregister(HelixElement) class Helix(HelixElement): __swig_setmethods__ = {} for _s in [HelixElement]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, Helix, name, value) __swig_getmethods__ = {} for _s in [HelixElement]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, Helix, name) __repr__ = _swig_repr def __init__(self, *args): this = _cprim.new_Helix(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _cprim.delete_Helix __del__ = lambda self: None def draw(self, override_colour=None, selective_override=0): return _cprim.Helix_draw(self, override_colour, selective_override) def isLine(self): return _cprim.Helix_isLine(self) def GetDashLength(self): return _cprim.Helix_GetDashLength(self) def SetDashLength(self, length): return _cprim.Helix_SetDashLength(self, length) def setIsDashed(self, dash): return _cprim.Helix_setIsDashed(self, dash) def getIsDashed(self): return _cprim.Helix_getIsDashed(self) Helix_swigregister = _cprim.Helix_swigregister Helix_swigregister(Helix) class ArcElement(Primitive): __swig_setmethods__ = {} for _s in [Primitive]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, ArcElement, name, value) __swig_getmethods__ = {} for _s in [Primitive]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, ArcElement, name) __repr__ = _swig_repr def __init__(self, *args): this = _cprim.new_ArcElement(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _cprim.delete_ArcElement __del__ = lambda self: None def draw(self, override_colour=None, selective_override=0): return _cprim.ArcElement_draw(self, override_colour, selective_override) def isLine(self): return _cprim.ArcElement_isLine(self) def setMatrix(self, a): return _cprim.ArcElement_setMatrix(self, a) def getMatrix(self): return _cprim.ArcElement_getMatrix(self) def setStartAngle(self, s): return _cprim.ArcElement_setStartAngle(self, s) def getStartAngle(self): return _cprim.ArcElement_getStartAngle(self) def setSweepAngle(self, s): return _cprim.ArcElement_setSweepAngle(self, s) def getSweepAngle(self): return _cprim.ArcElement_getSweepAngle(self) def setWidth(self, s): return _cprim.ArcElement_setWidth(self, s) def getWidth(self): return _cprim.ArcElement_getWidth(self) def GetDashLength(self): return _cprim.ArcElement_GetDashLength(self) def SetDashLength(self, length): return _cprim.ArcElement_SetDashLength(self, length) def GetArrowHead(self): return _cprim.ArcElement_GetArrowHead(self) def SetArrowHead(self, arrow_head_in): return _cprim.ArcElement_SetArrowHead(self, arrow_head_in) def setArrowLength(self, length): return _cprim.ArcElement_setArrowLength(self, length) def getArrowLength(self): return _cprim.ArcElement_getArrowLength(self) def setArrowWidth(self, Width): return _cprim.ArcElement_setArrowWidth(self, Width) def getArrowWidth(self): return _cprim.ArcElement_getArrowWidth(self) def setIsDashed(self, dash): return _cprim.ArcElement_setIsDashed(self, dash) def getIsDashed(self): return _cprim.ArcElement_getIsDashed(self) ArcElement_swigregister = _cprim.ArcElement_swigregister ArcElement_swigregister(ArcElement) class MGArc(ArcElement): __swig_setmethods__ = {} for _s in [ArcElement]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, MGArc, name, value) __swig_getmethods__ = {} for _s in [ArcElement]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, MGArc, name) __repr__ = _swig_repr def __init__(self, *args): this = _cprim.new_MGArc(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _cprim.delete_MGArc __del__ = lambda self: None def draw(self, override_colour=None, selective_override=0): return _cprim.MGArc_draw(self, override_colour, selective_override) def isLine(self): return _cprim.MGArc_isLine(self) MGArc_swigregister = _cprim.MGArc_swigregister MGArc_swigregister(MGArc) class PointSphereCollection(Primitive): __swig_setmethods__ = {} for _s in [Primitive]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) __setattr__ = lambda self, name, value: _swig_setattr(self, PointSphereCollection, name, value) __swig_getmethods__ = {} for _s in [Primitive]: __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {})) __getattr__ = lambda self, name: _swig_getattr(self, PointSphereCollection, name) __repr__ = _swig_repr def __init__(self): this = _cprim.new_PointSphereCollection() try: self.this.append(this) except: self.this = this __swig_destroy__ = _cprim.delete_PointSphereCollection __del__ = lambda self: None def add_primitive(self, point): return _cprim.PointSphereCollection_add_primitive(self, point) def set_draw_colour(self, col=None): return _cprim.PointSphereCollection_set_draw_colour(self, col) def draw(self, override_colour=None, selective_override=0): return _cprim.PointSphereCollection_draw(self, override_colour, selective_override) def isLine(self): return _cprim.PointSphereCollection_isLine(self) def isDots(self): return _cprim.PointSphereCollection_isDots(self) def GetSimplePrimitives(self, clip_vol, objrotmatrix, objorigin, start=-1, end=-1): return _cprim.PointSphereCollection_GetSimplePrimitives(self, clip_vol, objrotmatrix, objorigin, start, end) def GetPrimitives(self): return _cprim.PointSphereCollection_GetPrimitives(self) def SetPrimitives(self, points_in): return _cprim.PointSphereCollection_SetPrimitives(self, points_in) def GetNumberOfSimplePrimitives(self): return _cprim.PointSphereCollection_GetNumberOfSimplePrimitives(self) def GetSimplePrimitivesArrays(self, clip_vol, objrotmatrix, objorigin, start=-1, end=-1): return _cprim.PointSphereCollection_GetSimplePrimitivesArrays(self, clip_vol, objrotmatrix, objorigin, start, end) def GetPrimitiveTypeAsString(self): return _cprim.PointSphereCollection_GetPrimitiveTypeAsString(self) PointSphereCollection_swigregister = _cprim.PointSphereCollection_swigregister PointSphereCollection_swigregister(PointSphereCollection) _cprim.BONDS_swigconstant(_cprim) BONDS = _cprim.BONDS _cprim.CYLINDERS_swigconstant(_cprim) CYLINDERS = _cprim.CYLINDERS _cprim.SPHERES_swigconstant(_cprim) SPHERES = _cprim.SPHERES _cprim.BALLSTICK_swigconstant(_cprim) BALLSTICK = _cprim.BALLSTICK _cprim.SPLINE_swigconstant(_cprim) SPLINE = _cprim.SPLINE _cprim.WORM_swigconstant(_cprim) WORM = _cprim.WORM _cprim.FATWORM_swigconstant(_cprim) FATWORM = _cprim.FATWORM _cprim.FATBONDS_swigconstant(_cprim) FATBONDS = _cprim.FATBONDS _cprim.THINBONDS_swigconstant(_cprim) THINBONDS = _cprim.THINBONDS _cprim.NUCLEICBASEPAIRS_swigconstant(_cprim) NUCLEICBASEPAIRS = _cprim.NUCLEICBASEPAIRS _cprim.PYRAMIDS_swigconstant(_cprim) PYRAMIDS = _cprim.PYRAMIDS _cprim.LIPIDS_swigconstant(_cprim) LIPIDS = _cprim.LIPIDS _cprim.ANISOU_swigconstant(_cprim) ANISOU = _cprim.ANISOU _cprim.CIRCLES_swigconstant(_cprim) CIRCLES = _cprim.CIRCLES _cprim.IMPOSTER_SPHERES_swigconstant(_cprim) IMPOSTER_SPHERES = _cprim.IMPOSTER_SPHERES _cprim.VARIABLEWORM_swigconstant(_cprim) VARIABLEWORM = _cprim.VARIABLEWORM _cprim.BLOB_ELLIPSOIDS_swigconstant(_cprim) BLOB_ELLIPSOIDS = _cprim.BLOB_ELLIPSOIDS _cprim.SUGAR_BLOCKS_swigconstant(_cprim) SUGAR_BLOCKS = _cprim.SUGAR_BLOCKS _cprim.POINTS_SPHERES_swigconstant(_cprim) POINTS_SPHERES = _cprim.POINTS_SPHERES _cprim.NOLINE_swigconstant(_cprim) NOLINE = _cprim.NOLINE _cprim.LINE_swigconstant(_cprim) LINE = _cprim.LINE _cprim.DASHLINE_swigconstant(_cprim) DASHLINE = _cprim.DASHLINE _cprim.ARROW_swigconstant(_cprim) ARROW = _cprim.ARROW _cprim.DASHARROW_swigconstant(_cprim) DASHARROW = _cprim.DASHARROW _cprim.CYLINDER_swigconstant(_cprim) CYLINDER = _cprim.CYLINDER _cprim.CYLINDERARROW_swigconstant(_cprim) CYLINDERARROW = _cprim.CYLINDERARROW _cprim.CONE_swigconstant(_cprim) CONE = _cprim.CONE _cprim.DASHCYLINDER_swigconstant(_cprim) DASHCYLINDER = _cprim.DASHCYLINDER _cprim.DASHCYLINDERARROW_swigconstant(_cprim) DASHCYLINDERARROW = _cprim.DASHCYLINDERARROW _cprim.NOTLABELLED_swigconstant(_cprim) NOTLABELLED = _cprim.NOTLABELLED _cprim.LABELLEDCENTRE_swigconstant(_cprim) LABELLEDCENTRE = _cprim.LABELLEDCENTRE _cprim.LABELLEDSTART_swigconstant(_cprim) LABELLEDSTART = _cprim.LABELLEDSTART _cprim.LABELLEDEND_swigconstant(_cprim) LABELLEDEND = _cprim.LABELLEDEND _cprim.SPHEROID_AXES_swigconstant(_cprim) SPHEROID_AXES = _cprim.SPHEROID_AXES _cprim.SPHEROID_SOLID_swigconstant(_cprim) SPHEROID_SOLID = _cprim.SPHEROID_SOLID _cprim.SPHEROID_SOLIDAXES_swigconstant(_cprim) SPHEROID_SOLIDAXES = _cprim.SPHEROID_SOLIDAXES _cprim.DRAW_ALL_BONDS_swigconstant(_cprim) DRAW_ALL_BONDS = _cprim.DRAW_ALL_BONDS _cprim.DRAW_INTERNAL_BONDS_swigconstant(_cprim) DRAW_INTERNAL_BONDS = _cprim.DRAW_INTERNAL_BONDS _cprim.DRAW_EXTERNAL_BONDS_swigconstant(_cprim) DRAW_EXTERNAL_BONDS = _cprim.DRAW_EXTERNAL_BONDS class ClickedLine(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, ClickedLine, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, ClickedLine, name) __repr__ = _swig_repr __swig_setmethods__["first"] = _cprim.ClickedLine_first_set __swig_getmethods__["first"] = _cprim.ClickedLine_first_get if _newclass: first = _swig_property(_cprim.ClickedLine_first_get, _cprim.ClickedLine_first_set) __swig_setmethods__["second"] = _cprim.ClickedLine_second_set __swig_getmethods__["second"] = _cprim.ClickedLine_second_get if _newclass: second = _swig_property(_cprim.ClickedLine_second_get, _cprim.ClickedLine_second_set) __swig_setmethods__["dist"] = _cprim.ClickedLine_dist_set __swig_getmethods__["dist"] = _cprim.ClickedLine_dist_get if _newclass: dist = _swig_property(_cprim.ClickedLine_dist_get, _cprim.ClickedLine_dist_set) __swig_setmethods__["symm"] = _cprim.ClickedLine_symm_set __swig_getmethods__["symm"] = _cprim.ClickedLine_symm_get if _newclass: symm = _swig_property(_cprim.ClickedLine_symm_get, _cprim.ClickedLine_symm_set) def __init__(self): this = _cprim.new_ClickedLine() try: self.this.append(this) except: self.this = this __swig_destroy__ = _cprim.delete_ClickedLine __del__ = lambda self: None ClickedLine_swigregister = _cprim.ClickedLine_swigregister ClickedLine_swigregister(ClickedLine) def DrawLipids(obj, lipids, molHnd, atom_colour_vector, params, global_params): return _cprim.DrawLipids(obj, lipids, molHnd, atom_colour_vector, params, global_params) DrawLipids = _cprim.DrawLipids def DrawBasePairs(obj, bp, splineinfo, params): return _cprim.DrawBasePairs(obj, bp, splineinfo, params) DrawBasePairs = _cprim.DrawBasePairs def DrawBaseBlocks(obj, molHnd, selHnd, selAtoms, nSelAtoms, atom_colour_vector, params): return _cprim.DrawBaseBlocks(obj, molHnd, selHnd, selAtoms, nSelAtoms, atom_colour_vector, params) DrawBaseBlocks = _cprim.DrawBaseBlocks def DrawSugarBlocks(obj, molHnd, selHnd, selAtoms, nSelAtoms, atom_colour_vector, params, global_params, hb_params_array=None): return _cprim.DrawSugarBlocks(obj, molHnd, selHnd, selAtoms, nSelAtoms, atom_colour_vector, params, global_params, hb_params_array) DrawSugarBlocks = _cprim.DrawSugarBlocks def DrawAnisoU(obj, selHndin, selAtoms, nSelAtoms, atom_colour_vector, atomRadii, style, scale, global_params): return _cprim.DrawAnisoU(obj, selHndin, selAtoms, nSelAtoms, atom_colour_vector, atomRadii, style, scale, global_params) DrawAnisoU = _cprim.DrawAnisoU def DrawCircles(obj, connectivity, atom_colour_vector, params, global_params, stick_colour): return _cprim.DrawCircles(obj, connectivity, atom_colour_vector, params, global_params, stick_colour) DrawCircles = _cprim.DrawCircles def DrawImposterSpheres(obj, connectivity, atom_colour_vector, params, global_params, atomRadii): return _cprim.DrawImposterSpheres(obj, connectivity, atom_colour_vector, params, global_params, atomRadii) DrawImposterSpheres = _cprim.DrawImposterSpheres def DrawBlobEllipsoids(obj, selHnd, connectivity, atom_colour_vector, params, global_params): return _cprim.DrawBlobEllipsoids(obj, selHnd, connectivity, atom_colour_vector, params, global_params) DrawBlobEllipsoids = _cprim.DrawBlobEllipsoids def DrawSimpleConnection(*args): return _cprim.DrawSimpleConnection(*args) DrawSimpleConnection = _cprim.DrawSimpleConnection def DrawSimpleConnectionColourVec(*args): return _cprim.DrawSimpleConnectionColourVec(*args) DrawSimpleConnectionColourVec = _cprim.DrawSimpleConnectionColourVec def DrawSimpleConnectionTags(obj, conn, colour, style, width, labelstyle, labelcolour, family, weight, slant, size, tags, selTags): return _cprim.DrawSimpleConnectionTags(obj, conn, colour, style, width, labelstyle, labelcolour, family, weight, slant, size, tags, selTags) DrawSimpleConnectionTags = _cprim.DrawSimpleConnectionTags def DrawSimpleConnectionColourVecTags(obj, conn, colour, style, width, labelstyle, labelcolf, family, weight, slant, size, tags, selTags): return _cprim.DrawSimpleConnectionColourVecTags(obj, conn, colour, style, width, labelstyle, labelcolf, family, weight, slant, size, tags, selTags) DrawSimpleConnectionColourVecTags = _cprim.DrawSimpleConnectionColourVecTags def build_spline(splineinfo, obj, mode, params, global_params, texture, bumpmap): return _cprim.build_spline(splineinfo, obj, mode, params, global_params, texture, bumpmap) build_spline = _cprim.build_spline def GetPointsInVolume(obj, atoms, volume): return _cprim.GetPointsInVolume(obj, atoms, volume) GetPointsInVolume = _cprim.GetPointsInVolume def FindPoint(obj, primorigin, xyzbox, symmetry=1): return _cprim.FindPoint(obj, primorigin, xyzbox, symmetry) FindPoint = _cprim.FindPoint def FindLine(*args): return _cprim.FindLine(*args) FindLine = _cprim.FindLine def AddTextLabel(*args): return _cprim.AddTextLabel(*args) AddTextLabel = _cprim.AddTextLabel def DeleteTextLabel(obj, text_id): return _cprim.DeleteTextLabel(obj, text_id) DeleteTextLabel = _cprim.DeleteTextLabel def AddBillBoardImage(obj, filename, pcarts): return _cprim.AddBillBoardImage(obj, filename, pcarts) AddBillBoardImage = _cprim.AddBillBoardImage def AddBillBoardTextLabel(obj, x, y, label): return _cprim.AddBillBoardTextLabel(obj, x, y, label) AddBillBoardTextLabel = _cprim.AddBillBoardTextLabel def GetTextIDS(obj): return _cprim.GetTextIDS(obj) GetTextIDS = _cprim.GetTextIDS def GetNumberOfTextIDS(obj): return _cprim.GetNumberOfTextIDS(obj) GetNumberOfTextIDS = _cprim.GetNumberOfTextIDS def SetTextString(*args): return _cprim.SetTextString(*args) SetTextString = _cprim.SetTextString def GetTextString(obj, text_id): return _cprim.GetTextString(obj, text_id) GetTextString = _cprim.GetTextString class ConnectivityDraw(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, ConnectivityDraw, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, ConnectivityDraw, name) __repr__ = _swig_repr __swig_setmethods__["molhnd"] = _cprim.ConnectivityDraw_molhnd_set __swig_getmethods__["molhnd"] = _cprim.ConnectivityDraw_molhnd_get if _newclass: molhnd = _swig_property(_cprim.ConnectivityDraw_molhnd_get, _cprim.ConnectivityDraw_molhnd_set) __swig_setmethods__["all_cart"] = _cprim.ConnectivityDraw_all_cart_set __swig_getmethods__["all_cart"] = _cprim.ConnectivityDraw_all_cart_get if _newclass: all_cart = _swig_property(_cprim.ConnectivityDraw_all_cart_get, _cprim.ConnectivityDraw_all_cart_set) def SetParametersAndCalculate(self, connectivity_in, molhnd, obj, mode, params, global_params, nSelAtoms, at_col_vec, atomRadii, splineinfo_ribbon, splineinfo_worm, texture, bumpmap, stick_colour=-1, side_to_ribbon=0, side_to_worm=0, bonds_mode=DRAW_ALL_BONDS): return _cprim.ConnectivityDraw_SetParametersAndCalculate(self, connectivity_in, molhnd, obj, mode, params, global_params, nSelAtoms, at_col_vec, atomRadii, splineinfo_ribbon, splineinfo_worm, texture, bumpmap, stick_colour, side_to_ribbon, side_to_worm, bonds_mode) def __init__(self, *args): this = _cprim.new_ConnectivityDraw(*args) try: self.this.append(this) except: self.this = this def RedrawPrimitives(self, obj, connectivity, mode, params, global_params, nSelAtoms, at_col_vec, atomRadii, splineinfo_ribbon, splineinfo_worm, texture, bumpmap, stick_colour=-1, side_to_ribbon=0, side_to_worm=0, bonds_mode=DRAW_ALL_BONDS): return _cprim.ConnectivityDraw_RedrawPrimitives(self, obj, connectivity, mode, params, global_params, nSelAtoms, at_col_vec, atomRadii, splineinfo_ribbon, splineinfo_worm, texture, bumpmap, stick_colour, side_to_ribbon, side_to_worm, bonds_mode) __swig_destroy__ = _cprim.delete_ConnectivityDraw __del__ = lambda self: None ConnectivityDraw_swigregister = _cprim.ConnectivityDraw_swigregister ConnectivityDraw_swigregister(ConnectivityDraw) def build_beta_surface(molH, atom_selHnd_in, obj, params, atom_colour_vector): return _cprim.build_beta_surface(molH, atom_selHnd_in, obj, params, atom_colour_vector) build_beta_surface = _cprim.build_beta_surface class Displayobject(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, Displayobject, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, Displayobject, name) __repr__ = _swig_repr __swig_setmethods__["camera_quat"] = _cprim.Displayobject_camera_quat_set __swig_getmethods__["camera_quat"] = _cprim.Displayobject_camera_quat_get if _newclass: camera_quat = _swig_property(_cprim.Displayobject_camera_quat_get, _cprim.Displayobject_camera_quat_set) __swig_setmethods__["camera_origin"] = _cprim.Displayobject_camera_origin_set __swig_getmethods__["camera_origin"] = _cprim.Displayobject_camera_origin_get if _newclass: camera_origin = _swig_property(_cprim.Displayobject_camera_origin_get, _cprim.Displayobject_camera_origin_set) __swig_setmethods__["anchored"] = _cprim.Displayobject_anchored_set __swig_getmethods__["anchored"] = _cprim.Displayobject_anchored_get if _newclass: anchored = _swig_property(_cprim.Displayobject_anchored_get, _cprim.Displayobject_anchored_set) def GetPrimitives(self): return _cprim.Displayobject_GetPrimitives(self) def GetSurfacePrimitives(self): return _cprim.Displayobject_GetSurfacePrimitives(self) def GetImagePrimitives(self): return _cprim.Displayobject_GetImagePrimitives(self) def GetTextPrimitives(self): return _cprim.Displayobject_GetTextPrimitives(self) def GetBillboardPrimitives(self): return _cprim.Displayobject_GetBillboardPrimitives(self) def GetImposterPrimitives(self): return _cprim.Displayobject_GetImposterPrimitives(self) def GetNumberOfPrimitives(self): return _cprim.Displayobject_GetNumberOfPrimitives(self) def GetNumberOfSurfacePrimitives(self): return _cprim.Displayobject_GetNumberOfSurfacePrimitives(self) def GetNumberOfImagePrimitives(self): return _cprim.Displayobject_GetNumberOfImagePrimitives(self) def GetNumberOfTextPrimitives(self): return _cprim.Displayobject_GetNumberOfTextPrimitives(self) def GetNumberOfBillboardPrimitives(self): return _cprim.Displayobject_GetNumberOfBillboardPrimitives(self) def GetNumberOfImposterPrimitives(self): return _cprim.Displayobject_GetNumberOfImposterPrimitives(self) __swig_setmethods__["symm_mat"] = _cprim.Displayobject_symm_mat_set __swig_getmethods__["symm_mat"] = _cprim.Displayobject_symm_mat_get if _newclass: symm_mat = _swig_property(_cprim.Displayobject_symm_mat_get, _cprim.Displayobject_symm_mat_set) __swig_setmethods__["symm_nos"] = _cprim.Displayobject_symm_nos_set __swig_getmethods__["symm_nos"] = _cprim.Displayobject_symm_nos_get if _newclass: symm_nos = _swig_property(_cprim.Displayobject_symm_nos_get, _cprim.Displayobject_symm_nos_set) __swig_setmethods__["unit_cell"] = _cprim.Displayobject_unit_cell_set __swig_getmethods__["unit_cell"] = _cprim.Displayobject_unit_cell_get if _newclass: unit_cell = _swig_property(_cprim.Displayobject_unit_cell_get, _cprim.Displayobject_unit_cell_set) __swig_setmethods__["origin"] = _cprim.Displayobject_origin_set __swig_getmethods__["origin"] = _cprim.Displayobject_origin_get if _newclass: origin = _swig_property(_cprim.Displayobject_origin_get, _cprim.Displayobject_origin_set) __swig_setmethods__["com"] = _cprim.Displayobject_com_set __swig_getmethods__["com"] = _cprim.Displayobject_com_get if _newclass: com = _swig_property(_cprim.Displayobject_com_get, _cprim.Displayobject_com_set) __swig_setmethods__["visible"] = _cprim.Displayobject_visible_set __swig_getmethods__["visible"] = _cprim.Displayobject_visible_get if _newclass: visible = _swig_property(_cprim.Displayobject_visible_get, _cprim.Displayobject_visible_set) __swig_setmethods__["rot"] = _cprim.Displayobject_rot_set __swig_getmethods__["rot"] = _cprim.Displayobject_rot_get if _newclass: rot = _swig_property(_cprim.Displayobject_rot_get, _cprim.Displayobject_rot_set) __swig_setmethods__["drot"] = _cprim.Displayobject_drot_set __swig_getmethods__["drot"] = _cprim.Displayobject_drot_get if _newclass: drot = _swig_property(_cprim.Displayobject_drot_get, _cprim.Displayobject_drot_set) __swig_setmethods__["dx"] = _cprim.Displayobject_dx_set __swig_getmethods__["dx"] = _cprim.Displayobject_dx_get if _newclass: dx = _swig_property(_cprim.Displayobject_dx_get, _cprim.Displayobject_dx_set) __swig_setmethods__["dy"] = _cprim.Displayobject_dy_set __swig_getmethods__["dy"] = _cprim.Displayobject_dy_get if _newclass: dy = _swig_property(_cprim.Displayobject_dy_get, _cprim.Displayobject_dy_set) __swig_setmethods__["dz"] = _cprim.Displayobject_dz_set __swig_getmethods__["dz"] = _cprim.Displayobject_dz_get if _newclass: dz = _swig_property(_cprim.Displayobject_dz_get, _cprim.Displayobject_dz_set) __swig_setmethods__["quat"] = _cprim.Displayobject_quat_set __swig_getmethods__["quat"] = _cprim.Displayobject_quat_get if _newclass: quat = _swig_property(_cprim.Displayobject_quat_get, _cprim.Displayobject_quat_set) __swig_setmethods__["lighting"] = _cprim.Displayobject_lighting_set __swig_getmethods__["lighting"] = _cprim.Displayobject_lighting_get if _newclass: lighting = _swig_property(_cprim.Displayobject_lighting_get, _cprim.Displayobject_lighting_set) __swig_setmethods__["do_rebuild"] = _cprim.Displayobject_do_rebuild_set __swig_getmethods__["do_rebuild"] = _cprim.Displayobject_do_rebuild_get if _newclass: do_rebuild = _swig_property(_cprim.Displayobject_do_rebuild_get, _cprim.Displayobject_do_rebuild_set) def rebuild(self, doit=1): return _cprim.Displayobject_rebuild(self, doit) def __init__(self): this = _cprim.new_Displayobject() try: self.this.append(this) except: self.this = this __swig_destroy__ = _cprim.delete_Displayobject __del__ = lambda self: None def changevis(self): return _cprim.Displayobject_changevis(self) def SetPrimitives(self, prims_in): return _cprim.Displayobject_SetPrimitives(self, prims_in) def add_surf_primitive(self, prim): return _cprim.Displayobject_add_surf_primitive(self, prim) def add_primitive(self, prim): return _cprim.Displayobject_add_primitive(self, prim) def add_text_primitive(self, prim): return _cprim.Displayobject_add_text_primitive(self, prim) def add_image_primitive(self, prim): return _cprim.Displayobject_add_image_primitive(self, prim) def add_billboard_primitive(self, prim): return _cprim.Displayobject_add_billboard_primitive(self, prim) def add_imposter_primitive(self, prim): return _cprim.Displayobject_add_imposter_primitive(self, prim) def increase_shininess(self, shininess): return _cprim.Displayobject_increase_shininess(self, shininess) def increase_specular(self, specular): return _cprim.Displayobject_increase_specular(self, specular) def increase_ambient(self, specular): return _cprim.Displayobject_increase_ambient(self, specular) def increase_diffuse(self, specular): return _cprim.Displayobject_increase_diffuse(self, specular) def increase_emission(self, specular): return _cprim.Displayobject_increase_emission(self, specular) def move(self, *args): return _cprim.Displayobject_move(self, *args) def rotate(self, dphi, dchi, dpsi): return _cprim.Displayobject_rotate(self, dphi, dchi, dpsi) def move_origin(self, *args): return _cprim.Displayobject_move_origin(self, *args) def get_origin(self): return _cprim.Displayobject_get_origin(self) def set_origin(self, *args): return _cprim.Displayobject_set_origin(self, *args) def get_drot(self): return _cprim.Displayobject_get_drot(self) def apply_rotation_about_axes(self, xaxis, yaxis, zaxis): return _cprim.Displayobject_apply_rotation_about_axes(self, xaxis, yaxis, zaxis) def get_rotation_matrix(self): return _cprim.Displayobject_get_rotation_matrix(self) def draw_lines(self, override_colour=None, transparent=0, selective_override=0, line_scaling=1.0): return _cprim.Displayobject_draw_lines(self, override_colour, transparent, selective_override, line_scaling) def draw_solids(self, override_colour=None, transparent=0, selective_override=0): return _cprim.Displayobject_draw_solids(self, override_colour, transparent, selective_override) def draw_imposters(self, override_colour=None, transparent=0, selective_override=0): return _cprim.Displayobject_draw_imposters(self, override_colour, transparent, selective_override) def draw_prims(self, override_colour=None, transparent=0, selective_override=0): return _cprim.Displayobject_draw_prims(self, override_colour, transparent, selective_override) def draw_surf_prims(self, override_colour=None, transparent=0, selective_override=0): return _cprim.Displayobject_draw_surf_prims(self, override_colour, transparent, selective_override) def draw(self, override_colour=None, transparent=0, selective_override=0): return _cprim.Displayobject_draw(self, override_colour, transparent, selective_override) def GetTransparentPrimitives(self): return _cprim.Displayobject_GetTransparentPrimitives(self) def draw_text(self, quat_in, radius, ox, oy, oz, fontScaling=1.0, nCustomPlanes=0): return _cprim.Displayobject_draw_text(self, quat_in, radius, ox, oy, oz, fontScaling, nCustomPlanes) def draw_text_background(self, quat_in, radius, ox, oy, oz, fontScaling=1.0): return _cprim.Displayobject_draw_text_background(self, quat_in, radius, ox, oy, oz, fontScaling) def draw_billboards(self, quat_in, radius, ox, oy, oz): return _cprim.Displayobject_draw_billboards(self, quat_in, radius, ox, oy, oz) def draw_images(self): return _cprim.Displayobject_draw_images(self) def clear_prims(self): return _cprim.Displayobject_clear_prims(self) def clear_images(self): return _cprim.Displayobject_clear_images(self) def clear_labels(self): return _cprim.Displayobject_clear_labels(self) def clear_billboards(self): return _cprim.Displayobject_clear_billboards(self) def get_rebuild(self): return _cprim.Displayobject_get_rebuild(self) def MoveTextPrimitiveInWindowCoords(self, *args): return _cprim.Displayobject_MoveTextPrimitiveInWindowCoords(self, *args) def findprimitive(self, xyzbox): return _cprim.Displayobject_findprimitive(self, xyzbox) def findtextprimitive(self, xyzbox): return _cprim.Displayobject_findtextprimitive(self, xyzbox) def get_primitive(self, i): return _cprim.Displayobject_get_primitive(self, i) def get_primorigin(self, i): return _cprim.Displayobject_get_primorigin(self, i) def get_primoriginrot(self, i): return _cprim.Displayobject_get_primoriginrot(self, i) def GetPrimitivesInVolume(self, volume): return _cprim.Displayobject_GetPrimitivesInVolume(self, volume) def rotate_point(self, x, y, z): return _cprim.Displayobject_rotate_point(self, x, y, z) def GetTextIDS(self): return _cprim.Displayobject_GetTextIDS(self) def SetTextFont(self, family, weight, slant, size, underline=0): return _cprim.Displayobject_SetTextFont(self, family, weight, slant, size, underline) def DeleteText(self): return _cprim.Displayobject_DeleteText(self) def GetNumberOfTextIDS(self): return _cprim.Displayobject_GetNumberOfTextIDS(self) def SetTextString(self, *args): return _cprim.Displayobject_SetTextString(self, *args) def GetTextString(self, text_id): return _cprim.Displayobject_GetTextString(self, text_id) def DeleteTextPrimitive(self, text_id): return _cprim.Displayobject_DeleteTextPrimitive(self, text_id) def BuildDisplayList(self): return _cprim.Displayobject_BuildDisplayList(self) def SetBuildDisplayList(self, build_or_not): return _cprim.Displayobject_SetBuildDisplayList(self, build_or_not) def SetUnitCell(self, cell_params): return _cprim.Displayobject_SetUnitCell(self, cell_params) def DrawUnitCell(self): return _cprim.Displayobject_DrawUnitCell(self) def GetUnitCellAlignmentRotation(self, axis): return _cprim.Displayobject_GetUnitCellAlignmentRotation(self, axis) def SetSymmetryMatrices(self, symm_mat_in): return _cprim.Displayobject_SetSymmetryMatrices(self, symm_mat_in) def SetSymmetryMatrixNumbers(self, symm_nos): return _cprim.Displayobject_SetSymmetryMatrixNumbers(self, symm_nos) def GetNumSymmetryMatrices(self): return _cprim.Displayobject_GetNumSymmetryMatrices(self) def GetSymmetryMatrix(self, i): return _cprim.Displayobject_GetSymmetryMatrix(self, i) def GetSymmetryMatrixNumber(self, i): return _cprim.Displayobject_GetSymmetryMatrixNumber(self, i) def ApplyTranslation(self): return _cprim.Displayobject_ApplyTranslation(self) def ApplyRotation(self): return _cprim.Displayobject_ApplyRotation(self) def ApplySymmetryMatrix(self, i): return _cprim.Displayobject_ApplySymmetryMatrix(self, i) def ApplySymmetryMatrix_RotationOnly(self, i): return _cprim.Displayobject_ApplySymmetryMatrix_RotationOnly(self, i) def SetDrawSymmetry(self, draw_symm_in): return _cprim.Displayobject_SetDrawSymmetry(self, draw_symm_in) def GetDrawSymmetry(self): return _cprim.Displayobject_GetDrawSymmetry(self) def SetDrawSymmetryColoured(self, symm_diff_colour_in): return _cprim.Displayobject_SetDrawSymmetryColoured(self, symm_diff_colour_in) def GetDrawSymmetryColoured(self): return _cprim.Displayobject_GetDrawSymmetryColoured(self) def SetDrawUnitCell(self, draw_unit_cell_in): return _cprim.Displayobject_SetDrawUnitCell(self, draw_unit_cell_in) def GetDrawUnitCell(self): return _cprim.Displayobject_GetDrawUnitCell(self) def IsAnchored(self): return _cprim.Displayobject_IsAnchored(self) def SetAnchored(self, _anchored): return _cprim.Displayobject_SetAnchored(self, _anchored) def ZoomIn(self): return _cprim.Displayobject_ZoomIn(self) def ZoomOut(self): return _cprim.Displayobject_ZoomOut(self) def DrawPostscript(self, fp, quat, radius, ox, oy, oz): return _cprim.Displayobject_DrawPostscript(self, fp, quat, radius, ox, oy, oz) def DrawPovRay(self, fp, quat, radius, ox, oy, oz): return _cprim.Displayobject_DrawPovRay(self, fp, quat, radius, ox, oy, oz) def OutputTextLabels(self, fp, quat, radius, ox, oy, oz): return _cprim.Displayobject_OutputTextLabels(self, fp, quat, radius, ox, oy, oz) def SetAlpha(self, arg2): return _cprim.Displayobject_SetAlpha(self, arg2) def GetAlpha(self): return _cprim.Displayobject_GetAlpha(self) def set_transparent(self, trans_in): return _cprim.Displayobject_set_transparent(self, trans_in) def get_transparent(self): return _cprim.Displayobject_get_transparent(self) def reInitializeTextPrims(self): return _cprim.Displayobject_reInitializeTextPrims(self) def GetUnitCell(self): return _cprim.Displayobject_GetUnitCell(self) def GetSymmetryMatrices(self): return _cprim.Displayobject_GetSymmetryMatrices(self) def SetOccDataAttrib(self, occDataAttrib_in): return _cprim.Displayobject_SetOccDataAttrib(self, occDataAttrib_in) def forceRegenerateSurfaceArrays(self): return _cprim.Displayobject_forceRegenerateSurfaceArrays(self) def GetUseVBO(self): return _cprim.Displayobject_GetUseVBO(self) def SetUseVBO(self, _useVBO): return _cprim.Displayobject_SetUseVBO(self, _useVBO) def GetUseVertexArrays(self): return _cprim.Displayobject_GetUseVertexArrays(self) def SetUseVertexArrays(self, _useVertexArrays): return _cprim.Displayobject_SetUseVertexArrays(self, _useVertexArrays) Displayobject_swigregister = _cprim.Displayobject_swigregister Displayobject_swigregister(Displayobject) def DrawSortedTransparentPrimitives(objs, acsize, xoff, yoff, jarray, axes, antialias, rebuilt): return _cprim.DrawSortedTransparentPrimitives(objs, acsize, xoff, yoff, jarray, axes, antialias, rebuilt) DrawSortedTransparentPrimitives = _cprim.DrawSortedTransparentPrimitives _cprim.NOCOLOURREP_swigconstant(_cprim) NOCOLOURREP = _cprim.NOCOLOURREP _cprim.RGBCOLOURREP_swigconstant(_cprim) RGBCOLOURREP = _cprim.RGBCOLOURREP _cprim.HSVCOLOURREP_swigconstant(_cprim) HSVCOLOURREP = _cprim.HSVCOLOURREP class RGBReps(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, RGBReps, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, RGBReps, name) __repr__ = _swig_repr def __init__(self, *args): this = _cprim.new_RGBReps(*args) try: self.this.append(this) except: self.this = this __swig_destroy__ = _cprim.delete_RGBReps __del__ = lambda self: None __swig_getmethods__["SetFile"] = lambda x: _cprim.RGBReps_SetFile if _newclass: SetFile = staticmethod(_cprim.RGBReps_SetFile) __swig_getmethods__["GetColours"] = lambda x: _cprim.RGBReps_GetColours if _newclass: GetColours = staticmethod(_cprim.RGBReps_GetColours) __swig_getmethods__["GetColourP"] = lambda x: _cprim.RGBReps_GetColourP if _newclass: GetColourP = staticmethod(_cprim.RGBReps_GetColourP) __swig_getmethods__["GetColourHSV"] = lambda x: _cprim.RGBReps_GetColourHSV if _newclass: GetColourHSV = staticmethod(_cprim.RGBReps_GetColourHSV) __swig_getmethods__["GetColourDefinitions"] = lambda x: _cprim.RGBReps_GetColourDefinitions if _newclass: GetColourDefinitions = staticmethod(_cprim.RGBReps_GetColourDefinitions) __swig_getmethods__["GetNameOfColour"] = lambda x: _cprim.RGBReps_GetNameOfColour if _newclass: GetNameOfColour = staticmethod(_cprim.RGBReps_GetNameOfColour) __swig_getmethods__["GetColour"] = lambda x: _cprim.RGBReps_GetColour if _newclass: GetColour = staticmethod(_cprim.RGBReps_GetColour) __swig_getmethods__["GetNumberOfColours"] = lambda x: _cprim.RGBReps_GetNumberOfColours if _newclass: GetNumberOfColours = staticmethod(_cprim.RGBReps_GetNumberOfColours) __swig_getmethods__["AddColour"] = lambda x: _cprim.RGBReps_AddColour if _newclass: AddColour = staticmethod(_cprim.RGBReps_AddColour) __swig_getmethods__["ChangeColour"] = lambda x: _cprim.RGBReps_ChangeColour if _newclass: ChangeColour = staticmethod(_cprim.RGBReps_ChangeColour) __swig_getmethods__["DeleteColour"] = lambda x: _cprim.RGBReps_DeleteColour if _newclass: DeleteColour = staticmethod(_cprim.RGBReps_DeleteColour) __swig_getmethods__["GetColourNumber"] = lambda x: _cprim.RGBReps_GetColourNumber if _newclass: GetColourNumber = staticmethod(_cprim.RGBReps_GetColourNumber) __swig_getmethods__["GetColourNumbers"] = lambda x: _cprim.RGBReps_GetColourNumbers if _newclass: GetColourNumbers = staticmethod(_cprim.RGBReps_GetColourNumbers) __swig_getmethods__["hsvtorgb"] = lambda x: _cprim.RGBReps_hsvtorgb if _newclass: hsvtorgb = staticmethod(_cprim.RGBReps_hsvtorgb) __swig_getmethods__["rgbtohsv"] = lambda x: _cprim.RGBReps_rgbtohsv if _newclass: rgbtohsv = staticmethod(_cprim.RGBReps_rgbtohsv) __swig_getmethods__["SetBackgroundColour"] = lambda x: _cprim.RGBReps_SetBackgroundColour if _newclass: SetBackgroundColour = staticmethod(_cprim.RGBReps_SetBackgroundColour) __swig_getmethods__["clear"] = lambda x: _cprim.RGBReps_clear if _newclass: clear = staticmethod(_cprim.RGBReps_clear) RGBReps_swigregister = _cprim.RGBReps_swigregister RGBReps_swigregister(RGBReps) def RGBReps_SetFile(*args): return _cprim.RGBReps_SetFile(*args) RGBReps_SetFile = _cprim.RGBReps_SetFile def RGBReps_GetColours(): return _cprim.RGBReps_GetColours() RGBReps_GetColours = _cprim.RGBReps_GetColours def RGBReps_GetColourP(i): return _cprim.RGBReps_GetColourP(i) RGBReps_GetColourP = _cprim.RGBReps_GetColourP def RGBReps_GetColourHSV(i): return _cprim.RGBReps_GetColourHSV(i) RGBReps_GetColourHSV = _cprim.RGBReps_GetColourHSV def RGBReps_GetColourDefinitions(codes, mode): return _cprim.RGBReps_GetColourDefinitions(codes, mode) RGBReps_GetColourDefinitions = _cprim.RGBReps_GetColourDefinitions def RGBReps_GetNameOfColour(i): return _cprim.RGBReps_GetNameOfColour(i) RGBReps_GetNameOfColour = _cprim.RGBReps_GetNameOfColour def RGBReps_GetColour(*args): return _cprim.RGBReps_GetColour(*args) RGBReps_GetColour = _cprim.RGBReps_GetColour def RGBReps_GetNumberOfColours(): return _cprim.RGBReps_GetNumberOfColours() RGBReps_GetNumberOfColours = _cprim.RGBReps_GetNumberOfColours def RGBReps_AddColour(colour, r, g, b, a=255.0): return _cprim.RGBReps_AddColour(colour, r, g, b, a) RGBReps_AddColour = _cprim.RGBReps_AddColour def RGBReps_ChangeColour(colour, r, g, b, a=255.0): return _cprim.RGBReps_ChangeColour(colour, r, g, b, a) RGBReps_ChangeColour = _cprim.RGBReps_ChangeColour def RGBReps_DeleteColour(colour): return _cprim.RGBReps_DeleteColour(colour) RGBReps_DeleteColour = _cprim.RGBReps_DeleteColour def RGBReps_GetColourNumber(name): return _cprim.RGBReps_GetColourNumber(name) RGBReps_GetColourNumber = _cprim.RGBReps_GetColourNumber def RGBReps_GetColourNumbers(names): return _cprim.RGBReps_GetColourNumbers(names) RGBReps_GetColourNumbers = _cprim.RGBReps_GetColourNumbers def RGBReps_hsvtorgb(*args): return _cprim.RGBReps_hsvtorgb(*args) RGBReps_hsvtorgb = _cprim.RGBReps_hsvtorgb def RGBReps_rgbtohsv(*args): return _cprim.RGBReps_rgbtohsv(*args) RGBReps_rgbtohsv = _cprim.RGBReps_rgbtohsv def RGBReps_SetBackgroundColour(*args): return _cprim.RGBReps_SetBackgroundColour(*args) RGBReps_SetBackgroundColour = _cprim.RGBReps_SetBackgroundColour def RGBReps_clear(): return _cprim.RGBReps_clear() RGBReps_clear = _cprim.RGBReps_clear class TexCoords(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, TexCoords, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, TexCoords, name) __repr__ = _swig_repr def __init__(self): this = _cprim.new_TexCoords() try: self.this.append(this) except: self.this = this __swig_destroy__ = _cprim.delete_TexCoords __del__ = lambda self: None __swig_getmethods__["GetCoords"] = lambda x: _cprim.TexCoords_GetCoords if _newclass: GetCoords = staticmethod(_cprim.TexCoords_GetCoords) __swig_getmethods__["AddCoords"] = lambda x: _cprim.TexCoords_AddCoords if _newclass: AddCoords = staticmethod(_cprim.TexCoords_AddCoords) TexCoords_swigregister = _cprim.TexCoords_swigregister TexCoords_swigregister(TexCoords) def TexCoords_GetCoords(name): return _cprim.TexCoords_GetCoords(name) TexCoords_GetCoords = _cprim.TexCoords_GetCoords def TexCoords_AddCoords(*args): return _cprim.TexCoords_AddCoords(*args) TexCoords_AddCoords = _cprim.TexCoords_AddCoords # This file is compatible with both classic and new-style classes.