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) 1998-2007 by Systems in Motion. All rights reserved.
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 Systems in Motion about acquiring
18 * a Coin Professional Edition License.
19 *
20 * See http://www.coin3d.org/ for more information.
21 *
22 * Systems in Motion, Postboks 1283, Pirsenteret, 7462 Trondheim, 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
static void initClass(void)
Definition SoDetail.cpp:130
virtual SoDetail * copy(void) const =0
SoDetail(void)
Definition SoDetail.cpp:94
SoNode * myPart
Definition SoNodeKitDetail.h:57
SbName myPartName
Definition SoNodeKitDetail.h:58
SoNodeKitDetail(void)
Definition SoNodeKitDetail.cpp:59
void setPart(SoNode *part)
Definition SoNodeKitDetail.cpp:123
const SbName & getPartName(void) const
Definition SoNodeKitDetail.cpp:152
void setPartName(const SbName &name)
Definition SoNodeKitDetail.cpp:143
void setNodeKit(SoBaseKit *kit)
Definition SoNodeKitDetail.cpp:102
SoBaseKit * myNodeKit
Definition SoNodeKitDetail.h:56
SoNode * getPart(void) const
Definition SoNodeKitDetail.cpp:134
SoBaseKit * getNodeKit(void) const
Definition SoNodeKitDetail.cpp:113
The SoNode class is the base class for nodes used in scene graphs.
Definition SoNode.h:47

Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.

Generated on Wed Jul 23 2025 for Coin by Doxygen. 1.14.0