#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.
299 for (
int i = 0;
i<
g->getNumChildren();++
i) {
300 SoNode *
n =
g->getChild(
i);
304 if (
n->getTypeId().isDerivedFrom(SoCons::getClassTypeId()) )
return Imp::clearAlternateRep<SoCons>(
n);
305 if (
n->getTypeId().isDerivedFrom(SoLAr::getClassTypeId()) )
return Imp::clearAlternateRep<SoLAr>(
n);
307 if (
n->getTypeId().isDerivedFrom(SoPcons::getClassTypeId()) )
return Imp::clearAlternateRep<SoPcons>(
n);
308 if (
n->getTypeId().isDerivedFrom(SoGenericBox::getClassTypeId()) )
return Imp::clearAlternateRep<SoGenericBox>(
n);
309 if (
n->getTypeId().isDerivedFrom(SoTubs::getClassTypeId()) )
return Imp::clearAlternateRep<SoTubs>(
n);
310 if (
n->getTypeId().isDerivedFrom(SoPolyhedron::getClassTypeId()) )
return Imp::clearAlternateRep<SoPolyhedron>(
n);
311 if (
n->getTypeId().isDerivedFrom(SoTessellated::getClassTypeId()) )
return Imp::clearAlternateRep<SoTessellated>(
n);
◆ convertCustomNodeToAlternateRep()
SoNode * VP1HEPVisUtils::convertCustomNodeToAlternateRep |
( |
SoNode * |
n | ) |
|
|
static |
Definition at line 238 of file VP1HEPVisUtils.cxx.
245 if (
n->getTypeId().isDerivedFrom(SoCons::getClassTypeId()) )
return Imp::convertToAlternateRep<SoCons>(
n);
246 if (
n->getTypeId().isDerivedFrom(SoLAr::getClassTypeId()) )
return Imp::convertToAlternateRep<SoLAr>(
n);
248 if (
n->getTypeId().isDerivedFrom(SoPcons::getClassTypeId()) )
return Imp::convertToAlternateRep<SoPcons>(
n);
249 if (
n->getTypeId().isDerivedFrom(SoGenericBox::getClassTypeId()) )
return Imp::convertToAlternateRep<SoGenericBox>(
n);
250 if (
n->getTypeId().isDerivedFrom(SoTubs::getClassTypeId()) )
return Imp::convertToAlternateRep<SoTubs>(
n);
251 if (
n->getTypeId().isDerivedFrom(SoPolyhedron::getClassTypeId()) )
return Imp::convertToAlternateRep<SoPolyhedron>(
n);
252 if (
n->getTypeId().isDerivedFrom(SoTessellated::getClassTypeId()) )
return Imp::convertToAlternateRep<SoTessellated>(
n);
256 SoGroup *
g =
new SoGroup;
◆ convertToStandardScene()
SoGroup * VP1HEPVisUtils::convertToStandardScene |
( |
SoGroup * |
g | ) |
|
|
static |
◆ initAllCustomClasses()
void VP1HEPVisUtils::initAllCustomClasses |
( |
| ) |
|
|
static |
◆ isCustomNode()
bool VP1HEPVisUtils::isCustomNode |
( |
SoNode * |
n | ) |
|
|
static |
◆ updateAllAlternativeReps()
void VP1HEPVisUtils::updateAllAlternativeReps |
( |
SoGroup * |
g | ) |
|
|
static |
The documentation for this class was generated from the following files: