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
26class SmVesselKitP;
27
29 typedef SmDynamicObjectKit inherited;
30
31 SO_KIT_HEADER(SmVesselKit);
32
33public:
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
52protected:
53 virtual ~SmVesselKit();
54
55public:
56
57 virtual void GLRender(SoGLRenderAction * action);
58
59private:
60
61 SmVesselKitP * pimpl;
62
63};
64
65#endif // temporary compile fix
66#endif // !VESSELKIT_H
67
Definition misc/SbList.h:69
Definition SmDynamicObjectKit.h:55