STE-Industries: utilities testing
GraphicSpace::Bitmap::PixelInformationType::NeighbourType Struct Reference

#include "Bitmap.h"

Collaboration diagram for GraphicSpace::Bitmap::PixelInformationType::NeighbourType:
Collaboration graph

Public Member Functions

bool SetLink (const Bitmap &Image, unsigned int Row, unsigned int Colum) noexcept
 

Public Attributes

uint_least32_t Attraction
 
uint_least32_t Index
 

Detailed Description

The NeighbourType struct contains the information about a neighbour pixel.

Definition at line 335 of file Bitmap.h.

Member Function Documentation

◆ SetLink()

bool GraphicSpace::Bitmap::PixelInformationType::NeighbourType::SetLink ( const Bitmap Image,
unsigned int  Row,
unsigned int  Column 
)
inlinenoexcept
Description:
Set the index of a neighbour of a pixel.
Parameters
ImageReference to the Bitmap containing the pixel.
RowRow index.
ColumnColumn index.
Exceptions
None.
Returns
bool true, if the neighbour exists.
Note
The neighbour exits iff Row < Height and Column < Width.

Definition at line 34 of file Bitmap.inl.

Member Data Documentation

◆ Attraction

uint_least32_t GraphicSpace::Bitmap::PixelInformationType::NeighbourType::Attraction

property Attraction Value of the attraction between the pixel and its neighbour.

Note
The value is the floating point value, multiplied for ATTRACTION_SCALE and rounded to the nearest integer.

Definition at line 348 of file Bitmap.h.

◆ Index

uint_least32_t GraphicSpace::Bitmap::PixelInformationType::NeighbourType::Index

property Index Index of the neighbour pixel.

Definition at line 340 of file Bitmap.h.

Referenced by GraphicSpace::Bitmap::PixelInformationType::SetAttraction().


The documentation for this struct was generated from the following files: