vtkPLYReader can't read file saved by Pcl savePLYFile

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

vtkPLYReader can't read file saved by Pcl savePLYFile

yleiou
This post has NOT been accepted by the mailing list yet.
Dear All:
    There are a few point in StemPointsPtr. After save by pcl::io::savePLYFile, the class instance of vtkPLYReader can't read it. why?
   
pcl::io::savePLYFile(PlyFileName, *StemPointsPtr, true);  
vtkSmartPointer<vtkPLYReader> PlyReader = vtkSmartPointer<vtkPLYReader>::New();
PlyReader->SetFileName (PlyFileName.c_str() );
PlyReader->Update();

Reply | Threaded
Open this post in threaded view
|

Re: vtkPLYReader can't read file saved by Pcl savePLYFile

VictorLamoine
Administrator
Hello,

What is the error?
Please provide a minimal compilable example code.

Bye