MCPcopy Create free account
hub / github.com/Kitware/TeleSculptor / __init__

Method __init__

scripts/draw_tracks.py:49–60  ·  view source on GitHub ↗

Constructor

(self, track_id, frame_num,
                 location=(0.0, 0.0),
                 magnitude=1.0,
                 scale=1.0,
                 angle=0.0)

Source from the content-addressed store, hash-verified

47 """Represents the state of a feature track at a particular frame of video.
48 """
49 def __init__(self, track_id, frame_num,
50 location=(0.0, 0.0),
51 magnitude=1.0,
52 scale=1.0,
53 angle=0.0):
54 """Constructor"""
55 self.track_id = track_id
56 self.frame_num = frame_num
57 self.location = location
58 self.magnitude = magnitude
59 self.scale = scale
60 self.angle = angle
61
62
63def parse_track_state_line(line):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected