void QvisLegacyStreamlinePlotWindow::makeDefault() { GetCurrentValues(-1); streamAtts->Notify(); GetViewerMethods()->SetDefaultPlotOptions(plotType); }
void QvisTruecolorPlotWindow::makeDefault() { GetCurrentValues(-1); atts->Notify(); GetViewerMethods()->SetDefaultPlotOptions(plotType); }
void QvisLightingWindow::Apply(bool ignore) { // This is a little different from how it is normally done in a window // but we're setting attributes for an individual object in a list of // objects and we have to get the current values all the time in case // some of them changed because a full update is going to cause all // light attributes for the active light to be selected, which could // cause text widgets like the light direction to get reset. GetCurrentValues(-1); if(AutoUpdate() || ignore) { lights->Notify(); LightAttributes &light = lights->GetLight(activeLight); if (light.GetEnabledFlag() == false && !enableToggledSinceApply) { // User modified a light, but the light is not enabled. Let them // know. Error("You have modified the properties of a disabled light. This " "will have no effect."); } GetViewerMethods()->SetLightList(); } else lights->Notify(); enableToggledSinceApply = false; }
void QvisLightingWindow::activeLightComboBoxChanged(int index) { GetCurrentValues(-1); activeLight = index; UpdateWindow(true); }
// **************************************************************************** // Method: QvisKeyframeWindow::nFramesProcessText // // Purpose: // number of frames text callback // // Programmer: Jeremy Meredith // Creation: May 8, 2002 // // Modifications: // Jeremy Meredith, Fri Jan 31 09:42:36 PST 2003 // Added code to update the global atts. // // **************************************************************************** void QvisKeyframeWindow::nFramesProcessText() { GetCurrentValues(KeyframeAttributes::ID_nFrames); Apply(); UpdateWindowInformation(); }
void QvisOperatorWindow::makeDefault() { // Tell the viewer to set the default pc attributes. GetCurrentValues(-1); subject->Notify(); GetViewerMethods()->SetDefaultOperatorOptions(operatorType); }
void QvisSurfacePlotWindow::makeDefault() { // Tell the viewer to set the default surface plot attributes. GetCurrentValues(-1); surfaceAtts->Notify(); GetViewerMethods()->SetDefaultPlotOptions(plotType); }
void QvisLightingWindow::makeDefault() { GetCurrentValues(-1); lights->Notify(); GetViewerMethods()->SetDefaultLightList(); }
void QvisTensorPlotWindow::makeDefault() { // Tell the viewer to set the default tensor attributes. GetCurrentValues(-1); tensorAtts->Notify(); GetViewerMethods()->SetDefaultPlotOptions(plotType); }
void QvisAppearanceWindow::Apply(bool ignore) { if(AutoUpdate() || ignore) { GetCurrentValues(-1); emit changeAppearance(true); } }
void QvisTruecolorPlotWindow::Apply(bool ignore) { if(AutoUpdate() || ignore) { GetCurrentValues(-1); atts->Notify(); GetViewerMethods()->SetPlotOptions(plotType); } else atts->Notify(); }
void QvisLegacyStreamlinePlotWindow::Apply(bool ignore) { if(AutoUpdate() || ignore) { GetCurrentValues(-1); streamAtts->Notify(); GetViewerMethods()->SetPlotOptions(plotType); } else streamAtts->Notify(); }
void QvisOperatorWindow::Apply(bool ignore) { if(AutoUpdate() || ignore) { // Get the current aslice attributes and tell the other // observers about them. GetCurrentValues(-1); subject->Notify(); // Tell the viewer to set the operator attributes. SetOperatorOptions(); } else subject->Notify(); }
void QvisTensorPlotWindow::Apply(bool ignore) { if(AutoUpdate() || ignore) { // Get the current aslice attributes and tell the other // observers about them. GetCurrentValues(-1); tensorAtts->Notify(); // Tell the viewer to set the tensor attributes. GetViewerMethods()->SetPlotOptions(plotType); } else tensorAtts->Notify(); }
void QvisKeyframeWindow::Apply(bool ignore) { if(AutoUpdate() || ignore) { // // If the user changed the number of frames then send it. Otherwise, // don't set the number of frames so the number can be determined // automatically. // if(kfAtts->GetNFramesWasUserSet()) GetCurrentValues(-1); kfAtts->Notify(); GetViewerMethods()->SetKeyframeAttributes(); } else kfAtts->Notify(); }
void QvisLegacyStreamlinePlotWindow::lineEndProcessText() { GetCurrentValues(5); Apply(); }
void QvisLightingWindow::processLineDirectionText() { GetCurrentValues(0); Apply(); }
void QvisLegacyStreamlinePlotWindow::planeNormalProcessText() { GetCurrentValues(7); Apply(); }
void QvisLegacyStreamlinePlotWindow::planeOriginProcessText() { GetCurrentValues(6); Apply(); }
void QvisSurfacePlotWindow::processMaxLimitText() { GetCurrentValues(SurfaceAttributes::ID_max); Apply(); }
void QvisLegacyStreamlinePlotWindow::planeUpAxisProcessText() { GetCurrentValues(8); Apply(); }
void QvisLegacyStreamlinePlotWindow::sphereOriginProcessText() { GetCurrentValues(10); Apply(); }
void QvisSurfacePlotWindow::processSkewText() { GetCurrentValues(SurfaceAttributes::ID_skewFactor); Apply(); }
void QvisLegacyStreamlinePlotWindow::boxExtentsProcessText() { GetCurrentValues(12); Apply(); }
void QvisLegacyStreamlinePlotWindow::radiusProcessText() { GetCurrentValues(16); Apply(); }
const AxisAttributes & QvisAxisAttributesWidget::getAxisAttributes() { GetCurrentValues(atts, -1); return atts; }
void QvisLine3DInterface::tubeRadiusChanged() { GetCurrentValues(4); Apply(); }
void QvisLine3DInterface::arrow2RadiusChanged() { GetCurrentValues(3); Apply(); }
void QvisLine3DInterface::point2Changed() { GetCurrentValues(1); Apply(); }
// // Qt slot functions // void QvisAxisAttributesWidget::Apply() { GetCurrentValues(atts, -1, -1); emit axisChanged(atts); }