resetDefaults(rndDef, getMetadata(), iPixels);
resetDefaults(rndDef, getMetadata(), iPixels, buffer);
    public void resetDefaults()    {    	// Reset our default rendering definition parameters.    	resetDefaults(rndDef, getMetadata(), iPixels);    	    	// Keep up with rendering engine model state.    	setModel(rndDef.getModel());        // Remove all the codomainMapCtx except the identity. (Also keeping up    	// with rendering engine state)        if (getCodomainChain() != null)        	getCodomainChain().remove();    	    	// Save the rendering definition to the database.        iPixels.saveRndSettings(rndDef);    }