<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<br><br><hr id="stopSpelling">From: luca.ramundo@hotmail.it<br>To: luis.ibanez@kitware.com<br>Subject: RE: [Insight-users] from vtk to msh : Mising itk::Mesh with igstk::MeshObject<br>Date: Thu, 12 Mar 2009 16:44:27 +0100<br><br>



<style>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Verdana;}
</style>


<br>Now I changed <font style="" face="Arial">m_Mesh= m_VtkPolyDataReader-&gt;GetOutput(); </font>with <font style="" face="Arial">m_Mesh-&gt;SetMesh( m_VtkPolyDataReader-&gt;GetOutput() );</font><br><br>but I receive this error:<br><br>&nbsp;error C2248: 'igstk::MeshObject::SetMesh' : cannot access private member declared in class 'igstk::MeshObject'<br><br>mmmmhhh... is that you said me about <br><font style="" face="Arial"><br></font><font style="" face="Arial">&gt; A) typedef igstk::MeshObject                  MeshObjectType;</font><font style="" face="Arial"><br></font><font style="" face="Arial">&gt;     typedef MeshObjectType::MeshType           MeshType;</font><font style="" face="Arial"><br></font><font style="" face="Arial">&gt;     typedef ::itk::VTKPolyDataReader&lt; MeshType &gt; VtkPolyDataReaderType;</font><font style="" face="Arial"><br></font><font style="" face="Arial">&gt; </font><font style="" face="Arial"><br></font><font style="" face="Arial">&gt; and in another section:</font><font style="" face="Arial"><br></font><font style="" face="Arial">&gt; </font><font style="" face="Arial"><br></font><font style="" face="Arial">&gt; </font><font style="" face="Arial"><br></font><font style="" face="Arial">&gt; B) MeshType::Pointer m_Mesh;</font><font style="" face="Arial"><br></font><font style="" face="Arial">&gt; </font><font style="" face="Arial"><br></font><font style="" face="Arial">&gt; </font><font style="" face="Arial"><br></font><font style="" face="Arial">&gt; It seems that the typedef that defined the MeshType in (B) is not</font><font style="" face="Arial"><br></font><font style="" face="Arial">&gt; the same that we see in (A).</font><font style="" face="Arial"><br></font><font style="" face="Arial">&gt; </font><font style="" face="Arial"><br></font><font style="" face="Arial">&gt;  From the error message it looks like MeshType in (B) was declared</font><font style="" face="Arial"><br></font><font style="" face="Arial">&gt; as</font><font style="" face="Arial"><br></font><font style="" face="Arial">&gt; </font><font style="" face="Arial"><br></font><font style="" face="Arial">&gt;               "typedef igstk::MeshObject    MeshType;"</font><br><br><br>I don't know why this happens!!! Do you have any idea???? <br><br><br><hr>Organizza, modifica e condividi le tue foto.  <a href="http://clk.atdmt.com/GBL/go/136430508/direct/01/">Scarica Raccolta foto!</a><br /><hr />E' arrivato Messenger 2009.  <a href='http://clk.atdmt.com/GBL/go/136430510/direct/01/' target='_new'>Provalo insieme ai nuovi servizi Windows Live.</a></body>
</html>