This commit refactors the code by converting the data manipulation functions of 'ViewOpsData' into methods. This change adopts a more object-oriented approach, resulting in improved code organization and enhanced reusability. Pull Request: https://projects.blender.org/blender/blender/pulls/110209