X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpExtensions%2FInteraction%2FImageInteractorStyle.cxx;h=c037193fe97097b0d960316109a6dd0ae477f0aa;hb=1b0022070ff3b5f80f6f8c8b87f73032f5685eaf;hp=0e6dce0235da38df90e2f4a6eb5e38bab91ec51b;hpb=950ea6d252c9a5bc5be29d413497fe0ef69e6703;p=cpPlugins.git diff --git a/lib/cpExtensions/Interaction/ImageInteractorStyle.cxx b/lib/cpExtensions/Interaction/ImageInteractorStyle.cxx index 0e6dce0..c037193 100644 --- a/lib/cpExtensions/Interaction/ImageInteractorStyle.cxx +++ b/lib/cpExtensions/Interaction/ImageInteractorStyle.cxx @@ -108,12 +108,22 @@ GetNumberOfSeeds( ) const // ------------------------------------------------------------------------- void cpExtensions::Interaction::ImageInteractorStyle:: -GetSeed( unsigned int id, double pos[ 3 ] ) const +GetSeedAsPoint( unsigned int id, double pos[ 3 ] ) const { if( this->m_SeedWidget != NULL ) this->m_SeedWidget->Representation->GetSeedWorldPosition( id, pos ); } +// ------------------------------------------------------------------------- +void cpExtensions::Interaction::ImageInteractorStyle:: +GetSeedAsIndex( unsigned int id, int idx[ 3 ] ) const +{ + /* TODO + if( this->m_SeedWidget != NULL ) + this->m_SeedWidget->Representation->GetSeedWorldPosition( id, pos ); + */ +} + // ------------------------------------------------------------------------- cpExtensions::Interaction::ImageInteractorStyle:: ImageInteractorStyle( )