+ return;
+
+ } // fi
+
+ if( eevt.CheckEvent( evt ) )
+ {
+ this->m_RenderWindow->Render( );
+ ren->RemoveActor( this->m_Actor );
+ this->m_RenderWindow->Render( );
+ this->m_Marks = NULL;
+ this->m_Data = NULL;
+ this->m_Mapper = NULL;
+ this->m_Actor = NULL;
+ return;
+
+ } // fi
+ }
+ else
+ {
+ const _TBacktrackingEvent* bevt =
+ dynamic_cast< const _TBacktrackingEvent* >( &e );
+ const _TEndBacktrackingEvent* ebevt =
+ dynamic_cast< const _TEndBacktrackingEvent* >( &e );
+ if( bevt != NULL )
+ {
+ static const unsigned long nColors = 10;
+ double back_id = double( bevt->BackId % nColors ) / double( nColors );
+ typename _TImage::PointType pnt;
+ image->TransformIndexToPhysicalPoint( bevt->Node, pnt );
+
+ long pId = this->m_Data->GetNumberOfPoints( );
+ this->m_Data->GetVerts( )->InsertNextCell( 1 );
+ this->m_Data->GetVerts( )->InsertCellPoint( pId );
+ this->m_Data->GetPoints( )->
+ InsertNextPoint( pnt[ 0 ], pnt[ 1 ], pnt[ 2 ] );
+ this->m_Data->GetPointData( )->
+ GetScalars( )->InsertNextTuple1( back_id );
+ this->m_Data->Modified( );
+
+ return;
+
+ } // fi
+
+ if( ebevt != NULL )
+ {
+ this->m_RenderWindow->Render( );
+ return;