18#ifndef sitkImageViewer_h
19#define sitkImageViewer_h
61 return std::string(
"ImageViewer");
70 static const std::vector<PathType> &
79 static const std::vector<PathType> &
91 static const std::string &
static void SetGlobalDefaultDebugOff()
Set/Get Debug flag.
static void SetGlobalDefaultDebug(const bool dbg)
Set/Get Debug flag.
static void SetGlobalDefaultSearchPath(const std::vector< PathType > &path)
Set/Get the search path used to find the viewing application.
static const std::string & GetGlobalDefaultFileExtension()
Set/Get the default file extension.
static void SetGlobalDefaultDebugOn()
Set/Get Debug flag.
void SetFileExtension(const std::string &ext)
Set/Get file extension of the temporary image file (default='.nii')
static const std::vector< PathType > & GetGlobalDefaultExecutableNames()
Set/Get name list used to find the viewing application.
const std::string & GetCommand() const
const PathType & GetApplication() const
Get the full path to the viewing application used in the command string.
std::string m_FileExtension
std::string m_ViewCommand
static void SetGlobalDefaultApplication(const PathType &app)
Set/Get the default application used in the command string.
virtual std::string GetName() const
void SetTitle(const std::string &t)
Set/Get Title string on the ImageJ window.
static void SetProcessDelay(const unsigned int delay)
Set/Get Process delay, the wait time after launching the viewing application.
static void SetGlobalDefaultExecutableNames(const std::vector< PathType > &names)
Set/Get name list used to find the viewing application.
const std::string & GetFileExtension() const
Set/Get file extension of the temporary image file (default='.nii')
static bool GetGlobalDefaultDebug()
Set/Get Debug flag.
void Execute(const Image &image)
Launch the viewing application to display the given image.
std::string m_CustomCommand
static const PathType & GetGlobalDefaultApplication()
Set/Get the default application used in the command string.
const std::string & GetTitle() const
Set/Get Title string on the ImageJ window.
static unsigned int GetProcessDelay()
Set/Get Process delay, the wait time after launching the viewing application.
void SetApplication(const PathType &app, const std::string &command="%a %f")
Set the full path to the viewing application used in the command string.
void SetCommand(const std::string &command)
Set the command string used to launch the viewing application.
static const std::vector< PathType > & GetGlobalDefaultSearchPath()
Set/Get the search path used to find the viewing application.
std::string ToString() const
Print ourself out to a string.
static void SetGlobalDefaultFileExtension(const std::string &ext)
Set/Get the default file extension.
The Image class for SimpleITK.