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 FUixVisionImageFeatureInfo.h
21 * @brief This is the header file for the %ImageFeatureInfo class.
23 * This header file contains the declarations of the %ImageFeatureInfo class.
26 #ifndef _FUIX_VISION_IMAGE_FEATURE_INFO_H_
27 #define _FUIX_VISION_IMAGE_FEATURE_INFO_H_
29 #include <FBaseObject.h>
30 #include <FGraphics.h>
32 namespace Tizen { namespace Uix { namespace Vision
35 * @class ImageFeatureInfo
36 * @brief This class holds information of individual image feature data in an image feature set.
40 * The %ImageFeatureInfo class holds information of individual image feature data in an image feature set.
42 * @see Tizen::Uix::Vision::ImageFeatureManager
44 class _OSP_EXPORT_ ImageFeatureInfo
45 : public Tizen::Base::Object
50 * Gets detail description for feature set.
54 * @return Detail description for feature set
57 Tizen::Base::String GetDescription(void) const;
60 * Gets width of thumbnail image.
64 * @return Thumbnail image width.
67 int GetThumbnailWidth(void) const;
70 * Gets height of thumbnail image.
74 * @return Thumbnail image height.
76 * @exception E_SUCCESS The method is successful.
78 int GetThumbnailHeight(void) const;
81 * Gets the thumbnail image by extracting it.
85 * @return A pointer to the Tizen::Base::ByteBuffer instance containing the thumbnail image
87 Tizen::Base::ByteBuffer* GetThumbnailN(void) const;
90 * Compares the calling instance with a specified instance.
94 * @return @c true if the specified instance of Tizen::Base::Object is equal to the calling %ImageFeatureInfo instance, @n
96 * @param[in] obj The object to compare
98 virtual bool Equals(const Tizen::Base::Object& obj) const;
101 * Gets the hash value of a current instance.
105 * @return The hash value of the current instance
107 virtual int GetHashCode(void) const;
111 * This is the default constructor for this class.
112 * The implementation of this constructor is declared as private to prohibit construction of the object by user.
116 ImageFeatureInfo(void);
119 * This is the destructor for this class. @n
120 * The resources are deallocated by this method.
121 * This destructor overrides Tizen::Base::Object::~Object().
125 ~ImageFeatureInfo(void);
127 * The implementation of this copy constructor is intentionally blank and declared as private to prohibit copying of objects.
129 ImageFeatureInfo(const ImageFeatureInfo&);
132 * The implementation of this copy assignment operator is intentionally blank and declared as private to prohibit copying of objects.
134 ImageFeatureInfo& operator=(const ImageFeatureInfo&);
137 class _ImageFeatureInfoImpl* __pImageFeatureInfoImpl;
138 friend class _ImageFeatureInfoImpl;
141 } } } //Tizen::Uix::Vision
143 #endif /* _FUIX_VISION_IMAGE_FEATURE_INFO_H_ */