def __init__(self, obj, view): self.objectItem = CreateObjectItem(obj) Renderer.RenderObjects(self.objectItem, view)