HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GT_ViewportRefineOptions.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_ViewportRefineOptions.h ( GT Library, C++)
7  *
8  * COMMENTS:
9  */
10 
11 #ifndef __GT_ViewportRefineOptions__
12 #define __GT_ViewportRefineOptions__
13 
14 #include "GT_API.h"
15 
16 /// This class is used to inform the viewport (GR) rendering code whether
17 /// changes in display options will affect the tesselation of primitives.
19 {
20 public:
21  // New options will be added to the end of the parameter list
23  bool changes_with_lod = false
24  )
25  : myChangesWithLOD(changes_with_lod)
26  {
27  }
29 
30  /// @{
31  /// Changes to LOD in the display options will affect refinement of
32  /// primitives.
33  bool changesWithLOD() const { return myChangesWithLOD; }
34  void setChangesWithLOD(bool v) { myChangesWithLOD = v; }
35  /// @}
36 
37 private:
38  bool myChangesWithLOD;
39 };
40 
41 #endif
const GLdouble * v
Definition: glcorearb.h:836
#define GT_API
Definition: GT_API.h:11
GT_ViewportRefineOptions(bool changes_with_lod=false)