library: libGpad
#include "TViewer3DPad.h"

TViewer3DPad


class description - source file - inheritance tree (.pdf)

class TViewer3DPad : public TVirtualViewer3D

Inheritance Chart:
TVirtualViewer3D
<-
TViewer3DPad
    private:
TViewer3DPad(const TViewer3DPad&) TViewer3DPad& operator=(const TViewer3DPad&) public:
TViewer3DPad(TVirtualPad& pad) ~TViewer3DPad() virtual void AddCompositeOp(UInt_t operation) virtual Int_t AddObject(const TBuffer3D& buffer, Bool_t* addChildren = 0) virtual Int_t AddObject(UInt_t placedID, const TBuffer3D& buffer, Bool_t* addChildren = 0) virtual void BeginScene() virtual Bool_t BuildingScene() const static TClass* Class() virtual void CloseComposite() virtual void EndScene() virtual TClass* IsA() const virtual Bool_t OpenComposite(const TBuffer3D& buffer, Bool_t* addChildren = 0) virtual Bool_t PreferLocalFrame() const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
TVirtualPad& fPad the pad we paint into. Bool_t fBuilding is scene being built?

Class Description

                                                                      
 TViewer3DPad                                                         
                                                                      
 Provides 3D viewer interface (TVirtualViewer3D) support on a pad.    
 Will be merged with TView / TView3D eventually.                      
                                                                      


Bool_t PreferLocalFrame() const
 Indicates if we prefer positions in local frame. Always false - pad
 drawing is always done in master frame.

void BeginScene()
 Open a scene on the viewer

void EndScene()
 Close the scene on the viewer

Int_t AddObject(const TBuffer3D & buffer, Bool_t * addChildren)
 Add an 3D object described by the buffer to the viewer. Returns flags
 to indicate:
 i) if extra sections of the buffer need completing.
 ii) if child objects of the buffer object should be added (always true)

Int_t AddObject(UInt_t /*placedID*/, const TBuffer3D & buffer, Bool_t * addChildren)
 We don't support placed ID shapes - ID is discarded

Bool_t OpenComposite(const TBuffer3D & /*buffer*/, Bool_t * /*addChildren*/)
 Composite shapes not supported on this viewer currently - ignore.
 Will result in a set of individual component shapes

void CloseComposite()

void AddCompositeOp(UInt_t /*operation*/)



Inline Functions


                 void ~TViewer3DPad()
         TViewer3DPad TViewer3DPad(const TViewer3DPad&)
        TViewer3DPad& operator=(const TViewer3DPad&)
         TViewer3DPad TViewer3DPad(TVirtualPad& pad)
               Bool_t BuildingScene() const
              TClass* Class()
              TClass* IsA() const
                 void ShowMembers(TMemberInspector& insp, char* parent)
                 void Streamer(TBuffer& b)
                 void StreamerNVirtual(TBuffer& b)


Author: Richard Maunder 10/3/2005
Last update: root/base:$Name: $:$Id: TViewer3DPad.cxx,v 1.10 2005/05/25 14:25:17 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.