#NEWLINE# @ on_trait_change ( 'set' ) #NEWLINE# def _on_set_change( self , obj , name , old , new ) : #NEWLINE# #INDENT# self . sync_trait ( old . lower ( ) , new , 'current_pos' , mutual = True , remove = True ) #NEWLINE# self . sync_trait ( new . lower ( ) , self , 'current_pos' , mutual = True ) #NEWLINE# if ( new == 'Nasion' ) : #NEWLINE# #INDENT# self . headview . front = True #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( new == 'LPA' ) : #NEWLINE# #INDENT# self . headview . left = True #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( new == 'RPA' ) : #NEWLINE# #INDENT# self . headview . right = True