#include <SoDetectorTreeKit.h>
|
virtual | ~SoDetectorTreeKit () |
|
virtual void | doAction (SoAction *) |
| !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
|
|
Definition at line 47 of file SoDetectorTreeKit.h.
◆ SoDetectorTreeKit()
SoDetectorTreeKit::SoDetectorTreeKit |
( |
| ) |
|
Definition at line 75 of file SoDetectorTreeKit.cc.
75 {
77
78 SO_NODE_ADD_FIELD(alternateRep, (NULL));
79
80 SO_KIT_ADD_CATALOG_ENTRY ( topSeparator, SoSeparator,
FALSE,
this,\0,
FALSE);
81 SO_KIT_ADD_CATALOG_ENTRY ( pickStyle, SoSeparator,
TRUE , topSeparator,\0,
TRUE);
82 SO_KIT_ADD_CATALOG_ENTRY ( appearance, SoAppearanceKit,
TRUE, topSeparator ,\0,
TRUE);
83 SO_KIT_ADD_CATALOG_ENTRY ( units, SoUnits,
TRUE, topSeparator ,\0,
TRUE);
84 SO_KIT_ADD_CATALOG_ENTRY ( transform, SoTransform,
TRUE , topSeparator,\0,
TRUE);
85 SO_KIT_ADD_CATALOG_ENTRY (texture2Transform, SoTexture2Transform,
TRUE, topSeparator ,\0,
TRUE);
86 SO_KIT_ADD_CATALOG_ENTRY ( childList, SoSwitch,
FALSE, topSeparator,\0,
FALSE);
87 SO_KIT_ADD_CATALOG_ENTRY ( previewSeparator, SoSeparator,
FALSE, childList,\0,
TRUE);
88 SO_KIT_ADD_CATALOG_ENTRY ( fullSeparator, SoSeparator,
FALSE, childList,\0,
TRUE);
89
90 SO_KIT_INIT_INSTANCE();
91 createInitialTree();
92}
◆ ~SoDetectorTreeKit()
SoDetectorTreeKit::~SoDetectorTreeKit |
( |
| ) |
|
|
protectedvirtual |
◆ affectsState()
SbBool SoDetectorTreeKit::affectsState |
( |
| ) |
const |
|
virtual |
◆ clearAlternateRep()
void SoDetectorTreeKit::clearAlternateRep |
( |
| ) |
|
|
virtual |
◆ doAction()
void SoDetectorTreeKit::doAction |
( |
SoAction * |
aAction | ) |
|
|
protectedvirtual |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 233 of file SoDetectorTreeKit.cc.
238{
240 SoBaseKit::doAction(aAction);
241}
#define SO_ALTERNATEREP_DO_ACTION(aAction)
◆ generateAlternateRep()
void SoDetectorTreeKit::generateAlternateRep |
( |
| ) |
|
|
virtual |
◆ getFullSeparator()
SoSeparator * SoDetectorTreeKit::getFullSeparator |
( |
| ) |
const |
|
virtual |
Definition at line 217 of file SoDetectorTreeKit.cc.
217 {
218 return (SoSeparator *) fullSeparator.getValue();
219}
◆ getPreview()
SbBool SoDetectorTreeKit::getPreview |
( |
| ) |
const |
|
virtual |
Definition at line 201 of file SoDetectorTreeKit.cc.
201 {
202 SoSwitch *theChildList = (SoSwitch *) childList.getValue();
203 if (theChildList->whichChild.getValue()==0)
return TRUE;
205}
◆ getPreviewSeparator()
SoSeparator * SoDetectorTreeKit::getPreviewSeparator |
( |
| ) |
const |
|
virtual |
Definition at line 213 of file SoDetectorTreeKit.cc.
213 {
214 return (SoSeparator *) previewSeparator.getValue();
215}
◆ initClass()
void SoDetectorTreeKit::initClass |
( |
| ) |
|
|
static |
◆ setPreview()
void SoDetectorTreeKit::setPreview |
( |
SbBool |
Flag | ) |
|
|
virtual |
Definition at line 191 of file SoDetectorTreeKit.cc.
191 {
192 SoSwitch *theChildList = (SoSwitch *) childList.getValue();
193 if (Flag) {
194 theChildList->whichChild.setValue(0);
195 }
196 else {
197 theChildList->whichChild.setValue(1);
198 }
199}
◆ setPreviewAndFull()
void SoDetectorTreeKit::setPreviewAndFull |
( |
| ) |
|
Definition at line 208 of file SoDetectorTreeKit.cc.
208 {
209 SoSwitch *theChildList = (SoSwitch *) childList.getValue();
210 theChildList->whichChild.setValue(SO_SWITCH_ALL);
211}
◆ alternateRep
SoSFNode SoDetectorTreeKit::alternateRep |
The documentation for this class was generated from the following files: