<div><br></div><div>From the VTK coding standard page:</div><div><br></div><div>"<span style="font-family:sans-serif;font-size:12.666666984558105px;line-height:18.66666603088379px;background-color:rgb(255,255,255)">Avoid using vtkSetObjectMacro since it will require including the header file of another class. Use the vtkCxxSetObjectMacro instead."</span></div>

<div><br></div><div>(( When writing Slicer related  code, do NOT use <span style="background-color:rgb(255,255,255);font-family:sans-serif;font-size:12.800000190734863px;line-height:18.399999618530273px">vtkSetObjectMacro))</span></div>

<div><br></div><div><font face="sans-serif"><span style="line-height:18.399999618530273px">Hth</span></font></div><div><font face="sans-serif"><span style="line-height:18.399999618530273px">Jc<br></span></font><br><div class="gmail_quote">

On Mon, Jul 9, 2012 at 3:23 PM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

There is no vtkCxxSetMacro used in VTK. There is a vtkCxxSetObjectMacro and the explanation on the coding standards page you mentioned describes why it should be used.<br><br><div class="gmail_quote"><div><div class="h5">

On Mon, Jul 9, 2012 at 10:44 AM, Laurent Chauvin <span dir="ltr"><<a href="mailto:lchauvin@bwh.harvard.edu" target="_blank">lchauvin@bwh.harvard.edu</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div style="word-wrap:break-word">Hello,<div><br></div><div>I have a quick question.</div>

<div>Is there a difference between vtkSetMacro and vtkCxxSetMacro.</div>
<div><br></div><div>I read from here (<a href="http://www.vtk.org/Wiki/VTK_Coding_Standards" target="_blank">http://www.vtk.org/Wiki/VTK_Coding_Standards</a>) to use vtkCxxSetMacro,</div><div>but here (<a href="http://www.vtk.org/Wiki/VTK/Examples/Developers/Macros" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Developers/Macros</a>) there is only vtkSetMacro.</div>


<div><br></div><div>Thank you.</div><span><font color="#888888"><div><div>
<div style="word-wrap:break-word"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">


<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">


<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">


<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">


<div>-Laurent</div><div><br></div></div></span></div></span></div></span></div></span></div><br>
</div>
<br></div></font></span></div><br></div></div>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br><br>
</font></span><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>+1 919 869 8849<br><br>
</div>