No subject
Tue Jan 15 14:41:49 EST 2013
e both non-const and const versions of the function in the case that the co=
de author wants to provide read/write access to the ivar.</div>
<div><br></div><div>I believe that the PolyLineParametricPath class only wa=
nts to provide read-only access to the m_VertexList ivar as the comment say=
s:</div><div><br></div><div>/** Return the container of Vertices as a const=
object. */</div>
<div><br></div><div>Regards,</div><div class=3D"im"><div><br></div><div>
<div style=3D"text-indent:0px;letter-spacing:normal;font-variant:normal;tex=
t-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:norma=
l;text-transform:none;font-size:medium;white-space:normal;font-family:Helve=
tica;word-wrap:break-word;word-spacing:0px">
<div>Ho Cheung</div><div>Research Assistant</div><div>Bio-Image Analytics L=
aboratory - University of Houston</div><div><a href=3D"tel:%28775%29%20388-=
2368" value=3D"+17753882368" target=3D"_blank">(775) 388-2368</a></div><div=
>
<br>
</div></div><br><br>
</div>
<br></div><div><div class=3D"im"><div>On Mar 26, 2013, at 2:52 PM, "Jo=
hnson, Hans J" <<a href=3D"mailto:hans-johnson at uiowa.edu" target=3D=
"_blank">hans-johnson at uiowa.edu</a>> wrote:</div><br></div><div><div cla=
ss=3D"h5">
<blockquote type=3D"cite">
<div style=3D"word-wrap:break-word;font-size:14px;font-family:Calibri,sans-=
serif">
<div>Cheung,</div>
<div><br>
</div>
<div>The macro for Modifiable provides both the const and the non-const ver=
sion of the Get function for more complete API consistency across the toolk=
it.</div>
<div><br>
</div>
<div>Regarding the doxygen generated code, =A0I am not familiar with how to=
accomplish what you request. =A0</div>
<div><br>
</div>
<span>
<div style=3D"font-family:Calibri;font-size:11pt;text-align:left;border-wid=
th:1pt medium medium;border-style:solid none none;padding:3pt 0in 0in;borde=
r-top-color:rgb(181,196,223)">
<span style=3D"font-weight:bold">From: </span>Ho Cheung <<a href=3D"mail=
to:hocheung20 at gmail.com" target=3D"_blank">hocheung20 at gmail.com</a>><br>
<span style=3D"font-weight:bold">Date: </span>Tuesday, March 26, 2013 2:46 =
PM<br>
<span style=3D"font-weight:bold">To: </span>Hans Johnson <<a href=3D"mai=
lto:hans-johnson at uiowa.edu" target=3D"_blank">hans-johnson at uiowa.edu</a>>=
;<br>
<span style=3D"font-weight:bold">Subject: </span>08df6af - ENH: Get functio=
n accessible from const objects<br>
</div>
<div><br>
</div>
<div>
<div style=3D"word-wrap:break-word">
<div>Hi Hans,</div>
<div><br>
</div>
<div>I was looking at the ITK nightly documentation and noticed that the Ge=
tVertexList() function is gone.</div>
<div><br>
</div>
<div>Here it is in the ITK4.3.0 documentation:=A0<a href=3D"http://www.itk.=
org/Doxygen43/html/classitk_1_1PolyLineParametricPath.html#acaed5e0ed9c07fb=
5cb464fb7c33a4383" target=3D"_blank">http://www.itk.org/Doxygen43/html/clas=
sitk_1_1PolyLineParametricPath.html#acaed5e0ed9c07fb5cb464fb7c33a4383</a></=
div>
<div><br>
</div>
<div>This had me scratching my head for quite a while until I realized that=
the function is generated via a macro.=A0</div>
<div><br>
</div>
<div>Here what happens to it in the nightly documentation:</div>
<div><br>
</div>
<div>Here it is in the ITK nightly documentation:=A0<a href=3D"http://www.i=
tk.org/Doxygen/html/classitk_1_1PolyLineParametricPath.html#a288d6d3994677f=
fda85fb90fbe57ce51" target=3D"_blank">http://www.itk.org/Doxygen/html/class=
itk_1_1PolyLineParametricPath.html#a288d6d3994677ffda85fb90fbe57ce51</a></d=
iv>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>With the power of gitk, I found commit=A008df6af and noticed you intro=
duced a series of changes to the macros, introducing the GetModifiableObjec=
tMacro.</div>
<div><br>
</div>
<div>In particular I have 2 questions:</div>
<div><br>
</div>
<div>1. Why was GetVertexList changed from Const to Modifiable?</div>
<div>2. The documentation now shows the macro as the definition instead of =
the function generated by the macro. Can this be fixed in the <a href=3D"ht=
tp://doxygen.configure.in" target=3D"_blank">doxygen.configure.in</a>? I=
9;m not quite familiar with that part of ITK.</div>
<div><br>
</div>
<div>Thanks for your time,</div>
<div><br>
</div>
<div>Ho Cheung</div>
<div>
<div style=3D"font-family:Helvetica;font-size:medium;font-style:normal;font=
-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal=
;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;wo=
rd-wrap:break-word">
<div>Research Assistant</div>
<div>Bio-Image Analytics Laboratory - University of Houston</div>
<div><a href=3D"tel:%28775%29%20388-2368" value=3D"+17753882368" target=3D"=
_blank">(775) 388-2368</a></div>
<div><br>
</div>
</div>
<br>
<br>
</div>
<br>
</div>
</div>
</span><br>
<br>
<hr>
Notice: This UI Health Care e-mail (including attachments) is covered by th=
e Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidenti=
al and may be legally privileged.=A0 If you are not the intended recipient,=
you are hereby notified that any
retention, dissemination, distribution, or copying of this communication i=
s strictly prohibited.=A0 Please reply to the sender that you have received=
the message in error, then delete it.=A0 Thank you.
<hr>
</div>
</blockquote></div></div></div><br></div></blockquote></div><br>
--089e0139ff308b152504d8fd4de9--
More information about the Insight-developers
mailing list