Ejemplo n.º 1
0
from OSGWindowPy import *

if original_dlopen_flags:
   sys.setdlopenflags(original_dlopen_flags)

def _fc_cmp(self, other):
   """ Comparison operator for field containers. """
   id_self = None
   id_other = None
   if not self is None:
      id_self = self.getId()
   if not other is None:
      id_other = other.getId()
      
   return cmp(id_self, id_other)

def _fc_hash(self):
   if self is None:
      return -1
   else:
      return self.getId()

for (n,c) in OSGWindowPy.__dict__.iteritems():
  if isinstance(c,type) and (AttachmentContainer in c.__mro__):
    c.__cmp__  = _fc_cmp
    c.__hash__ = _fc_hash

# Add cored node types
import osg2.helpers.cored_node as cored_node
cored_node.addNodeCoreTypes(globals(), OSGWindowPy)
Ejemplo n.º 2
0
from OSGStatePy import *

if original_dlopen_flags:
   sys.setdlopenflags(original_dlopen_flags)

def _fc_cmp(self, other):
   """ Comparison operator for field containers. """
   id_self = None
   id_other = None
   if not self is None:
      id_self = self.getId()
   if not other is None:
      id_other = other.getId()
      
   return cmp(id_self, id_other)

def _fc_hash(self):
   if self is None:
      return -1
   else:
      return self.getId()

for (n,c) in OSGStatePy.__dict__.iteritems():
  if isinstance(c,type) and (AttachmentContainer in c.__mro__):
    c.__cmp__  = _fc_cmp
    c.__hash__ = _fc_hash

# Add cored node types
import osg2.helpers.cored_node as cored_node
cored_node.addNodeCoreTypes(globals(), OSGStatePy)
Ejemplo n.º 3
0
from OSGSystemPy import *

if original_dlopen_flags:
   sys.setdlopenflags(original_dlopen_flags)

def _fc_cmp(self, other):
   """ Comparison operator for field containers. """
   id_self = None
   id_other = None
   if not self is None:
      id_self = self.getId()
   if not other is None:
      id_other = other.getId()
      
   return cmp(id_self, id_other)

def _fc_hash(self):
   if self is None:
      return -1
   else:
      return self.getId()

for (n,c) in OSGSystemPy.__dict__.iteritems():
  if isinstance(c,type) and (AttachmentContainer in c.__mro__):
    c.__cmp__  = _fc_cmp
    c.__hash__ = _fc_hash

# Add cored node types
import osg2.helpers.cored_node as cored_node
cored_node.addNodeCoreTypes(globals(), OSGSystemPy)
Ejemplo n.º 4
0
from OSGScriptingPy import *

if original_dlopen_flags:
   sys.setdlopenflags(original_dlopen_flags)

def _fc_cmp(self, other):
   """ Comparison operator for field containers. """
   id_self = None
   id_other = None
   if not self is None:
      id_self = self.getId()
   if not other is None:
      id_other = other.getId()
      
   return cmp(id_self, id_other)

def _fc_hash(self):
   if self is None:
      return -1
   else:
      return self.getId()

for (n,c) in OSGScriptingPy.__dict__.iteritems():
  if isinstance(c,type) and (AttachmentContainer in c.__mro__):
    c.__cmp__  = _fc_cmp
    c.__hash__ = _fc_hash

# Add cored node types
import osg2.helpers.cored_node as cored_node
cored_node.addNodeCoreTypes(globals(), OSGScriptingPy)
Ejemplo n.º 5
0
    sys.setdlopenflags(original_dlopen_flags)


def _fc_cmp(self, other):
    """ Comparison operator for field containers. """
    id_self = None
    id_other = None
    if not self is None:
        id_self = self.getId()
    if not other is None:
        id_other = other.getId()

    return cmp(id_self, id_other)


def _fc_hash(self):
    if self is None:
        return -1
    else:
        return self.getId()


for (n, c) in OSGDynamicsPy.__dict__.iteritems():
    if isinstance(c, type) and (AttachmentContainer in c.__mro__):
        c.__cmp__ = _fc_cmp
        c.__hash__ = _fc_hash

# Add cored node types
import osg2.helpers.cored_node as cored_node
cored_node.addNodeCoreTypes(globals(), OSGDynamicsPy)
Ejemplo n.º 6
0

def _fc_cmp(self, other):
    """ Comparison operator for field containers. """
    id_self = None
    id_other = None
    if not self is None:
        id_self = self.getId()
    if not other is None:
        id_other = other.getId()

    return cmp(id_self, id_other)


def _fc_hash(self):
    if self is None:
        return -1
    else:
        return self.getId()


for (n, c) in OSGStatePy.__dict__.iteritems():
    if isinstance(c, type) and (AttachmentContainer in c.__mro__):
        c.__cmp__ = _fc_cmp
        c.__hash__ = _fc_hash

# Add cored node types
import osg2.helpers.cored_node as cored_node

cored_node.addNodeCoreTypes(globals(), OSGStatePy)
Ejemplo n.º 7
0
    sys.setdlopenflags(original_dlopen_flags)


def _fc_cmp(self, other):
    """ Comparison operator for field containers. """
    id_self = None
    id_other = None
    if not self is None:
        id_self = self.getId()
    if not other is None:
        id_other = other.getId()

    return cmp(id_self, id_other)


def _fc_hash(self):
    if self is None:
        return -1
    else:
        return self.getId()


for (n, c) in OSGTextPy.__dict__.iteritems():
    if isinstance(c, type) and (AttachmentContainer in c.__mro__):
        c.__cmp__ = _fc_cmp
        c.__hash__ = _fc_hash

# Add cored node types
import osg2.helpers.cored_node as cored_node
cored_node.addNodeCoreTypes(globals(), OSGTextPy)
Ejemplo n.º 8
0
from OSGContribCSMPy import *

if original_dlopen_flags:
   sys.setdlopenflags(original_dlopen_flags)

def _fc_cmp(self, other):
   """ Comparison operator for field containers. """
   id_self = None
   id_other = None
   if not self is None:
      id_self = self.getId()
   if not other is None:
      id_other = other.getId()
      
   return cmp(id_self, id_other)

def _fc_hash(self):
   if self is None:
      return -1
   else:
      return self.getId()

for (n,c) in OSGContribCSMPy.__dict__.iteritems():
  if isinstance(c,type) and (AttachmentContainer in c.__mro__):
    c.__cmp__  = _fc_cmp
    c.__hash__ = _fc_hash

# Add cored node types
import osg2.helpers.cored_node as cored_node
cored_node.addNodeCoreTypes(globals(), OSGContribCSMPy)
Ejemplo n.º 9
0
    sys.setdlopenflags(original_dlopen_flags)


def _fc_cmp(self, other):
    """ Comparison operator for field containers. """
    id_self = None
    id_other = None
    if not self is None:
        id_self = self.getId()
    if not other is None:
        id_other = other.getId()

    return cmp(id_self, id_other)


def _fc_hash(self):
    if self is None:
        return -1
    else:
        return self.getId()


for (n, c) in OSGClusterPy.__dict__.iteritems():
    if isinstance(c, type) and (AttachmentContainer in c.__mro__):
        c.__cmp__ = _fc_cmp
        c.__hash__ = _fc_hash

# Add cored node types
import osg2.helpers.cored_node as cored_node
cored_node.addNodeCoreTypes(globals(), OSGClusterPy)
Ejemplo n.º 10
0
from OSGFileIOPy import *

if original_dlopen_flags:
   sys.setdlopenflags(original_dlopen_flags)

def _fc_cmp(self, other):
   """ Comparison operator for field containers. """
   id_self = None
   id_other = None
   if not self is None:
      id_self = self.getId()
   if not other is None:
      id_other = other.getId()
      
   return cmp(id_self, id_other)

def _fc_hash(self):
   if self is None:
      return -1
   else:
      return self.getId()

for (n,c) in OSGFileIOPy.__dict__.iteritems():
  if isinstance(c,type) and (AttachmentContainer in c.__mro__):
    c.__cmp__  = _fc_cmp
    c.__hash__ = _fc_hash

# Add cored node types
import osg2.helpers.cored_node as cored_node
cored_node.addNodeCoreTypes(globals(), OSGFileIOPy)
Ejemplo n.º 11
0
from OSGGroupPy import *

if original_dlopen_flags:
   sys.setdlopenflags(original_dlopen_flags)

def _fc_cmp(self, other):
   """ Comparison operator for field containers. """
   id_self = None
   id_other = None
   if not self is None:
      id_self = self.getId()
   if not other is None:
      id_other = other.getId()
      
   return cmp(id_self, id_other)

def _fc_hash(self):
   if self is None:
      return -1
   else:
      return self.getId()

for (n,c) in OSGGroupPy.__dict__.iteritems():
  if isinstance(c,type) and (AttachmentContainer in c.__mro__):
    c.__cmp__  = _fc_cmp
    c.__hash__ = _fc_hash

# Add cored node types
import osg2.helpers.cored_node as cored_node
cored_node.addNodeCoreTypes(globals(), OSGGroupPy)
Ejemplo n.º 12
0
    sys.setdlopenflags(original_dlopen_flags)


def _fc_cmp(self, other):
    """ Comparison operator for field containers. """
    id_self = None
    id_other = None
    if not self is None:
        id_self = self.getId()
    if not other is None:
        id_other = other.getId()

    return cmp(id_self, id_other)


def _fc_hash(self):
    if self is None:
        return -1
    else:
        return self.getId()


for (n, c) in OSGScriptingPy.__dict__.iteritems():
    if isinstance(c, type) and (AttachmentContainer in c.__mro__):
        c.__cmp__ = _fc_cmp
        c.__hash__ = _fc_hash

# Add cored node types
import osg2.helpers.cored_node as cored_node
cored_node.addNodeCoreTypes(globals(), OSGScriptingPy)
Ejemplo n.º 13
0

def _fc_cmp(self, other):
    """ Comparison operator for field containers. """
    id_self = None
    id_other = None
    if not self is None:
        id_self = self.getId()
    if not other is None:
        id_other = other.getId()

    return cmp(id_self, id_other)


def _fc_hash(self):
    if self is None:
        return -1
    else:
        return self.getId()


for (n, c) in OSGTextPy.__dict__.iteritems():
    if isinstance(c, type) and (AttachmentContainer in c.__mro__):
        c.__cmp__ = _fc_cmp
        c.__hash__ = _fc_hash

# Add cored node types
import osg2.helpers.cored_node as cored_node

cored_node.addNodeCoreTypes(globals(), OSGTextPy)
Ejemplo n.º 14
0
    sys.setdlopenflags(original_dlopen_flags)


def _fc_cmp(self, other):
    """ Comparison operator for field containers. """
    id_self = None
    id_other = None
    if not self is None:
        id_self = self.getId()
    if not other is None:
        id_other = other.getId()

    return cmp(id_self, id_other)


def _fc_hash(self):
    if self is None:
        return -1
    else:
        return self.getId()


for (n, c) in OSGSystemPy.__dict__.iteritems():
    if isinstance(c, type) and (AttachmentContainer in c.__mro__):
        c.__cmp__ = _fc_cmp
        c.__hash__ = _fc_hash

# Add cored node types
import osg2.helpers.cored_node as cored_node
cored_node.addNodeCoreTypes(globals(), OSGSystemPy)
Ejemplo n.º 15
0
from OSGDrawablePy import *

if original_dlopen_flags:
   sys.setdlopenflags(original_dlopen_flags)

def _fc_cmp(self, other):
   """ Comparison operator for field containers. """
   id_self = None
   id_other = None
   if not self is None:
      id_self = self.getId()
   if not other is None:
      id_other = other.getId()
      
   return cmp(id_self, id_other)

def _fc_hash(self):
   if self is None:
      return -1
   else:
      return self.getId()

for (n,c) in OSGDrawablePy.__dict__.iteritems():
  if isinstance(c,type) and (AttachmentContainer in c.__mro__):
    c.__cmp__  = _fc_cmp
    c.__hash__ = _fc_hash

# Add cored node types
import osg2.helpers.cored_node as cored_node
cored_node.addNodeCoreTypes(globals(), OSGDrawablePy)
Ejemplo n.º 16
0
    sys.setdlopenflags(original_dlopen_flags)


def _fc_cmp(self, other):
    """ Comparison operator for field containers. """
    id_self = None
    id_other = None
    if not self is None:
        id_self = self.getId()
    if not other is None:
        id_other = other.getId()

    return cmp(id_self, id_other)


def _fc_hash(self):
    if self is None:
        return -1
    else:
        return self.getId()


for (n, c) in OSGEffectGroupsPy.__dict__.iteritems():
    if isinstance(c, type) and (AttachmentContainer in c.__mro__):
        c.__cmp__ = _fc_cmp
        c.__hash__ = _fc_hash

# Add cored node types
import osg2.helpers.cored_node as cored_node
cored_node.addNodeCoreTypes(globals(), OSGEffectGroupsPy)
Ejemplo n.º 17
0
    sys.setdlopenflags(original_dlopen_flags)


def _fc_cmp(self, other):
    """ Comparison operator for field containers. """
    id_self = None
    id_other = None
    if not self is None:
        id_self = self.getId()
    if not other is None:
        id_other = other.getId()

    return cmp(id_self, id_other)


def _fc_hash(self):
    if self is None:
        return -1
    else:
        return self.getId()


for (n, c) in OSGDrawablePy.__dict__.iteritems():
    if isinstance(c, type) and (AttachmentContainer in c.__mro__):
        c.__cmp__ = _fc_cmp
        c.__hash__ = _fc_hash

# Add cored node types
import osg2.helpers.cored_node as cored_node
cored_node.addNodeCoreTypes(globals(), OSGDrawablePy)
Ejemplo n.º 18
0
from OSGEffectGroupsPy import *

if original_dlopen_flags:
   sys.setdlopenflags(original_dlopen_flags)

def _fc_cmp(self, other):
   """ Comparison operator for field containers. """
   id_self = None
   id_other = None
   if not self is None:
      id_self = self.getId()
   if not other is None:
      id_other = other.getId()
      
   return cmp(id_self, id_other)

def _fc_hash(self):
   if self is None:
      return -1
   else:
      return self.getId()

for (n,c) in OSGEffectGroupsPy.__dict__.iteritems():
  if isinstance(c,type) and (AttachmentContainer in c.__mro__):
    c.__cmp__  = _fc_cmp
    c.__hash__ = _fc_hash

# Add cored node types
import osg2.helpers.cored_node as cored_node
cored_node.addNodeCoreTypes(globals(), OSGEffectGroupsPy)
Ejemplo n.º 19
0
    sys.setdlopenflags(original_dlopen_flags)


def _fc_cmp(self, other):
    """ Comparison operator for field containers. """
    id_self = None
    id_other = None
    if not self is None:
        id_self = self.getId()
    if not other is None:
        id_other = other.getId()

    return cmp(id_self, id_other)


def _fc_hash(self):
    if self is None:
        return -1
    else:
        return self.getId()


for (n, c) in OSGWindowXPy.__dict__.iteritems():
    if isinstance(c, type) and (AttachmentContainer in c.__mro__):
        c.__cmp__ = _fc_cmp
        c.__hash__ = _fc_hash

# Add cored node types
import osg2.helpers.cored_node as cored_node
cored_node.addNodeCoreTypes(globals(), OSGWindowXPy)
Ejemplo n.º 20
0
from OSGUtilPy import *

if original_dlopen_flags:
   sys.setdlopenflags(original_dlopen_flags)

def _fc_cmp(self, other):
   """ Comparison operator for field containers. """
   id_self = None
   id_other = None
   if not self is None:
      id_self = self.getId()
   if not other is None:
      id_other = other.getId()
      
   return cmp(id_self, id_other)

def _fc_hash(self):
   if self is None:
      return -1
   else:
      return self.getId()

for (n,c) in OSGUtilPy.__dict__.iteritems():
  if isinstance(c,type) and (AttachmentContainer in c.__mro__):
    c.__cmp__  = _fc_cmp
    c.__hash__ = _fc_hash

# Add cored node types
import osg2.helpers.cored_node as cored_node
cored_node.addNodeCoreTypes(globals(), OSGUtilPy)
Ejemplo n.º 21
0
    sys.setdlopenflags(original_dlopen_flags)


def _fc_cmp(self, other):
    """ Comparison operator for field containers. """
    id_self = None
    id_other = None
    if not self is None:
        id_self = self.getId()
    if not other is None:
        id_other = other.getId()

    return cmp(id_self, id_other)


def _fc_hash(self):
    if self is None:
        return -1
    else:
        return self.getId()


for (n, c) in OSGUtilPy.__dict__.iteritems():
    if isinstance(c, type) and (AttachmentContainer in c.__mro__):
        c.__cmp__ = _fc_cmp
        c.__hash__ = _fc_hash

# Add cored node types
import osg2.helpers.cored_node as cored_node
cored_node.addNodeCoreTypes(globals(), OSGUtilPy)
Ejemplo n.º 22
0
from OSGDynamicsPy import *

if original_dlopen_flags:
   sys.setdlopenflags(original_dlopen_flags)

def _fc_cmp(self, other):
   """ Comparison operator for field containers. """
   id_self = None
   id_other = None
   if not self is None:
      id_self = self.getId()
   if not other is None:
      id_other = other.getId()
      
   return cmp(id_self, id_other)

def _fc_hash(self):
   if self is None:
      return -1
   else:
      return self.getId()

for (n,c) in OSGDynamicsPy.__dict__.iteritems():
  if isinstance(c,type) and (AttachmentContainer in c.__mro__):
    c.__cmp__  = _fc_cmp
    c.__hash__ = _fc_hash

# Add cored node types
import osg2.helpers.cored_node as cored_node
cored_node.addNodeCoreTypes(globals(), OSGDynamicsPy)