[vtkusers] write obj file
Massinissa Bandou
Massinissa.Bandou at USherbrooke.ca
Mon Jul 1 00:36:53 EDT 2013
Hi everyone,
I try to write an obj file but I'm getting an error message:
*ERROR: In ..\..\..\..\..\VTK5.10.1\Rendering\vtkOBJExporter.cxx, line 68
vtkOBJExporter (0B1D8020): obj files only support on renderer per window*.
I have a renderer window with axes, text and polydata.
vtkSmartPointer<vtkOBJExporter> vtkExporter =
vtkSmartPointer<vtkOBJExporter>::New();
vtkExporter->SetFilePrefix(file.toStdString().c_str());
vtkExporter->SetRenderWindow(widget.qvtkWidget->GetRenderWindow());
vtkExporter->Write();
thx for your help
Massi
--
View this message in context: http://vtk.1045678.n5.nabble.com/write-obj-file-tp5721694.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list