Hi All,
I am using MITK user interface(Four Window View), using that i am
successfully display the sagittal ,coronal,axia view and aslo generate the
3D model.
Now i want to perform the interaction with that generated 3D model in VTK.
for that i need that 3D model "Actor" I try the following code,

* int ren_count =
m_multi_Widget->GetRenderWindow4()->GetRenderWindow()->GetRenderers()->GetNumberOfItems();*
*vtkRendererCollection* RendereCollection =
m_multi_Widget->GetRenderWindow3()->GetVtkRenderWindow()->GetRenderers();*

*vtkRenderer * vtkrenderer = (vtkRenderer *)
RendereCollection->GetItemAsObject(i);*
*vtkActorCollection* actorCollection = vtkrenderer->GetActors();*

In the above code * ren_count *and *RendereCollection *i am getting the
correct result(i.e* ren_Count* = 2 and *RendereCollection *shows the List
of all Renderers)
but while i am trying to get the* Actors *associated with that Renderer it
show the null(No actor is Present) *actorCollection = 0*

*let me know is there any solution to get Actor *
-- 
Thanks and Regards
Prasad Halingale I Software Engineer
09021296468
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to