[vtkusers] vtk application on Document/View (MDI) pattern X vtkWin32RenderWindowInteractor
Luis Alberto Pereira
l.a.pereira at uol.com.br
Wed Oct 27 22:23:11 EDT 2004
Hi all,
I succeeded to solve the setup renWin using code below, however now I am
having problem with "this->iren->SetRenderWindow(this->renWin);" in the same
code block. The vtkWin32RenderWindowInteractor class do not operate.
Can someone help me again ?
BOOL CAnalitica3DBIView::Create(LPCTSTR lpszClassName, LPCTSTR
lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID,
CCreateContext* pContext) {
// TODO: Add your specialized code here and/or call the base class
if ((CView::Create(lpszClassName, lpszWindowName, dwStyle, rect,
pParentWnd, nID, pContext))==-1)
return false;
this->renWin->AddRenderer(this->ren);
this->renWin->SetParentId(this->GetParent()->GetSafeHwnd());
this->renWin->SetWindowId(this->GetSafeHwnd());
this->iren->SetRenderWindow(this->renWin);
return true;
}
Thanks all,
Luis Alberto
55 11 8184 8444
55 11 3744 9965
l.a.pereira at uol.com.br
lapereira_br at hotmail.com
<mailto:lalberto at steftanini.com.br>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20041027/c6661b57/attachment.htm>
More information about the vtkusers
mailing list