2 // Open Service Platform
3 // Copyright (c) 2013 Samsung Electronics Co., Ltd.
5 // Licensed under the Apache License, Version 2.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
9 // http://www.apache.org/licenses/LICENSE-2.0
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.
20 * @file FUixVision_ImageFeatureInfoImpl.h
21 * @brief This is the header file for the %Tizen::Uix::_ImageFeatureInfoImpl class.
24 #ifndef _FUIX_VISION_IMAGE_FEATURE_INFO_IMPL_H_
25 #define _FUIX_VISION_IMAGE_FEATURE_INFO_IMPL_H_
27 #include <FUixVisionImageFeatureInfo.h>
29 #include "ImageFeatureInfo.h"
32 namespace Tizen { namespace Uix { namespace Vision
35 class _ImageFeatureInfoImpl
38 _ImageFeatureInfoImpl(void);
39 ~_ImageFeatureInfoImpl(void);
41 float GetAspect(void) const;
42 void SetSariPointer(const sari2::ImageFeatureInfo& sari);
44 unsigned int GetDescription(char* name, int length) const;
45 int GetThumbnailWidth(void) const;
46 int GetThumbnailHeight(void) const;
47 bool GetThumbnail(char* outBuffer, int bufWidth, int bufHeight, bool fit = true) const;
48 int GetLocalizingFeaturesNumber(void) const;
49 int GetTrackingFeaturesNumber(void) const;
52 static Tizen::Uix::Vision::ImageFeatureInfo* CreateImageFeatureInfoStorageN(const unsigned int size); //WHY should we need a storage?
53 static Tizen::Uix::Vision::ImageFeatureInfo* CreateImageFeatureInfoN();
54 static _ImageFeatureInfoImpl* GetInstance(Tizen::Uix::Vision::ImageFeatureInfo* pImageFeatureDatabaseInfo);
55 static const _ImageFeatureInfoImpl* GetInstance(const Tizen::Uix::Vision::ImageFeatureInfo* pImageFeatureDatabaseInfo);
58 sari2::ImageFeatureInfo __imageFeatureDatabaseInfo;
61 } } } //Tizen::Uix::Vision
63 #endif //_FUIX_VISION_IMAGE_FEATURE_INFO_IMPL_H_