OpendTect-6_4  6.4
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
uiLineItem Class Reference
Inheritance diagram for uiLineItem:
[legend]

Public Member Functions

 uiLineItem ()
 
 uiLineItem (int x1, int y1, int x2, int y2)
 
 uiLineItem (float x1, float y1, float x2, float y2)
 
 uiLineItem (const uiPoint &start, const uiPoint &stop)
 
 uiLineItem (const uiPoint &, float angle, float len)
 
 ~uiLineItem ()
 
QGraphicsLineItem * qLineItem ()
 
void setPenStyle (const OD::LineStyle &, bool withalpha=false)
 
void setPenColor (const Color &, bool withalpha=false)
 
void setLine (const uiPoint &start, const uiPoint &end)
 
void setLine (const uiWorldPoint &, const uiWorldPoint &)
 
void setLine (int x1, int y1, int x2, int y2)
 
void setLine (float x1, float y1, float x2, float y2)
 
void setLine (const Geom::Point2D< float > &, const Geom::Point2D< float > &)
 
void setLine (const Geom::Point2D< float > &centerpos, float dx1, float dy1, float dx2, float dy2)
 
void setLine (const Geom::Point2D< int > &centerpos, int dx1, int dy1, int dx2, int dy2)
 
uiRect lineRect () const
 

Protected Member Functions

QGraphicsItem * mkQtObj ()
 

Protected Attributes

QGraphicsLineItem * qlineitem_
 

Detailed Description

Constructor & Destructor Documentation

uiLineItem::uiLineItem ( )
uiLineItem::uiLineItem ( int  x1,
int  y1,
int  x2,
int  y2 
)
uiLineItem::uiLineItem ( float  x1,
float  y1,
float  x2,
float  y2 
)
uiLineItem::uiLineItem ( const uiPoint start,
const uiPoint stop 
)
uiLineItem::uiLineItem ( const uiPoint ,
float  angle,
float  len 
)
uiLineItem::~uiLineItem ( )

Member Function Documentation

uiRect uiLineItem::lineRect ( ) const
QGraphicsItem* uiLineItem::mkQtObj ( )
protected
QGraphicsLineItem* uiLineItem::qLineItem ( )
inline
void uiLineItem::setLine ( const uiPoint start,
const uiPoint end 
)
void uiLineItem::setLine ( const uiWorldPoint ,
const uiWorldPoint  
)
void uiLineItem::setLine ( int  x1,
int  y1,
int  x2,
int  y2 
)
void uiLineItem::setLine ( float  x1,
float  y1,
float  x2,
float  y2 
)
void uiLineItem::setLine ( const Geom::Point2D< float > &  ,
const Geom::Point2D< float > &   
)
void uiLineItem::setLine ( const Geom::Point2D< float > &  centerpos,
float  dx1,
float  dy1,
float  dx2,
float  dy2 
)
void uiLineItem::setLine ( const Geom::Point2D< int > &  centerpos,
int  dx1,
int  dy1,
int  dx2,
int  dy2 
)
void uiLineItem::setPenColor ( const Color ,
bool  withalpha = false 
)
void uiLineItem::setPenStyle ( const OD::LineStyle ,
bool  withalpha = false 
)

Member Data Documentation

QGraphicsLineItem* uiLineItem::qlineitem_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019