12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- #ifndef KAMERA_H
- #define KAMERA_H
- #include "frame.h"
- #include <QList>
- #include "mask.h"
- #include <QString>
- #include "frametree.h"
- class Kamera : public FrameTreeNode
- {
- private:
- int ref;
- QList< Frame* > frames;
- Mask m;
- QString name;
- public:
- Kamera( QString name, QString maskPath, int index );
- ~Kamera();
-
- bool isCorrectAnnotated() const;
-
- void *getNodeObject() const override;
-
- int getChildCount() const override;
-
- Frame *getFrame( int index ) const;
-
- void addFrame( Frame *f );
-
- void applyMask();
-
- QString getName() const;
-
- Mask *getMask() const;
-
- void saveMask();
-
- void refNew();
-
- void refRelease();
- };
- #endif
|