// @(#)root/eve:$Id$
// Author: Matevz Tadel, 2009

/*************************************************************************
 * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifndef ROOT_TEvePlot3D
#define ROOT_TEvePlot3D

#include "TEveElement.h"
#include "TAttBBox.h"

class TEvePlot3D : public TEveElementList
{
   friend class TEvePlot3DGL;

private:
   TEvePlot3D(const TEvePlot3D&);            // Not implemented
   TEvePlot3D& operator=(const TEvePlot3D&); // Not implemented

protected:
   TObject     *fPlot;       // Plot object.
   TString      fPlotOption; // Options for the plot-painter.

   Bool_t       fLogX;
   Bool_t       fLogY;
   Bool_t       fLogZ;

public:
   TEvePlot3D(const char* n="TEvePlot3D", const char* t="");
   virtual ~TEvePlot3D() {}

   void SetPlot(TObject* obj, const TString& opt) { fPlot = obj; fPlotOption = opt; }

   TObject* GetPlot()       const { return fPlot;   }
   TString  GetPlotOption() const { return fPlotOption; }

   void     SetLogXYZ(Bool_t lx, Bool_t ly, Bool_t lz) { fLogX = lx; fLogY = ly; fLogZ = lz; }

   void     SetLogX(Bool_t l) { fLogX = l; }
   void     SetLogY(Bool_t l) { fLogY = l; }
   void     SetLogZ(Bool_t l) { fLogZ = l; }

   Bool_t   GetLogX() const { return fLogX; }
   Bool_t   GetLogY() const { return fLogY; }
   Bool_t   GetLogZ() const { return fLogZ; }

   virtual void Paint(Option_t* option="");

   ClassDef(TEvePlot3D, 0); // Short description.
};

#endif
 TEvePlot3D.h:1
 TEvePlot3D.h:2
 TEvePlot3D.h:3
 TEvePlot3D.h:4
 TEvePlot3D.h:5
 TEvePlot3D.h:6
 TEvePlot3D.h:7
 TEvePlot3D.h:8
 TEvePlot3D.h:9
 TEvePlot3D.h:10
 TEvePlot3D.h:11
 TEvePlot3D.h:12
 TEvePlot3D.h:13
 TEvePlot3D.h:14
 TEvePlot3D.h:15
 TEvePlot3D.h:16
 TEvePlot3D.h:17
 TEvePlot3D.h:18
 TEvePlot3D.h:19
 TEvePlot3D.h:20
 TEvePlot3D.h:21
 TEvePlot3D.h:22
 TEvePlot3D.h:23
 TEvePlot3D.h:24
 TEvePlot3D.h:25
 TEvePlot3D.h:26
 TEvePlot3D.h:27
 TEvePlot3D.h:28
 TEvePlot3D.h:29
 TEvePlot3D.h:30
 TEvePlot3D.h:31
 TEvePlot3D.h:32
 TEvePlot3D.h:33
 TEvePlot3D.h:34
 TEvePlot3D.h:35
 TEvePlot3D.h:36
 TEvePlot3D.h:37
 TEvePlot3D.h:38
 TEvePlot3D.h:39
 TEvePlot3D.h:40
 TEvePlot3D.h:41
 TEvePlot3D.h:42
 TEvePlot3D.h:43
 TEvePlot3D.h:44
 TEvePlot3D.h:45
 TEvePlot3D.h:46
 TEvePlot3D.h:47
 TEvePlot3D.h:48
 TEvePlot3D.h:49
 TEvePlot3D.h:50
 TEvePlot3D.h:51
 TEvePlot3D.h:52
 TEvePlot3D.h:53
 TEvePlot3D.h:54
 TEvePlot3D.h:55
 TEvePlot3D.h:56
 TEvePlot3D.h:57
 TEvePlot3D.h:58