当前位置: 首页>>代码示例>>C++>>正文


C++ SetUpdate函数代码示例

本文整理汇总了C++中SetUpdate函数的典型用法代码示例。如果您正苦于以下问题:C++ SetUpdate函数的具体用法?C++ SetUpdate怎么用?C++ SetUpdate使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了SetUpdate函数的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: SetUpdate

void
QvisLegacyStreamlinePlotWindow::colorTableNameChanged(bool useDefault, const QString &ctName)
{
    streamAtts->SetColorTableName(ctName.latin1());
    SetUpdate(false);
    Apply();
}
开发者ID:burlen,项目名称:visit_vtk_7_src,代码行数:7,代码来源:QvisLegacyStreamlinePlotWindow.C

示例2: SetUpdate

void
QvisLine3DInterface::visibilityToggled(bool val)
{
    annot->SetVisible(val);
    SetUpdate(false);
    Apply();
}
开发者ID:burlen,项目名称:visit_vtk_7_src,代码行数:7,代码来源:QvisLine3DInterface.C

示例3: SetUpdate

void
QvisLegendAttributesInterface::boldToggled(bool val)
{
    annot->SetFontBold(val);
    SetUpdate(false);
    Apply();
}
开发者ID:HarinarayanKrishnan,项目名称:VisIt28RC_Trunk,代码行数:7,代码来源:QvisLegendAttributesInterface.C

示例4: SetBool

void
QvisLegendAttributesInterface::drawMinmaxToggled(bool val)
{
    SetBool(LEGEND_DRAW_MINMAX, val);
    SetUpdate(false);
    Apply();
}
开发者ID:HarinarayanKrishnan,项目名称:VisIt28RC_Trunk,代码行数:7,代码来源:QvisLegendAttributesInterface.C

示例5: SetUpdate

// ****************************************************************************
//  Method:  QvisKeyframeWindow::keyframeEnabledToggled
//
//  Purpose:
//    toggle the keyframe enabled mode
//
//  Programmer:  Jeremy Meredith
//  Creation:    January 23, 2003
//
//  Modifications:
//    Brad Whitlock, Tue Oct 28 09:27:41 PDT 2008
//    Don't update.
//
// ****************************************************************************
void
QvisKeyframeWindow::keyframeEnabledToggled(bool k)
{
    kfAtts->SetEnabled(k);
    SetUpdate(false);
    Apply();
}
开发者ID:HarinarayanKrishnan,项目名称:VisIt28RC_Trunk,代码行数:21,代码来源:QvisKeyframeWindow.C

示例6: SetUpdate

void
ViewerProxy::SetPlotSILRestriction(avtSILRestriction_p newRestriction)
{
    // Copy the new SIL restriction into the internal SIL restriction object.
    internalSILRestriction = newRestriction;

    SILRestrictionAttributes *newSRA =internalSILRestriction->MakeAttributes();
    if(newSRA)
    {
        // Copy the attribute representation of the SIL restriction into the
        // silRestrictionAtts object and send notify observers. Note that
        // SetUpdate is set to false so the proxy's Update method is NOT called
        SILRestrictionAttributes *silRestrictionAtts = 
            state->GetSILRestrictionAttributes();
        *silRestrictionAtts = *newSRA;
        SetUpdate(false);
        silRestrictionAtts->Notify();

        // Now that the new SIL restriction attributes have been sent to the
        // viewer, send the RPC that tells the viewer to apply them.
        GetViewerMethods()->SetPlotSILRestriction();

        // Delete the new SRA since we're done with it.
        delete newSRA;
    }
}
开发者ID:burlen,项目名称:visit_vtk_7_src,代码行数:26,代码来源:ViewerProxy.C

示例7: SetUpdate

void
QvisSpreadsheetPlotWindow::subsetNameChanged(const QString &name)
{
    atts->SetSubsetName(name.toStdString());
    SetUpdate(false);
    Apply();
}
开发者ID:ahota,项目名称:visit_intel,代码行数:7,代码来源:QvisSpreadsheetPlotWindow.C

示例8: SetupEntity

void CVicinityDependentObjectMover::Reset( const bool bEnteringGameMode )
{
	m_bForcedReverseMoveToStartPos = false;
	m_currentState = eObjectRangeMoverState_None;
	SetupEntity();
	SetUpdate();
}
开发者ID:Kufusonic,项目名称:Work-in-Progress-Sonic-Fangame,代码行数:7,代码来源:VicinityDependentObjectMover.cpp


注:本文中的SetUpdate函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。