Merge remote-tracking branch 'origin/tizen' into new_text
[platform/core/uifw/dali-toolkit.git] / docs / content / main-page.h
1 /*! \mainpage
2  *
3  * \section mainintro_sec Introduction
4  *
5  * It is a quick and easy way of allowing developers to create Rich UI Applications like Home
6  * screen, Gallery, Music player, Games, Maps...
7  *
8  * DALI is based on OpenGL ES 2.0, however it hides the complexity of
9  * the OpenGL API from developers and provides a clean cross-platform C++ framework.
10  *
11  * \section Introduction Introduction
12  * - \link fundamentals Dali Fundamentals \endlink
13  * - \link dali-application Dali Application and Adaptor \endlink
14  * - \link hello-world Hello World - explained \endlink
15  *
16  * \section Actors Actors
17  * - \link image-mesh-actor Image and Mesh actors \endlink
18  * - \link event-system Event Handling \endlink
19  * - \link custom-actor Custom Actor \endlink
20  *
21  * \section ShaderEffects Shader Effects
22  * - \link shader-intro Shader Effects\endlink
23  *
24  * \section Animation Animation
25  * - \link animation-example Example and Usage\endlink
26  * - \link animation-rotation Rotation with quaternions \endlink
27  * - \link animation-shader Shader Animation \endlink
28  * - \link animation-multi-threading-notes Multi-threading Notes \endlink
29  *
30  * \section Constraints
31  * - \link constraints-intro Introduction to Constraints \endlink
32  *
33  * \section UIControls UI Controls
34  * - \link item-view Item View \endlink
35  * - \link scroll-view Scroll View \endlink
36  * - \link size-negotiation Size Negotiation \endlink
37  * - \link type-registration Type Registration \endlink
38  * - \link properties Properties \endlink
39  * - \link background Background \endlink
40  *
41  * \section Dynamics Dynamics
42  * - \link dynamics-intro Introduction to Dynamics\endlink
43  * - \link dynamics-initialization Initializing the Simulation\endlink
44  * - \link dynamics-bodies Bodies - adding and controlling dynamic objects \endlink
45  * - \link dynamics-joints Joints - linking objects\endlink
46  * - \link dynamics-collisions Collision Detection and Filtering\endlink
47  *
48  * \section Scripting
49  * - \link script-overview Overview \endlink
50  * - \link script-howto How to Add a Custom Control \endlink
51  * - \link script-hello Hello World in script \endlink
52  *
53  * - \link handle-body-idiom Handle – body idiom \endlink
54  *
55  * \section Rendering
56  * - \link viewing-modes Viewing modes \endlink
57  *
58  * \section Profiling
59  * - \link resource-tracking Resource Tracking \endlink
60  * - \link performance-profiling Performance Profiling \endlink
61  *
62  * \section Performance
63  * - \link performance-tips Performance Tips \endlink
64  * - \link texture-atlases Texture Atlases  \endlink
65  * - \link Texture_Compression Compressing Textures \endlink
66  *
67  * \section Testing
68  * See [Automated Tests](@ref auto_testing) for instructions.
69  */
70
71 /*! \page scene-graph
72  *
73  * \section scene_intro What is a scene graph?
74  * From wikipedia...
75  * A scene graph is a collection of nodes in a graph or tree structure.
76  * A node may have many children but often only a single parent,
77  * with the effect of a parent applied to all its child nodes;
78  * an operation performed on a group automatically propagates
79  * its effect to all of its members. In many programs, associating
80  * a geometrical transformation matrix (see also transformation and matrix)
81  * at each group level and concatenating such matrices together is an
82  * efficient and natural way to process such operations. A common feature,
83  * for instance, is the ability to group related shapes/objects into a
84  * compound object that can then be moved, transformed, selected,
85  * etc. as easily as a single object.
86  *
87  * \section scene_dali How does this relate to the Dali public API?
88  *
89  * Actors are effectively nodes that receive input (touch events) and act as a
90  * container for draw-able elements (which are also nodes) and other actors.
91  *
92  * For example a Button actor will be an actor with several elements such as button background,
93  * text label and button face. When the actor is moved around, it's child elements will move with it.
94  * When the button is pressed, the actor will receive an event and adjust the color of its button face
95  * element.
96  *
97  * \section scene_internal Why does Dali internally have a second scene graph?
98  * Actors and elements are contained in a scene graph which deals with input, layout and some animation
99  * it doesn't perform any drawing.
100  *
101  * All the drawing is done via the Render Manager which has it's own render scene graph, where it's nodes
102  * are just for drawing things like image/text and moving them around. So when you create an Image element
103  * it will ask the RenderManager to create an Image node. The separation allows the RenderManager to
104  * run in a separate thread to maintain a high frame rate, without being slowed down by any logic
105  * performed on the actor/element side.
106  *
107  */