MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / trackStepTrackerPM

Method trackStepTrackerPM

Engine/TrackerContextPrivate.cpp:1003–1012  ·  view source on GitHub ↗

* @brief This is the internal tracking function that makes use of TrackerPM to do 1 track step * @param trackingIndex This is the index of the Marker we should track in the args * @param args Multiple arguments global to the whole track, not just this step * @param trackTime The search frame time, that is, the frame to track */

Source from the content-addressed store, hash-verified

1001 * @param trackTime The search frame time, that is, the frame to track
1002 */
1003bool
1004TrackerContextPrivate::trackStepTrackerPM(TrackMarkerPM* track,
1005 const TrackArgs& args,
1006 int trackTime)
1007{
1008 int frameStep = args.getStep();
1009 int refTime = track->getReferenceFrame(trackTime, frameStep);
1010
1011 return track->trackMarker(frameStep > 0, refTime, trackTime);
1012}
1013
1014/*
1015 * @brief This is the internal tracking function that makes use of LivMV to do 1 track step

Callers

nothing calls this directly

Calls 3

getStepMethod · 0.80
getReferenceFrameMethod · 0.80
trackMarkerMethod · 0.80

Tested by

no test coverage detected