| http://www.sim.no/ http://www.coin3d.org/

- Main Page
- Related Pages
- Modules
- Classes
- Files

- File List
- File Members

SoProfilerTopKit.h
1 #ifndef COIN_SOPROFILERTOPKIT
2 #define COIN_SOPROFILERTOPKIT
3
4 /**************************************************************************\
5 *
6 * This file is part of the Coin 3D visualization library.
7 * Copyright (C) by Kongsberg Oil & Gas Technologies.
8 *
9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * ("GPL") version 2 as published by the Free Software Foundation.
12 * See the file LICENSE.GPL at the root directory of this source
13 * distribution for additional information about the GNU GPL.
14 *
15 * For using Coin with software that can not be combined with the GNU
16 * GPL, and for taking advantage of the additional benefits of our
17 * support services, please contact Kongsberg Oil & Gas Technologies
18 * about acquiring a Coin Professional Edition License.
19 *
20 * See http://www.coin3d.org/ for more information.
21 *
22 * Kongsberg Oil & Gas Technologies, Bygdoy Alle 5, 0257 Oslo, NORWAY.
23 * http://www.sim.no/ sales@sim.no coin-support@coin3d.org
24 *
25 \**************************************************************************/
26
27 #include <Inventor/annex/Profiler/nodekits/SoProfilerOverlayKit.h>
28 #include <Inventor/fields/SoSFColor.h>
29 #include <Inventor/fields/SoSFInt32.h>
30 #include <Inventor/fields/SoSFVec2f.h>
31 #include <Inventor/fields/SoSFVec3f.h>
32 #include <Inventor/tools/SbPimplPtr.h>
33
34 class SoProfilerTopKitP;
35
36 class COIN_DLL_API SoProfilerTopKit : public SoProfilerOverlayKit {
37 typedef SoProfilerOverlayKit inherited;
38 SO_KIT_HEADER(SoProfilerTopKit);
39 SO_KIT_CATALOG_ENTRY_HEADER(textSep);
40 SO_KIT_CATALOG_ENTRY_HEADER(color);
41 SO_KIT_CATALOG_ENTRY_HEADER(translation);
42 SO_KIT_CATALOG_ENTRY_HEADER(text);
43 SO_KIT_CATALOG_ENTRY_HEADER(graph);
44
45 public:
46 static void initClass(void);
47 SoProfilerTopKit(void);
48
49 SoSFColor txtColor;
50 SoSFInt32 lines;
51
52 SoSFVec2f topKitSize; // output set from internal parts
53 SoSFVec3f position; // input set from SoProfilerOverlayKit
54
55 protected:
56 virtual ~SoProfilerTopKit(void);
57
58 private:
59 SbPimplPtr<SoProfilerTopKitP> pimpl;
60 friend class SoProfilerTopKitP;
61
62 SoProfilerTopKit(const SoProfilerTopKit & rhs);
63 SoProfilerTopKit & operator = (const SoProfilerTopKit & rhs);
64
65 }; // SoProfilerTopKit
66
67 #endif

Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.