CATCH
 All Classes Functions
CatVis.h
1 // CatVis.h
2 
3 #pragma once
4 
5 #include <string>
6 #include "CatUtil.h"
7 
8 namespace Catch {
9 
10  typedef int (*CatVisSelectStateChangeCallback)(int selectionState, std::string oid);
11 
12  class CatVis
13  {
14  public:
15 
19  CatVis();
20 
25  CAT_RESULT init();
26 
33  CAT_RESULT setSelectedPartTransform(double transform[12]);
34 
40  CAT_RESULT setCursorTransform(double transform[12]);
41 
47  CAT_RESULT setSelectionStateCallback(CatVisSelectStateChangeCallback callback);
48 
54  CAT_RESULT pollVisController();
55 
60  CAT_RESULT attemptPartSelection();
61 
66  CAT_RESULT deselectAllParts();
67 
75  CAT_RESULT getSelectedPartOid(std::string &oid, bool &isPartSelected);
76  };
77 }
CAT_RESULT attemptPartSelection()
CAT_RESULT init()
CAT_RESULT setSelectionStateCallback(CatVisSelectStateChangeCallback callback)
CAT_RESULT deselectAllParts()
CAT_RESULT setCursorTransform(double transform[12])
CAT_RESULT pollVisController()
Definition: CatVis.h:12
CAT_RESULT getSelectedPartOid(std::string &oid, bool &isPartSelected)
CAT_RESULT setSelectedPartTransform(double transform[12])