Open Inventor Release 2024.2.1
 
Loading...
Searching...
No Matches
SoGeoElevationGrid.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-2018 BY FEI S.A.S, ***
17 *** BORDEAUX, FRANCE ***
18 *** ALL RIGHTS RESERVED ***
19**=======================================================================*/
20/*=======================================================================
21** Author : Julien SALLANNE (Apr 2009)
22**=======================================================================*/
23
24#ifndef _SO_GEOELEVATIONGRID_
25#define _SO_GEOELEVATIONGRID_
26
27#include <Inventor/fields/SoSFVec3f.h>
28#include <Inventor/fields/SoSFInt32.h>
29#include <Inventor/fields/SoMFFloat.h>
30#include <Inventor/fields/SoSFFloat.h>
31#include <Inventor/fields/SoMFString.h>
32#include <Inventor/nodes/SoGeoProjection.h>
33#include <Inventor/nodes/SoIndexedFaceSet.h>
34
35#include <Inventor/SbPImpl.h>
36
37SO_PIMPL_PUBLIC_DECLARATION( SoGeoElevationGrid )
38
39
94{
95
96 SO_PIMPL_PUBLIC_HEADER( SoGeoElevationGrid )
97 SO_NODE_HEADER( SoGeoElevationGrid );
98
99public:
100 // Fields
106 SoSFFloat yScale;
107
112 SoSFVec3f geoGridOrigin;
113
128 SoMFString geoSystem;
129
135 SoMFFloat height;
136
140 SoSFInt32 xDimension;
141
148 SoSFFloat xSpacing;
149
153 SoSFInt32 zDimension;
154
162 SoSFFloat zSpacing;
163
168
169private:
170 // Implements actions
171 virtual void GLRender( SoGLRenderAction* action );
172
173 // Computes bounding box
174 virtual void computeBBox( SoAction* action, SbBox3f& box, SbVec3f& center );
175
176private:
177
178 static void initClass();
179 static void exitClass();
180
181private:
182
183 virtual ~SoGeoElevationGrid();
184
185};
186
187#endif /* _SO_GEOELEVATIONGRID_ */
188
189
3D box class.
Definition SbBox.h:649
3D vector class.
Definition SbVec.h:932
Abstract base class for all actions.
Definition SoAction.h:132
Renders a scene graph using Open Inventor's Render Engine.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Specifies a unif...
Indexed polygonal face shape node.
Multiple-value field containing any number of floating point values.
Definition SoMFFloat.h:90
Multiple-value field containing any number of strings.
Definition SoMFString.h:116
Field containing a floating-point value.
Definition SoSFFloat.h:78
Field containing a int32_t integer.
Definition SoSFInt32.h:80
Field containing a three-dimensional vector.
Definition SoSFVec3f.h:80