本文整理汇总了C++中Geom::GetWakeActiveFlag方法的典型用法代码示例。如果您正苦于以下问题:C++ Geom::GetWakeActiveFlag方法的具体用法?C++ Geom::GetWakeActiveFlag怎么用?C++ Geom::GetWakeActiveFlag使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Geom
的用法示例。
在下文中一共展示了Geom::GetWakeActiveFlag方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: Update
//.........这里部分代码省略.........
string keyname = CfdMeshMgr.GetCfdSettingsPtr()->GetExportFileName( vsp::CFD_KEY_FILE_NAME );
m_CfdMeshUI->keyName->value( truncateFileName( keyname, 40 ).c_str() );
string objname = CfdMeshMgr.GetCfdSettingsPtr()->GetExportFileName( vsp::CFD_OBJ_FILE_NAME );
m_CfdMeshUI->objName->value( truncateFileName( objname, 40 ).c_str() );
string polyname = CfdMeshMgr.GetCfdSettingsPtr()->GetExportFileName( vsp::CFD_POLY_FILE_NAME );
m_CfdMeshUI->polyName->value( truncateFileName( polyname, 40 ).c_str() );
string stlname = CfdMeshMgr.GetCfdSettingsPtr()->GetExportFileName( vsp::CFD_STL_FILE_NAME );
m_CfdMeshUI->stlName->value( truncateFileName( stlname, 40 ).c_str() );
string triname = CfdMeshMgr.GetCfdSettingsPtr()->GetExportFileName( vsp::CFD_TRI_FILE_NAME );
m_CfdMeshUI->triName->value( truncateFileName( triname, 40 ).c_str() );
string gmshname = CfdMeshMgr.GetCfdSettingsPtr()->GetExportFileName( vsp::CFD_GMSH_FILE_NAME );
m_CfdMeshUI->gmshName->value( truncateFileName( gmshname, 40 ).c_str() );
string srfname = CfdMeshMgr.GetCfdSettingsPtr()->GetExportFileName( vsp::CFD_SRF_FILE_NAME );
m_CfdMeshUI->srfName->value( truncateFileName( srfname, 40 ).c_str() );
string tkeyname = CfdMeshMgr.GetCfdSettingsPtr()->GetExportFileName( vsp::CFD_TKEY_FILE_NAME );
m_CfdMeshUI->tkeyName->value( truncateFileName( tkeyname, 40).c_str() );
//==== Export Flags ====//
m_DatToggleButton.Update( CfdMeshMgr.GetCfdSettingsPtr()->GetExportFileFlag( vsp::CFD_DAT_FILE_NAME )->GetID() );
m_KeyToggleButton.Update( CfdMeshMgr.GetCfdSettingsPtr()->GetExportFileFlag( vsp::CFD_KEY_FILE_NAME )->GetID() );
m_ObjToggleButton.Update( CfdMeshMgr.GetCfdSettingsPtr()->GetExportFileFlag( vsp::CFD_OBJ_FILE_NAME )->GetID() );
m_PolyToggleButton.Update( CfdMeshMgr.GetCfdSettingsPtr()->GetExportFileFlag( vsp::CFD_POLY_FILE_NAME )->GetID() );
m_StlToggleButton.Update( CfdMeshMgr.GetCfdSettingsPtr()->GetExportFileFlag( vsp::CFD_STL_FILE_NAME )->GetID() );
m_StlMultiSolidToggleButton.Update( m_Vehicle->m_STLMultiSolid.GetID() );
m_TriToggleButton.Update( CfdMeshMgr.GetCfdSettingsPtr()->GetExportFileFlag( vsp::CFD_TRI_FILE_NAME )->GetID() );
m_GmshToggleButton.Update( CfdMeshMgr.GetCfdSettingsPtr()->GetExportFileFlag( vsp::CFD_GMSH_FILE_NAME )->GetID() );
m_SrfToggleButton.Update( CfdMeshMgr.GetCfdSettingsPtr()->GetExportFileFlag( vsp::CFD_SRF_FILE_NAME )->GetID() );
m_TkeyToggleButton.Update( CfdMeshMgr.GetCfdSettingsPtr()->GetExportFileFlag( vsp::CFD_TKEY_FILE_NAME)->GetID() );
//==== Wake Flag ====//
if( wakeGeom )
{
if ( wakeGeom->GetWakeActiveFlag() )
{
m_CfdMeshUI->addWakeButton->value( 1 );
}
else
{
m_CfdMeshUI->addWakeButton->value( 0 );
}
}
//=== Domain tab GUI active areas ===//
if ( CfdMeshMgr.GetCfdSettingsPtr()->GetFarMeshFlag() )
{
m_CfdMeshUI->farParametersGroup->activate();
if( CfdMeshMgr.GetCfdSettingsPtr()->GetFarCompFlag() )
{
m_CfdMeshUI->farBoxGroup->deactivate();
m_CfdMeshUI->farCompGroup->activate();
}
else
{
m_CfdMeshUI->farBoxGroup->activate();
m_CfdMeshUI->farCompGroup->deactivate();
if( CfdMeshMgr.GetCfdSettingsPtr()->GetFarManLocFlag() )
{
m_CfdMeshUI->farXYZLocationGroup->activate();
}
else
{
m_CfdMeshUI->farXYZLocationGroup->deactivate();
}