class_docstr: Interaction tab for slice visualization.
  
  Attributes
  ----------
  name : str
      Name of the tab.
class_docstr_tok: ["Interaction","tab","for","slice","visualization",".","Attributes","--","--","--","--","--","name",":","str","Name","of","the","tab","."]
docstr: Build all the elements under the tab.
  
  Parameters
  ----------
  tab_id : int
      Id of the tab.
  tab_ui : TabUI
      FURY TabUI object for tabs panel.
  
  Notes
  -----
  tab_ui will removed once every all tabs adapt new build architecture.
docstr_tok: ["Build","all","the","elements","under","the","tab",".","Parameters","--","--","--","--","--","tab_id",":","int","Id","of","the","tab",".","tab_ui",":","TabUI","FURY","TabUI","object","for","tabs","panel",".","Notes","--","--","-","tab_ui","will","removed","once","every","all","tabs","adapt","new","build","architecture","."]
code: def build(self, tab_id, _tab_ui):
      """Build all the elements under the tab.
  
      Parameters
      ----------
      tab_id : int
          Id of the tab.
      tab_ui : TabUI
          FURY TabUI object for tabs panel.
  
      Notes
      -----
      tab_ui will removed once every all tabs adapt new build architecture.
      """
      self._tab_id = tab_id
  
      x_pos = 0.02
      self._opacity_toggle.position = (x_pos, 0.85)
      self._slice_x_toggle.position = (x_pos, 0.62)
      self._slice_y_toggle.position = (x_pos, 0.38)
      self._slice_z_toggle.position = (x_pos, 0.15)
  
      x_pos = 0.05
      self._slice_opacity_label.position = (x_pos, 0.85)
      self._slice_x_label.position = (x_pos, 0.62)
      self._slice_y_label.position = (x_pos, 0.38)
      self._slice_z_label.position = (x_pos, 0.15)
  
      x_pos = 0.10
      self._slice_opacity.position = (x_pos, 0.85)
      self._slice_x.position = (x_pos, 0.62)
      self._slice_y.position = (x_pos, 0.38)
      self._slice_z.position = (x_pos, 0.15)
  
      x_pos = 0.52
      self._voxel_label.position = (x_pos, 0.38)
  
      x_pos = 0.60
      self._voxel_data.position = (x_pos, 0.38)
  
      if not self._visualizer.rgb:
          x_pos = 0.52
          self._intensities_label.position = (x_pos, 0.85)
          self._colormap_switcher_label.position = (x_pos, 0.56)
  
          x_pos = 0.60
          self._intensities.position = (x_pos, 0.85)
          self._colormap_switcher.position = [
              (x_pos, 0.54),
              (0.63, 0.54),
              (0.69, 0.54),
          ]
  
          if len(self._visualizer.data_shape) == 4:
              x_pos = 0.52
              self._volume_label.position = (x_pos, 0.15)
  
              x_pos = 0.60
              self._volume.position = (x_pos, 0.15)
  
imports: import warnings
  from functools import partial
  import numpy
  from dipy.utils.optpkg import optional_package
  from dipy.viz.horizon.tab import HorizonTab, build_label, build_slider, build_switcher, build_checkbox
label_desc: Use image node_id 14 for calling the SlicesTab obj's underlying member method code with example usage: obj.build(tab_id, _tab_ui) without return types