您当前的位置:首页 > IT编程 > C++
| C语言 | Java | VB | VC | python | Android | TensorFlow | C++ | oracle | 学术与代码 | cnn卷积神经网络 | gnn | 图像修复 | Keras | 数据集 | Neo4j | 自然语言处理 | 深度学习 | 医学CAD | 医学影像 | 超参数 | pointnet | pytorch | 异常检测 | Transformers | 情感分类 | 知识图谱 |

自学教程:C++ updateView函数代码示例

51自学网 2021-06-03 09:14:57
  C++
这篇教程C++ updateView函数代码示例写得很实用,希望能帮到您。

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

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

示例1: updateView

void DirectionNode::backwardDirection(qreal distance) {  QVector3D front = direction;  front.normalize();  position -= distance*front;  updateView();}
开发者ID:tapio,项目名称:liblub,代码行数:6,


示例2: updateView

void CFirstPersonCamera::setPosition(const glm::vec3& position){    m_position = position;    updateView();}
开发者ID:redagito,项目名称:RTR2014,代码行数:5,


示例3: Kiway

bool FOOTPRINT_EDIT_FRAME::Load_Module_From_BOARD( MODULE* aModule ){    MODULE* newModule;    PCB_EDIT_FRAME* frame = (PCB_EDIT_FRAME*) Kiway().Player( FRAME_PCB, false );    if( frame == NULL )     // happens if no board editor opened        return false;    if( aModule == NULL )    {        if( ! frame->GetBoard() || ! frame->GetBoard()->m_Modules )            return false;        aModule = SelectFootprint( frame->GetBoard() );    }    if( aModule == NULL )        return false;    SetCurItem( NULL );    Clear_Pcb( false );    GetBoard()->m_Status_Pcb = 0;    newModule = new MODULE( *aModule );    newModule->SetParent( GetBoard() );    newModule->SetLink( aModule->GetTimeStamp() );    aModule = newModule;    GetBoard()->Add( newModule );    newModule->ClearFlags();    // Clear references to net info, because the footprint editor    // does know any thing about nets handled by the current edited board.    // Morever the main board can change or the net info relative to this main board    // can change while editing this footprint in the footprint editor    for( D_PAD* pad = newModule->Pads(); pad; pad = pad->Next() )        pad->SetNetCode( NETINFO_LIST::UNCONNECTED );    SetCrossHairPosition( wxPoint( 0, 0 ) );    PlaceModule( newModule, NULL );    newModule->SetPosition( wxPoint( 0, 0 ) ); // cursor in GAL may not be initialized at the moment    // Put it on FRONT layer,    // because this is the default in ModEdit, and in libs    if( newModule->GetLayer() != F_Cu )        newModule->Flip( newModule->GetPosition() );    // Put it in orientation 0,    // because this is the default orientation in ModEdit, and in libs    Rotate_Module( NULL, newModule, 0, false );    GetScreen()->ClrModify();    Zoom_Automatique( false );    if( IsGalCanvasActive() )        updateView();    return true;}
开发者ID:antogg,项目名称:kicad-source-mirror,代码行数:61,


示例4: updateView

void BaseView::dayPassed( const QDate & ){  updateView();}
开发者ID:akhuettel,项目名称:kdepim-noakonadi,代码行数:4,


示例5: updateView

void PlaylistWidget::deactivate(){    p->isActive = false;    updateView();}
开发者ID:david-geiger,项目名称:knowthelist,代码行数:5,


示例6: QWidget

VisualizationWidget::VisualizationWidget( QWidget* parent /*= 0*/ )	: QWidget(parent){	this->setupUi(this);	_interactorStyle = VtkCustomInteractorStyle::New();	vtkWidget->GetRenderWindow()->GetInteractor()->SetInteractorStyle(_interactorStyle);	_vtkPickCallback = VtkPickCallback::New();	vtkSmartPointer<vtkCellPicker> picker = vtkSmartPointer<vtkCellPicker>::New();	picker->AddObserver(vtkCommand::EndPickEvent, _vtkPickCallback);	vtkWidget->GetRenderWindow()->GetInteractor()->SetPicker(picker);	vtkRenderWindow* renderWindow = vtkWidget->GetRenderWindow();	renderWindow->StereoCapableWindowOn();	renderWindow->SetStereoTypeToCrystalEyes();	_vtkRender = vtkRenderer::New();	renderWindow->AddRenderer(_vtkRender);	_interactorStyle->SetDefaultRenderer(_vtkRender);	QSettings settings;#ifdef OGS_USE_VRPN	VtkTrackedCamera* cam = new VtkTrackedCamera(this);	_vtkRender->SetActiveCamera(cam);	connect( cam, SIGNAL(viewUpdated()), this, SLOT(updateView()) );	//QSpaceNavigatorClient* spacenav = QSpaceNavigatorClient::Instance();	//spacenav->init("[email
C++ updateViewMatrix函数代码示例
C++ updateVertices函数代码示例
万事OK自学网:51自学网_软件自学网_CAD自学网自学excel、自学PS、自学CAD、自学C语言、自学css3实例,是一个通过网络自主学习工作技能的自学平台,网友喜欢的软件自学网站。