public void Init()
 {
     if (_pb != null)
     {
         _pb.Dispose();
     }
     _pb          = new Align(_alignTo);
     _currAlignTo = _alignTo;
 }
Beispiel #2
0
    protected override void OnStopStreaming()
    {
        if (aligner != null)
        {
            aligner.Dispose();
            aligner = null;
        }

        if (decimationFilter != null)
        {
            decimationFilter.Dispose();
            decimationFilter = null;
        }

        if (spatialFilter != null)
        {
            spatialFilter.Dispose();
            spatialFilter = null;
        }

        if (temporalFilter != null)
        {
            temporalFilter.Dispose();
            temporalFilter = null;
        }
    }
 protected override void OnStopStreaming()
 {
     if (aligner != null)
     {
         aligner.Dispose();
         aligner = null;
     }
 }
Beispiel #4
0
 private void ResetAligner()
 {
     if (_pb != null)
     {
         _pb.Dispose();
     }
     _pb          = new Align(_alignTo);
     _currAlignTo = _alignTo;
 }