[vtkusers] VRML file to VTK file
rohit hajare
rohithajare12 at gmail.com
Thu Oct 29 05:52:12 EDT 2015
pvtkVrmlImporter->SetFileName(m_strVMRLFile);
pvtkVrmlImporter->SetRenderWindow(pvtkMFCWindow->GetRenderWindow());
pvtkVrmlImporter->Update();
vtkRenderer *pvtkVrmlRenderer = pvtkVrmlImporter->GetRenderer();
vtkActorCollection *pvtkVrmlActorColl=vtkActorCollection::New();
pvtkVrmlActorColl = pvtkVrmlRenderer->GetActors();
vtkActor *pvtkVrmlActor = vtkActor::New();
pvtkVrmlActor = pvtkVrmlActorColl->GetLastActor();
vtkMapper *pvtkVrmlMapper = pvtkVrmlActor->GetMapper();
pvtkPolydata = dynamic_cast<vtkPolyData*>(pvtkVrmlMapper->GetInput());
--
View this message in context: http://vtk.1045678.n5.nabble.com/VRML-file-to-VTK-file-tp1242769p5734677.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list