Coin Logo http://www.sim.no/
http://www.coin3d.org/

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
34class SoProfilerTopKitP;
35
36class 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
45public:
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
55protected:
56 virtual ~SoProfilerTopKit(void);
57
58private:
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
The SoSFColor class is a container for an SbColor value.
Definition SoSFColor.h:31
The SoSFInt32 class is a container for a 32-bit integer value.
Definition SoSFInt32.h:30
The SoSFVec2f class is a container for an SbVec2f vector.
Definition SoSFVec2f.h:31
The SoSFVec3f class is a container for an SbVec3f vector.
Definition SoSFVec3f.h:31

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

Generated on Wed Jul 17 2024 for Coin by Doxygen 1.12.0.