Open Inventor Release 2024.2.1
 
Loading...
Searching...
No Matches
SoVolumeRenderingPhysicalQuality.h
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-2024 BY FEI S.A.S, ***
17 *** BORDEAUX, FRANCE ***
18 *** ALL RIGHTS RESERVED ***
19 **************************************************************************************/
20
21#pragma once
22
23#include <Inventor/SbPImpl.h>
24#include <Inventor/nodes/SoNode.h>
25#include <Inventor/nodes/SoSubNode.h>
26#include <Inventor/fields/SoSFEnum.h>
27#include <Inventor/fields/SoSFBool.h>
28#include <Inventor/fields/SoSFFloat.h>
29
31class SoAction;
32class SoNotList;
33class SoVRImageSpaceEffects;
34
35SO_PIMPL_PUBLIC_DECLARATION(SoVolumeRenderingPhysicalQuality)
36
37
122{
124 SO_PIMPL_PUBLIC_HEADER(SoVolumeRenderingPhysicalQuality);
125
126public:
128
129 // Shadows Fields
130
140
141
142 // Physically Based Lighting Fields
143
149
160
171
180
181
182 // Depth Of Field fields
183
197
205
206
207 // Shadows Enums
208
213 {
216
224 };
225
226
227 // Physically Based Lighting Enums
228
253
287
292 {
295
298
301 };
302
344
345private:
346 void GLRender( SoGLRenderAction* action );
347 virtual void doAction( SoAction* action );
348
349private:
350 // Initializes the classes.
351 static void initClass();
352 static void exitClass();
353 virtual void notify( SoNotList* list );
354
355private:
357
358private:
359 void commonConstructor();
360
361#ifndef HIDDEN_FROM_DOC
362 friend class SoVRImageSpaceEffects;
363#endif // HIDDEN_FROM_DOC
364};
Abstract base class for all actions.
Definition SoAction.h:132
Renders a scene graph using Open Inventor's Render Engine.
Abstract base class for all database nodes.
Definition SoNode.h:145
Field containing a single Boolean value.
Definition SoSFBool.h:79
Field containing an enumerated value.
Definition SoSFEnum.h:89
Field containing a floating-point value.
Definition SoSFFloat.h:78
<a href="IconLegend.html"><img src="extVR.gif" alt="VolumeViz" border="0"></a> Volume rendering phys...
SoSFEnum shadowsStyle
Specifies which kind of shadows to compute for the volume.
PredefinedMaterial
List of available predefined materials.
@ SEMI_GLOSSY
ambient: (0.5, 0.5, 0.5) diffuse: (0.8, 0.8, 0.8) specular: (0.06, 0.06, 0.06) shininess: 0....
@ GLOSSY
ambient: (0.5, 0.5, 0.5) diffuse: (1.0, 1.0, 1.0) specular: (0.25, 0.25, 0.25) shininess: 0....
@ CUSTOM_MATERIAL
When this value is selected, the applied material will get its properties from the current material o...
@ MATTE
ambient: (0.5, 0.5, 0.5) diffuse: (0.8, 0.8, 0.8) specular: (0.25, 0.25, 0.25) shininess: 0....
EnvironmentMap
List of available Environment Maps for Physically Based Lighting.
@ NO_ENVIRONMENT
When this value is selected, image-based lighting is disabled.
SoSFEnum environmentMap
Specifies which Environment map is used.
ShadingStyle
List of available shading styles.
ToneMapping
List of available Tone Mapping algorithms for Physically Based Lighting.
SoSFEnum toneMapping
Specifies which tone mapping algorithm to apply.
SoSFEnum predefinedMaterial
Specifies a material from a list of predefined ones.
SoSFBool enableDepthOfField
Enables a 'Depth of Field' effect on the volume.
SoSFEnum shadingStyle
Specifies which shading style is applied to the volume.
SoSFFloat blurFactor
This value controls the intensity of the blurring for the Depth Of Field effect.
ShadowsStyle
List of available types of shadows.
@ SHADOWMAP
The standard shadowmap-based shadows.
@ RAYTRACED
Shadows using a ray-marching based algorithm.