Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SoFullSceneAntialiasingParameters.h
Go to the documentation of this file.
1/*=======================================================================
2 *** THE CONTENT OF THIS WORK IS PROPRIETARY TO FEI S.A.S, (FEI S.A.S.), ***
3 *** AND IS DISTRIBUTED UNDER A LICENSE AGREEMENT. ***
4 *** ***
5 *** REPRODUCTION, DISCLOSURE, OR USE, IN WHOLE OR IN PART, OTHER THAN AS ***
6 *** SPECIFIED IN THE LICENSE ARE NOT TO BE UNDERTAKEN EXCEPT WITH PRIOR ***
7 *** WRITTEN AUTHORIZATION OF FEI S.A.S. ***
8 *** ***
9 *** RESTRICTED RIGHTS LEGEND ***
10 *** USE, DUPLICATION, OR DISCLOSURE BY THE GOVERNMENT OF THE CONTENT OF THIS ***
11 *** WORK OR RELATED DOCUMENTATION IS SUBJECT TO RESTRICTIONS AS SET FORTH IN ***
12 *** SUBPARAGRAPH (C)(1) OF THE COMMERCIAL COMPUTER SOFTWARE RESTRICTED RIGHT ***
13 *** CLAUSE AT FAR 52.227-19 OR SUBPARAGRAPH (C)(1)(II) OF THE RIGHTS IN ***
14 *** TECHNICAL DATA AND COMPUTER SOFTWARE CLAUSE AT DFARS 52.227-7013. ***
15 *** ***
16 *** COPYRIGHT (C) 1996-2020 BY FEI S.A.S, ***
17 *** BORDEAUX, FRANCE ***
18 *** ALL RIGHTS RESERVED ***
19**=======================================================================*/
20/*=======================================================================
21** Author : VSG (MMM YYYY)
22**=======================================================================*/
23
24#if !defined(SO_FULLSCENEANTIALIASING_PARAMETERS_H)
25#define SO_FULLSCENEANTIALIASING_PARAMETERS_H
26
29
51{
52public:
53
54 // Mask from SoFullSceneAntialiasing::Filter
55 // numSamples override the quality flag of setAntialiasing unless it is set to a negative value
56
65 SoFullSceneAntialiasingParameters(const int numSamples, const bool useHQ, const int filterMask = SoFullSceneAntialiasing::ALL);
66
68
73
79 int getNumSamples() const;
80
84 int getFilterMask() const;
85
88 {
89 return new SoFullSceneAntialiasingParameters( *this );
90 }
91
92private:
93 int m_numSamples;
94 bool m_useHQ;
95 int m_filterMask;
96};
97
98#endif // SO_FULLSCENEANTIALIASING_PARAMETERS_H
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Antialiasing par...
@ ALL
No specific filter for antialiasing (Default).
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Antialiasing par...
virtual SoAntialiasingParameters * copy() const
Copy to a new instance.
SoFullSceneAntialiasingParameters(const int numSamples, const bool useHQ, const int filterMask=SoFullSceneAntialiasing::ALL)
Constructor that takes the different parameters that can be configured.
int getNumSamples() const
Returns the requested number of samples.
bool useHighQualityFilter() const
Returns true if the high quality filter is requested.
int getFilterMask() const
Returns the requested combination of the different values of SoFullSceneAntialiasing::Filter.