示例#1
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_anchor_points() < self.min_anchor_points:
             mobject.insert_n_anchor_points(self.min_anchor_points)
     Camera.capture_mobjects(
         self, mobject_copies, 
         include_submobjects = False,
         excluded_mobjects = None,
     )
 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_anchor_points() < self.min_anchor_points:
             mobject.insert_n_anchor_points(self.min_anchor_points)
     Camera.capture_mobjects(
         self, mobject_copies,
         include_submobjects=False,
         excluded_mobjects=None,
     )
示例#3
0
 def capture_mobjects(self, *args, **kwargs):
     self.space_center = self.frame.get_center()
     self.realign_frame_shape()
     Camera.capture_mobjects(self, *args, **kwargs)
示例#4
0
 def capture_mobjects(self, mobjects, **kwargs):
     self.reset_rotation_matrix()
     Camera.capture_mobjects(self, mobjects, **kwargs)
示例#5
0
 def capture_mobjects(self, mobjects, **kwargs):
     # self.reset_frame_center()
     # self.realign_frame_shape()
     Camera.capture_mobjects(self, mobjects, **kwargs)