'**Arguments:**
data            Volume data to be rendered. *Must* be 4D numpy array (x, y, z, RGBA) with dtype=ubyte.
sliceDensity    Density of slices to render through the volume. A value of 1 means one slice per voxel.
smooth          (bool) If True, the volume slices are rendered with linear interpolation'

def __init__(self, data, sliceDensity=1, smooth=True, glOptions='translucent'):

    self.sliceDensity = sliceDensity
    self.smooth = smooth
    self.data = None
    self._needUpload = False
    self.texture = None
    GLGraphicsItem.__init__(self)
    self.setGLOptions(glOptions)
    self.setData(data)
