Exemple #1
0
    def __init__(self, scene=None):
        """
        Initialises the Image class object
        
        @param scene: The Scene object to add to
        @type scene: Scene object
        """
        debugMsg("Called Image.__init__()")
        Item.__init__(self)

        if scene is not None:
            self.renderer = scene.renderer
Exemple #2
0
    def __init__(self, scene):
        """
        Initialisation of abstract plot class

        @param scene: The scene with which to associate the plot
        @type scene: Scene object
        """
        debugMsg("Called Plot.__init__()")
        Item.__init__(self)  # initialisation of base class
    
        self.title = None
        self.xlabel = None
        self.ylabel = None
        self.zlabel = None

        if scene is None:
            raise ValueError, "You must specify a scene object"
Exemple #3
0
 def __init__(self):
     """
     Initialisation of the camera object
     """
     debugMsg("Called Camera.__init__()")
     Item.__init__(self)  # initialisation of base class
Exemple #4
0
 def __init__(self):
     """
     Initialisation of the text object
     """
     debugMsg("Called Text.__init__()")
     Item.__init__(self)  # initialisation of base class
Exemple #5
0
 def __init__(self):
     """
     Initialisation of the plane object
     """
     debugMsg("Called Plane.__init__()")
     Item.__init__(self)  # initialisation of base class