File: NiftiOutputterBase.h

package info (click to toggle)
mriconvert 1%3A2.1.0-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,488 kB
  • sloc: cpp: 17,029; makefile: 11
file content (35 lines) | stat: -rw-r----- 731 bytes parent folder | download | duplicates (4)
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