ATLAS Offline Software
Example3DSystem1.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // //
7 // Implementation of class Example3DSystem1 //
8 // //
9 // Author: Thomas Kittelmann <Thomas.Kittelmann@cern.ch> //
10 // //
11 // Initial version: June 2007 //
12 // //
14 
16 
17 #include <Inventor/nodes/SoSeparator.h>
18 #include <Inventor/nodes/SoCube.h>
19 
20 //_____________________________________________________________________________________
22  : IVP13DSystemSimple("Ex3DSys1",
23  "This is an illustration of an extremely basic 3D system.\n "
24  "It simply builds a cube each event. Admittedly not very useful",
25  "Thomas.Kittelmann@cern.ch")
26 {
27 }
28 
29 //_____________________________________________________________________________________
31 {
32  //Make a message appear in the VP1 messagebox:
33  message("Building a (useless) 3D scenegraph consisting of a cube");
34 
35  //Potentially the worlds simplest and most useless scenegraph:
36  root->addChild(new SoCube);
37 }
Example3DSystem1::buildEventSceneGraph
void buildEventSceneGraph(StoreGateSvc *sg, SoSeparator *root)
Definition: Example3DSystem1.cxx:30
Example3DSystem1::Example3DSystem1
Example3DSystem1()
Definition: Example3DSystem1.cxx:21
IVP13DSystemSimple
Definition: IVP13DSystemSimple.h:24
sendEI_SPB.root
root
Definition: sendEI_SPB.py:34
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:128
Example3DSystem1.h
IVP1System::message
void message(const QString &) const
Definition: IVP1System.cxx:336