Open Inventor Release 2024.1.3
 
Loading...
Searching...
No Matches
SoGeoOrigin.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_GEOORIGIN_
25#define _SO_GEOORIGIN_
26
27#include <Inventor/fields/SoSFVec3d.h>
28#include <Inventor/fields/SoMFString.h>
29#include <Inventor/fields/SoSFBool.h>
30#include <Inventor/nodes/SoNode.h>
31
69class SoGeoOrigin : public SoNode {
70
71
72 SO_NODE_HEADER(SoGeoOrigin);
73
74 public:
75 // Fields
80
96
105
110
111 private:
112 virtual void doAction(SoAction *action);
113 virtual void callback(SoCallbackAction *action);
114 virtual void GLRender(SoGLRenderAction *action);
115 virtual void getBoundingBox(SoGetBoundingBoxAction *action);
116
117 private:
118 static void initClass();
119 static void exitClass();
120
121 private:
122 virtual ~SoGeoOrigin();
123
124};
125
126#endif /* _SO_GEOORIGIN_ */
127
128
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> Specifies a loca...
Definition SoGeoOrigin.h:69
SoGeoOrigin()
Constructor.
SoSFVec3d geoCoords
Specifies the local coordinate frame.
Definition SoGeoOrigin.h:79
SoMFString geoSystem
Defines the spatial reference frame.
Definition SoGeoOrigin.h:95
SoSFBool rotateYUp
Specifies whether coordinates of nodes that use this GeoOrigin are to be rotated such that their up d...
Computes bounding box of a scene.
Multiple-value field containing any number of strings.
Definition SoMFString.h:116
Abstract base class for all database nodes.
Definition SoNode.h:145
Field containing a single Boolean value.
Definition SoSFBool.h:79
Field containing a three-dimensional vector.
Definition SoSFVec3d.h:55