Subversion Repositories seema-scanner

Rev

Rev 1 | Rev 154 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1 Rev 28
Line 21... Line 21...
21
        
21
        
22
        % Destructor - Destroy the C++ class instance
22
        % Destructor - Destroy the C++ class instance
23
        function delete(this)
23
        function delete(this)
24
            CameraMex('delete', this.objectHandle);
24
            CameraMex('delete', this.objectHandle);
25
        end
25
        end
-
 
26
        
-
 
27
        % startCapture
-
 
28
        function startCapture(this)
-
 
29
            CameraMex('startCapture', this.objectHandle);
-
 
30
        end
-
 
31
        
-
 
32
        % stopCapture
-
 
33
        function stopCapture(this)
-
 
34
            CameraMex('stopCapture', this.objectHandle);
-
 
35
        end
-
 
36
        
-
 
37
        % trigger
-
 
38
        function trigger(this)
-
 
39
            CameraMex('trigger', this.objectHandle);
-
 
40
        end
26
 
41
 
27
        % getSingleFrame
42
        % getFrame
28
        function varargout = getSingleFrame(this)
43
        function varargout = getFrame(this)
29
            frame = CameraMex('getSingleFrame', this.objectHandle);
44
            frame = CameraMex('getFrame', this.objectHandle);
30
            [varargout{1:nargout}] = transpose(frame);
45
            [varargout{1:nargout}] = permute(frame,[3 2 1]);
31
        end
46
        end
32
        
47
        
33
    end
48
    end
34
end
49
end