CATCH
 All Classes Functions
CatCursor.h
1 // CatCursor.h
2 
3 #pragma once
4 
5 #include "CatIPSI.h"
6 #include "CatVis.h"
7 #include "CatUtil.h"
8 
9 namespace Catch {
10 
11  class CatCursor
12  {
13  public:
14  #pragma region Public Methods
15 
19  CatCursor();
20 
27  CAT_RESULT init
28  (
29  CatIPSI* catIPSI,
30  CatVis* catVis
31  );
32 
36  void run();
37 
38  #pragma endregion
39 
40  private:
41  #pragma region Private Variables
42 
43  int _res; /* Result code */
44  int _i, _j; /* Loop variables */
45 
46  Catch::CatIPSI* _catIPSI; /* CatIPSI instance */
47  Catch::CatVis* _catVis; /* CatVis instance */
48  double* _cursor_transformation; /* Cursor position */
49  std::string _selected_oid; /* ID of currently selected object */
50  bool _is_part_selected; /* True if a part is currently being manipulated */
51  double* _ipsi_object_xform; /* 3x4 matrix representing selected object's transformation */
52 
53  #pragma endregion
54  };
55 }
CAT_RESULT init(CatIPSI *catIPSI, CatVis *catVis)
Definition: CatIPSI.h:16
Definition: CatVis.h:12
Definition: CatCursor.h:11