public void configViewMode(int state){
switch (state) {
case (ViewerSurfaceView.NORMAL):
    setOverhang(false);
  setXray(false);
setTransparent(false);
break;
case (ViewerSurfaceView.XRAY):
setOverhang(false);
setXray(true);
setTransparent(false);
break;
case (ViewerSurfaceView.TRANSPARENT):
setOverhang(false);
setXray(false);
setTransparent(true);
break;
case (ViewerSurfaceView.OVERHANG):
setOverhang(true);
setXray(false);
setTransparent(false);
break;
}
requestRender();
}

public void configViewMode ( int state ) { switch ( state ) { case ( ViewerSurfaceView . NORMAL ) : setOverhang ( false ) ; setXray ( false ) ; setTransparent ( false ) ; break ; case ( ViewerSurfaceView . XRAY ) : setOverhang ( false ) ; setXray ( true ) ; setTransparent ( false ) ; break ; case ( ViewerSurfaceView . TRANSPARENT ) : setOverhang ( false ) ; setXray ( false ) ; setTransparent ( true ) ; break ; case ( ViewerSurfaceView . OVERHANG ) : setOverhang ( true ) ; setXray ( false ) ; setTransparent ( false ) ; break ; } requestRender ( ) ; }
set the view options depending on the model
