Permalink
Browse files

All filters should implement newFilterInstance() method.

This was mistakingly removed from a prior commit.

Signed-off-by: Michael Jackson <mike.jackson@bluequartz.net>
  • Loading branch information...
imikejackson committed Nov 7, 2018
1 parent 0adfaa1 commit c492a41ad67ee0ffb584acfc60a77d03ce1e6e7a
@@ -1020,6 +1020,20 @@ void WritePoleFigure::execute()
notifyStatusMessage(getHumanLabel(), "Complete");
}
// -----------------------------------------------------------------------------
//
// -----------------------------------------------------------------------------
AbstractFilter::Pointer WritePoleFigure::newFilterInstance(bool copyFilterParameters) const
{
WritePoleFigure::Pointer filter = WritePoleFigure::New();
if(copyFilterParameters)
{
copyFilterParameterInstanceVariables(filter.get());
}
return filter;
}
// -----------------------------------------------------------------------------
//
// -----------------------------------------------------------------------------
@@ -156,6 +156,11 @@ class OrientationAnalysis_EXPORT WritePoleFigure : public AbstractFilter
*/
const QString getFilterVersion() const override;
/**
* @brief newFilterInstance Reimplemented from @see AbstractFilter class
*/
AbstractFilter::Pointer newFilterInstance(bool copyFilterParameters) const override;
/**
* @brief getGroupName Reimplemented from @see AbstractFilter class
*/

0 comments on commit c492a41

Please sign in to comment.