Open Inventor Release 2024.1.3
 
Loading...
Searching...
No Matches
SoGeoLocation.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_GEOLOCATION_
25#define _SO_GEOLOCATION_
26
27#include <Inventor/fields/SoSFVec3d.h>
28#include <Inventor/fields/SoMFString.h>
29#include <Inventor/nodes/SoTransformation.h>
30#include <Inventor/nodes/SoTransform.h>
31
67
68 SO_NODE_HEADER(SoGeoLocation);
69
70 public:
71 // Fields
76
92
97
98 private:
99 virtual void doAction(SoAction *action);
100 virtual void callback(SoCallbackAction *action);
101 virtual void GLRender(SoGLRenderAction *action);
102 virtual void getBoundingBox(SoGetBoundingBoxAction *action);
103 virtual void pick(SoPickAction *action);
104 virtual void getMatrix(SoGetMatrixAction *action);
105
106 private:
107 static void initClass();
108 static void exitClass();
109
110 private:
111 virtual ~SoGeoLocation();
112
113 private:
114 SbVec3f m_geoCoords;
115
116 // Apply transformation using forward traversal on this node
117 SoRef<SoTransform> m_modelTransform;
118
119};
120
121#endif /* _SO_GEOLOCATION_ */
122
123
3D vector class.
Definition SbVec.h:932
Abstract base class for all actions.
Definition SoAction.h:132
Performs a generic traversal of a scene graph or path.
Renders a scene graph using Open Inventor's Render Engine.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Used to georefer...
SoMFString geoSystem
Defines the spatial reference frame.
SoSFVec3d geoCoords
Geospatial coordinate used for translation.
SoGeoLocation()
Creates a geoLocation node with default settings.
Computes bounding box of a scene.
Computes transformation matrix for a subgraph.
Multiple-value field containing any number of strings.
Definition SoMFString.h:116
Abstract base class for picking objects in a scene.
Smart pointer for any class inheriting SoRefCounter.
Definition SoRef.h:90
Field containing a three-dimensional vector.
Definition SoSFVec3d.h:55
Abstract base class for all geometric transformation nodes.