1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
/// NiftiOutputterBase.h
/**
*/
#ifndef NIFTI_OUTPUTTER_BASE_H_
#define NIFTI_OUTPUTTER_BASE_H_
#include <string>
#include <map>
#include <math.h>
#include <vector>
#include "Basic3DOutputter.h"
#include "BasicVolumeFormat.h"
namespace jcs {
/// Provides the basis for both flavors of NIfTi.
// could be recombined with NiftiOutputter if FSLNifti goes away.
class NiftiOutputterBase : public Basic3DOutputter {
public:
NiftiOutputterBase(const Options& options);
bool saveNii;
void SetSaveNii(bool value);
virtual void SetOption(const std::string& name, bool value);
protected:
virtual BasicVolumeFormat* GetOutputVolume(const char* file);
};
}
#endif
|