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 
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
SbName
The SbName class stores strings by reference.
Definition: SbName.h:31
SoDetail::getClassTypeId
static SoType getClassTypeId(void)
Definition: SoDetail.cpp:118
SoDetail::copy
virtual SoDetail * copy(void) const =0
SoNodeKitDetail::setPartName
void setPartName(const SbName &name)
Definition: SoNodeKitDetail.cpp:143
SoNodeKitDetail::myPart
SoNode * myPart
Definition: SoNodeKitDetail.h:57
SoNodeKitDetail::myPartName
SbName myPartName
Definition: SoNodeKitDetail.h:58
SoBase::unref
void unref(void) const
Definition: SoBase.cpp:627
SoNodeKitDetail::SoNodeKitDetail
SoNodeKitDetail(void)
Definition: SoNodeKitDetail.cpp:59
SoNodeKitDetail::getNodeKit
SoBaseKit * getNodeKit(void) const
Definition: SoNodeKitDetail.cpp:113
SoNodeKitDetail::setNodeKit
void setNodeKit(SoBaseKit *kit)
Definition: SoNodeKitDetail.cpp:102
SoDetail
The SoDetail class is the superclass for all classes storing detailed information about particular sh...
Definition: SoDetail.h:30
SoDetail::initClass
static void initClass(void)
Definition: SoDetail.cpp:130
SoNodeKitDetail::~SoNodeKitDetail
virtual ~SoNodeKitDetail()
Definition: SoNodeKitDetail.cpp:67
SoNodeKitDetail::setPart
void setPart(SoNode *part)
Definition: SoNodeKitDetail.cpp:123
SoBase::ref
void ref(void) const
Definition: SoBase.cpp:574
SoNodeKitDetail
The SoNodeKitDetail class is yet to be documented.
Definition: SoNodeKitDetail.h:34
SoNodeKitDetail::getPart
SoNode * getPart(void) const
Definition: SoNodeKitDetail.cpp:134
SoType::createType
static const SoType createType(const SoType parent, const SbName name, const instantiationMethod method=(instantiationMethod) NULL, const uint16_t data=0)
Definition: SoType.cpp:256
SoNodeKitDetail::myNodeKit
SoBaseKit * myNodeKit
Definition: SoNodeKitDetail.h:56
SoNodeKitDetail::copy
virtual SoDetail * copy(void) const
Definition: SoNodeKitDetail.cpp:84
SoBaseKit
The SoBaseKit class is the toplevel superclass for nodekits.
Definition: SoBaseKit.h:57
SoNode
The SoNode class is the base class for nodes used in scene graphs.
Definition: SoNode.h:47
SoNodeKitDetail::getPartName
const SbName & getPartName(void) const
Definition: SoNodeKitDetail.cpp:152

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

Generated on Mon Jul 27 2020 for Coin by Doxygen. 1.8.18