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 
30 class SoBaseKit;
31 class SoNode;
32 
33 
34 class COIN_DLL_API SoNodeKitDetail : public SoDetail {
35  typedef SoDetail inherited;
36 
37  SO_DETAIL_HEADER(SoNodeKitDetail);
38 
39 public:
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 
55 protected:
59 };
60 
61 #endif // !COIN_SONODEKITDETAIL_H
The SoBaseKit class is the toplevel superclass for nodekits.Node kits are collections of nodes and ot...
Definition: SoBaseKit.h:57
The SoNode class is the base class for nodes used in scene graphs.Coin is a retained mode 3D visualiz...
Definition: SoNode.h:47
static void initClass(void)
Definition: SoDetail.cpp:144
virtual SoDetail * copy(void) const =0
The SoNodeKitDetail class is yet to be documented.When a pick action is executed and geometry within ...
Definition: SoNodeKitDetail.h:34
SoBaseKit * myNodeKit
Definition: SoNodeKitDetail.h:56
SbName myPartName
Definition: SoNodeKitDetail.h:58
SoNode * myPart
Definition: SoNodeKitDetail.h:57
The SbName class stores strings by reference.The class is used by Coin for storing keywords...
Definition: SbName.h:31
The SoDetail class is the superclass for all classes storing detailed information about particular sh...
Definition: SoDetail.h:30

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

Generated for Coin by Doxygen 1.8.14.