[Insight-users] itkSetMacro and itkGetMacro

Sonali Barua barua.sonali at gmail.com
Tue Oct 17 02:57:14 EDT 2006


Hello,

How should I use the itkGetMacro variables of a filter called lets say
itkMST. I am writing a filter in which I have the private variable
m_SpanningTree. I have a statement called

ItkGetMacro(SpanningTree,ParentNodeType);

In the .cxx file that I am using as an example I have written the statement:
MST<ImageType,GraphType>
ParentNodeType msp;
msp= mst->GetSpanningTree();

When I compile this it tells me that it can't recognise the
operator=(ParentNodeType*).

What exactly should I do to correct this?

Sonali
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20061017/b5a10450/attachment.html


More information about the Insight-users mailing list