adjust rectangular filter box

move doxygen comment
rename variables
adjust doxygen comment for triangle filter