+ :m_IOVerbose(false)
+{
+ m_FilterName = n;
+ m_FailOnImageTypeError = true;
+ m_ReadOnDisk = true;
+ m_WriteOnDisk = true;
+ // m_LastError = "";
+ // StopOnErrorOn();
+ SetFilterBase(NULL);
+}
+//--------------------------------------------------------------------
+
+
+//--------------------------------------------------------------------
+void clitk::ImageToImageGenericFilterBase::SetInputFilenames(const std::vector<std::string> & filenames)
+{
+ m_InputFilenames = filenames;
+ // in this case, assume by default that we DO want to write/read on
+ // disk (rather a command line tool, but not a vvTool. Can be
+ // changed with EnableReadOnDisk and EnableWriteOnDisk)
+ EnableReadOnDisk(true);
+ EnableWriteOnDisk(true);
+}
+//--------------------------------------------------------------------
+
+
+//--------------------------------------------------------------------
+void clitk::ImageToImageGenericFilterBase::EnableReadOnDisk(bool b)
+{
+ m_ReadOnDisk = b;