这篇教程C++ Apply函数代码示例写得很实用,希望能帮到您。
本文整理汇总了C++中Apply函数的典型用法代码示例。如果您正苦于以下问题:C++ Apply函数的具体用法?C++ Apply怎么用?C++ Apply使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。 在下文中一共展示了Apply函数的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。 示例1: ApplyvoidQvisTensorPlotWindow::scaleByMagnitudeToggled(bool){ tensorAtts->SetScaleByMagnitude(!tensorAtts->GetScaleByMagnitude()); Apply();}
开发者ID:burlen,项目名称:visit_vtk_7_src,代码行数:6,
示例2: Apply/*----------------------------------------------------------------------| PLT_MediaObjectList::~PLT_MediaObjectList+---------------------------------------------------------------------*/PLT_MediaObjectList::~PLT_MediaObjectList(){ Apply(NPT_ObjectDeleter<PLT_MediaObject>());}
开发者ID:DanielCoufal,项目名称:xbmc,代码行数:7,
示例3: ApplyvoidQvisAxisAttributesWidget::titleFontChanged(const FontAttributes &f){ atts.GetTitle().SetFont(f); Apply();}
开发者ID:HarinarayanKrishnan,项目名称:VisIt28RC_Trunk,代码行数:6,
示例4: GetCurrentValuesvoidQvisLegacyStreamlinePlotWindow::radiusProcessText(){ GetCurrentValues(16); Apply();}
开发者ID:burlen,项目名称:visit_vtk_7_src,代码行数:6,
示例5: ApplyvoidQvisLegacyStreamlinePlotWindow::pointDensityChanged(int val){ streamAtts->SetPointDensity(val); Apply();}
开发者ID:burlen,项目名称:visit_vtk_7_src,代码行数:6,
示例6: GetCurrentValuesvoidQvisTensorPlotWindow::processStrideText(){ GetCurrentValues(TensorAttributes::ID_stride); Apply();}
开发者ID:burlen,项目名称:visit_vtk_7_src,代码行数:6,
示例7: ViewPlayField::PlayField(Hiscore *h, View *parent, ScrollText *st) : View(Rect(0,0,1,1)), Message(){ //-.25f,-.25f,1.25f,1.25f)){// Listen("/Devices/Input/Dialogic"); SetClearState(false); #ifdef NEWSCALE parent->Apply(this); players = new DynamicArray(); channels = new DynamicArray(); int dir = 0; int x = 1; int y = 1; int xr = 2; int yb = 2; int xl = 0; int yt = 0; int n = 1; for(int _x=0; _x<4; _x++){ for(int _y=0; _y<4; _y++){ Player *pl = new Player(h,Rect((float(x)/4.0f),(float(y)/4.0f),(float(x+1)/4.0f),(float(y+1)/4.0f)),st,n++); Apply(pl); players->Add(pl); channels->Add(0); switch(dir){ case 0: if(++x==xr){ dir++; xr++; } break; case 1: if(++y==yb){ dir++; yb++; } break; case 2: if(--x==xl){ dir++; xl--; } break; case 3: if(--y==yt){ dir=0; yt--; } break; } } } #else parent->Apply(this); players = new DynamicArray(); channels = new DynamicArray(); int dir = 0; int x = 1; int y = 1; int xr = 2; int yb = 2; int xl = 1; int yt = 1; int n = 1; for(int _x=0; _x<4; _x++){ for(int _y=0; _y<4; _y++){ Player *pl = new Player(h,Rect((float(x)/4.0f),(float(y)/4.0f),(float(x+1)/4.0f),(float(y+1)/4.0f)),st,n++); Apply(pl); players->Add(pl); channels->Add(0); switch(dir){ case 0: if(++x==xr){ dir++; xr++; } break; case 1: if(++y==yb){ dir++; yb++; } break; case 2: if(--x==xl){ dir++; xl--; } break; case 3: if(--y==yt){ dir=0; yt--; x--; y--; } break; } } } #endif foo = 0; player_count=0; zoom = .5f; xz = yz = 0; Listen("/Devices/Input/Dialogic");}
开发者ID:patrickhno,项目名称:bandit,代码行数:69,
示例8: qDebugvoid Connection::applyConfigs (){ qDebug("%s", __FUNCTION__); recurse(m_data, Apply());}
开发者ID:barycz,项目名称:whs-trace,代码行数:5,
示例9: Apply //! This overload is here to make sure int gets casted right to size_t. inline double Apply(arma::mat& data, const int newDimension) const { return Apply(data, size_t(newDimension)); }
开发者ID:GABowers,项目名称:MinGW_libs,代码行数:5,
注:本文中的Apply函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 C++ ApplyLanguage函数代码示例 C++ AppendUTF8toUTF16函数代码示例 |