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

SoNodeKitDetail.h
1#ifndef COIN_SONODEKITDETAIL_H
2#define COIN_SONODEKITDETAIL_H
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/details/SoSubDetail.h>
28#include <Inventor/SbName.h>
29
30class SoBaseKit;
31class SoNode;
32
33
34class COIN_DLL_API SoNodeKitDetail : public SoDetail {
35 typedef SoDetail inherited;
36
37 SO_DETAIL_HEADER(SoNodeKitDetail);
38
39public:
40 SoNodeKitDetail(void);
41 virtual ~SoNodeKitDetail();
42
43 static void initClass(void);
44 virtual SoDetail * copy(void) const;
45
46 void setNodeKit(SoBaseKit * kit);
47 SoBaseKit * getNodeKit(void) const;
48
49 void setPart(SoNode * part);
50 SoNode * getPart(void) const;
51
52 void setPartName(const SbName & name);
53 const SbName & getPartName(void) const;
54
55protected:
59};
60
61#endif // !COIN_SONODEKITDETAIL_H
The SbName class stores strings by reference.
Definition SbName.h:31
The SoBaseKit class is the toplevel superclass for nodekits.
Definition SoBaseKit.h:57
The SoDetail class is the superclass for all classes storing detailed information about particular sh...
Definition SoDetail.h:30
static void initClass(void)
Definition SoDetail.cpp:144
virtual SoDetail * copy(void) const =0
The SoNodeKitDetail class is yet to be documented.
Definition SoNodeKitDetail.h:34
SoNode * myPart
Definition SoNodeKitDetail.h:57
SbName myPartName
Definition SoNodeKitDetail.h:58
SoBaseKit * myNodeKit
Definition SoNodeKitDetail.h:56
The SoNode class is the base class for nodes used in scene graphs.
Definition SoNode.h:47

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

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