diff options
Diffstat (limited to 'examples/datavisualization/texturesurface/doc/src/texturesurface.qdoc')
-rw-r--r-- | examples/datavisualization/texturesurface/doc/src/texturesurface.qdoc | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/examples/datavisualization/texturesurface/doc/src/texturesurface.qdoc b/examples/datavisualization/texturesurface/doc/src/texturesurface.qdoc index 19e0b973..3de11983 100644 --- a/examples/datavisualization/texturesurface/doc/src/texturesurface.qdoc +++ b/examples/datavisualization/texturesurface/doc/src/texturesurface.qdoc @@ -45,7 +45,9 @@ \image texturesurface-example.png - \section1 Texture to a surface series + \include examples-run.qdocinc + + \section1 Texture to a Surface Series The image to be set as a texture to a surface can be set using QSurface3DSeries::setTextureFile(). In this example we have added a check box to control if the texture is set or not. The @@ -55,7 +57,7 @@ \snippet texturesurface/surfacegraph.cpp 0 - \section1 Topographic surface series + \section1 Topographic Surface Series The topographic data for this example is obtained from National Land Survey of Finland. It provides a product called \c{Elevation Model 2 m}, which was suitable for our needs. We selected @@ -76,7 +78,7 @@ And then the actual decoding. \snippet texturesurface/topographicseries.cpp 1 - \section1 Use custom input handler to enable zooming and panning + \section1 Use Custom Input Handler to Enable Zooming and Panning For the panning the implementation is similar to the \l{Axis Range Dragging With Labels Example}. The difference is that in this example we follow only dragging of X and Z axis and we don't @@ -98,7 +100,7 @@ \snippet texturesurface/custominputhandler.cpp 2 - \section1 Highlight an area of the surface + \section1 Highlight an Area of the Surface The main idea on creating a highlight on the surface is to create a copy of the series and add a bit of offset to the y value. On this example the class \c HighlightSeries implements the @@ -115,7 +117,7 @@ \snippet texturesurface/highlightseries.cpp 1 - \section1 A gradient to the highlight series + \section1 A Gradient to the Highlight Series Since the \c HighlightSeries is QSurface3DSeries, we can use all the decoration methods series can have. In this example we added a gradient to emphasize the elevation. Because the suitable gradient |