Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
interfaces
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bioroboticslab
biotracker
interfaces
Commits
d3cf128a
Commit
d3cf128a
authored
2 years ago
by
calrama
Browse files
Options
Downloads
Patches
Plain Diff
Replace std::shared_ptr<cv::Mat> with cv::Mat
cv::Mat is already reference counted.
parent
9d22204a
No related branches found
No related tags found
No related merge requests found
Pipeline
#51240
passed
2 years ago
Stage: build
Stage: package
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Src/Interfaces/IBioTrackerPlugin.h
+4
-4
4 additions, 4 deletions
Src/Interfaces/IBioTrackerPlugin.h
Src/Interfaces/IModel/IModelTrackingAlgorithm.h
+1
-2
1 addition, 2 deletions
Src/Interfaces/IModel/IModelTrackingAlgorithm.h
with
5 additions
and
6 deletions
Src/Interfaces/IBioTrackerPlugin.h
+
4
−
4
View file @
d3cf128a
...
@@ -45,7 +45,7 @@ private:
...
@@ -45,7 +45,7 @@ private:
virtual
void
connectInterfaces
();
virtual
void
connectInterfaces
();
Q_SIGNALS
:
Q_SIGNALS
:
void
emitCvMat
(
std
::
shared_ptr
<
cv
::
Mat
>
mat
,
QString
name
);
void
emitCvMat
(
cv
::
Mat
mat
,
QString
name
);
/**
/**
* Will be sent when tracking is doen to multiple components of the core
* Will be sent when tracking is doen to multiple components of the core
* app An example is the visualisation which is then updated
* app An example is the visualisation which is then updated
...
@@ -55,8 +55,8 @@ Q_SIGNALS:
...
@@ -55,8 +55,8 @@ Q_SIGNALS:
void
emitCorePermission
(
std
::
pair
<
ENUMS
::
COREPERMISSIONS
,
bool
>
);
void
emitCorePermission
(
std
::
pair
<
ENUMS
::
COREPERMISSIONS
,
bool
>
);
public
Q_SLOTS
:
public
Q_SLOTS
:
virtual
void
receiveCurrentFrameFromMainApp
(
std
::
shared_ptr
<
cv
::
Mat
>
mat
,
virtual
void
receiveCurrentFrameFromMainApp
(
cv
::
Mat
mat
,
uint
frameNumber
)
=
0
;
uint
frameNumber
)
=
0
;
/**
/**
* Recieves area descriptor data for rectification (px to cm) and for
* Recieves area descriptor data for rectification (px to cm) and for
* tracking arena boundary
* tracking arena boundary
...
@@ -64,7 +64,7 @@ public Q_SLOTS:
...
@@ -64,7 +64,7 @@ public Q_SLOTS:
virtual
void
receiveAreaDescriptor
(
IModelAreaDescriptor
*
areaDescr
);
virtual
void
receiveAreaDescriptor
(
IModelAreaDescriptor
*
areaDescr
);
// private Q_SLOTS:
// private Q_SLOTS:
// virtual void receiveCvMatFromController(
std::shared_ptr<
cv::Mat
>
mat,
// virtual void receiveCvMatFromController(cv::Mat mat,
// QString name) = 0;
// QString name) = 0;
};
};
...
...
This diff is collapsed.
Click to expand it.
Src/Interfaces/IModel/IModelTrackingAlgorithm.h
+
1
−
2
View file @
d3cf128a
...
@@ -9,8 +9,7 @@ class BT_INTERFACES_API IModelTrackingAlgorithm : public IModel
...
@@ -9,8 +9,7 @@ class BT_INTERFACES_API IModelTrackingAlgorithm : public IModel
public:
public:
IModelTrackingAlgorithm
(
QObject
*
parent
=
0
);
IModelTrackingAlgorithm
(
QObject
*
parent
=
0
);
virtual
void
doTracking
(
std
::
shared_ptr
<
cv
::
Mat
>
image
,
virtual
void
doTracking
(
cv
::
Mat
image
,
uint
frameNumber
)
=
0
;
uint
frameNumber
)
=
0
;
signals:
signals:
void
emitTrackingDone
();
void
emitTrackingDone
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment