From: Leonardo Florez-Valencia Date: Wed, 6 Apr 2016 23:59:49 +0000 (-0500) Subject: ... X-Git-Tag: v0.1~202 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=1a6f865d161c74d7887923417b490d52a040b2d8;p=cpPlugins.git ... --- diff --git a/lib/cpExtensions/Visualization/ImageIndexesContainerToPolyData.h b/lib/cpExtensions/Visualization/ImageIndexesContainerToPolyData.h index 5613567..5129512 100644 --- a/lib/cpExtensions/Visualization/ImageIndexesContainerToPolyData.h +++ b/lib/cpExtensions/Visualization/ImageIndexesContainerToPolyData.h @@ -30,7 +30,7 @@ namespace cpExtensions const TIndexes* GetInput( ) const; const TImage* GetReferenceImage( ) const; - void SetInput( const TIndexes* indexes ); + void SetInput( const TIndexes* c ); void SetReferenceImage( const TImage* i ); protected: diff --git a/lib/cpExtensions/Visualization/ImageIndexesContainerToPolyData.hxx b/lib/cpExtensions/Visualization/ImageIndexesContainerToPolyData.hxx index 8d67765..a1403ce 100644 --- a/lib/cpExtensions/Visualization/ImageIndexesContainerToPolyData.hxx +++ b/lib/cpExtensions/Visualization/ImageIndexesContainerToPolyData.hxx @@ -34,11 +34,11 @@ GetReferenceImage( ) const // ------------------------------------------------------------------------- template< class _TIndexes > void cpExtensions::Visualization::ImageIndexesContainerToPolyData< _TIndexes >:: -SetInput( const TIndexes* imageindexescontainer ) +SetInput( const TIndexes* c ) { - if( this->m_Indexes != imageindexescontainer ) + if( this->m_Indexes != c ) { - this->m_Indexes = imageindexescontainer; + this->m_Indexes = c; this->Modified( ); } // fi diff --git a/lib/cpPlugins/ImageIndexesContainer.hxx b/lib/cpPlugins/ImageIndexesContainer.hxx index 5de8829..d7a5016 100644 --- a/lib/cpPlugins/ImageIndexesContainer.hxx +++ b/lib/cpPlugins/ImageIndexesContainer.hxx @@ -15,8 +15,8 @@ _ITK_2_VTK( itk::LightObject* o ) cpExtensions::Visualization::ImageIndexesContainerToPolyData< _TImageIndexesContainer > _TFilter; - auto imageindexescontainer = dynamic_cast< _TImageIndexesContainer* >( o ); - if( imageindexescontainer != NULL ) + auto cont = dynamic_cast< _TImageIndexesContainer* >( o ); + if( cont != NULL ) { _TFilter* f = dynamic_cast< _TFilter* >( this->m_ITKvVTK.GetPointer( ) ); if( f == NULL ) @@ -26,8 +26,8 @@ _ITK_2_VTK( itk::LightObject* o ) f = nf.GetPointer( ); } // fi - f->SetInput( imageindexescontainer ); - f->SetReferenceImage( imageindexescontainer->GetReferenceImage( ) ); + f->SetInput( cont ); + f->SetReferenceImage( cont->GetReferenceImage( ) ); f->Update( ); // Keep object track