view trafficintelligence/base.py @ 1085:7853106677b7

added generate static function for CurvilinearTrajectory and modified how to create them with None list in lanes
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Tue, 25 Sep 2018 17:08:37 -0400
parents cc5cb04b04b0
children
line wrap: on
line source

'''Module for few base classes to avoid issues of circular import'''

class VideoFilenameAddable(object):
    'Base class with the capability to attach a video filename'

    def setVideoFilename(self, videoFilename):
        self.videoFilename = videoFilename