ATLAS Offline Software
VP1HEPVisUtils.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
7 // //
8 // Header file for class VP1HEPVisUtils //
9 // //
10 // Description: Utilities connected to the VP1HEPVis //
11 // classes. //
12 // //
13 // Author: Thomas H. Kittelmann (Thomas.Kittelmann@cern.ch) //
14 // Initial version: November 2008 //
15 // //
17 
18 #ifndef VP1HEPVISUTILS_H
19 #define VP1HEPVISUTILS_H
20 
21 class SoGroup;
22 class SoNode;
23 
25 public:
26 
27  static void initAllCustomClasses();//calls ::initClass() on all custom classes.
28 
29  static SoGroup* convertToStandardScene(SoGroup*);
30  static bool isCustomNode(SoNode*);
31  static SoNode * convertCustomNodeToAlternateRep(SoNode*);//Returns empty group node if not custom or without alternate rep.
32 
33  static void updateAllAlternativeReps(SoGroup*);
34  static void clearAllAlternativeReps(SoGroup*);
35 
36 private:
37 
40 
41  class Imp;
42 };
43 
44 #endif
VP1HEPVisUtils::Imp
Definition: VP1HEPVisUtils.cxx:42
VP1HEPVisUtils
Definition: VP1HEPVisUtils.h:24
VP1HEPVisUtils::VP1HEPVisUtils
VP1HEPVisUtils()
VP1HEPVisUtils::initAllCustomClasses
static void initAllCustomClasses()
Definition: VP1HEPVisUtils.cxx:317
VP1HEPVisUtils::isCustomNode
static bool isCustomNode(SoNode *)
Definition: VP1HEPVisUtils.cxx:183
VP1HEPVisUtils::~VP1HEPVisUtils
~VP1HEPVisUtils()
VP1HEPVisUtils::clearAllAlternativeReps
static void clearAllAlternativeReps(SoGroup *)
Definition: VP1HEPVisUtils.cxx:297
VP1HEPVisUtils::convertToStandardScene
static SoGroup * convertToStandardScene(SoGroup *)
Definition: VP1HEPVisUtils.cxx:157
VP1HEPVisUtils::updateAllAlternativeReps
static void updateAllAlternativeReps(SoGroup *)
Definition: VP1HEPVisUtils.cxx:287
VP1HEPVisUtils::convertCustomNodeToAlternateRep
static SoNode * convertCustomNodeToAlternateRep(SoNode *)
Definition: VP1HEPVisUtils.cxx:238