The plugin "3D Dump98" creates an ascii list of all activated voxels and their sub brick values. It does not however output the XYZ (mm) coordinates but the IJK (index) coordinates instead. If the plugin will address your needs, I can modify it to add the XYZ coordinate output.