Open Inventor Release 2024.1.0
 
Loading...
Searching...
No Matches
SoFullSceneAntialiasing.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 : Nicolas Daguise (Nov 2003)
22**=======================================================================*/
23
24#ifndef _SO_FULL_SCENE_ANTIALIASING
25#define _SO_FULL_SCENE_ANTIALIASING
26
30
32
75
76public:
85
101
118
123
128 inline virtual void setOverride(const SbBool state)
129 { override.setValue(state); }
130
134 inline virtual SbBool isOverride() const
135 { return override.getValue(); }
136
137 private:
138 virtual void doAction(SoAction *action);
139 virtual void callback(SoCallbackAction *action);
140 virtual void GLRender(SoGLRenderAction *action);
141
142//-----------------------------------------------------------------------------
143 private:
144 static void initClass();
145 static void exitClass();
146
147 SoSFBool override;
148
149 private:
150 // Destructor
151 virtual ~SoFullSceneAntialiasing();
152};
153
154#endif /* _SO_FULL_SCENE_ANTIALIASING */
155
156
#define SO_NODE_HEADER(className)
Definition SoSubNode.h:151
Abstract base class for all actions.
Definition SoAction.h:132
Performs a generic traversal of a scene graph or path.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Node that contro...
Filter
Defines the types of rendering shapes.
@ POLYGONS
The shape is render based on polygons (Ex: SoFaceSet).
@ ALL
No specific filter for antialiasing (Default).
@ POINTS
The shape is render based on points (Ex: SoPointSet).
@ LINES
The shape is render based on lines (Ex: SoLineSet).
@ TEXT
The shape is a text and follows the special filter for texts.
SoSFBitMask filter
A bit-wise combination of LINES, POINTS, POLYGONS, and TEXT that determines which primitive types sho...
virtual SbBool isOverride() const
Returns the state of the override field.
virtual void setOverride(const SbBool state)
Set the state of the override field.
SoFullSceneAntialiasing()
Constructor.
SoSFBool on
Enables/disables full-scene antialiasing.
Renders a scene graph using Open Inventor's Render Engine.
Abstract base class for all database nodes.
Definition SoNode.h:145
Single-value field containing a set of bit flags.
Field containing a single Boolean value.
Definition SoSFBool.h:79
int SbBool
Boolean type.
Definition SbBase.h:87