Yes thanks, this is a bug indeed. This has been fixed I think: https://github.com/SimonRit/RTK/commit/4f050d7120a7540a5edd82eae883dec25d2cd6ac 50 is just the default value but the init was missing. Simon
On Mon, Jul 11, 2016 at 4:58 PM, louie <[email protected]> wrote: > Hi RTK users, > > Is this a bug? > 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). > > RTK_DIR\code\rtkDrawCubeImageFilter.h > > DrawCubeSpatialObject() > { > //why initialize? > m_Axis.Fill ( 50. ); > m_Center.Fill ( 0. ); > m_Angle = 0.; > } > > ... > > void SetCenter ( VectorType Center ) > { > > // this also skipped the UpdateParamters(). > if ( Center == this->m_SpatialObject.m_Center ) > { > return; > } > > > this->m_SpatialObject.m_Center = Center; > this->m_SpatialObject.UpdateParameters(); > this->Modified(); > } > > Best regards, > Louie > > _______________________________________________ > Rtk-users mailing list > [email protected] > http://public.kitware.com/mailman/listinfo/rtk-users > >
_______________________________________________ Rtk-users mailing list [email protected] http://public.kitware.com/mailman/listinfo/rtk-users
