Exemple #1
0
 def capture_mobjects(self, mobjects, **kwargs):
     self.update_sub_cameras()
     for imfc in self.image_mobjects_from_cameras:
         to_add = list(mobjects)
         if not self.allow_cameras_to_capture_their_own_display:
             to_add = list_difference_update(
                 to_add, imfc.get_family()
             )
         imfc.camera.capture_mobjects(to_add, **kwargs)
     Camera.capture_mobjects(self, mobjects, **kwargs)
 def capture_mobjects(self, mobjects, **kwargs):
     mobjects = self.get_mobjects_to_display(mobjects, **kwargs)
     if self.allow_object_intrusion:
         mobject_copies = mobjects
     else:
         mobject_copies = [mobject.copy() for mobject in mobjects]
     for mobject in mobject_copies:
         if isinstance(mobject, VMobject) and \
                 0 < mobject.get_num_curves() < self.min_num_curves:
             mobject.insert_n_curves(self.min_num_curves)
     Camera.capture_mobjects(
         self, mobject_copies,
         excluded_mobjects=None,
     )
Exemple #3
0
 def capture_mobjects(self, mobjects, **kwargs):
     mobjects = self.get_mobjects_to_display(mobjects, **kwargs)
     if self.allow_object_intrusion:
         mobject_copies = mobjects
     else:
         mobject_copies = [mobject.copy() for mobject in mobjects]
     for mobject in mobject_copies:
         if isinstance(mobject, VMobject) and \
                 0 < mobject.get_num_curves() < self.min_num_curves:
             mobject.insert_n_curves(self.min_num_curves)
     Camera.capture_mobjects(
         self, mobject_copies,
         include_submobjects=False,
         excluded_mobjects=None,
     )
Exemple #4
0
 def capture_mobjects(self, mobjects, **kwargs):
     # self.reset_frame_center()
     # self.realign_frame_shape()
     Camera.capture_mobjects(self, mobjects, **kwargs)
Exemple #5
0
 def capture_mobjects(self, mobjects, **kwargs):
     self.reset_rotation_matrix()
     Camera.capture_mobjects(self, mobjects, **kwargs)
Exemple #6
0
 def capture_mobjects(self, mobjects, **kwargs):
     # self.reset_frame_center()
     # self.realign_frame_shape()
     Camera.capture_mobjects(self, mobjects, **kwargs)
Exemple #7
0
 def capture_mobjects(self, mobjects, **kwargs):
     self.reset_rotation_matrix()
     Camera.capture_mobjects(self, mobjects, **kwargs)