public override void RenderingConfigurationChanged(RenderingConfigurator conf)
        {
            renderingConfiguration = conf;

            if (LasDataManager.ColorPallette != null)
            {
                LasDataManager.ColorPallette.ColorMode = renderingConfiguration.colorType;
            }

            selectedTexture = (int)renderingConfiguration.pointTexture;

            CgGl.cgGLSetParameter1f(m_CGparam_sizeFactorPass1, renderingConfiguration.pointSize);
            checkForCgError("setting sizeFactor");

            CgGl.cgGLSetParameter1f(m_CGparam_sizeFactorPass2, renderingConfiguration.pointSize);
            checkForCgError("setting sizeFactor2");

            CgGl.cgGLSetParameter1f(m_CGparam_zoffsetPass1, renderingConfiguration.Zoffset);
            checkForCgError("setting zoffset");

            CgGl.cgGLSetParameter1f(m_CGparam_splatRotationCutoffDistPass1, renderingConfiguration.splatRotationCutoffDistance);
            checkForCgError("setting splatRotationCutoffDistancePass1");

            CgGl.cgGLSetParameter1f(m_CGparam_splatRotationCutoffDistPass2, renderingConfiguration.splatRotationCutoffDistance);
            checkForCgError("setting splatRotationCutoffDistancePass2");
        }
Example #2
0
 public override void Init()
 {
     renderingConfiguration = new RenderingConfigurator();
     renderingConfiguration.cutoffDistance = -1;
     renderingConfiguration.colorType      = ColoringType.Classification;
     renderingConfiguration.pointSize      = 1;
     renderingConfiguration.pointTexture   = PointTexture.Square;
 }
        public override void Init()
        {
            renderingConfiguration = new RenderingConfigurator();
            renderingConfiguration.cutoffDistance = -1;
            renderingConfiguration.colorType      = ColoringType.Classification;
            renderingConfiguration.pointSize      = 1;
            renderingConfiguration.pointTexture   = PointTexture.Gaussian;

            LoadGLTextures();
            InitCg();
        }
Example #4
0
 public abstract void RenderingConfigurationChanged(RenderingConfigurator conf);
Example #5
0
 public override void RenderingConfigurationChanged(RenderingConfigurator conf)
 {
     renderingConfiguration = conf;
 }