User Tools

Site Tools


api:dk11:delphi:gislayerpixel.tgis_layerpixel_methods

TGIS_LayerPixel methods

Methods

Inherited Overrides Protected
Name Visibility Description
addTransparency protected Applies transparency defined by transparent zones to image pixels.
Alive public Makes a layer non-dormant.
(Inherited from TGIS_Layer)
ApplyAntialiasSettings(Boolean) public Applies antialias settings used in scaling operations.
ApplyAntialiasSettings(Boolean; TGIS_ScalingFilter) public Applies antialias settings used in scaling operations.
ApplyAutoStyle public Applies auto-styling to the layer.
(Inherited from TGIS_Layer)
ApplyAutoStyle(Boolean) public Applies auto-styling to the layer.
(Inherited from TGIS_Layer)
applyColorsCorrectionByVals protected Applies brightness, contrast, and color correction from pixel parameters to the final correction table.
applyConfigOptions protected Applies layer option settings from a configuration file.
(Overrides TGIS_Layer.applyConfigOptions)
applyConfigProjection(TGIS_ConfigAbstract) protected Applies projection settings from a configuration file.
(Inherited from TGIS_Layer)
applyConfigProjection(TGIS_ConfigAbstract; TGIS_Layer) protected Applies projection settings from a configuration file.
(Inherited from TGIS_Layer)
ApplyCuttingPolygon public Sets a clipping polygon for the layer.
(Overrides TGIS_Layer.ApplyCuttingPolygon)
ARGB2Gray protected Converts an ARGB bitmap buffer to gray scale.
AssignedParentLayerInternal public Assigns a parent pixel layer for hierarchical layer types such as WMTS (Web Map Tile Service).
bandsMappingChanging protected Checks whether the current band mapping differs from the default mapping.
basePointRot protected Computes the point position after world file rotation is applied.
basePointUnRot protected Computes the original position of a rotated point.
baseRotatedExtent protected Computes the bounding extent after world file rotation is applied.
baseUnrotatedExtent protected Computes the original extent for a rotated extent.
Build(Boolean; TGIS_CSCoordinateSystem; TGIS_Extent; Double) public Builds an in-memory bitmap or grid layer.
Build(Boolean; TGIS_CSCoordinateSystem; TGIS_Extent; Integer; Integer) public Builds an in-memory bitmap or grid layer.
Build(String; Boolean; TGIS_CSCoordinateSystem; TGIS_Extent; Double; TGIS_LayerPixelSubFormat) public Builds a bitmap or grid layer.
Build(String; Boolean; TGIS_CSCoordinateSystem; TGIS_Extent; Integer; Integer; TGIS_LayerPixelSubFormat) public Builds a bitmap or grid layer.
Build(String; TGIS_CSCoordinateSystem; TGIS_Extent; Double) public Builds a bitmap image layer.
Build(String; TGIS_CSCoordinateSystem; TGIS_Extent; Integer; Integer) public Builds a bitmap image layer.
calculatePixelsize protected Calculates the pixel size in layer units.
ChangeHash public Changes the hash used to verify layer modifications.
(Inherited from TGIS_Layer)
ClearModified public Sets IsModified flag to false for a layer and its sublayers.
(Inherited from TGIS_Layer)
convertBitsToPixels protected Internal use only.
doApplyAutoStyle protected Applies layer-specific auto-styling implementation.
(Inherited from TGIS_Layer)
Dormant public Makes a layer dormant.
(Overrides TGIS_Layer.Dormant)
DormantGain public Calculates the approximate memory gain in megabytes that can be achieved by calling Dormant.
(Inherited from TGIS_Layer)
Draw public Draws a layer.
(Inherited from TGIS_Layer)
DrawEx public Draws a layer within a defined extent.
(Overrides TGIS_Layer.DrawEx)
drawExtent protected Calculates the device drawing and clipping area.
(Inherited from TGIS_Layer)
drawExtentEx protected Calculates the device drawing and clipping area.
(Overrides TGIS_Layer.drawExtentEx)
DrawFlash public Does nothing and is provided for compatibility only.
(Overrides TGIS_Layer.DrawFlash)
DrawSelected public Draws only the selected item(s) on layer.
(Inherited from TGIS_Layer)
DrawSelectedEx public Draws only the selected item(s) on layer that are within a defined extent.
(Inherited from TGIS_Layer)
DrawSpecial public Draws a layer using the passed renderer.
(Overrides TGIS_Layer.DrawSpecial)
enhanceContrast protected Enhances contrast by proportionally stretching RGB values to the full 0 to 255 range.
ExportLayer public Exports this layer to another pixel layer.
finalARGBMap protected Applies final ARGB band mapping and enables or disables channels.
FinalizeWrite public Performs any operation required to safely finalize a write operation, such as building quad trees for TGIS_FilePixelStore.
findProperPixelLock protected Checks for an existing locked pixel buffer matching the request.
ForEachSubLayer public Calls the callback for the layer and all of its sublayers.
(Inherited from TGIS_Layer)
fullCorrection protected Applies the final correction table to a 32-bit image pixel buffer.
fullRGBCorrection protected Applies full RGB correction to 32-bit image pixels.
GenerateRamp(TGIS_Color; TGIS_Color; TGIS_Color; Double; Double; Double; Boolean; Double; Double; TGIS_ParamsSectionPixel; Boolean) public Generates a color ramp for grid or DEM (Digital Elevation Model) rendering.
GenerateRamp(TGIS_Color; TGIS_Color; TGIS_Color; Double; Double; Double; Boolean; Double; Double; TGIS_ParamsSectionPixel; Boolean; TGIS_ColorInterpolationMode) public Generates a color ramp for grid or DEM (Digital Elevation Model) rendering.
GenerateRampEx(Double; Double; TGIS_ColorMapArray; TGIS_ParamsSectionPixel) public Generates a color ramp for grid or DEM (Digital Elevation Model) rendering from a mapped color array.
GenerateRampEx(Double; Double; TGIS_ColorMapArray; TGIS_ParamsSectionPixel; TGIS_ColorInterpolationMode) public Generates a color ramp for grid or DEM (Digital Elevation Model) rendering from a mapped color array.
getAlphaLine protected Internal use only.
GetAltitudeMapZone public Gets an altitude zone definition used for altitude-to-color mapping.
getAsyncState protected Report data-fetching state for asynchronous raster sources such as ECW.
GetAvailableLayers public Gets a list of layers available in storage.
(Inherited from TGIS_Layer)
GetBitmap public Fills the provided _bitmap array with values for _extent.
getBitmapData protected Fills the provided _bitmap array with values for _extent.
getBitmapPixels protected Gets bitmap layer data in ARGB (Alpha, Red, Green, Blue) format.
GetColorRamp public Calculates the default color ramp color for a grid value.
GetGrid public Fills the provided _grid array with values for _extent.
getGridData protected Fills the provided _grid array with values for _extent.
getLine protected Internal use only.
getLineBasic protected Internal use only.
getLineBits protected Internal use only.
getLinePixels protected Internal use only.
getMapZoneVal_Old protected Parses a legacy mapping zone definition from a string.
getNativeLine protected Internal use only.
getNativeLineGrayGrid protected Internal use only.
getNativeValue protected Internal use only.
GetRawBitmap public Fills the provided _bitmap array with values for _extent.
GetSubLayer public Retrieves the layer identified by name.
(Inherited from TGIS_Layer)
gridToARGBTable protected Converts grid values for the specified extent to ARGB pixels.
histEqPav protected Prepares a correction table using histogram equalization for full-color raster images.
histRGB2Gray protected Prepares a single greyscale histogram from the red, green, and blue channel histograms.
HourglassShake public Notifies about a busy state using an hourglass.
(Inherited from TGIS_Layer)
ImportLayer(TGIS_LayerPixel; TGIS_Extent) public Imports pixel data from an existing pixel layer.
ImportLayer(TGIS_LayerPixel; TGIS_Extent; TGIS_CSCoordinateSystem; Cardinal; Cardinal) public Imports pixel data from an existing pixel layer.
ImportLayer(TGIS_LayerPixel; TGIS_Extent; TGIS_CSCoordinateSystem; Cardinal; Cardinal; TGIS_LayerPixelSubFormat) public Imports pixel data from an existing pixel layer.
importPixelData protected Import and store raster data from another pixel layer.
InitializeWrite public Performs any operation required to safely initialize a write operation, such as batch preparation for TGIS_FilePixelStore.
inversePalette protected Prepares a negative color palette from the current RGB (red, green, blue) palette.
IsGrid public Checks if the layer type is grid.
(Overrides TGIS_Layer.IsGrid)
IsPixel public Checks if the layer type is pixel.
(Overrides TGIS_Layer.IsPixel)
isSectionInVisibilityRange protected Checks whether the section is visible by testing layer properties: Level with MinLevel/MaxLevel, ScaleAsFloat with MinScale/MaxScale, and Zoom with MinZoom/MaxZoom.
(Inherited from TGIS_Layer)
isSublayer protected Checks if the layer is a sublayer.
(Inherited from TGIS_Layer)
IsSupported public Checks if the operation is supported by the layer.
(Inherited from TGIS_Layer)
IsTopology public Checks if the layer type is topology.
(Inherited from TGIS_Layer)
IsVector public Checks if the layer type is vector.
(Inherited from TGIS_Layer)
IsVector3D public Checks if the layer type is vector 3D.
(Inherited from TGIS_Layer)
IsVisible public Checks if the layer is visible in a defined extent and current params.
(Inherited from TGIS_Layer)
lanczos3 protected Evaluates the Lanczos3 resampling filter function.
linear protected Evaluates the linear (triangle) resampling filter function.
Locate public If a given point is located within the image area, returns True and sets output values.
LocateEx public If a given point is located within the image area, returns True and sets output values.
Lock public Locks the layer for burst-mode operation.
(Inherited from TGIS_Layer)
LockEstimate public Estimates the memory size required to lock and update a pixel layer area.
LockPixels(TGIS_Extent; TGIS_CSCoordinateSystem; Boolean) public Locks a fragment of the pixel layer for update operations.
LockPixels(TGIS_Extent; TGIS_CSCoordinateSystem; Double; Boolean) public Locks a fragment of the pixel layer for update operations.
LockPixels(TGIS_Extent; TGIS_CSCoordinateSystem; Double; Integer; Boolean) public Locks a fragment of the pixel layer for update operations.
LockPixels(TGIS_Extent; TGIS_CSCoordinateSystem; Integer; Boolean) public Locks a fragment of the pixel layer for update operations.
LockPixels(TRect; Boolean) public Locks a fragment of the pixel layer for update operations.
LockPixels(TRect; Integer; Boolean) public Locks a fragment of the pixel layer for update operations.
LockPixels(TRect; TGIS_Extent; Integer; Integer; Integer; Boolean) public Locks a fragment of the pixel layer for update operations.
lockThread protected Locks the layer thread.
(Inherited from TGIS_Layer)
Loop(Double; TGIS_Shape; Boolean) public Prepares an enumerator to iterate pixels along or within a shape.
Loop(Double; TGIS_Shape; Integer; Boolean) public Prepares an enumerator to iterate pixels along or within a shape.
Loop(TGIS_Extent; Double; Boolean) public Prepares an enumerator to iterate the layer over an extent.
Loop(TGIS_Extent; Double; Boolean; TGIS_Shape; String; Boolean) public Prepares an enumerator to iterate pixels in the layer.
Loop(TGIS_Extent; Double; Boolean; TGIS_Shape; String; Integer; Boolean) public Prepares an enumerator to iterate pixels in the layer.
Loop(TGIS_Extent; Double; Integer; Boolean) public Prepares an enumerator to iterate the layer over an extent.
Loop(TGIS_Extent; Double; TGIS_Shape; String; Boolean) public Prepares an enumerator to iterate the layer with pixels treated as points.
Loop(TGIS_Extent; Double; TGIS_Shape; String; Integer; Boolean) public Prepares an enumerator to iterate the layer with pixels treated as points.
makeHistogram protected Reads a cached histogram or creates and stores one if needed.
MapColorValue public Maps a color value to a pixel color.
MapGridValue public Maps a grid value to a pixel color.
MapToRaster public Converts map coordinates to a raster pixel location.
MapToRasterRect public Converts a map extent to a raster rectangle.
MarkAsProxy public Marks the layer to be used as a proxy layer.
(Inherited from TGIS_Layer)
MarkModified public Sets IsModified flag to true for a layer and its sublayers.
(Inherited from TGIS_Layer)
MergeLayer public Merges pixel data from another pixel layer into this layer.
Move public Moves a layer up or down in the viewer zorder list.
(Inherited from TGIS_Layer)
MoveEx public Moves a layer up or down in the viewer zorder list (only visible layers).
(Inherited from TGIS_Layer)
MustCalculateStatistics public Verifies whether all statistics required to render the layer are available.
(Inherited from TGIS_Layer)
MustReproject public Checks whether the layer must be reprojected.
(Inherited from TGIS_Layer)
MustSave public Checks whether the layer was modified by editing.
(Overrides TGIS_Layer.MustSave)
Open public Opens the layer.
(Inherited from TGIS_Layer)
OpenAsync public Opens the layer asynchronously.
(Inherited from TGIS_Layer)
openBufferedFileStream protected Opens a buffered file stream for reading.
optimizeParamsCache(Integer) protected Moves the specified section to the top of the cached list.
(Inherited from TGIS_Layer)
optimizeParamsCache(Integer; Boolean) protected Moves the specified section to the top of the cached list.
(Inherited from TGIS_Layer)
Paint public Draws the layer or fires PaintLayer event (if defined).
(Inherited from TGIS_Layer)
Prepare public Opens the layer for non-drawing operations.
(Inherited from TGIS_Layer)
prepareAltitudeMapTable protected Prepares the altitude-to-color lookup table for DEM (Digital Elevation Model) rendering.
prepareColorRamp protected Prepares the cached color ramp array used for raster color mapping.
PrepareForExport public Prepares layer for export.
(Inherited from TGIS_Layer)
prepareMinMaxZ protected Scans the grid to determine minimum and maximum DEM (Digital Elevation Model) values.
prepareMinMaxZGray protected Scans the image to determine minimum and maximum DEM (Digital Elevation Model) values when RGB data is interpreted as a single grid channel.
PrepareParams public Prepares cached rendering parameters for internal use.
(Inherited from TGIS_Layer)
prepareParamsCache protected Prepares the cached section list for rendering.
(Inherited from TGIS_Layer)
prepareParamsCache(String) protected Prepares the cached section list for the specified style.
(Inherited from TGIS_Layer)
prepColorMapTbl protected Prepares the corRGB table using red, green, and blue channel control points.
prepCorTbl protected Prepares a mapping table with no color correction for full-color raster images.
prepFinalCorTable protected Prepares the final color-mapping table for 32-bit ARGB images.
prepFullGrayTable protected Prepares a mapping table for converting a full-color ARGB (32-bit alpha, red, green, blue) bitmap buffer to greyscale.
prepFullRGBMapTbl protected Prepares the full RGB lookup table used for per-channel color correction.
prepGrayMapTbl protected Prepares the mapGray2RGB table for mapping greyscale values to colors using grayMapList mapping control points.
prepRGBHist protected Prepares channel histograms for an ARGB (32-bit alpha, red, green, blue) bitmap buffer.
prepTransparent protected Prepares the transparency lookup table for raster rendering.
PreRecognize public Checks if the layer can read the file.
(Inherited from TGIS_Layer)
Project public Applies a projection on the single point.
(Inherited from TGIS_Layer)
Project3D public Applies a projection on the single point in 3D.
(Inherited from TGIS_Layer)
Project3D_Ref public Applies projection to a single 3D point.
(Inherited from TGIS_Layer)
ProjectExtent public Applies a projection on the extent.
(Inherited from TGIS_Layer)
projectionNeed protected Checks whether image reprojection is required.
Project_Ref public Applies projection to a single point.
(Inherited from TGIS_Layer)
putBitmapRawData protected Writes the provided _bitmap array as raw values for _extent.
PutGrid public Writes grid values into the layer for the area defined by _extent.
RaiseBusyEvent public Fires Busy event of the layer.
(Inherited from TGIS_Layer)
RaiseBusyPrepare public Fires BusyPrepare method of the assigned viewer.
(Inherited from TGIS_Layer)
RaiseBusyRelease public Fires BusyRelease method of the assigned viewer.
(Inherited from TGIS_Layer)
RaiseBusyShake public Fires BusyShake method of the assigned viewer.
(Inherited from TGIS_Layer)
RasterToMap public Converts a raster pixel location to map coordinates.
RasterToMapRect public Converts a raster rectangle to a map extent.
ReadConfig public Reads the layer configuration files.
(Inherited from TGIS_Layer)
ReadConfigParam public Reads a layer configuration parameter.
(Inherited from TGIS_Layer)
readDoubleBE protected Reads an 8-byte floating-point value from big-endian data.
readDoubleLE protected Reads an 8-byte floating-point value from little-endian data.
ReadGridLine public Reads a specific grid line into the preallocated buffer.
RecalcExtent public Recalculates the layer extent.
(Inherited from TGIS_Layer)
RecalcProjectedExtent public Recalculates the projected extent.
(Overrides TGIS_Layer.RecalcProjectedExtent)
Recalculate public Recalculates the minimum and maximum elevation values for the grid.
ReOpen public Reopens the layer.
(Overrides TGIS_Layer.ReOpen)
replaceWorkingFiles protected Replaces the original image with the modified temporary image.
RereadConfig public Rereads the layer configuration files.
(Inherited from TGIS_Layer)
resetMustReproject protected Resets the MustReproject state.
(Inherited from TGIS_Layer)
resolveBandDefintion protected Resolves the band definition from ForceBandLayout or raster metadata.
RevertAll public Reverts layer to its original content.
(Overrides TGIS_Layer.RevertAll)
RootLayer public Returns the absolute parent layer.
(Inherited from TGIS_Layer)
rotationNeed protected Checks whether raster image rotation is required.
SaveAll public Saves the layer and destroys mirrored items.
(Inherited from TGIS_Layer)
SaveData public Saves the entire pixel layer to its file.
(Overrides TGIS_Layer.SaveData)
ScaleGrid(TGIS_GridArray; TGIS_GridArray; Integer; Integer) public Scales a grid array using the default linear resampling filter.
ScaleGrid(TGIS_GridArray; TGIS_GridArray; Integer; Integer; TGIS_ScalingFilter) public Scales a grid array using the specified resampling filter.
setBitmapPalette protected Sets the bitmap palette to a greyscale palette.
setBmpTransparent protected Fill the provided _bitmap array with alpha set to $FF for all pixels.
SetCSByEPSG public Sets the coordinate system using an EPSG code.
(Inherited from TGIS_Layer)
SetCSByWKT public Sets the coordinate system from a WKT (Well-Known Text) string containing a GEOGCS or PROJCS definition.
(Inherited from TGIS_Layer)
SetCSByWKTFile public Sets the coordinate system from a file containing a WKT (Well-Known Text) string, such as a Shapefile .PRJ file.
(Inherited from TGIS_Layer)
SetCurrentFileScale public Sets the current internal file scale; 1.0 means no scaling.
setFileScale protected Sets the internal image scale from destination and source widths.
setFileScaleXY protected Sets the internal image scale from destination and source dimensions.
setFileView protected Sets the internal raster view.
setMapZone(array of Integer; TGIS_Color; TGIS_PixelChannelZone) protected Sets a channel mapping zone in the color map table.
setMapZone(array of Integer; TGIS_Color; TGIS_PixelGrayZone) protected Sets a greyscale mapping zone in the color map table.
setNoDataTable protected Fills the provided _grid array with NoData values.
setPage protected Sets CurrentPage for a multi-page raster image.
setUp protected Performs general pixel layer setup.
(Overrides TGIS_Layer.setUp)
setUp2 protected Performs the second general layer setup step.
(Inherited from TGIS_Layer)
setUp3 protected Performs the third general layer setup step.
(Overrides TGIS_Layer.setUp3)
setUpAsync protected Performs the first general layer setup step asynchronously.
(Inherited from TGIS_Layer)
setUpInternal protected Sets up internal pixel layer parameters and cached state.
setupParams protected Sets up the internal parameters cache.
SetWorld public Sets world file affine transformation parameters.
setWorldFile protected Sets the layer extent from a world file such as .tfw or .bpw.
simpleRGBCorrection protected Applies simple red, green, and blue band corrections to the image.
storeConfigOptions protected Stores layer option settings in a configuration file.
(Overrides TGIS_Layer.storeConfigOptions)
transformExtent protected Transforms an extent using the custom transformation.
(Inherited from TGIS_Layer)
transformNeed protected Checks whether any image transformation is required.
Unlock public Unlocks the layer from burst-mode operation.
(Inherited from TGIS_Layer)
UnlockPixels public Unlocks a fragment and posts any pending changes back to the layer.
unlockThread protected Unlocks the layer thread.
(Inherited from TGIS_Layer)
UnprepareForExport public Finalizes export initialized with PrepareForExport.
(Inherited from TGIS_Layer)
Unproject public Applies reverse projection (recovers from the projection) on the single point.
(Inherited from TGIS_Layer)
Unproject3D public Applies reverse projection to a single 3D point.
(Inherited from TGIS_Layer)
Unproject3D_Ref public Applies reverse projection to a single 3D point.
(Inherited from TGIS_Layer)
UnprojectExtent public Applies reverse projection (recovers from the projection) on the extent.
(Inherited from TGIS_Layer)
Unproject_Ref public Applies reverse projection to a single point.
(Inherited from TGIS_Layer)
ViewerReParent public Sets the viewer for the layer and its sublayers.
(Inherited from TGIS_Layer)
WriteConfig public Writes the layer configuration files.
(Inherited from TGIS_Layer)

2026/07/11 00:31

Page Tools