Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TLineInteractive Class Reference

Definition at line 20 of file TLineInteractive.h.

Public Member Functions

 TLineInteractive (Double_t x1, Double_t y1, Double_t x2, Double_t y2, Bool_t ndc=kFALSE)
 
void Apply (TLine *l, Bool_t usenew=kTRUE)
 
void ChangeCoordinate (TVirtualPad &parent, Int_t px, Int_t py, Bool_t vert=kFALSE, Bool_t horiz=kFALSE)
 
char GetGuideChar () const
 
TObject * GetObject () const
 
Double_t GetXCoord (TVirtualPad &parent, Int_t px)
 
Double_t GetYCoord (TVirtualPad &parent, Int_t py)
 
void PaintLine (TVirtualPad &parent)
 
void SelectPoint (TVirtualPad &parent, Int_t px, Int_t py)
 
void SetObject (TObject *obj)
 

Protected Attributes

Int_t dx1 = 0
 
Int_t dx2 = 0
 
Int_t dy1 = 0
 
Int_t dy2 = 0
 
TObject * fObject = nullptr
 
Bool_t isNDC = kFALSE
 
Double_t newX1 = 0.
 
Double_t newX2 = 0.
 
Double_t newY1 = 0.
 
Double_t newY2 = 0.
 
Double_t oldX1 = 0.
 
Double_t oldX2 = 0.
 
Double_t oldY1 = 0.
 
Double_t oldY2 = 0.
 
Int_t selectPoint = 0
 

#include </github/home/ROOT-CI/src/graf2d/graf/src/TLineInteractive.h>

Inheritance diagram for TLineInteractive:
[legend]

Constructor & Destructor Documentation

◆ TLineInteractive()

TLineInteractive::TLineInteractive ( Double_t x1,
Double_t y1,
Double_t x2,
Double_t y2,
Bool_t ndc = kFALSE )
inline

Definition at line 31 of file TLineInteractive.h.

Member Function Documentation

◆ Apply()

void TLineInteractive::Apply ( TLine * l,
Bool_t usenew = kTRUE )
inline

Definition at line 142 of file TLineInteractive.h.

◆ ChangeCoordinate()

void TLineInteractive::ChangeCoordinate ( TVirtualPad & parent,
Int_t px,
Int_t py,
Bool_t vert = kFALSE,
Bool_t horiz = kFALSE )
inline

Definition at line 92 of file TLineInteractive.h.

◆ GetGuideChar()

char TLineInteractive::GetGuideChar ( ) const
inline

Definition at line 131 of file TLineInteractive.h.

◆ GetObject()

TObject * TVirtualPad::TInteractive::GetObject ( ) const
inlineinherited

Definition at line 82 of file TVirtualPad.h.

◆ GetXCoord()

Double_t TLineInteractive::GetXCoord ( TVirtualPad & parent,
Int_t px )
inline

Definition at line 73 of file TLineInteractive.h.

◆ GetYCoord()

Double_t TLineInteractive::GetYCoord ( TVirtualPad & parent,
Int_t py )
inline

Definition at line 82 of file TLineInteractive.h.

◆ PaintLine()

void TLineInteractive::PaintLine ( TVirtualPad & parent)
inline

Definition at line 118 of file TLineInteractive.h.

◆ SelectPoint()

void TLineInteractive::SelectPoint ( TVirtualPad & parent,
Int_t px,
Int_t py )
inline

Definition at line 40 of file TLineInteractive.h.

◆ SetObject()

void TVirtualPad::TInteractive::SetObject ( TObject * obj)
inlineinherited

Definition at line 81 of file TVirtualPad.h.

Member Data Documentation

◆ dx1

Int_t TLineInteractive::dx1 = 0
protected

Definition at line 26 of file TLineInteractive.h.

◆ dx2

Int_t TLineInteractive::dx2 = 0
protected

Definition at line 26 of file TLineInteractive.h.

◆ dy1

Int_t TLineInteractive::dy1 = 0
protected

Definition at line 26 of file TLineInteractive.h.

◆ dy2

Int_t TLineInteractive::dy2 = 0
protected

Definition at line 26 of file TLineInteractive.h.

◆ fObject

TObject* TVirtualPad::TInteractive::fObject = nullptr
protectedinherited

Definition at line 77 of file TVirtualPad.h.

◆ isNDC

Bool_t TLineInteractive::isNDC = kFALSE
protected

Definition at line 25 of file TLineInteractive.h.

◆ newX1

Double_t TLineInteractive::newX1 = 0.
protected

Definition at line 24 of file TLineInteractive.h.

◆ newX2

Double_t TLineInteractive::newX2 = 0.
protected

Definition at line 24 of file TLineInteractive.h.

◆ newY1

Double_t TLineInteractive::newY1 = 0.
protected

Definition at line 24 of file TLineInteractive.h.

◆ newY2

Double_t TLineInteractive::newY2 = 0.
protected

Definition at line 24 of file TLineInteractive.h.

◆ oldX1

Double_t TLineInteractive::oldX1 = 0.
protected

Definition at line 23 of file TLineInteractive.h.

◆ oldX2

Double_t TLineInteractive::oldX2 = 0.
protected

Definition at line 23 of file TLineInteractive.h.

◆ oldY1

Double_t TLineInteractive::oldY1 = 0.
protected

Definition at line 23 of file TLineInteractive.h.

◆ oldY2

Double_t TLineInteractive::oldY2 = 0.
protected

Definition at line 23 of file TLineInteractive.h.

◆ selectPoint

Int_t TLineInteractive::selectPoint = 0
protected

Definition at line 27 of file TLineInteractive.h.

  • graf2d/graf/src/TLineInteractive.h