OpendTect  6.6
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ODGraphicsMultiColorPolyLineItem Class Reference
Inheritance diagram for ODGraphicsMultiColorPolyLineItem:
[legend]

Classes

class  ODLineSegment
 

Public Member Functions

 ODGraphicsMultiColorPolyLineItem ()
 
 ~ODGraphicsMultiColorPolyLineItem ()
 
QRectF boundingRect () const override
 
void highlight () override
 
void paint (QPainter *, const QStyleOptionGraphicsItem *, QWidget *) override
 
void setPenWidth (int)
 
void setPolyLine (const QPolygonF &)
 
void setQPens (const QVector< QPen > &)
 
QPainterPath shape () const override
 
int type () const override
 
void unHighlight () override
 
- Public Member Functions inherited from ODGraphicsHighlightItem
virtual void setQPen (const QPen &)
 

Protected Member Functions

void cleanupPolygon ()
 
void mouseMoveEvent (QGraphicsSceneMouseEvent *) override
 

Protected Attributes

QRectF brect_
 
bool highlight_ = false
 
QVector< QPen > inputqpens_
 
QPolygonF inputqpolygon_
 
QVector< ODLineSegmentodlinesegments_
 
QPainterPath path_
 

Constructor & Destructor Documentation

◆ ODGraphicsMultiColorPolyLineItem()

ODGraphicsMultiColorPolyLineItem::ODGraphicsMultiColorPolyLineItem ( )

◆ ~ODGraphicsMultiColorPolyLineItem()

ODGraphicsMultiColorPolyLineItem::~ODGraphicsMultiColorPolyLineItem ( )

Member Function Documentation

◆ boundingRect()

QRectF ODGraphicsMultiColorPolyLineItem::boundingRect ( ) const
override

◆ cleanupPolygon()

void ODGraphicsMultiColorPolyLineItem::cleanupPolygon ( )
protected

◆ highlight()

void ODGraphicsMultiColorPolyLineItem::highlight ( )
inlineoverridevirtual

◆ mouseMoveEvent()

void ODGraphicsMultiColorPolyLineItem::mouseMoveEvent ( QGraphicsSceneMouseEvent *  )
overrideprotected

◆ paint()

void ODGraphicsMultiColorPolyLineItem::paint ( QPainter *  ,
const QStyleOptionGraphicsItem *  ,
QWidget *   
)
override

◆ setPenWidth()

void ODGraphicsMultiColorPolyLineItem::setPenWidth ( int  )

◆ setPolyLine()

void ODGraphicsMultiColorPolyLineItem::setPolyLine ( const QPolygonF &  )

◆ setQPens()

void ODGraphicsMultiColorPolyLineItem::setQPens ( const QVector< QPen > &  )

◆ shape()

QPainterPath ODGraphicsMultiColorPolyLineItem::shape ( ) const
override

◆ type()

int ODGraphicsMultiColorPolyLineItem::type ( ) const
inlineoverride

◆ unHighlight()

void ODGraphicsMultiColorPolyLineItem::unHighlight ( )
inlineoverridevirtual

Member Data Documentation

◆ brect_

QRectF ODGraphicsMultiColorPolyLineItem::brect_
protected

◆ highlight_

bool ODGraphicsMultiColorPolyLineItem::highlight_ = false
protected

◆ inputqpens_

QVector<QPen> ODGraphicsMultiColorPolyLineItem::inputqpens_
protected

◆ inputqpolygon_

QPolygonF ODGraphicsMultiColorPolyLineItem::inputqpolygon_
protected

◆ odlinesegments_

QVector<ODLineSegment> ODGraphicsMultiColorPolyLineItem::odlinesegments_
protected

◆ path_

QPainterPath ODGraphicsMultiColorPolyLineItem::path_
protected

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