thanks! it worked! but it appeared a new problem...

in order to use these lines I needed to introduce the "#include
<blShapeUtils.h>"
now it doesn't work this part of code:

    blTagMap::Pointer metaData = blTagMap::New( );
    metaData->AddTag( "Modality", int( Core::NM ) );
    int count = m_numCylinder+1+5;
    UpdateOutput(count,imageSuma , "ColapsedImage", true, 1, NULL,
metaData);

it compiles but when I run the program, when it makes the UpdateOutput
appears an excepction: "Tag not found. Tag: Points not found".
it didn't happen before so I suppose that with this new lines something is
going wrong

thanks,
aida



2012/5/23 Xavier Planes <[email protected]>

> 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