What is the anime film called?
This is the 1988 OAV "Ultimate Teacher". 




  Plot Summary: At a run down school the "Ultimate Teacher" Ganpachi is sent to get things back on track and prepare the delinquent
  students for the real world. But the students don't want Ganpachi
  ruining the gang they got going so their boss, Hinako, fights back
  Ganpachi aided by her secret power...her lucky kitty underwear. Things
  get more interesting when we find out Ganpachi is the result of
  genetic experiments.


Super weird anime as only the 80's could produce. You can find the whole thing on YouTube here.