useDynLib(dti,.registration=TRUE)

#exportPattern("^[^\\.]")

import(methods, parallel, oro.nifti, oro.dicom, adimpro, gsl, rgl, awsMethods, quadprog)
importFrom(graphics, plot)
exportClasses("dwi", "dtiData", "dtiTensor", "dtiIndices", "dwiQball",
              "dwiMixtensor", "dwiFiber", "dkiTensor", "dkiIndices")
exportMethods("show", "plot", "print", "summary", "dti.smooth", "dtiTensor",
              "dtiIndices", "dwiQball", "dwiMixtensor", "dwiMtCombine", 
              "dwiRiceBias", "dwiSqrtODF", "dkiTensor", "dkiIndices")
exportMethods("extract", "show3d", "tracking", "selectFibers", "reduceFibers",
              "touchingFibers", "combineFibers", "getmask", "sdpar", 
              "getsdofsb", "dwi.smooth", "dwi.smooth.ms")
export(dtiData, readDWIdata, subsetg, combineDWIdata, awssigmc, awslsigmc, afsigmc,
       aflsigmc, dkiIndices, showFAColorScale, tensor2medinria, medinria2tensor)
