[gdal-dev] VRTComplexSource with a LUT, proposal

Even Rouault even.rouault at mines-paris.org
Sat May 19 11:12:56 EDT 2012


Le samedi 19 mai 2012 16:58:07, Saâd HESSANE a écrit :
> Hi,
> 
> In wanting to add programmatically a LUT to a VRTComplexSource, I read the
> VRT driver source code.
> VRTComplexSource have three public attributes : *double
> *padfLUTInputs*, *double
> *padfLUTOutputs* and *int nLUTItemCount.*
> *
> *

You should even not consider the VRTComplexSource class to be in the public 
API, so the visibility of its members is not significant. And playing with them 
from the outside isn't recommanded at all.

The only official way of changing the LUT is to change the XML of the VRT and 
reload it.


More information about the gdal-dev mailing list