Open Inventor Release 2024.1.3
 
Loading...
Searching...
No Matches
SoTopComponent.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-2014 BY FEI S.A.S, ***
17 *** BORDEAUX, FRANCE ***
18 *** ALL RIGHTS RESERVED ***
19**=======================================================================*/
20/*=======================================================================
21** Author : Nicolas DAGUISE (Oct 2002)
22**=======================================================================*/
23#ifndef _SO_TOP_COMPONENT_
24#define _SO_TOP_COMPONENT_
25
26#include <DialogViz/dialog/SoDialogViz.h>
27
28class SoTranslation;
29
45{
46 SO_DG_HEADER(SoTopComponent);
47
48 public:
49/*==============================================================================*/
50private:
51 virtual void buildWidget(SoWidget parent, SbVec2i32 &rSize, SbVec2i32 & pos, SbBool is2dRender);
52 virtual void getSize(SbVec2i32 &size, SbVec2i32 &min, SbVec2i32 &max);
53 static void initClass();
54 static void exitClass();
55 virtual void updateFromSensor(SoSensor* sensor);
56 virtual void destroyWidget();
57
58 private:
60 virtual ~SoTopComponent();
61
62
64// 3D methods
65private:
66 void addTranslation(SoTranslation* tsl);
67
68private:
69
70private:
71
73};
74
75#endif // _SO_TOP_COMPONENT_
76
77
2D vector class.
Definition SbVec.h:517
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract base cl...
Abstract base class for Open Inventor sensors.
Definition SoSensor.h:100
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract Class f...
Node representing a 3D translation.
int SbBool
Boolean type.
Definition SbBase.h:87