Workspace 6.21.5
Public Slots | Public Member Functions | Protected Member Functions | List of all members
TransferFunction2dAngleClassificationView Class Reference

#include <DataAnalysis/Widgets/transferfunction2dangleclassificationview.h>

Inheritance diagram for TransferFunction2dAngleClassificationView:
[legend]

Public Slots

void createColorDialog ()
 
void setColor (const QColor &)
 
void setMax (double width, double yValue)
 
void setMin (double width, double yValue)
 

Public Member Functions

 TransferFunction2dAngleClassificationView (const TransferFunction2dAngleClassification &classification, unsigned index, QGraphicsItem *parent, QGraphicsScene *scene)
 
 ~TransferFunction2dAngleClassificationView () override
 
QRectF boundingRect () const override
 
bool contains (const QPointF &point) const override
 
const TransferFunction2dAngleClassificationgetClassificationData () const
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=nullptr) override
 
void setDrawBorders (bool b) override
 
QPainterPath shape () const override
 
- Public Member Functions inherited from TransferFunction2dClassificationView
 TransferFunction2dClassificationView (unsigned index, QGraphicsItem *parent, QGraphicsScene *scene)
 
 ~TransferFunction2dClassificationView () override
 
bool getDrawBorders () const
 
unsigned getIndex () const
 
virtual void setDrawBorders (bool b)
 
void setIndex (unsigned newIndex)
 

Protected Member Functions

void contextMenuEvent (QGraphicsSceneContextMenuEvent *event) override
 
void forceUpdate ()
 
void mouseMoveEvent (QGraphicsSceneMouseEvent *event) override
 
void mousePressEvent (QGraphicsSceneMouseEvent *event) override
 
void mouseReleaseEvent (QGraphicsSceneMouseEvent *event) override
 
void wheelEvent (QGraphicsSceneWheelEvent *event) override
 

Additional Inherited Members

- Signals inherited from TransferFunction2dClassificationView
void deleteRequested (int index)
 
void updated (int index, const TransferFunction2dClassificationImpl *)
 

Constructor & Destructor Documentation

◆ TransferFunction2dAngleClassificationView()

TransferFunction2dAngleClassificationView ( const TransferFunction2dAngleClassification classification,
unsigned  index,
QGraphicsItem *  parent,
QGraphicsScene *  scene 
)

◆ ~TransferFunction2dAngleClassificationView()

Member Function Documentation

◆ boundingRect()

QRectF boundingRect ( ) const
override

◆ contains()

bool contains ( const QPointF &  point) const
override

◆ contextMenuEvent()

void contextMenuEvent ( QGraphicsSceneContextMenuEvent *  event)
overrideprotected

◆ createColorDialog

void createColorDialog ( )
slot

◆ forceUpdate()

void forceUpdate ( )
protected

◆ getClassificationData()

const TransferFunction2dAngleClassification & getClassificationData ( ) const

◆ mouseMoveEvent()

void mouseMoveEvent ( QGraphicsSceneMouseEvent *  event)
overrideprotected

◆ mousePressEvent()

void mousePressEvent ( QGraphicsSceneMouseEvent *  event)
overrideprotected

◆ mouseReleaseEvent()

void mouseReleaseEvent ( QGraphicsSceneMouseEvent *  event)
overrideprotected

◆ paint()

void paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget = nullptr 
)
override

◆ setColor

void setColor ( const QColor &  color)
slot

◆ setDrawBorders()

void setDrawBorders ( bool  b)
overridevirtual

◆ setMax

void setMax ( double  width,
double  yValue 
)
slot

◆ setMin

void setMin ( double  width,
double  yValue 
)
slot

◆ shape()

QPainterPath shape ( ) const
override

◆ wheelEvent()

void wheelEvent ( QGraphicsSceneWheelEvent *  event)
overrideprotected