#include <VP1HEPVisUtils.h>
Definition at line 24 of file VP1HEPVisUtils.h.
◆ VP1HEPVisUtils()
| VP1HEPVisUtils::VP1HEPVisUtils |
( |
| ) |
|
|
private |
◆ ~VP1HEPVisUtils()
| VP1HEPVisUtils::~VP1HEPVisUtils |
( |
| ) |
|
|
private |
◆ clearAllAlternativeReps()
| void VP1HEPVisUtils::clearAllAlternativeReps |
( |
SoGroup * | g | ) |
|
|
static |
Definition at line 297 of file VP1HEPVisUtils.cxx.
298{
299 for (
int i = 0;
i<
g->getNumChildren();++
i) {
300 SoNode *
n =
g->getChild(i);
306
312 }
313 }
314}
static void clearAlternateRep(SoNode *)
static bool isGroup(SoNode *n)
static void clearAllAlternativeReps(SoGroup *)
static bool isCustomNode(SoNode *)
◆ convertCustomNodeToAlternateRep()
| SoNode * VP1HEPVisUtils::convertCustomNodeToAlternateRep |
( |
SoNode * | n | ) |
|
|
static |
Definition at line 238 of file VP1HEPVisUtils.cxx.
239{
240 if (!n)
241 return 0;
242
244
247
253
254
256 SoGroup *
g =
new SoGroup;
258}
static SoNode * convertToAlternateRep(SoNode *)
static SoGroup * convertToStandardGroupNode(SoGroup *g, bool transferChildren)
static void initAllCustomClasses()
◆ convertToStandardScene()
| SoGroup * VP1HEPVisUtils::convertToStandardScene |
( |
SoGroup * | g | ) |
|
|
static |
Definition at line 157 of file VP1HEPVisUtils.cxx.
158{
159 if (!g)
160 return 0;
161
163
166
167
169
171
173 thegroup->ref();
174
176
178 thegroup->unrefNoDelete();
179 return thegroup;
180}
static SoGroup * convertToStandardScene(SoGroup *g)
static bool isNonCustomTree(SoGroup *g)
static void updateAllAlternativeReps(SoGroup *)
◆ initAllCustomClasses()
| void VP1HEPVisUtils::initAllCustomClasses |
( |
| ) |
|
|
static |
Definition at line 317 of file VP1HEPVisUtils.cxx.
318{
327}
static void initClass()
Class Initializer, required.
static void initClass()
Class Initializer, required.
static void initClass()
Class Initializer, required.
static void initClass()
Class Initializer, required.
◆ isCustomNode()
| bool VP1HEPVisUtils::isCustomNode |
( |
SoNode * | n | ) |
|
|
static |
Definition at line 183 of file VP1HEPVisUtils.cxx.
184{
185 if (!n)
186 return false;
187
188 return n->getNodeType() & SoNode::EXTENSION;
189}
◆ updateAllAlternativeReps()
| void VP1HEPVisUtils::updateAllAlternativeReps |
( |
SoGroup * | g | ) |
|
|
static |
Definition at line 287 of file VP1HEPVisUtils.cxx.
288{
290
291
292
294}
static void updateAllNullAlternativeReps(SoGroup *g)
The documentation for this class was generated from the following files: