115      z0 = z1 = buffer.
fPnts[2];
 
  116      for (i=1; i<buffer.
NbPnts(); i++) {
 
  117         i0 = 3*i; i1 = i0+1; i2 = i0+2;
 
  118         x0 = buffer.
fPnts[i0] < x0 ? buffer.
fPnts[i0] : x0;
 
  119         y0 = buffer.
fPnts[i1] < y0 ? buffer.
fPnts[i1] : y0;
 
  120         z0 = buffer.
fPnts[i2] < z0 ? buffer.
fPnts[i2] : z0;
 
  123         z1 = buffer.
fPnts[i2] > z1 ? buffer.
fPnts[i2] : z1;
 
  135         for (i=0; i<buffer.
NbPnts(); i++) {
 
  136            for ( i0=0; i0<3; i0++ ) temp[i0] = buffer.
fPnts[3*i+i0];
 
  141         for (i=0; i<buffer.
NbSegs(); i++) {
 
  142            i0 = 3*buffer.
fSegs[3*i+1];
 
  144            i0 = 3*buffer.
fSegs[3*i+2];
 
Option_t Option_t TPoint TPoint const char x1
 
Option_t Option_t TPoint TPoint const char y1
 
Generic 3D primitive description class.
 
Bool_t SectionsValid(UInt_t mask) const
 
virtual void WCtoNDC(const Float_t *pw, Float_t *pn)=0
 
static TView * CreateView(Int_t system=1, const Double_t *rmin=nullptr, const Double_t *rmax=nullptr)
Create a concrete default 3-d view via the plug-in manager.
 
virtual Bool_t GetAutoRange()=0
 
virtual void SetAutoRange(Bool_t autorange=kTRUE)=0
 
virtual void SetRange(const Double_t *min, const Double_t *max)=0
 
Provides 3D viewer interface (TVirtualViewer3D) support on a pad.
 
Int_t AddObject(const TBuffer3D &buffer, Bool_t *addChildren=nullptr) override
Add an 3D object described by the buffer to the viewer.
 
Bool_t PreferLocalFrame() const override
Indicates if we prefer positions in local frame.
 
void EndScene() override
Close the scene on the viewer.
 
Bool_t fBuilding
is scene being built?
 
void CloseComposite() override
 
Bool_t OpenComposite(const TBuffer3D &buffer, Bool_t *addChildren=nullptr) override
Composite shapes not supported on this viewer currently - ignore.
 
TVirtualPad & fPad
the pad we paint into.
 
void BeginScene() override
Open a scene on the viewer.
 
void AddCompositeOp(UInt_t operation) override
 
virtual void PaintLine3D(Float_t *p1, Float_t *p2)=0
 
virtual void PaintPolyMarker(Int_t n, Float_t *x, Float_t *y, Option_t *option="")=0
 
virtual void SetView(TView *view=nullptr)=0
 
void Paint(Option_t *option="") override=0
This method must be overridden if a class wants to paint itself.
 
virtual TView * GetView() const =0