ATLAS Offline Software
Loading...
Searching...
No Matches
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}
void buildEventSceneGraph(StoreGateSvc *sg, SoSeparator *root)
IVP13DSystemSimple(const QString &name, const QString &information, const QString &contact_info)
void message(const QString &) const
The Athena Transient Store API.