SmallChange
1.0.0
A collection of extensions to Coin3D
Loading...
Searching...
No Matches
SmVesselKit.h
1
/**************************************************************************\
2
*
3
* Copyright (C) 1998-2004 by Systems in Motion. All rights reserved.
4
*
5
\**************************************************************************/
6
7
#ifndef VESSELKIT_H
8
#define VESSELKIT_H
9
10
#include <Inventor/SbBasic.h>
11
#if defined(__COIN__) && (COIN_MAJOR_VERSION >= 3)
12
13
#include "SmDynamicObjectKit.h"
14
15
#include <Inventor/nodekits/SoSubKit.h>
16
#include <Inventor/nodekits/SoBaseKit.h>
17
#include <Inventor/fields/SoSFVec2f.h>
18
#include <Inventor/fields/SoSFFloat.h>
19
#include <Inventor/fields/SoSFNode.h>
20
#include <Inventor/fields/SoSFTime.h>
21
#include <Inventor/C/basic.h>
22
#include <Inventor/SbVec3f.h>
23
#include <SmallChange/basic.h>
24
25
26
class
SmVesselKitP
;
27
28
class
SMALLCHANGE_DLL_API
SmVesselKit
:
public
SmDynamicObjectKit
{
29
typedef
SmDynamicObjectKit
inherited;
30
31
SO_KIT_HEADER(
SmVesselKit
);
32
33
public
:
34
SmVesselKit
(
void
);
35
36
SoSFNode
oceanKit
;
37
SoSFVec2f size;
38
SoSFFloat speed;
39
SoSFTime
lastDatumTime
;
40
SoSFFloat
maxExtrapolationTime
;
41
SoSFFloat
pitchInertia
;
42
SoSFFloat
pitchResistance
;
43
SoSFFloat
pitchBalance
;
44
SoSFFloat
rollInertia
;
45
SoSFFloat
rollResistance
;
46
SoSFFloat
rollBalance
;
47
SoSFFloat trackLength;
48
49
static
void
initClass(
void
);
50
void
savePosition
(
void
);
51
52
protected
:
53
virtual
~SmVesselKit
();
54
55
public
:
56
57
virtual
void
GLRender(
SoGLRenderAction
*
action
);
58
59
private
:
60
61
SmVesselKitP
* pimpl;
62
63
};
64
65
#endif
// temporary compile fix
66
#endif
// !VESSELKIT_H
67
SbList
Definition
misc/SbList.h:69
SmDynamicObjectKit
Definition
SmDynamicObjectKit.h:55
lib
SmallChange
nodekits
SmVesselKit.h
Generated on Tue Sep 10 2024 20:35:47 for SmallChange by
1.10.0