def from_object(self, obj):
        if isinstance(obj, basestring):
            obj = import_string(obj)
        for key in dir(obj):
            if key.isupper():
                self[key] = getattr(obj, key)
Given a vtkPolyData, returns a numpy int8 array that contains
dataset/ETHPy150Open baseblack/ReproWeb/3rdParty/python/flask/config.py/Config.from_object--crossover with--dataset/ETHPy150Open RobotLocomotion/director/src/python/director/geometryencoder.py/encodePolyData