User Tools

Site Tools


samples:samples:pixeledit

Table of Contents

PixelEdit sample

Documentation | Samples | PixelEdit

Summary

How to modify pixels covered by a polygon and calculate terrain profile.

Description

This sample illustrates use of:

Name Description
TGIS_LayerPixelEncapsulation of a common image layer - abstract class.
TGIS_LayerPixel.LoopPrepare enumerator to iterate layer.
TGIS_LayerPixel.LockPixelsLock fragment of the raster for update.
TGIS_LayerPixel.UnlockPixelsLock fragment.
TGIS_LayerPixel.SaveDataSave the entire layer to the file.
TGIS_PixelItemPixel value used mainly in iterators.
TGIS_LayerPixelLockStructure of locked image area.
TGIS_Color.FromRGBCreate color from Red Green Blue elements.

Code

This sample is available on following platforms (click to see source code):

2017/12/05 09:21