Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RVisualizationProvider.hxx
Go to the documentation of this file.
1/*************************************************************************
2 * Copyright (C) 1995-2025, Rene Brun and Fons Rademakers. *
3 * All rights reserved. *
4 * *
5 * For the licensing terms see $ROOTSYS/LICENSE. *
6 * For the list of contributors see $ROOTSYS/README/CREDITS. *
7 *************************************************************************/
8
9#ifndef ROOT_RVISUALIZATIONPROVIDER_HXX
10#define ROOT_RVISUALIZATIONPROVIDER_HXX
11
13
15
17
18/** \class RVisualizationProvider
19\ingroup rbrowser
20\brief Provider for RNTuple TreeMap visualization on TCanvas
21\author Patryk Pilichowski
22\date 2025
23\warning This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is
24welcome!
25*/
27public:
28 /** Create TreeMap visualization for RNTuple */
29 std::unique_ptr<ROOT::Experimental::RTreeMapPainter> CreateTreeMap(RVisualizationHolder *holder) const
30 {
31 if (!holder)
32 return nullptr;
33
34 return ROOT::Experimental::CreateTreeMapFromRNTuple(holder->GetFileName(), holder->GetTupleName());
35 }
36};
37
38#endif // ROOT_RVISUALIZATIONPROVIDER_HXX
Holder for RNTuple visualization data.
Provider for RNTuple TreeMap visualization on TCanvas.
std::unique_ptr< ROOT::Experimental::RTreeMapPainter > CreateTreeMap(RVisualizationHolder *holder) const
Create TreeMap visualization for RNTuple.
std::unique_ptr< RTreeMapPainter > CreateTreeMapFromRNTuple(const RNTupleInspector &insp)
Logic for converting an RNTuple to RTreeMapPainter given RNTupleInspector.