Re: shouldn't need graf3d

From: Valeri Fine (Faine) (fine@bnl.gov)
Date: Thu Mar 02 2000 - 16:37:41 MET


> Hi,
> 
> I'm building an executable which doesn't use libGraf3d. When I try to
> run it, I get :
> 
> : Error: Unresolved symbol in
> /big_data/virgo/users/buskulic/root/lib/libGpad.so:
> SetPad__10TPadView3DP11TVirtualPad
> 
> Does that mean that a kind of dependency was introduced in 2.23/12
> between graf and graf3d ?

TPadView3D is an abstract interface between TPad and some concrete
3D viewer. So it must  be linked with very TPad but should impose no extra 
dependencies since all its methods look as follows:

inline void TPadView3D::ExecuteEvent(Int_t, Int_t, Int_t) { }
inline void TPadView3D::Paint(Option_t *) { }
inline void TPadView3D::Size(Int_t, Int_t) { }
inline void TPadView3D::PaintBeginModel(Option_t *) { }
inline void TPadView3D::PaintEnd(Option_t *) { }
inline void TPadView3D::PaintScene(Option_t *) { }
inline void TPadView3D::PaintPolyMarker(TPolyMarker3D *, Option_t *) { }
inline void TPadView3D::PaintPolyLine(TPolyLine3D *, Option_t *) { }
inline void TPadView3D::PaintPoints3D(const TPoints3DABC *,Option_t *){ }
inline void TPadView3D::SetAttNode(TNode *, Option_t *) { }
inline void TPadView3D::SetLineAttr(Color_t ,Int_t ,Option_t *) { }
inline void TPadView3D::UpdateNodeMatrix(TNode *, Option_t *) { }
inline void TPadView3D::UpdatePosition(Double_t ,Double_t ,Double_t ,TRotMatrix *, Option_t *){ }

> 
> Cheers
> 
> Damir
> -- 
> =====================================================================
> | Damir Buskulic                  | Universite de Savoie/LAPP       |
> |                                 | Chemin de Bellevue, B.P. 110    |
> | Tel : +33 (0)450091600          | F-74941 Annecy-le-Vieux Cedex   |
> | e-mail: buskulic@lapp.in2p3.fr  | FRANCE                          |
> =====================================================================
> mailto:buskulic@lapp.in2p3.fr
> 



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:20 MET