HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GT_ViewportHookCollector.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: GT_ViewportHookCollector.h (GT Library, C++)
7  *
8  * COMMENTS:
9  */
10 
11 #ifndef __GT_ViewportHookCollector__
12 #define __GT_ViewportHookCollector__
13 
14 #include "GT_API.h"
15 #include <GA/GA_PrimitiveTypeId.h>
16 
18 {
19 public:
20  static void hookPrimitive(const GA_PrimitiveTypeId &prim_type,
21  bool pass_through);
22  static void unhookPrimitive(const GA_PrimitiveTypeId &prim_type);
23  static void enable(); // Enable hooks
24  static void disable(); // Disable hooks
25 };
26 
27 /// Auto-enable/disable viewport hooks.
29 {
30 public:
32  {
34  }
36  {
38  }
39 };
40 
41 #endif
42 
Auto-enable/disable viewport hooks.
#define GT_API
Definition: GT_API.h:13