<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>Hi RTK users,</DIV>
<DIV> </DIV>
<DIV>Is this a bug?</DIV>
<DIV>If I have a cube with axis set to 50 and center set to 0, it will be
neglected (m_Semiprincipalaxis won’t be calculated).</DIV>
<DIV> </DIV>
<DIV>RTK_DIR\code\rtkDrawCubeImageFilter.h</DIV>
<DIV> </DIV>
<DIV> DrawCubeSpatialObject()</DIV>
<DIV> {</DIV>
<DIV> //why initialize?</DIV>
<DIV> m_Axis.Fill ( 50. );</DIV>
<DIV> m_Center.Fill ( 0. );</DIV>
<DIV> m_Angle = 0.;</DIV>
<DIV> }</DIV>
<DIV> </DIV>
<DIV>...</DIV>
<DIV> </DIV>
<DIV> void SetCenter ( VectorType Center )</DIV>
<DIV> {</DIV>
<DIV> </DIV>
<DIV> // this also skipped the UpdateParamters(). </DIV>
<DIV> if ( Center == this->m_SpatialObject.m_Center )</DIV>
<DIV> {</DIV>
<DIV> return;</DIV>
<DIV> }</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> this->m_SpatialObject.m_Center = Center;</DIV>
<DIV> this->m_SpatialObject.UpdateParameters();</DIV>
<DIV> this->Modified();</DIV>
<DIV> }</DIV>
<DIV> </DIV>
<DIV>Best regards,</DIV>
<DIV>Louie</DIV></DIV></DIV></BODY></HTML>