Triclops SDK
4.0.3.0
fc2triclops.h
Go to the documentation of this file.
1 //=============================================================================
2 // Copyright © 2016 FLIR Integrated Imaging Solutions, Inc. All Rights Reserved.
3 //
4 // This software is the confidential and proprietary information of FLIR
5 // Integrated Imaging Solutions, Inc. ("Confidential Information"). You
6 // shall not disclose such Confidential Information and shall use it only in
7 // accordance with the terms of the license agreement you entered into
8 // with FLIR Integrated Imaging Solutions, Inc. (FLIR).
9 //
10 // FLIR MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
11 // SOFTWARE, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
12 // IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
13 // PURPOSE, OR NON-INFRINGEMENT. FLIR SHALL NOT BE LIABLE FOR ANY DAMAGES
14 // SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
15 // THIS SOFTWARE OR ITS DERIVATIVES.
16 //=============================================================================
17 
18 //=============================================================================
19 // $Id: fc2triclops.h 309688 2016-12-21 18:28:11Z silvanoa $
20 //=============================================================================
21 
22 //=============================================================================
26 //=============================================================================
27 
28 #ifndef FC2TRICLOPS_H
29 #define FC2TRICLOPS_H
30 
31 //=============================================================================
32 // PGR Includes
33 //=============================================================================
34 
35 #include "flycapture2bridge.h"
36 #include <FlyCapture2.h>
37 
38 //=============================================================================
39 // System Includes
40 //=============================================================================
41 
42 #include <assert.h>
43 
44 namespace Fc2Triclops {
45 
57  TWO_CAMERA = 1,
60 };
61 
75 setStereoMode(FlyCapture2::Camera &cam, StereoCameraMode &mode);
76 
89 isBB2(const FlyCapture2::Camera &cam, bool &flag);
90 
102 ErrorType
103 isBBXB3(const FlyCapture2::Camera &cam, bool &flag);
104 
116 int
117 handleFc2Error(FlyCapture2::Error const &fc2Error);
118 
130 int
132  const char *pCallNameStr);
133  // End of group FlyCapture2Bridge
135 
136 } // end namespace Fc2Triclops
137 
138 #endif // FC2TRICLOPS_H
ErrorType isBB2(const FlyCapture2::Camera &cam, bool &flag)
Checks if a camera is a dual sensor Bumblebee camera.
Definition: fc2triclops.cpp:148
Definition: fc2triclops.h:57
int handleFc2TriclopsError(Fc2Triclops::ErrorType const &error, const char *pCallNameStr)
Handles FlyCapture2Bridge errors.
Definition: fc2triclops.cpp:191
ErrorType setStereoMode(FlyCapture2::Camera &camera, StereoCameraMode &mode)
Sets a new stereo mode for a connected camera.
Definition: fc2triclops.cpp:30
int handleFc2Error(FlyCapture2::Error const &fc2Error)
Handles FlyCapture 2 errors.
Definition: fc2triclops.cpp:183
Definition: fc2triclops.h:59
StereoCameraMode
Point Grey&#39;s stereo cameras operating modes.
Definition: fc2triclops.h:56
Flycapture2bridge operations API.
ErrorType isBBXB3(const FlyCapture2::Camera &cam, bool &flag)
Checks if a camera is a triple sensor Bumblebee camera.
Definition: fc2triclops.cpp:165
ErrorType
FlyCapture 2 interfacing error codes.
Definition: flycapture2bridge.h:53
Definition: fc2triclops.h:58
Definition: fc2triclops.cpp:27
Contact Support Triclops SDK Programmer's Guide and API Reference