/// Gets the color of the specified position.

        /**
         * \param x The 'x' position of the voxel to get.
         * \param y The 'y' position of the voxel to get.
         * \param z The 'z' position of the voxel to get.
         * \return The color of the voxel.
         */
        public QuantizedColor GetVoxel(int x, int y, int z)
        {
            // The initialization can fail (bad filename, database locked, etc), so the volume handle could still be null.
            if (volumeHandle.HasValue)
            {
                return(CubiquityDLL.GetQuantizedColorVoxel(volumeHandle.Value, x, y, z));
            }
            else
            {
                return(new QuantizedColor());
            }
        }