[vtkusers] OBJ exporter crashes . VTK Bug ?
Ashika Umanga Umagiliya
aumanga at biggjapan.com
Mon Oct 24 23:35:41 EDT 2011
Greetings all,
I have following mesh.Each colored mesh is a separate vtkActor.
http://oi54.tinypic.com/dn0hmo.jpg
I can export this using VRML Exporter.Generated mesh file can be seen at :
http://dl.dropbox.com/u/17399055/mesh-WRL.wrl
But when I try to export this using OBJExporter, it crashes giving :
------------------------------------
Program received signal SIGSEGV, Segmentation fault.
0x11b7c0f1 in vtkPoints::GetNumberOfPoints (this=0x0)
at C:/opt/vtk/Common//vtkPoints.h:110
110 vtkIdType GetNumberOfPoints() { return this->Data->GetNumberOfTuples()
;};
(gdb) back
#0 0x11b7c0f1 in vtkPoints::GetNumberOfPoints (this=0x0)
at C:/opt/vtk/Common//vtkPoints.h:110
#1 0x11a1165f in vtkLinearTransform::TransformPoints (this=0x34a1f200,
inPts=0x0, outPts=0x3a2acad0)
at C:\opt\vtk\Common\vtkLinearTransform.cxx:183
#2 0x1481551c in vtkOBJExporter::WriteAnActor (this=0x3cc01bb0,
anActor=0x4c416230, fpObj=0x778a2960, fpMtl=0x778a2980, idStart=@0x28cdac)
at C:\opt\vtk\Rendering\vtkOBJExporter.cxx:186
#3 0x148150df in vtkOBJExporter::WriteData (this=0x3cc01bb0)
at C:\opt\vtk\Rendering\vtkOBJExporter.cxx:112
#4 0x147ab66b in vtkExporter::Write (this=0x3cc01bb0)
at C:\opt\vtk\Rendering\vtkExporter.cxx:66
#5 0x63344685 in RzVTKViewerWorkspaceView::onExportVRMLButtonClicked (
this=0xf1ce320)
at C:\svn\osaka3d\trunk\osaka3d\rinzo-platform\src\dlplugins\vtkviewer\RzVTK
ViewerWorkspaceView.cpp:697
---------------
Any tips on this ?
thank you
More information about the vtkusers
mailing list