HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
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.
18
class
GT_API
GT_ViewportRefineOptions
19
{
20
public
:
21
// New options will be added to the end of the parameter list
22
GT_ViewportRefineOptions
(
23
bool
changes_with_lod =
false
24
)
25
: myChangesWithLOD(changes_with_lod)
26
{
27
}
28
~
GT_ViewportRefineOptions
();
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
v
const GLdouble * v
Definition:
glcorearb.h:837
GT_API
#define GT_API
Definition:
GT_API.h:13
GT_API.h
GT_ViewportRefineOptions::changesWithLOD
bool changesWithLOD() const
Definition:
GT_ViewportRefineOptions.h:33
GT_ViewportRefineOptions
Definition:
GT_ViewportRefineOptions.h:18
GT_ViewportRefineOptions::GT_ViewportRefineOptions
GT_ViewportRefineOptions(bool changes_with_lod=false)
Definition:
GT_ViewportRefineOptions.h:22
GT_ViewportRefineOptions::setChangesWithLOD
void setChangesWithLOD(bool v)
Definition:
GT_ViewportRefineOptions.h:34
GT
GT_ViewportRefineOptions.h
Generated on Fri Nov 22 2024 02:41:41 for HDK by
1.8.6