Lines Matching refs:appCore

59     appCore=core;  in KdePreferencesDialog()
67 int renderFlags = appCore->getRenderer()->getRenderFlags(); in KdePreferencesDialog()
156 int labelMode = appCore->getRenderer()->getLabelMode(); in KdePreferencesDialog()
158 int orbitMask = appCore->getRenderer()->getOrbitMask(); in KdePreferencesDialog()
258 savedAmbientLightLevel = int(appCore->getRenderer()->getAmbientLightLevel() * 100); in KdePreferencesDialog()
269 savedFaintestVisible = int(appCore->getSimulation()->getFaintestVisible() * 100); in KdePreferencesDialog()
285 savedHudDetail = appCore->getHudDetail(); in KdePreferencesDialog()
295 savedTextureRes = appCore->getRenderer()->getResolution(); in KdePreferencesDialog()
301 new QLabel(QString::number(appCore->getScreenDpi(), 10), fovGroup); in KdePreferencesDialog()
304 savedDistanceToScreen = appCore->getDistanceToScreen(); in KdePreferencesDialog()
309 Observer* obs = appCore->getSimulation()->getActiveObserver(); in KdePreferencesDialog()
356 savedMinFeatureSize = (int)appCore->getRenderer()->getMinimumFeatureSize(); in KdePreferencesDialog()
371 savedDisplayLocalTime = appCore->getTimeZoneBias(); in KdePreferencesDialog()
378 displayTimezoneCombo->setCurrentItem((appCore->getTimeZoneBias()==0)?0:1); in KdePreferencesDialog()
388 savedDateFormat = appCore->getDateFormat(); in KdePreferencesDialog()
447 setTime(astro::TDBtoUTC(appCore->getSimulation()->getTime())); in KdePreferencesDialog()
461 Selection selection = appCore->getSimulation()->getSelection(); in KdePreferencesDialog()
467 Vec3d v = selection.getPosition(appCore->getSimulation()->getTime()) - in KdePreferencesDialog()
468 appCore->getSimulation()->getObserver().getPosition(); in KdePreferencesDialog()
483 if (!appCore->getLightDelayActive()) in KdePreferencesDialog()
498 savedRenderPath = (int)appCore->getRenderer()->getGLContext()->getRenderPath(); in KdePreferencesDialog()
499 if (appCore->getRenderer()->getGLContext()->renderPathSupported(GLContext::GLPath_Basic)) in KdePreferencesDialog()
501 if (appCore->getRenderer()->getGLContext()->renderPathSupported(GLContext::GLPath_Multitexture)) in KdePreferencesDialog()
503 if (appCore->getRenderer()->getGLContext()->renderPathSupported(GLContext::GLPath_NvCombiner)) in KdePreferencesDialog()
505 if (appCore->getRenderer()->getGLContext()->renderPathSupported(GLContext::GLPath_DOT3_ARBVP)) in KdePreferencesDialog()
507 …if (appCore->getRenderer()->getGLContext()->renderPathSupported(GLContext::GLPath_NvCombiner_NvVP)) in KdePreferencesDialog()
509 …if (appCore->getRenderer()->getGLContext()->renderPathSupported(GLContext::GLPath_NvCombiner_ARBVP… in KdePreferencesDialog()
511 if (appCore->getRenderer()->getGLContext()->renderPathSupported(GLContext::GLPath_ARBFP_ARBVP)) in KdePreferencesDialog()
513 if (appCore->getRenderer()->getGLContext()->renderPathSupported(GLContext::GLPath_NV30)) in KdePreferencesDialog()
515 if (appCore->getRenderer()->getGLContext()->renderPathSupported(GLContext::GLPath_GLSL)) in KdePreferencesDialog()
522 while (path != appCore->getRenderer()->getGLContext()->getRenderPath()) { in KdePreferencesDialog()
526 …} while (!appCore->getRenderer()->getGLContext()->renderPathSupported((GLContext::GLRenderPath)pat… in KdePreferencesDialog()
537 savedVideoSync = appCore->getRenderer()->getVideoSync(); in KdePreferencesDialog()
582 Selection selection = appCore->getSimulation()->getSelection(); in ltSubstract()
588 (appCore->getSimulation()->getTargetSpeed() < 0.99 * in ltSubstract()
592 appCore->getSimulation()->getObserver().getPosition(); in ltSubstract()
593 appCore->setLightDelayActive(!appCore->getLightDelayActive()); in ltSubstract()
596 if (appCore->getLightDelayActive()) in ltSubstract()
665 appCore->getRenderer()->setRenderFlags(savedRendererFlags); in slotCancel()
666 appCore->getRenderer()->setLabelMode(savedLabelMode); in slotCancel()
667 appCore->getRenderer()->setOrbitMask(savedOrbitMask); in slotCancel()
668 appCore->getRenderer()->setAmbientLightLevel(savedAmbientLightLevel/100.); in slotCancel()
669 appCore->getSimulation()->setFaintestVisible(savedFaintestVisible/100.); in slotCancel()
670 appCore->setHudDetail(savedHudDetail); in slotCancel()
671 appCore->getRenderer()->getGLContext()->setRenderPath((GLContext::GLRenderPath)savedRenderPath); in slotCancel()
672 appCore->setDistanceToScreen(savedDistanceToScreen); in slotCancel()
673 appCore->getSimulation()->getActiveObserver()->setLocationFilter(savedLocationFilter); in slotCancel()
674 appCore->getRenderer()->setMinimumFeatureSize(savedMinFeatureSize); in slotCancel()
675 appCore->getRenderer()->setVideoSync(savedVideoSync); in slotCancel()
676 appCore->getRenderer()->setResolution(savedTextureRes); in slotCancel()
677 appCore->setDateFormat(savedDateFormat); in slotCancel()
682 savedRendererFlags = appCore->getRenderer()->getRenderFlags(); in slotApply()
683 savedLabelMode = appCore->getRenderer()->getLabelMode(); in slotApply()
684 savedAmbientLightLevel = int(appCore->getRenderer()->getAmbientLightLevel() * 100); in slotApply()
685 savedFaintestVisible = int(appCore->getSimulation()->getFaintestVisible() * 100); in slotApply()
686 savedHudDetail = appCore->getHudDetail(); in slotApply()
687 savedDisplayLocalTime = appCore->getTimeZoneBias(); in slotApply()
688 savedRenderPath = (int)appCore->getRenderer()->getGLContext()->getRenderPath(); in slotApply()
689 savedDistanceToScreen = appCore->getDistanceToScreen(); in slotApply()
690 savedLocationFilter = appCore->getSimulation()->getActiveObserver()->getLocationFilter(); in slotApply()
691 savedMinFeatureSize = (int)appCore->getRenderer()->getMinimumFeatureSize(); in slotApply()
692 savedVideoSync = appCore->getRenderer()->getVideoSync(); in slotApply()
693 savedTextureRes = appCore->getRenderer()->getResolution(); in slotApply()
694 savedDateFormat = appCore->getDateFormat(); in slotApply()
711 appCore->getSimulation()->setTime(astro::UTCtoTDB((double) date)); in slotApply()
712 appCore->getSimulation()->update(0.0); in slotApply()
721appCore->getSimulation()->setTime(astro::UTCtoTDB(astro::secondsToJulianDate(mktime(&time)) + (dou… in slotApply()
722 appCore->getSimulation()->update(0.0); in slotApply()
766 …} while (!appCore->getRenderer()->getGLContext()->renderPathSupported((GLContext::GLRenderPath)pat… in slotRenderPath()
769 appCore->getRenderer()->getGLContext()->setRenderPath((GLContext::GLRenderPath)path); in slotRenderPath()
774 appCore->setDistanceToScreen(dts * 10); in slotDistanceToScreen()
778 appCore->getRenderer()->setResolution(res); in slotTextureRes()
782 appCore->setDateFormat((astro::Date::Format)format); in slotDateFormat()
786 switch(appCore->getRenderer()->getGLContext()->getRenderPath()) { in setRenderPathLabel()