class_docstr: **Bases:** :class:`GLGraphicsItem <pyqtgraph.opengl.GLGraphicsItem>`
  
  Displays a wire-frame box.
code: def paint(self):
      # glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA)
      # glEnable( GL_BLEND )
      # glEnable( GL_ALPHA_TEST )
      ##glAlphaFunc( GL_ALWAYS,0.5 )
      # glEnable( GL_POINT_SMOOTH )
      # glDisable( GL_DEPTH_TEST )
      self.setupGLState()
  
      glBegin(GL_LINES)
  
      glColor4f(*self.color().getRgbF())
      x, y, z = self.size()
      glVertex3f(0, 0, 0)
      glVertex3f(0, 0, z)
      glVertex3f(x, 0, 0)
      glVertex3f(x, 0, z)
      glVertex3f(0, y, 0)
      glVertex3f(0, y, z)
      glVertex3f(x, y, 0)
      glVertex3f(x, y, z)
  
      glVertex3f(0, 0, 0)
      glVertex3f(0, y, 0)
      glVertex3f(x, 0, 0)
      glVertex3f(x, y, 0)
      glVertex3f(0, 0, z)
      glVertex3f(0, y, z)
      glVertex3f(x, 0, z)
      glVertex3f(x, y, z)
  
      glVertex3f(0, 0, 0)
      glVertex3f(x, 0, 0)
      glVertex3f(0, y, 0)
      glVertex3f(x, y, 0)
      glVertex3f(0, 0, z)
      glVertex3f(x, 0, z)
      glVertex3f(0, y, z)
      glVertex3f(x, y, z)
  
      glEnd()
  
file_path: pyqtgraph/pyqtgraph/opengl/items/GLBoxItem.py
imports: from OpenGL.GL import *
  from ...None import functions
  from ...Qt import QtGui
  from ..GLGraphicsItem import GLGraphicsItem
label_desc: Use image node_id 6 for calling the GLBoxItem obj's underlying member method code with example usage: obj.paint() without return types