parameters: (self, **kwargs)
docstring: Set the options for this cube. (public)
docstring_summary: Set the options for this cube. (public)
docstring_tokens: Set the options for this cube . ( public )
function: def update(self, **kwargs):
          """
          Set the options for this cube. (public)
          """
          super(CubeSource, self).update(**kwargs)
  
          if self.isOptionValid('center'):
              self._vtksource.SetCenter(self.getOption('center'))
  
          if self.isOptionValid('lengths'):
              x, y, z = self.getOption('lengths')
              self._vtksource.SetXLength(x)
              self._vtksource.SetYLength(y)
              self._vtksource.SetZLength(z)
  
          if self.isOptionValid('bounds'):
              self._vtksource.SetBounds(*self.getOption('bounds'))
function_tokens: def update ( self , * * kwargs ) : super ( CubeSource , self ) . update ( * * kwargs ) if self . isOptionValid ( 'center' ) : self . _vtksource . SetCenter ( self . getOption ( 'center' ) ) if self . isOptionValid ( 'lengths' ) : x , y , z = self . getOption ( 'lengths' ) self . _vtksource . SetXLength ( x ) self . _vtksource . SetYLength ( y ) self . _vtksource . SetZLength ( z ) if self . isOptionValid ( 'bounds' ) : self . _vtksource . SetBounds ( * self . getOption ( 'bounds' ) )