A sparse point gradient interpolator using a barycentric coordinate system for interpolation
Based on three (and only three) vertices, with each vertex specified with a certain color, a linear triangle of color is calculated. Outside this triangle the colours continue as before.
Figure 1: Output of a TBarycentricGradientSampler with the underlying triangle vertices marked with circles
Methods | Properties | Events |
---|---|---|
In TBarycentricGradientSampler: | ||
Create | ||
GetSample | ||
IsPointInTriangle | ||
PrepareSampling | ||
SetColorPoints | ||
SetPoints | ||
In TCustomSparsePointGradientSampler: | ||
Color | ||
ColorPoint | ||
Count | ||
Point | ||
In TCustomSampler: | ||
FinalizeSampling | ||
GetSampleBounds | ||
HasBounds | ||
In TNotifiablePersistent: | ||
BeginUpdate | UpdateCount | OnChange |
Changed | ||
Destroy | ||
EndUpdate |
Copyright ©2000-2024 Alex Denisov and the Graphics32 Team - Graphics32 2.0 - Help file built on 18 Feb 2024