Skip to content
Snippets Groups Projects
Commit 782dcb63 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

IDetector(frame)

parent d4752587
No related branches found
No related tags found
1 merge request!2083Detector cleanup, in preparation of further refactoring
...@@ -73,6 +73,12 @@ IDetector::IDetector() ...@@ -73,6 +73,12 @@ IDetector::IDetector()
{ {
} }
IDetector::IDetector(Frame* frame)
: m_frame(frame)
, m_mask(new MaskStack)
{
}
IDetector::IDetector(const IDetector& other) IDetector::IDetector(const IDetector& other)
: INode() : INode()
, m_explicitROI(other.m_explicitROI) , m_explicitROI(other.m_explicitROI)
......
...@@ -46,6 +46,8 @@ class Scale; ...@@ -46,6 +46,8 @@ class Scale;
class IDetector : public ICloneable, public INode { class IDetector : public ICloneable, public INode {
public: public:
IDetector(); IDetector();
//! Constructor that takes ownership of Frame.
IDetector(Frame* frame);
~IDetector() override; ~IDetector() override;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment