Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/root-config.in
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ fi
newlib="-lNew"
rootglibs="-lGui"
rootevelibs="-lEve -lEG -lGeom -lGed -lRGL"
rootlibs="-lCore -lImt -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lROOTVecOps -lTree -lTreePlayer\
rootlibs="-lCore -lImt -lRIO -lNet -lHist -lGraf -lGraf3d -lTGeometryShapes -lGpad -lROOTVecOps -lTree -lTreePlayer\
-lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lROOTNTuple -lROOTNTupleUtil"

# MultiProc is not supported on Windows
Expand Down
24 changes: 15 additions & 9 deletions graf3d/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,28 @@
# For the licensing terms see $ROOTSYS/LICENSE.
# For the list of contributors see $ROOTSYS/README/CREDITS.

add_subdirectory(g3d) # special CMakeLists.txt
add_subdirectory(g3d)

if(NOT WIN32 AND x11)
add_subdirectory(x3d) # special CMakeLists.txt
add_subdirectory(x3d)
endif()

add_subdirectory(csg) # special CMakeLists.txt
add_subdirectory(csg)

if (opengl)
if(geom)
add_subdirectory(eve)
add_subdirectory(gviz3d)
endif()
add_subdirectory(gl)
add_subdirectory(glad)
endif()

if(webgui AND root7 AND geom)
add_subdirectory(eve7) # special CMakeLists.txt
if(geom)
add_subdirectory(TGeometryShapes)

if(opengl)
add_subdirectory(eve)
add_subdirectory(gviz3d)
endif()

if(webgui AND root7)
add_subdirectory(eve7)
endif()
endif()
54 changes: 54 additions & 0 deletions graf3d/TGeometryShapes/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Copyright (C) 1995-2026, Rene Brun and Fons Rademakers.
# All rights reserved.
#
# For the licensing terms see $ROOTSYS/LICENSE.
# For the list of contributors see $ROOTSYS/README/CREDITS.

############################################################################
# CMakeLists.txt file for building ROOT's TGeometryShapes package
############################################################################

ROOT_STANDARD_LIBRARY_PACKAGE(TGeometryShapes
HEADERS
TBRIK.h
TCONE.h
TCONS.h
TCTUB.h
TELTU.h
TGTRA.h
THelix.h
THYPE.h
TNodeDiv.h
TPARA.h
TPCON.h
TPGON.h
TSPHE.h
TTRAP.h
TTRD1.h
TTRD2.h
TTUBE.h
TTUBS.h
TXTRU.h
SOURCES
TBRIK.cxx
TCONE.cxx
TCONS.cxx
TCTUB.cxx
TELTU.cxx
TGTRA.cxx
THelix.cxx
THYPE.cxx
TNodeDiv.cxx
TPARA.cxx
TPCON.cxx
TPGON.cxx
TSPHE.cxx
TTRAP.cxx
TTRD1.cxx
TTRD2.cxx
TTUBE.cxx
TTUBS.cxx
TXTRU.cxx
DEPENDENCIES
Graf3d
)
37 changes: 37 additions & 0 deletions graf3d/TGeometryShapes/inc/LinkDef.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/

#ifdef __CLING__

#pragma link off all globals;
#pragma link off all classes;
#pragma link off all functions;

#pragma link C++ enum EHelixRangeType;

#pragma link C++ class TBRIK+;
#pragma link C++ class TCONE+;
#pragma link C++ class TCONS+;
#pragma link C++ class TCTUB-;
#pragma link C++ class TELTU+;
#pragma link C++ class TGTRA+;
#pragma link C++ class THelix-;
#pragma link C++ class THYPE+;
#pragma link C++ class TNodeDiv+;
#pragma link C++ class TPARA+;
#pragma link C++ class TPCON-;
#pragma link C++ class TPGON+;
#pragma link C++ class TSPHE-;
#pragma link C++ class TTRAP+;
#pragma link C++ class TTRD1+;
#pragma link C++ class TTRD2+;
#pragma link C++ class TTUBE-;
#pragma link C++ class TTUBS+;
#pragma link C++ class TXTRU+;

#endif
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,3 @@ TELTU::TELTU(const char *name, const char *title, const char *material, Float_t
TELTU::~TELTU()
{
}

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
38 changes: 0 additions & 38 deletions graf3d/g3d/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,71 +11,33 @@
ROOT_STANDARD_LIBRARY_PACKAGE(Graf3d
HEADERS
TAxis3D.h
TBRIK.h
TCONE.h
TCONS.h
TCTUB.h
TELTU.h
TGeometry.h
TGTRA.h
THelix.h
THYPE.h
TMarker3DBox.h
TMaterial.h
TMixture.h
TNodeDiv.h
TNode.h
TPARA.h
TPCON.h
TPGON.h
TPoints3DABC.h
TPointSet3D.h
TPolyLine3D.h
TPolyMarker3D.h
TRotMatrix.h
TShape.h
TSPHE.h
TTRAP.h
TTRD1.h
TTRD2.h
TTUBE.h
TTUBS.h
TView3D.h
TXTRU.h
X3DBuffer.h
SOURCES
TAxis3D.cxx
TBRIK.cxx
TCONE.cxx
TCONS.cxx
TCTUB.cxx
TELTU.cxx
TGeometry.cxx
TGTRA.cxx
THelix.cxx
THYPE.cxx
TMarker3DBox.cxx
TMaterial.cxx
TMixture.cxx
TNode.cxx
TNodeDiv.cxx
TPARA.cxx
TPCON.cxx
TPGON.cxx
TPoints3DABC.cxx
TPointSet3D.cxx
TPolyLine3D.cxx
TPolyMarker3D.cxx
TRotMatrix.cxx
TShape.cxx
TSPHE.cxx
TTRAP.cxx
TTRD1.cxx
TTRD2.cxx
TTUBE.cxx
TTUBS.cxx
TView3D.cxx
TXTRU.cxx
X3DBuffer.c
DEPENDENCIES
Gpad
Expand Down
25 changes: 3 additions & 22 deletions graf3d/g3d/inc/LinkDef.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,36 +19,17 @@
#pragma link C++ global gGeometry;

#pragma link C++ class TAxis3D+;
#pragma link C++ class TBRIK+;
#pragma link C++ class TCONE+;
#pragma link C++ class TCONS+;
#pragma link C++ class TCTUB-;
#pragma link C++ class TELTU+;
#pragma link C++ class TGTRA+;
#pragma link C++ class TGeometry-;
#pragma link C++ class THelix-;
#pragma link C++ class THYPE+;
#pragma link C++ class TMarker3DBox-;
#pragma link C++ class TMaterial-;
#pragma link C++ class TMixture-;
#pragma link C++ class TNode-;
#pragma link C++ class TNodeDiv+;
#pragma link C++ class TPARA+;
#pragma link C++ class TPCON-;
#pragma link C++ class TPGON+;
#pragma link C++ class TPoints3DABC;
#pragma link C++ class TPointSet3D-;
#pragma link C++ class TPolyLine3D-;
#pragma link C++ class TPolyMarker3D-;
#pragma link C++ class TPointSet3D-;
#pragma link C++ class TRotMatrix-;
#pragma link C++ class TShape-;
#pragma link C++ class TSPHE-;
#pragma link C++ class TTRAP+;
#pragma link C++ class TTRD1+;
#pragma link C++ class TTRD2+;
#pragma link C++ class TTUBE-;
#pragma link C++ class TTUBS+;
#pragma link C++ class TMarker3DBox-;
#pragma link C++ class TPoints3DABC;
#pragma link C++ class TXTRU+;
#pragma link C++ class TView3D-;

#endif
6 changes: 3 additions & 3 deletions graf3d/g3d/inc/TNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
#ifndef ROOT_TNode
#define ROOT_TNode

#include "TShape.h"
#include "TAttLine.h"
#include "TAttFill.h"
#include "TAtt3D.h"

#include "TRotMatrix.h"
#include "TNamed.h"

class TBrowser;
class TShape;
class TRotMatrix;

class TNode : public TNamed , public TAttLine, public TAttFill, public TAtt3D {

Expand Down
2 changes: 1 addition & 1 deletion graf3d/g3d/inc/TShape.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
//////////////////////////////////////////////////////////////////////////

#include "TNamed.h"
#include "TMaterial.h"
#include "TAttLine.h"
#include "TAttFill.h"
#include "TAtt3D.h"
#include "X3DBuffer.h"

class TBuffer3D;
class TMaterial;
class TNode;

class TShape : public TNamed, public TAttLine, public TAttFill, public TAtt3D {
Expand Down
14 changes: 9 additions & 5 deletions graf3d/g3d/src/TGeometry.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,18 @@
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/

#include "TROOT.h"
#include "TBuffer.h"
#include "THashList.h"
#include "TObjArray.h"
#include "TGeometry.h"
#include "TNode.h"
#include "TMaterial.h"
#include "TNode.h"
#include "TRotMatrix.h"
#include "TShape.h"

#include "TBrowser.h"
#include "TBuffer.h"
#include "THashList.h"
#include "TObjArray.h"
#include "TROOT.h"


TGeometry *gGeometry = nullptr;

Expand Down
1 change: 0 additions & 1 deletion math/splot/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ ROOT_STANDARD_LIBRARY_PACKAGE(SPlot
Hist
Tree
TreePlayer
Graf3d
Graf
MathCore
)
4 changes: 2 additions & 2 deletions montecarlo/eg/inc/TPrimary.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
#ifndef ROOT_TPrimary
#define ROOT_TPrimary

#include "TNamed.h"
#include "TObject.h"
#include "TAttLine.h"
#include "TAtt3D.h"
#include "X3DBuffer.h"
#include "TString.h"

class TAttParticle;

Expand Down
11 changes: 6 additions & 5 deletions montecarlo/eg/src/TPrimary.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,16 @@ Old version of a dynamic particle class created by event generators.
This class is now obsolete. Use TParticle instead.
*/

#include "TObject.h"
#include "TPrimary.h"

#include "Rtypes.h"
#include "TString.h"
#include "TAttParticle.h"
#include "TPrimary.h"
#include "TView.h"
#include "TMath.h"
#include "TVirtualPad.h"
#include "TPolyLine3D.h"
#include "TString.h"
#include "TView.h"
#include "TVirtualPad.h"
#include "X3DBuffer.h"
#include "snprintf.h"


Expand Down
12 changes: 7 additions & 5 deletions roottest/root/treeformula/casting/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ ROOTTEST_ADD_TEST(write
ROOTTEST_COMPILE_MACRO(Simple.cxx
FIXTURES_SETUP root-treeformula-casting-Simple-fixture)

ROOTTEST_ADD_TEST(run
MACRO Run.C
OUTREF Simple.ref
FIXTURES_REQUIRED root-treeformula-casting-write-fixture
root-treeformula-casting-Simple-fixture)
if(geom)
ROOTTEST_ADD_TEST(run
MACRO Run.C
OUTREF Simple.ref
FIXTURES_REQUIRED root-treeformula-casting-write-fixture
root-treeformula-casting-Simple-fixture)
endif()
2 changes: 1 addition & 1 deletion tutorials/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ if(NOT experimental_genvectorx)
endif()

if(NOT geom)
set(geom_veto visualisation/geom/*.C geom/*.C visualisation/geom/gdml/*.C legacy/g3d/shapes.* legacy/g3d/na49view.*)
set(geom_veto visualisation/geom/*.C geom/*.C visualisation/geom/gdml/*.C legacy/g3d/*)
endif()

if(NOT spectrum)
Expand Down
Loading