CodomainMapContext mapCtx; Iterator i = rd.getSpatialDomainEnhancement().iterator(); while (i.hasNext()) { mapCtx = (CodomainMapContext) i.next(); mapCtx.setCodomain(start, end); }
    public synchronized void setCodomainInterval(int start, int end)    {        CodomainChain chain = renderer.getCodomainChain();        chain.setInterval(start, end);        RenderingDef rd = renderer.getRenderingDef();        QuantumDef qd = rd.getQuantization(), newQd;        newQd = new QuantumDef();        newQd.setBitResolution(qd.getBitResolution());        newQd.setCdStart(Integer.valueOf(start));        newQd.setCdStop(Integer.valueOf(end));        rd.setQuantization(newQd);// FIXME//        CodomainMapContext mapCtx;//        Iterator i = rd.getCodomainChainDef().iterator();//        while (i.hasNext())//        {//            mapCtx = (CodomainMapContext) i.next();//            mapCtx.setCodomain(start, end);//        }    }