X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fcontrols%2Fmodel3d-view%2Fmodel3d-view.h;h=536df51f7260fc81aa97cd0e5d23cb5949edcd17;hp=94ec859c2e20b009ed0d905284a6e14abd1a4620;hb=912e891b33f2b3b10392094c57b17eefa560b1fa;hpb=f758f35a6f525b556a101b0785f797e3ee3c4b1a diff --git a/dali-toolkit/public-api/controls/model3d-view/model3d-view.h b/dali-toolkit/public-api/controls/model3d-view/model3d-view.h index 94ec859..536df51 100644 --- a/dali-toolkit/public-api/controls/model3d-view/model3d-view.h +++ b/dali-toolkit/public-api/controls/model3d-view/model3d-view.h @@ -36,39 +36,43 @@ class Model3dView; * * All the geometry loaded with the control is automatically centered and scaled to fit * the size of all the other controls. So the max is (0.5,0.5) and the min is (-0.5,-0.5) -*/ + * + * @SINCE_1_1.4 + */ class DALI_IMPORT_API Model3dView : public Control { public: /** * @brief The start and end property ranges for this control. + * @SINCE_1_1.4 */ enum PropertyRange { - PROPERTY_START_INDEX = Control::CONTROL_PROPERTY_END_INDEX + 1, - PROPERTY_END_INDEX = PROPERTY_START_INDEX + 1000, ///< Reserve property indices + PROPERTY_START_INDEX = Control::CONTROL_PROPERTY_END_INDEX + 1, ///< @SINCE_1_1.4 + PROPERTY_END_INDEX = PROPERTY_START_INDEX + 1000, ///< Reserve property indices @SINCE_1_1.4 - ANIMATABLE_PROPERTY_START_INDEX = ANIMATABLE_PROPERTY_REGISTRATION_START_INDEX, - ANIMATABLE_PROPERTY_END_INDEX = ANIMATABLE_PROPERTY_REGISTRATION_START_INDEX + 1000 ///< Reserve animatable property indices + ANIMATABLE_PROPERTY_START_INDEX = ANIMATABLE_PROPERTY_REGISTRATION_START_INDEX, ///< @SINCE_1_1.4 + ANIMATABLE_PROPERTY_END_INDEX = ANIMATABLE_PROPERTY_REGISTRATION_START_INDEX + 1000 ///< Reserve animatable property indices @SINCE_1_1.4 }; /** * @brief An enumeration of properties belonging to the TextLabel class. + * @SINCE_1_1.4 */ struct Property { enum { - GEOMETRY_URL = PROPERTY_START_INDEX, ///< name "geometry-url", The path to the geometry file, type STRING - MATERIAL_URL, ///< name "material-url", The path to the material file, type STRING - IMAGES_URL, ///< name "images-url", The path to the images directory, type STRING - ILLUMINATION_TYPE, ///< name "illumination-type", The type of illumination, type INTEGER - TEXTURE0_URL, ///< name "texture0-url", The path to first texture, type STRING - TEXTURE1_URL, ///< name "texture1-url", The path to second texture, type STRING - TEXTURE2_URL, ///< name "texture2-url", The path to third texture, type STRING - - LIGHT_POSITION = ANIMATABLE_PROPERTY_START_INDEX ///< name "light-position", The coordinates of the light, type Vector3 + GEOMETRY_URL = PROPERTY_START_INDEX, ///< name "geometryUrl", The path to the geometry file, type STRING @SINCE_1_1.4 + MATERIAL_URL, ///< name "materialUrl", The path to the material file, type STRING @SINCE_1_1.4 + IMAGES_URL, ///< name "imagesUrl", The path to the images directory, type STRING @SINCE_1_1.4 + ILLUMINATION_TYPE, ///< name "illuminationType", The type of illumination, type INTEGER @SINCE_1_1.4 + TEXTURE0_URL, ///< name "texture0Url", The path to first texture, type STRING @SINCE_1_1.4 + TEXTURE1_URL, ///< name "texture1Url", The path to second texture, type STRING @SINCE_1_1.4 + TEXTURE2_URL, ///< name "texture2Url", The path to third texture, type STRING @SINCE_1_1.4 + + LIGHT_POSITION = ANIMATABLE_PROPERTY_START_INDEX ///< name "lightPosition", The coordinates of the light, type Vector3 @SINCE_1_1.4 }; }; @@ -83,6 +87,7 @@ public: /** * @brief Create a new instance of a Model3dView control. * + * @SINCE_1_1.4 * @return A handle to the new Model3dView control. */ static Model3dView New(); @@ -90,6 +95,7 @@ public: /** * @brief Create a new instance of a Model3dView control. * + * @SINCE_1_1.4 * @return A handle to the new Model3dView control. */ static Model3dView New( const std::string& objUrl, const std::string& mtlUrl, const std::string& imagesUrl ); @@ -100,6 +106,7 @@ public: * * Only derived versions can be instantiated. Calling member * functions with an uninitialized Dali::Object is not allowed. + * @SINCE_1_1.4 */ Model3dView(); @@ -107,16 +114,19 @@ public: * @brief Destructor * * This is non-virtual since derived Handle types must not contain data or virtual methods. + * @SINCE_1_1.4 */ ~Model3dView(); /** * @brief Copy constructor. + * @SINCE_1_1.4 */ Model3dView( const Model3dView& model3dView ); /** * @brief Assignment operator. + * @SINCE_1_1.4 */ Model3dView& operator=( const Model3dView& model3dView ); @@ -126,6 +136,7 @@ public: * If handle points to a Model3dView the downcast produces valid * handle. If not the returned handle is left uninitialized. * + * @SINCE_1_1.4 * @param[in] handle Handle to an object * @return handle to a Model3dView or an uninitialized handle */ @@ -136,6 +147,7 @@ public: // Not intended for application developers /** * @brief Creates a handle using the Toolkit::Internal implementation. * + * @SINCE_1_1.4 * @param[in] implementation The Control implementation. */ DALI_INTERNAL Model3dView( Internal::Model3dView& implementation ); @@ -143,6 +155,7 @@ public: // Not intended for application developers /** * @brief Allows the creation of this Control from an Internal::CustomActor pointer. * + * @SINCE_1_1.4 * @param[in] internal A pointer to the internal CustomActor. */ DALI_INTERNAL Model3dView( Dali::Internal::CustomActor* internal );