Hi Aida,

 

                The code for reading a vtk PolyData is in the file
coreVTKPolyDataReader.cxx, in the function ReadSingleTimeStep(). Concretely,
it uses this line of code:

                Core::vtkPolyDataPtr pSurface;

                pSurface.TakeReference(
blShapeUtils::ShapeUtils::LoadShapeFromFile( filename.c_str() ) );

 

Best regards,

Xavi

 

From: Aida Ninyerola [mailto:[email protected]] 
Sent: miƩrcoles, 23 de mayo de 2012 12:45
To: [email protected]
Subject: [Gimias-developers] reading a surface mesh

 

Hi,

I am trying to read a surface mesh by code that I've stored in a vtk file.
I'm not able to read it correctly as I don't get what I expected.
Where can I find the code that gimias uses in order to read the files when
you open a data file? I need the part where gimias reads a surface mesh
because if I open the surface mesh from gimias it loads correctly.

Thank you very much,
Aida

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gimias-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gimias-developers

Reply via email to