int id;
myIDs.append ( id = myPopup->insertItem (tr ("MEN_VP3D_CHANGEBGR")) );
QAD_ASSERT ( myPopup->connectItem ( id, this, SLOT(onChangeBackgroundColor())) );
+ myIDs.append ( id = myPopup->insertItem (tr ("MEN_VP3D_DUMPVIEW")) );
+ QAD_ASSERT ( myPopup->connectItem ( id, this, SIGNAL(DumpView())) );
// }
}
}
void ButtonPressed(const QMouseEvent *event) ;
void ButtonReleased(const QMouseEvent *event) ;
void KeyPressed(QKeyEvent *event) ;
+ void DumpView();
protected:
vtkRenderWindow* myRW;
void VTKViewer_ViewFrame::InitialSetup() {
m_RW = new VTKViewer_RenderWindow(this, "RenderWindow");
m_RW->getRenderWindow()->AddRenderer(m_Renderer);
+ connect(m_RW, SIGNAL(DumpView()), this, SLOT(onProcessViewDump()));
m_Renderer->GetActiveCamera()->ParallelProjectionOn();
m_Renderer->LightFollowCameraOn();