.GEN
file
describing the USRP image: IlvRasterUSRPReader imageReader = new IlvRasterUSRPReader(); imageReader.addMap(fileName);
.
) at the end of
the filename, and constructs the names of the .GEN
, .IMG
and .QAL
files
from that base name. Note that a field inside the .GEN
file
can possibly override this default mechanism. IlvMapDataSource imageDataSource = IlvRasterDataSourceFactory.buildTiledImageDataSource(manager,imageReader, true,true,null); IlvMapDataSourceModel dataSourceModel = IlvMapDataSourceProperty.GetMapDataSourceModel(manager); dataSourceModel.insert(imageDataSource);
dataSourceModel.start();