#include <TPolyLineShape.h>
Inheritance diagram for TPolyLineShape:
Definition at line 27 of file TPolyLineShape.h.
TPolyLineShape::TPolyLineShape | ( | ) |
TPolyLineShape::TPolyLineShape | ( | TPoints3DABC * | points, | |
Option_t * | option = "P" | |||
) |
Definition at line 98 of file TPolyLineShape.cxx.
References Create(), TObject::Error(), fConnection, fHasDrawn, fLineFlag, fPointFlag, fPoints, fShape, fShapeType, fSizeX3D, fSmooth, kFALSE, kNULL, kTRUE, points, and SetWidthFactor().
TPolyLineShape::~TPolyLineShape | ( | ) | [virtual] |
TPolyLineShape::TPolyLineShape | ( | ) |
TPolyLineShape::TPolyLineShape | ( | TPoints3DABC * | points, | |
Option_t * | option = "P" | |||
) |
virtual TPolyLineShape::~TPolyLineShape | ( | ) | [virtual] |
void TPolyLineShape::Create | ( | ) | [protected, virtual] |
the X3D buffer sizes
Definition at line 129 of file TPolyLineShape.cxx.
References fConnection, kBrik, and SetConnection().
Referenced by Draw(), Paint3d(), and TPolyLineShape().
Definition at line 136 of file TPolyLineShape.cxx.
References fPoints, fSizeX3D, _x3d_sizeof_::numPoints, _x3d_sizeof_::numPolys, _x3d_sizeof_::numSegs, TPoints3DABC::Size(), and size.
Referenced by Paint().
virtual void TPolyLineShape::SetConnection | ( | TShape * | connection | ) | [inline, protected, virtual] |
Definition at line 44 of file TPolyLineShape.h.
References fConnection.
Referenced by Create(), and SetConnection().
Definition at line 205 of file TPolyLineShape.cxx.
References ROOT::Math::gv_detail::dist(), END, fPoints, TPoints3DABC::GetXYZ(), gPad, i, TPoints3DABC::Size(), TMath::Sqrt(), TView::WCtoNDC(), and x1.
Referenced by DistancetoPrimitive().
Reimplemented from TObject.
Definition at line 185 of file TPolyLineShape.cxx.
References TPoints3DABC::DistancetoPrimitive(), fPoints, and PointDistancetoPrimitive().
void TPolyLineShape::Draw | ( | Option_t * | opt = "" |
) | [virtual] |
Reimplemented from TObject.
Definition at line 254 of file TPolyLineShape.cxx.
References TObject::AppendPad(), and Create().
Reimplemented from TObject.
Definition at line 262 of file TPolyLineShape.cxx.
References TObject::ExecuteEvent(), and fPoints.
virtual TShape* TPolyLineShape::GetConnection | ( | ) | const [inline, virtual] |
Color_t TPolyLineShape::GetColorAttribute | ( | ) | const [virtual] |
Definition at line 269 of file TPolyLineShape.cxx.
Referenced by Paint(), PaintX3DLine(), PaintX3DMarker(), and SetColorAttribute().
const char * TPolyLineShape::GetName | ( | ) | const [virtual] |
Reimplemented from TNamed.
Definition at line 275 of file TPolyLineShape.cxx.
References fPoints, TNamed::GetName(), and TObject::GetName().
Reimplemented from TObject.
Definition at line 281 of file TPolyLineShape.cxx.
References fPoints, and TObject::GetObjectInfo().
Size_t TPolyLineShape::GetSizeAttribute | ( | ) | const [virtual] |
Style_t TPolyLineShape::GetStyleAttribute | ( | ) | const [virtual] |
const char * TPolyLineShape::GetTitle | ( | ) | const [virtual] |
Reimplemented from TNamed.
Definition at line 302 of file TPolyLineShape.cxx.
References fPoints, TObject::GetTitle(), and TNamed::GetTitle().
virtual TPoints3DABC* TPolyLineShape::GetMarker | ( | ) | const [inline, virtual] |
virtual TPoints3DABC* TPolyLineShape::GetPoints | ( | ) | const [inline, virtual] |
virtual TShape* TPolyLineShape::GetShape | ( | ) | const [inline, virtual] |
virtual Bool_t TPolyLineShape::GetSmooth | ( | ) | const [inline, virtual] |
virtual Float_t TPolyLineShape::GetWidthFactor | ( | ) | const [inline, virtual] |
Definition at line 65 of file TPolyLineShape.h.
References fWidthFactor.
Referenced by PaintNode(), and SetConnection().
Definition at line 308 of file TPolyLineShape.cxx.
References TVolume::Add(), TMath::Cross(), fConnection, fShape, fSmooth, TAttLine::GetLineColor(), TAttLine::GetLineWidth(), GetWidthFactor(), Gyrot(), i, kDimension, length, TMath::Normalize(), TVolume::PaintNodePosition(), Product(), rotate, TAttLine::SetLineColor(), TVolume::SetVisibility(), and width.
Referenced by Paint3d().
void TPolyLineShape::Paint | ( | Option_t * | opt | ) | [virtual] |
Reimplemented from TShape.
Definition at line 387 of file TPolyLineShape.cxx.
References CreateX3DSize(), fLineFlag, fPointFlag, fPoints, GetColorAttribute(), GetPoints(), GetSizeAttribute(), gPad, kFALSE, kTRUE, PaintPoints(), TTablePadView3D::PaintPoints3D(), PaintPolyMarker(), PaintX3DLine(), PaintX3DMarker(), TTablePadView3D::SetLineAttr(), TAttLine::SetLineColor(), TAttLine::SetLineWidth(), TAttMarker::SetMarkerColor(), TAttMarker::SetMarkerSize(), and TPoints3DABC::Size().
void TPolyLineShape::Paint3d | ( | Option_t * | opt | ) | [virtual] |
Definition at line 490 of file TPolyLineShape.cxx.
References Create(), fHasDrawn, fPoints, TPoints3DABC::GetN(), TPoints3DABC::GetP(), i, kTRUE, PaintNode(), points, and size.
void TPolyLineShape::PaintX3DLine | ( | Option_t * | opt = "" |
) | [virtual] |
Definition at line 507 of file TPolyLineShape.cxx.
References c, FillX3DBuffer(), fPoints, fSizeX3D, GetColorAttribute(), TPoints3D::GetP(), TPoints3DABC::GetXYZ(), gSize3D, i, _x3d_sizeof_::numPoints, _x3d_data_::numPoints, _x3d_sizeof_::numPolys, _x3d_data_::numPolys, _x3d_sizeof_::numSegs, _x3d_data_::numSegs, _x3d_data_::points, _x3d_data_::polys, _x3d_data_::segs, TPoints3DABC::Size(), and size.
Referenced by Paint().
void TPolyLineShape::PaintX3DMarker | ( | Option_t * | opt = "" |
) | [virtual] |
Definition at line 556 of file TPolyLineShape.cxx.
References c, FillX3DBuffer(), fPoints, fSizeX3D, GetColorAttribute(), TPoints3DABC::GetXYZ(), gSize3D, i, j, k, n, _x3d_sizeof_::numPoints, _x3d_data_::numPoints, _x3d_sizeof_::numPolys, _x3d_data_::numPolys, _x3d_sizeof_::numSegs, _x3d_data_::numSegs, _x3d_data_::points, _x3d_data_::polys, _x3d_data_::segs, TPoints3DABC::Size(), and size.
Referenced by Paint().
Double_t * TPolyLineShape::Gyrot | ( | Double_t * | dirc, | |
Double_t | cosang, | |||
Double_t | sinang, | |||
Double_t | trans[3][3] | |||
) | [static] |
Definition at line 649 of file TPolyLineShape.cxx.
References TMath::Normalize().
Referenced by G__G__Table_208_0_27(), G__setup_memfuncTPolyLineShape(), and PaintNode().
Definition at line 427 of file TPolyLineShape.cxx.
References fPoints, TPoints3DABC::GetXYZ(), gPad, i, and TAttLine::Modify().
Referenced by Paint().
void TPolyLineShape::PaintPolyMarker | ( | Int_t | n, | |
Float_t * | p = 0 , |
|||
Marker_t | m = 0 , |
|||
Option_t * | opt = "" | |||
) | [virtual] |
Definition at line 444 of file TPolyLineShape.cxx.
References TVirtualPS::DrawPolyMarker(), fPoints, TPoint::fX, TPoint::fY, TPoints3DABC::GetXYZ(), gPad, gVirtualPS, gVirtualX, i, TAttMarker::Modify(), ptr, TView::WCtoNDC(), x, and y.
Referenced by Paint().
Definition at line 629 of file TPolyLineShape.cxx.
Referenced by G__G__Table_208_0_30(), G__G__Table_208_0_31(), G__setup_memfuncTPolyLineShape(), and PaintNode().
Definition at line 701 of file TPolyLineShape.cxx.
References GetColorAttribute(), TAttLine::SetLineColor(), and TAttMarker::SetMarkerColor().
Definition at line 713 of file TPolyLineShape.cxx.
References GetSizeAttribute(), TAttLine::SetLineWidth(), and TAttMarker::SetMarkerSize().
Int_t TPolyLineShape::SetConnection | ( | EShapeTypes | connection = kBrik |
) | [virtual] |
Definition at line 164 of file TPolyLineShape.cxx.
References fConnection, fShapeType, TAttLine::GetLineWidth(), GetWidthFactor(), kSphere, SafeDelete, SetConnection(), and size.
void TPolyLineShape::SetShape | ( | TShape * | shape | ) | [virtual] |
Definition at line 725 of file TPolyLineShape.cxx.
References GetStyleAttribute(), s, TAttLine::SetLineStyle(), and TAttMarker::SetMarkerStyle().
virtual void TPolyLineShape::SetWidthFactor | ( | Float_t | fact = 1.0 |
) | [inline, virtual] |
Definition at line 82 of file TPolyLineShape.h.
References fWidthFactor.
Referenced by TPolyLineShape().
Int_t TPolyLineShape::Size | ( | ) | const [virtual] |
void TPolyLineShape::Sizeof3D | ( | ) | const [virtual] |
Reimplemented from TAtt3D.
Definition at line 754 of file TPolyLineShape.cxx.
References TObject::Error(), fLineFlag, fSizeX3D, gSize3D, kFALSE, kTRUE, line, _x3d_sizeof_::numPoints, _x3d_sizeof_::numPolys, and _x3d_sizeof_::numSegs.
virtual void TPolyLineShape::Create | ( | ) | [protected, virtual] |
the X3D buffer sizes
virtual void TPolyLineShape::SetConnection | ( | TShape * | connection | ) | [inline, protected, virtual] |
Reimplemented from TObject.
Reimplemented from TObject.
virtual TShape* TPolyLineShape::GetConnection | ( | ) | const [inline, virtual] |
virtual Color_t TPolyLineShape::GetColorAttribute | ( | ) | const [virtual] |
virtual const char* TPolyLineShape::GetName | ( | ) | const [virtual] |
Reimplemented from TNamed.
Reimplemented from TObject.
virtual Size_t TPolyLineShape::GetSizeAttribute | ( | ) | const [virtual] |
virtual Style_t TPolyLineShape::GetStyleAttribute | ( | ) | const [virtual] |
virtual const char* TPolyLineShape::GetTitle | ( | ) | const [virtual] |
Reimplemented from TNamed.
virtual TPoints3DABC* TPolyLineShape::GetMarker | ( | ) | const [inline, virtual] |
virtual TPoints3DABC* TPolyLineShape::GetPoints | ( | ) | const [inline, virtual] |
virtual TShape* TPolyLineShape::GetShape | ( | ) | const [inline, virtual] |
virtual Bool_t TPolyLineShape::GetSmooth | ( | ) | const [inline, virtual] |
virtual Float_t TPolyLineShape::GetWidthFactor | ( | ) | const [inline, virtual] |
virtual void TPolyLineShape::PaintNode | ( | Float_t * | start, | |
Float_t * | end, | |||
Option_t * | option | |||
) | [virtual] |
virtual void TPolyLineShape::Paint3d | ( | Option_t * | opt | ) | [virtual] |
virtual void TPolyLineShape::PaintX3DLine | ( | Option_t * | opt = "" |
) | [virtual] |
virtual void TPolyLineShape::PaintX3DMarker | ( | Option_t * | opt = "" |
) | [virtual] |
static Double_t* TPolyLineShape::Gyrot | ( | Double_t * | dirc, | |
Double_t | cosang, | |||
Double_t | sinang, | |||
Double_t | trans[3][3] | |||
) | [static] |
virtual void TPolyLineShape::PaintPoints | ( | Int_t | n, | |
Float_t * | p = 0 , |
|||
Option_t * | opt = "" | |||
) | [virtual] |
virtual void TPolyLineShape::PaintPolyMarker | ( | Int_t | n, | |
Float_t * | p = 0 , |
|||
Marker_t | m = 0 , |
|||
Option_t * | opt = "" | |||
) | [virtual] |
virtual Int_t TPolyLineShape::SetConnection | ( | EShapeTypes | connection = kBrik |
) | [virtual] |
virtual void TPolyLineShape::SetShape | ( | TShape * | shape | ) | [virtual] |
virtual void TPolyLineShape::SetWidthFactor | ( | Float_t | fact = 1.0 |
) | [inline, virtual] |
virtual Int_t TPolyLineShape::Size | ( | ) | const [virtual] |
virtual void TPolyLineShape::Sizeof3D | ( | ) | const [virtual] |
Reimplemented from TAtt3D.
Bool_t TPolyLineShape::fPointFlag [protected] |
Bool_t TPolyLineShape::fLineFlag [protected] |
Definition at line 30 of file TPolyLineShape.h.
Referenced by Paint(), Sizeof3D(), and TPolyLineShape().
EShapeTypes TPolyLineShape::fShapeType [protected] |
Definition at line 31 of file TPolyLineShape.h.
Referenced by SetConnection(), and TPolyLineShape().
TShape* TPolyLineShape::fShape [protected] |
Definition at line 32 of file TPolyLineShape.h.
Referenced by GetShape(), PaintNode(), SetShape(), TPolyLineShape(), and ~TPolyLineShape().
TShape* TPolyLineShape::fConnection [protected] |
Definition at line 33 of file TPolyLineShape.h.
Referenced by Create(), GetConnection(), PaintNode(), SetConnection(), and TPolyLineShape().
TPoints3DABC* TPolyLineShape::fPoints [protected] |
Definition at line 34 of file TPolyLineShape.h.
Referenced by CreateX3DSize(), DistancetoPrimitive(), ExecuteEvent(), GetMarker(), GetName(), GetObjectInfo(), GetPoints(), GetTitle(), Paint(), Paint3d(), PaintPoints(), PaintPolyMarker(), PaintX3DLine(), PaintX3DMarker(), PointDistancetoPrimitive(), Size(), and TPolyLineShape().
Float_t TPolyLineShape::fWidthFactor [protected] |
Definition at line 35 of file TPolyLineShape.h.
Referenced by GetWidthFactor(), and SetWidthFactor().
Bool_t TPolyLineShape::fHasDrawn [protected] |
Bool_t TPolyLineShape::fSmooth [protected] |
Definition at line 37 of file TPolyLineShape.h.
Referenced by GetSmooth(), PaintNode(), SetSmooth(), and TPolyLineShape().
Size3D* TPolyLineShape::fSizeX3D [protected] |
Definition at line 38 of file TPolyLineShape.h.
Referenced by CreateX3DSize(), PaintX3DLine(), PaintX3DMarker(), Sizeof3D(), TPolyLineShape(), and ~TPolyLineShape().
TShape* TPolyLineShape::fShape [protected] |
Definition at line 32 of file TPolyLineShape.h.
TShape* TPolyLineShape::fConnection [protected] |
Definition at line 33 of file TPolyLineShape.h.
TPoints3DABC* TPolyLineShape::fPoints [protected] |
Definition at line 34 of file TPolyLineShape.h.
Size3D* TPolyLineShape::fSizeX3D [protected] |
Definition at line 38 of file TPolyLineShape.h.