Tizen 2.1 base
[apps/native/sample/FaceTracker.git] / project / inc / FaceData.h
1 //
2 // Tizen C++ SDK
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 //
5 // Licensed under the Flora License, Version 1.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
8 //
9 //     http://www.tizenopensource.org/license
10 //
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an AS IS BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
16 //
17
18 #ifndef _FACE_DATA_H_
19 #define _FACE_DATA_H_
20
21 #include <FBase.h>
22 #include <FGraphics.h>
23
24 class FaceData
25         : public Tizen::Base::Object
26 {
27 public:
28         FaceData(void);
29         virtual ~FaceData(void);
30
31         void SetRectangle(Tizen::Graphics::Rectangle rect);
32         void SetSimilarity(int simil);
33         void SetFaceDetected(bool isFaceDetect);
34         void SetThreadCompleted(bool isThreadComplete);
35
36         Tizen::Graphics::Rectangle GetRectangle(void);
37         int GetSimilarity(void);
38         bool GetFaceDetected(void);
39         bool GetThreadCompleted(void);
40 private:
41         Tizen::Graphics::Rectangle __faceRect;
42         int __similarity;
43         bool __isFaceDetected;
44         bool __isThreadCompleted;
45 };
46
47
48 #endif /* _FACEDATA_H_ */