void ossimQtTopographicCorrectionDialogController::setObject(ossimConnectableObject* obj) { theObject = PTR_CAST(ossimTopographicCorrectionFilter, obj); if(theObject) { transferToDialog(); } else { theDialog->close(true); } }
void ossimQtViewDialogController::apply() { if ( isIdentityMode() ) { emit setIdentityMode(true); } else { emit setIdentityMode(false); transferFromDialog(); emit applyView(theViewObject.get()); transferToDialog(); } }
void ossimQtTopographicCorrectionDialogController::typeActivated(const QString& type) { if(theObject) { if(type == "Minnaert") { theObject->setTopoCorrectionType(ossimTopographicCorrectionFilter::TOPO_CORRECTION_MINNAERT); } else { theObject->setTopoCorrectionType(ossimTopographicCorrectionFilter::TOPO_CORRECTION_COSINE); } transferToDialog(); applyChanges(); } }
void ossimQtViewDialogController::setView(const ossimObject* view) { theViewObject = 0; if(view) theViewObject = view->dup(); transferToDialog(); }