OpendTect  7.0
Classes | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Friends | List of all members
uiDataPointSetCrossPlotter Class Reference

DataPointSet crossplotter. More...

Inheritance diagram for uiDataPointSetCrossPlotter:
[legend]

Classes

class  AxisData
 
struct  Setup
 

Public Member Functions

 uiDataPointSetCrossPlotter (uiParent *, uiDataPointSet &, const Setup &)
 
 ~uiDataPointSetCrossPlotter ()
 
void addItemIfNew (int itmidx, MarkerStyle2D &, uiGraphicsItemGroup *, uiAxisHandler &, uiDataPointSet::DRowID, bool)
 
AxisData::AutoScaleParsautoScalePars (int ax)
 
AxisDataaxisData (int ax)
 
const AxisDataaxisData (int ax) const
 
uiAxisHandleraxisHandler (int ax)
 
const uiAxisHandleraxisHandler (int ax) const
 
bool checkSelArea (const SelectionArea &) const
 
void checkSelection (uiDataPointSet::DRowID, uiGraphicsItem *, bool, const AxisData &, bool rempt=false)
 
int curGroup () const
 
int curSelGrp () const
 
void dataChanged ()
 Only use if you know what you're doing. More...
 
void deleteSelections ()
 
DataPointSetdps ()
 
const DataPointSetdps () const
 
void drawColTabItem (bool isy1)
 
void drawContent (bool withaxis=true)
 
void drawData (const AxisData &, bool y2, bool rempts=false)
 
void drawDensityPlot ()
 
bool drawPoints (uiGraphicsItemGroup *, const AxisData &, bool y2, MarkerStyle2D &, bool rempt=false)
 
void drawRegrLine (uiAxisHandler *, const Interval< int > &)
 
void drawUserDefPolyLine (bool)
 
SelectionAreagetCurSelArea ()
 
const TypeSet< RowCol > & getDPSSelectedCells ()
 
int getNewSelAreaID () const
 
OD::Color getOverlayColor (uiDataPointSet::DRowID, bool)
 
void getRandRowids ()
 
int getRow (const AxisData &, uiPoint) const
 
bool getSelArea (SelectionArea &, int selareaid)
 
mDeprecatedObs const TypeSet< RowCol > & getSelectedCells ()
 
float getSelectedness (uiDataPointSet::DRowID, bool fory2)
 
int getSelGrpIdx (int selareaid) const
 
float getVal (int colid, int rid) const
 
bool isADensityPlot () const
 
bool isMultiColMode () const
 
bool isRectSelection () const
 
bool isSceneSelectable () const
 
bool isSelAreaValid (int id) const
 
bool isSelectionValid (uiDataPointSet::DRowID)
 
bool isY1Selectable () const
 
bool isY2Selectable () const
 
bool isY2Shown () const
 
const LinStats2DlinStats (bool y1=true) const
 
Math::ExpressionmathObj () const
 
const OD::StringmathObjStr () const
 
const TypeSet< int > & modifiedColIds () const
 
OD::Pair< int, int > nrBins () const
 
int nrY2Sels () const
 
int nrYSels () const
 
void prepareItems (bool y2)
 
void reDrawSelections ()
 
void removeSelectionItems ()
 
void removeSelections (bool relfrmselgrp=true)
 
int selAreaSize () const
 
ObjectSet< SelectionGrp > & selectionGrps ()
 
const ObjectSet< SelectionGrp > & selectionGrps () const
 
TypeSet< OD::ColorselGrpCols () const
 
DataPointSet::RowID selRow () const
 
bool selRowIsY2 () const
 
void setAnnotEndTxt (uiAxisHandler &)
 
void setCols (DataPointSet::ColID x, DataPointSet::ColID y, DataPointSet::ColID y2)
 
void setColTab (const ColTab::Sequence &ctseq)
 
void setCTMapper (const ColTab::MapperSetup &)
 
void setCurSelGrp (int grp)
 
void setDensityPlot (bool yn, bool showy2)
 
void setItem (uiGraphicsItem *, bool y2, const uiPoint &)
 
void setMathObj (Math::Expression *)
 
void setMathObjStr (const char *str)
 
void setModifiedColIds (const TypeSet< uiDataPointSet::DColID > &ids)
 
void setMultiColMode (bool yn)
 
void setNrBins (OD::Pair< int, int >)
 
void setOverlayY1AttMapr (const ColTab::MapperSetup &)
 
void setOverlayY1AttSeq (const ColTab::Sequence &)
 
void setOverlayY1Cols (DataPointSet::ColID y3)
 
void setOverlayY2AttMapr (const ColTab::MapperSetup &)
 
void setOverlayY2AttSeq (const ColTab::Sequence &)
 
void setOverlayY2Cols (DataPointSet::ColID y3)
 
void setRectSelection (bool yn)
 
void setSceneSelectable (bool yn)
 
void setSelArea (const SelectionArea &, int selgrpidx)
 
void setSelectable (bool y1, bool y2)
 
void setShowY3 (bool)
 
void setShowY4 (bool)
 
Setupsetup ()
 
const Setupsetup () const
 
void setUserDefDrawType (bool dodrw, bool isy2, bool drwln=false)
 
void setUserDefPolyLine (TypeSet< uiWorldPoint > &, bool)
 
void showY2 (bool)
 
bool showY3 () const
 
bool showY4 () const
 
int totalNrItems () const
 
uiDataPointSetuidps ()
 
const uiDataPointSetuidps () const
 
void updateOverlayMapper (bool isy1)
 
TypeSet< OD::Color > & y1grpColors ()
 
TypeSet< OD::Color > & y2grpColors ()
 
int y3Colid () const
 
const ColTab::Sequencey3CtSeq () const
 
const ColTab::Mappery3Mapper () const
 
int y4Colid () const
 
const ColTab::Sequencey4CtSeq () const
 
const ColTab::Mappery4Mapper () const
 
- Public Member Functions inherited from uiRGBArrayCanvas
 uiRGBArrayCanvas (uiParent *, uiRGBArray &)
 
 ~uiRGBArrayCanvas ()
 
uiRect arrArea () const
 
bool arrDrawn () const
 
void beforeDraw ()
 
void beforeDraw (int w, int h)
 
const OD::ColorbgColor () const
 
const uiBorderborder () const
 
void removePixmap ()
 
uiRGBArrayrgbArray ()
 
const uiRGBArrayrgbArray () const
 
void setBGColor (const OD::Color &)
 everything More...
 
void setBorder (const uiBorder &)
 
void setDrawArr (bool)
 Draw the arr or not? More...
 
void setPixmap (const uiPixmap &)
 
void setPixMapPos (int x, int y)
 
const uiRectupdateArea ()
 
void updatePixmap ()
 
- Public Member Functions inherited from uiGraphicsView
 uiGraphicsView (uiParent *, const char *nm)
 
 ~uiGraphicsView ()
 
void disableImageSave ()
 
void enableImageSave ()
 
uiCrossHairItemgetCrossHairItem ()
 
uiActiongetPrintImageAction ()
 
uiToolButtongetPrintImageButton (uiParent *)
 
uiActiongetSaveImageAction ()
 
uiToolButtongetSaveImageButton (uiParent *)
 
- Public Member Functions inherited from uiGraphicsViewBase
 uiGraphicsViewBase (uiParent *, const char *)
 
 ~uiGraphicsViewBase ()
 
OD::Color backgroundColor () const override
 
void centreOn (uiPoint)
 
void disableScrollZoom ()
 
ODDragMode dragMode () const
 
void enableScrollZoom (bool yn=true)
 
GestureEventHandlergestureEventHandler ()
 
uiPoint getCursorPos () const
 
KeyboardEventHandlergetKeyboardEventHandler ()
 
MouseEventHandlergetMouseEventHandler ()
 
bool getMouseWheelReversal () const
 
MouseEventHandlergetNavigationMouseEventHandler ()
 
void getScaleFactor (float &, float &) const
 
int getSceneBorder () const
 
uiPoint getScenePos (float, float) const
 
uiRect getSceneRect () const
 
const uiRectgetSelectedArea () const
 
const uiPointgetStartPos () const
 
uiRect getViewArea () const
 
bool hasMidMouseButtonForDrag () const
 
bool hasMouseTracking () const
 
int height () const override
 height of widget More...
 
bool isCtrlPressed () const
 
bool isRubberBandingOn () const
 
uiPoint mapFromScene (const Geom::Point2D< float > &) const
 
Geom::Point2D< float > mapToScene (const uiPoint &) const
 
Geom::RectF mapToScene (const uiRect &) const
 
bool print ()
 
void rePaint ()
 
uiGraphicsScenescene ()
 
uiSize scrollBarSize (bool horizontal) const
 
bool scrollZoomEnabled ()
 
void setBackgroundColor (const OD::Color &) override
 
void setCtrlPressed (bool yn)
 
void setDragMode (ODDragMode)
 
void setMidMouseButtonForDrag (bool)
 
void setMouseTracking (bool)
 
void setMouseWheelReversal (bool)
 
void setNoBackGround ()
 
void setScaleFactor (float, float)
 
void setScene (uiGraphicsScene &)
 Scene becomes mine. More...
 
void setSceneAlignment (const Alignment &)
 
void setSceneBorder (int)
 
void setSceneRect (const uiRect &)
 
void setScrollBarPolicy (bool hor, ScrollBarPolicy)
 
void setViewArea (double x, double y, double w, double h)
 
void show ()
 
int viewHeight () const
 height of viewport More...
 
int viewWidth () const
 width of viewport More...
 
int width () const override
 width of widget More...
 
- Public Member Functions inherited from uiObject
 ~uiObject ()
 
uiSize actualSize (bool include_border=true) const
 
void attach (constraintType, int margin=-1)
 attaches object to another In case the stretched... options are used, margin=-1 (default) stretches the object not to cross the border. margin=-2 stretches the object to fill the parent's border. This looks nice with separators. More...
 
void attach (constraintType, uiObject *, int margin=-1, bool reciprocal=true)
 
void attach (constraintType, uiParent *, int margin=-1, bool reciprocal=true)
 
virtual const ObjectSet< uiBaseObject > * childList () const
 
void close ()
 
void deepRedraw ()
 
void disabFocus ()
 
void display (bool yn, bool shrink=false, bool maximized=false)
 
const uiFontfont () const
 
QWidget * getWidget () override
 
virtual bool handleLongTabletPress ()
 
bool hasFocus () const
 
bool isCursorInside () const
 
bool isDisplayed () const
 
virtual bool isEmpty () const
 
bool isSensitive () const
 
uiMainWinmainwin ()
 
uiParentparent ()
 
const uiParentparent () const
 
int prefHNrPics () const
 
int prefVNrPics () const
 
QWidget * qwidget ()
 
const QWidget * qwidget () const
 
void reDraw (bool deep)
 
void reParent (uiParent *)
 
OD::Color roBackgroundColor () const
 
bool sensitive () const
 
virtual void setBackgroundPixmap (const uiPixmap &)
 
void setCaption (const uiString &)
 
virtual void setCursor (const MouseCursor &)
 
void setFocus ()
 
void setFont (const uiFont &)
 
void setHSzPol (SzPolicy)
 
void setMaximumHeight (int)
 
void setMaximumHeightInChar (int)
 
void setMaximumWidth (int)
 
void setMaximumWidthInChar (int)
 
void setMinimumHeight (int)
 
void setMinimumHeightInChar (int)
 
void setMinimumWidth (int)
 
void setMinimumWidthInChar (int)
 
virtual void setName (const char *) override
 
virtual void setPrefHeight (int)
 
void setPrefHeightInChar (float)
 
void setPrefHeightInChar (int)
 
virtual void setPrefWidth (int)
 
void setPrefWidthInChar (float)
 
void setPrefWidthInChar (int)
 
void setSensitive (bool yn=true)
 
void setStretch (int hor, int ver)
 Sets stretch factors for object If stretch factor is > 1, then object will already grow at pop-up. More...
 
virtual void setStyleSheet (const char *)
 
virtual void setTextColor (const OD::Color &)
 
void setToolTip (const uiString &)
 
void setVSzPol (SzPolicy)
 
void shallowRedraw ()
 
int stretch (bool hor) const
 
SzPolicy szPol (bool hor=true) const
 
const uiStringtoolTip () const
 
void translateText () override
 
bool visible () const
 
- Public Member Functions inherited from uiBaseObject
 uiBaseObject (const char *nm, uiBody *=0)
 
virtual ~uiBaseObject ()
 
int beginCmdRecEvent (const BufferString &msg)
 
int beginCmdRecEvent (const char *msg=0)
 
int beginCmdRecEvent (od_uint64 id, const char *msg=0)
 
uiBodybody ()
 
const uiBodybody () const
 
void clear ()
 
void endCmdRecEvent (int refnr, const char *msg=0)
 
void endCmdRecEvent (od_uint64 id, int refnr, const char *msg=0)
 
void finalise ()
 
bool finalised () const
 
void finalize ()
 
bool finalized () const
 
const QWidget * getWidget () const
 
virtual Notifier< uiBaseObject > & postFinalise ()
 
virtual Notifier< uiBaseObject > & postFinalize ()
 
virtual Notifier< uiBaseObject > & preFinalise ()
 
virtual Notifier< uiBaseObject > & preFinalize ()
 
- Public Member Functions inherited from NamedCallBacker
 NamedCallBacker (const char *nm=0)
 
 NamedCallBacker (const NamedCallBacker &)
 
virtual Notifier< NamedCallBacker > & objectToBeDeleted () const
 
bool operator== (const NamedCallBacker &oth) const
 
bool operator== (const NamedObject &oth) const
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const
 
bool attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const
 
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
virtual bool isCapsule () const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
void stopReceivingNotifications () const
 
virtual CallBackertrueCaller ()
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=nullptr)
 
 NamedObject (const NamedObject &oth)
 
virtual ~NamedObject ()
 
virtual BufferString getName () const
 
bool getNameFromPar (const IOPar &)
 
const name_typename () const override
 
NamedObjectoperator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
- Public Member Functions inherited from ObjectWithName
virtual ~ObjectWithName ()
 
bool hasName (const char *nm) const
 
bool hasName (const name_type &nm) const
 
void putNameInPar (IOPar &) const
 

Public Attributes

CNotifier< uiDataPointSetCrossPlotter, Interval< float > > coltabRgChanged
 
Notifier< uiDataPointSetCrossPlotterdataChgd
 
CNotifier< uiDataPointSetCrossPlotter, bool > drawTypeChanged
 
Notifier< uiDataPointSetCrossPlotterlineDrawn
 
Notifier< uiDataPointSetCrossPlottermouseReleased
 
Notifier< uiDataPointSetCrossPlotterpointsSelected
 
Notifier< uiDataPointSetCrossPlotterremoveRequest
 
Notifier< uiDataPointSetCrossPlotterselectionChanged
 
LineParsuserdefy1lp_
 
BufferStringuserdefy1str_
 
LineParsuserdefy2lp_
 
BufferStringuserdefy2str_
 
AxisData x_
 
BufferStringy1rmserr_
 
AxisData y2_
 
BufferStringy2rmserr_
 
AxisData y_
 
- Public Attributes inherited from uiGraphicsViewBase
Notifier< uiGraphicsViewBasepreDraw
 
Notifier< uiGraphicsViewBasereDrawn
 In practice, this happens only after reSize. More...
 
Notifier< uiGraphicsViewBasereDrawNeeded
 
CNotifier< uiGraphicsViewBase, uiSizereSize
 CallBacker is OLD size. More...
 
Notifier< uiGraphicsViewBaserubberBandUsed
 
Notifier< uiGraphicsViewBasescrollBarUsed
 
- Public Attributes inherited from uiObject
Notifier< uiObjectclosed
 Triggered when object closes. More...
 
CNotifier< uiObject, uiRect & > setGeometry
 triggered when getting a new geometry A reference to the new geometry is passed which can be manipulated, before the geometry is actually set to the QWidget. More...
 

Protected Member Functions

void calcStats ()
 
bool drawRID (uiDataPointSet::DRowID, uiGraphicsItemGroup *, const AxisData &, bool y2, MarkerStyle2D &, int idmidx, bool rempt)
 
void initDraw ()
 
void mouseClickedCB (CallBacker *)
 
void mouseMoveCB (CallBacker *)
 
void mouseReleasedCB (CallBacker *)
 
void reDrawCB (CallBacker *)
 
void reDrawSelArea ()
 
void reSizeDrawCB (CallBacker *)
 
bool selNearest (const MouseEvent &)
 
void setDraw ()
 
void setWorldSelArea (int)
 
- Protected Member Functions inherited from uiRGBArrayCanvas
bool createPixmap ()
 
virtual void mkNewFill ()
 
void rubberBandHandler (uiRect)
 
- Protected Member Functions inherited from uiGraphicsView
void printImageCB (CallBacker *)
 
void saveImageCB (CallBacker *)
 
- Protected Member Functions inherited from uiGraphicsViewBase
uiGraphicsViewBodymkbody (uiParent *, const char *)
 
void rubberBandCB (CallBacker *)
 
void translateText () override
 
- Protected Member Functions inherited from uiObject
 uiObject (uiParent *, const char *nm)
 
 uiObject (uiParent *, const char *nm, uiObjectBody &)
 
virtual bool closeOK ()
 hook. Accepts/denies closing of window. More...
 
uiObjectBodyobjBody ()
 
const uiObjectBodyobjBody () const
 
void triggerSetGeometry (const i_LayoutItem *, uiRect &)
 setGeometry should be triggered by this's layoutItem More...
 
void updateToolTip (CallBacker *=nullptr)
 
- Protected Member Functions inherited from uiBaseObject
void setBody (uiBody *b)
 
- Protected Member Functions inherited from NamedCallBacker
void sendDelNotif () const
 

Protected Attributes

ColTab::Sequence ctab_
 
ColTab::Mapper ctmapper_
 
int curgrp_ = 0
 
int curselarea_ = 0
 
int curselgrp_ = 0
 
DataPointSetdps_
 
TypeSet< RowColdpsselrowcols_
 
bool drawuserdefline_ = false
 
bool drawy1userdefpolyline_ = false
 
bool drawy2_ = false
 
bool drawy2userdefpolyline_ = false
 
bool isdensityplot_ = false
 
bool isy1selectable_ = true
 
bool isy2selectable_ = false
 
LinStats2Dlsy1_
 
LinStats2Dlsy2_
 
Math::Expressionmathobj_ = nullptr
 
BufferString mathobjstr_
 
const DataPointSet::ColID mincolid_
 
TypeSet< uiDataPointSet::DColIDmodcolidxs_
 
bool mousepressed_ = false
 
bool multclron_ = false
 
OD::Pair< int, int > nrbins_
 
float plotperc_ = 1
 
bool rectangleselection_ = true
 
ObjectSet< SelectionAreaselareaset_
 
bool selectable_ = false
 
uiPolygonItemselectionpolygonitem_ = nullptr
 
uiRectItemselectionrectitem_ = nullptr
 
ObjectSet< SelectionGrpselgrpset_
 
uiGraphicsItemGroupselpolyitems_ = nullptr
 
uiGraphicsItemGroupselrectitems_ = nullptr
 
DataPointSet::RowID selrow_ = -1
 
mDeprecatedDef TypeSet< RowColselrowcols_
 
bool selrowisy2_ = false
 
int sely2items_ = 0
 
int selyitems_ = 0
 
Setup setup_
 
bool showy3_ = false
 
bool showy4_ = false
 
uiPoint startpos_
 
uiDataPointSetuidps_
 
Interval< int > usedxpixrg_
 
TypeSet< OD::Colory1grpcols_
 
uiColTabItemy1overlayctitem_ = nullptr
 
uiLineItemy1regrlineitm_ = nullptr
 
uiPolyLineItemy1userdefpolylineitm_ = nullptr
 
TypeSet< uiWorldPointy1userdefpts_
 
TypeSet< OD::Colory2grpcols_
 
uiColTabItemy2overlayctitem_ = nullptr
 
uiGraphicsItemGroupy2ptitems_ = nullptr
 
uiLineItemy2regrlineitm_ = nullptr
 
Array1D< char > * y2rowidxs_ = nullptr
 
uiPolyLineItemy2userdefpolylineitm_ = nullptr
 
TypeSet< uiWorldPointy2userdefpts_
 
int y3colid_ = mUdf(int)
 
ColTab::Sequence y3ctab_
 
ColTab::Mapper y3mapper_
 
int y4colid_ = mUdf(int)
 
ColTab::Sequence y4ctab_
 
ColTab::Mapper y4mapper_
 
uiGraphicsItemGroupyptitems_ = nullptr
 
Array1D< char > * yrowidxs_ = nullptr
 
- Protected Attributes inherited from uiRGBArrayCanvas
uiRect arrarea_
 
OD::Color bgcolor_
 
uiBorder border_
 
bool dodraw_
 
uiPixmappixmap_
 
uiPixmapItempixmapitm_
 
uiRGBArrayrgbarr_
 
uiRect updarea_
 
- Protected Attributes inherited from uiGraphicsView
uiCrossHairItemcrosshairitem_
 
bool enableimagesave_
 
- Protected Attributes inherited from uiGraphicsViewBase
uiGraphicsViewBodybody_
 
bool enabscrollzoom_
 
bool isctrlpressed_
 
uiGraphicsScenescene_
 
int sceneborder_
 
uiRectselectedarea_
 
- Protected Attributes inherited from uiObject
uiString tooltip_
 
uiObjEventFilter * uiobjeventfilter_
 
- Protected Attributes inherited from NamedCallBacker
Threads::Atomic< bool > delalreadytriggered_
 
Notifier< NamedCallBackerdelnotif_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Friends

class AxisData
 
class uiDataPointSetCrossPlotWin
 

Additional Inherited Members

- Public Types inherited from uiGraphicsViewBase
enum  ODDragMode { NoDrag , ScrollHandDrag , RubberBandDrag }
 
enum  ScrollBarPolicy { ScrollBarAsNeeded , ScrollBarAlwaysOff , ScrollBarAlwaysOn }
 
- Public Types inherited from uiObject
enum  SzPolicy {
  Undef , Small , Medium , Wide ,
  SmallVar , MedVar , WideVar , SmallMax ,
  MedMax , WideMax
}
 How should the object's size behave? Undef : use default. Small : 1 base sz. Medium : 2* base sz + 1. Wide : 4* base sz + 3. The xxVar options specify that the element may have a bigger internal preferred size. In that case, the maximum is taken. The xxMax options specify that the element should take all available space ( stretch = 2 ) More...
 
- Public Types inherited from ObjectWithName
typedef OD::String name_type
 
- Static Public Member Functions inherited from uiGraphicsViewBase
static const ObjectSet< uiGraphicsViewBase > & allInstances ()
 
- Static Public Member Functions inherited from uiObject
static int baseFldSize ()
 
static int iconSize ()
 
static void setTabOrder (uiObject *first, uiObject *second)
 
static void updateToolTips ()
 
- Static Public Member Functions inherited from uiBaseObject
static void addCmdRecorder (const CallBack &)
 
static void removeCmdRecorder (const CallBack &)
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Detailed Description

DataPointSet crossplotter.

<>

Constructor & Destructor Documentation

◆ uiDataPointSetCrossPlotter()

uiDataPointSetCrossPlotter::uiDataPointSetCrossPlotter ( uiParent ,
uiDataPointSet ,
const Setup  
)

◆ ~uiDataPointSetCrossPlotter()

uiDataPointSetCrossPlotter::~uiDataPointSetCrossPlotter ( )

Member Function Documentation

◆ addItemIfNew()

void uiDataPointSetCrossPlotter::addItemIfNew ( int  itmidx,
MarkerStyle2D ,
uiGraphicsItemGroup ,
uiAxisHandler ,
uiDataPointSet::DRowID  ,
bool   
)

◆ autoScalePars()

AxisData::AutoScalePars& uiDataPointSetCrossPlotter::autoScalePars ( int  ax)
inline
Parameters
ax0=x 1=y 2=y2

◆ axisData() [1/2]

AxisData& uiDataPointSetCrossPlotter::axisData ( int  ax)
inline

◆ axisData() [2/2]

const AxisData& uiDataPointSetCrossPlotter::axisData ( int  ax) const
inline

◆ axisHandler() [1/2]

uiAxisHandler* uiDataPointSetCrossPlotter::axisHandler ( int  ax)
inline
Parameters
ax0=x 1=y 2=y2

◆ axisHandler() [2/2]

const uiAxisHandler* uiDataPointSetCrossPlotter::axisHandler ( int  ax) const
inline

◆ calcStats()

void uiDataPointSetCrossPlotter::calcStats ( )
protected

◆ checkSelArea()

bool uiDataPointSetCrossPlotter::checkSelArea ( const SelectionArea ) const

◆ checkSelection()

void uiDataPointSetCrossPlotter::checkSelection ( uiDataPointSet::DRowID  ,
uiGraphicsItem ,
bool  ,
const AxisData ,
bool  rempt = false 
)

◆ curGroup()

int uiDataPointSetCrossPlotter::curGroup ( ) const
inline

◆ curSelGrp()

int uiDataPointSetCrossPlotter::curSelGrp ( ) const
inline

◆ dataChanged()

void uiDataPointSetCrossPlotter::dataChanged ( )

Only use if you know what you're doing.

◆ deleteSelections()

void uiDataPointSetCrossPlotter::deleteSelections ( )

◆ dps() [1/2]

DataPointSet& uiDataPointSetCrossPlotter::dps ( )
inline

◆ dps() [2/2]

const DataPointSet& uiDataPointSetCrossPlotter::dps ( ) const
inline

◆ drawColTabItem()

void uiDataPointSetCrossPlotter::drawColTabItem ( bool  isy1)

◆ drawContent()

void uiDataPointSetCrossPlotter::drawContent ( bool  withaxis = true)

◆ drawData()

void uiDataPointSetCrossPlotter::drawData ( const AxisData ,
bool  y2,
bool  rempts = false 
)

◆ drawDensityPlot()

void uiDataPointSetCrossPlotter::drawDensityPlot ( )

◆ drawPoints()

bool uiDataPointSetCrossPlotter::drawPoints ( uiGraphicsItemGroup ,
const AxisData ,
bool  y2,
MarkerStyle2D ,
bool  rempt = false 
)

◆ drawRegrLine()

void uiDataPointSetCrossPlotter::drawRegrLine ( uiAxisHandler ,
const Interval< int > &   
)

◆ drawRID()

bool uiDataPointSetCrossPlotter::drawRID ( uiDataPointSet::DRowID  ,
uiGraphicsItemGroup ,
const AxisData ,
bool  y2,
MarkerStyle2D ,
int  idmidx,
bool  rempt 
)
protected

◆ drawUserDefPolyLine()

void uiDataPointSetCrossPlotter::drawUserDefPolyLine ( bool  )

◆ getCurSelArea()

SelectionArea& uiDataPointSetCrossPlotter::getCurSelArea ( )

◆ getDPSSelectedCells()

const TypeSet<RowCol>& uiDataPointSetCrossPlotter::getDPSSelectedCells ( )
inline

◆ getNewSelAreaID()

int uiDataPointSetCrossPlotter::getNewSelAreaID ( ) const

◆ getOverlayColor()

OD::Color uiDataPointSetCrossPlotter::getOverlayColor ( uiDataPointSet::DRowID  ,
bool   
)

◆ getRandRowids()

void uiDataPointSetCrossPlotter::getRandRowids ( )

◆ getRow()

int uiDataPointSetCrossPlotter::getRow ( const AxisData ,
uiPoint   
) const

◆ getSelArea()

bool uiDataPointSetCrossPlotter::getSelArea ( SelectionArea ,
int  selareaid 
)

◆ getSelectedCells()

mDeprecatedObs const TypeSet<RowCol>& uiDataPointSetCrossPlotter::getSelectedCells ( )

◆ getSelectedness()

float uiDataPointSetCrossPlotter::getSelectedness ( uiDataPointSet::DRowID  ,
bool  fory2 
)

◆ getSelGrpIdx()

int uiDataPointSetCrossPlotter::getSelGrpIdx ( int  selareaid) const

◆ getVal()

float uiDataPointSetCrossPlotter::getVal ( int  colid,
int  rid 
) const

◆ initDraw()

void uiDataPointSetCrossPlotter::initDraw ( )
protected

◆ isADensityPlot()

bool uiDataPointSetCrossPlotter::isADensityPlot ( ) const
inline

◆ isMultiColMode()

bool uiDataPointSetCrossPlotter::isMultiColMode ( ) const
inline

◆ isRectSelection()

bool uiDataPointSetCrossPlotter::isRectSelection ( ) const
inline

◆ isSceneSelectable()

bool uiDataPointSetCrossPlotter::isSceneSelectable ( ) const
inline

◆ isSelAreaValid()

bool uiDataPointSetCrossPlotter::isSelAreaValid ( int  id) const

◆ isSelectionValid()

bool uiDataPointSetCrossPlotter::isSelectionValid ( uiDataPointSet::DRowID  )

◆ isY1Selectable()

bool uiDataPointSetCrossPlotter::isY1Selectable ( ) const
inline

◆ isY2Selectable()

bool uiDataPointSetCrossPlotter::isY2Selectable ( ) const
inline

◆ isY2Shown()

bool uiDataPointSetCrossPlotter::isY2Shown ( ) const

◆ linStats()

const LinStats2D& uiDataPointSetCrossPlotter::linStats ( bool  y1 = true) const
inline

◆ mathObj()

Math::Expression* uiDataPointSetCrossPlotter::mathObj ( ) const
inline

◆ mathObjStr()

const OD::String& uiDataPointSetCrossPlotter::mathObjStr ( ) const
inline

◆ modifiedColIds()

const TypeSet<int>& uiDataPointSetCrossPlotter::modifiedColIds ( ) const
inline

◆ mouseClickedCB()

void uiDataPointSetCrossPlotter::mouseClickedCB ( CallBacker )
protected

◆ mouseMoveCB()

void uiDataPointSetCrossPlotter::mouseMoveCB ( CallBacker )
protected

◆ mouseReleasedCB()

void uiDataPointSetCrossPlotter::mouseReleasedCB ( CallBacker )
protected

◆ nrBins()

OD::Pair<int,int> uiDataPointSetCrossPlotter::nrBins ( ) const

◆ nrY2Sels()

int uiDataPointSetCrossPlotter::nrY2Sels ( ) const
inline

◆ nrYSels()

int uiDataPointSetCrossPlotter::nrYSels ( ) const
inline

◆ prepareItems()

void uiDataPointSetCrossPlotter::prepareItems ( bool  y2)

◆ reDrawCB()

void uiDataPointSetCrossPlotter::reDrawCB ( CallBacker )
protected

◆ reDrawSelArea()

void uiDataPointSetCrossPlotter::reDrawSelArea ( )
protected

◆ reDrawSelections()

void uiDataPointSetCrossPlotter::reDrawSelections ( )

◆ removeSelectionItems()

void uiDataPointSetCrossPlotter::removeSelectionItems ( )

◆ removeSelections()

void uiDataPointSetCrossPlotter::removeSelections ( bool  relfrmselgrp = true)

◆ reSizeDrawCB()

void uiDataPointSetCrossPlotter::reSizeDrawCB ( CallBacker )
protected

◆ selAreaSize()

int uiDataPointSetCrossPlotter::selAreaSize ( ) const

◆ selectionGrps() [1/2]

ObjectSet<SelectionGrp>& uiDataPointSetCrossPlotter::selectionGrps ( )
inline

◆ selectionGrps() [2/2]

const ObjectSet<SelectionGrp>& uiDataPointSetCrossPlotter::selectionGrps ( ) const
inline

◆ selGrpCols()

TypeSet<OD::Color> uiDataPointSetCrossPlotter::selGrpCols ( ) const

◆ selNearest()

bool uiDataPointSetCrossPlotter::selNearest ( const MouseEvent )
protected

◆ selRow()

DataPointSet::RowID uiDataPointSetCrossPlotter::selRow ( ) const
inline

◆ selRowIsY2()

bool uiDataPointSetCrossPlotter::selRowIsY2 ( ) const
inline

◆ setAnnotEndTxt()

void uiDataPointSetCrossPlotter::setAnnotEndTxt ( uiAxisHandler )

◆ setCols()

void uiDataPointSetCrossPlotter::setCols ( DataPointSet::ColID  x,
DataPointSet::ColID  y,
DataPointSet::ColID  y2 
)

◆ setColTab()

void uiDataPointSetCrossPlotter::setColTab ( const ColTab::Sequence ctseq)
inline

◆ setCTMapper()

void uiDataPointSetCrossPlotter::setCTMapper ( const ColTab::MapperSetup )

◆ setCurSelGrp()

void uiDataPointSetCrossPlotter::setCurSelGrp ( int  grp)
inline

◆ setDensityPlot()

void uiDataPointSetCrossPlotter::setDensityPlot ( bool  yn,
bool  showy2 
)

◆ setDraw()

void uiDataPointSetCrossPlotter::setDraw ( )
protected

◆ setItem()

void uiDataPointSetCrossPlotter::setItem ( uiGraphicsItem ,
bool  y2,
const uiPoint  
)

◆ setMathObj()

void uiDataPointSetCrossPlotter::setMathObj ( Math::Expression )

◆ setMathObjStr()

void uiDataPointSetCrossPlotter::setMathObjStr ( const char *  str)
inline

◆ setModifiedColIds()

void uiDataPointSetCrossPlotter::setModifiedColIds ( const TypeSet< uiDataPointSet::DColID > &  ids)
inline

◆ setMultiColMode()

void uiDataPointSetCrossPlotter::setMultiColMode ( bool  yn)
inline

◆ setNrBins()

void uiDataPointSetCrossPlotter::setNrBins ( OD::Pair< int, int >  )

◆ setOverlayY1AttMapr()

void uiDataPointSetCrossPlotter::setOverlayY1AttMapr ( const ColTab::MapperSetup )

◆ setOverlayY1AttSeq()

void uiDataPointSetCrossPlotter::setOverlayY1AttSeq ( const ColTab::Sequence )

◆ setOverlayY1Cols()

void uiDataPointSetCrossPlotter::setOverlayY1Cols ( DataPointSet::ColID  y3)

◆ setOverlayY2AttMapr()

void uiDataPointSetCrossPlotter::setOverlayY2AttMapr ( const ColTab::MapperSetup )

◆ setOverlayY2AttSeq()

void uiDataPointSetCrossPlotter::setOverlayY2AttSeq ( const ColTab::Sequence )

◆ setOverlayY2Cols()

void uiDataPointSetCrossPlotter::setOverlayY2Cols ( DataPointSet::ColID  y3)

◆ setRectSelection()

void uiDataPointSetCrossPlotter::setRectSelection ( bool  yn)
inline

◆ setSceneSelectable()

void uiDataPointSetCrossPlotter::setSceneSelectable ( bool  yn)
inline

◆ setSelArea()

void uiDataPointSetCrossPlotter::setSelArea ( const SelectionArea ,
int  selgrpidx 
)

◆ setSelectable()

void uiDataPointSetCrossPlotter::setSelectable ( bool  y1,
bool  y2 
)

◆ setShowY3()

void uiDataPointSetCrossPlotter::setShowY3 ( bool  )

◆ setShowY4()

void uiDataPointSetCrossPlotter::setShowY4 ( bool  )

◆ setup() [1/2]

Setup& uiDataPointSetCrossPlotter::setup ( )
inline

◆ setup() [2/2]

const Setup& uiDataPointSetCrossPlotter::setup ( ) const
inline

◆ setUserDefDrawType()

void uiDataPointSetCrossPlotter::setUserDefDrawType ( bool  dodrw,
bool  isy2,
bool  drwln = false 
)

◆ setUserDefPolyLine()

void uiDataPointSetCrossPlotter::setUserDefPolyLine ( TypeSet< uiWorldPoint > &  ,
bool   
)

◆ setWorldSelArea()

void uiDataPointSetCrossPlotter::setWorldSelArea ( int  )
protected

◆ showY2()

void uiDataPointSetCrossPlotter::showY2 ( bool  )

◆ showY3()

bool uiDataPointSetCrossPlotter::showY3 ( ) const
inline

◆ showY4()

bool uiDataPointSetCrossPlotter::showY4 ( ) const
inline

◆ totalNrItems()

int uiDataPointSetCrossPlotter::totalNrItems ( ) const

◆ uidps() [1/2]

uiDataPointSet& uiDataPointSetCrossPlotter::uidps ( )
inline

◆ uidps() [2/2]

const uiDataPointSet& uiDataPointSetCrossPlotter::uidps ( ) const
inline

◆ updateOverlayMapper()

void uiDataPointSetCrossPlotter::updateOverlayMapper ( bool  isy1)

◆ y1grpColors()

TypeSet<OD::Color>& uiDataPointSetCrossPlotter::y1grpColors ( )
inline

◆ y2grpColors()

TypeSet<OD::Color>& uiDataPointSetCrossPlotter::y2grpColors ( )
inline

◆ y3Colid()

int uiDataPointSetCrossPlotter::y3Colid ( ) const
inline

◆ y3CtSeq()

const ColTab::Sequence& uiDataPointSetCrossPlotter::y3CtSeq ( ) const
inline

◆ y3Mapper()

const ColTab::Mapper& uiDataPointSetCrossPlotter::y3Mapper ( ) const
inline

◆ y4Colid()

int uiDataPointSetCrossPlotter::y4Colid ( ) const
inline

◆ y4CtSeq()

const ColTab::Sequence& uiDataPointSetCrossPlotter::y4CtSeq ( ) const
inline

◆ y4Mapper()

const ColTab::Mapper& uiDataPointSetCrossPlotter::y4Mapper ( ) const
inline

Friends And Related Function Documentation

◆ AxisData

friend class AxisData
friend

◆ uiDataPointSetCrossPlotWin

friend class uiDataPointSetCrossPlotWin
friend

Member Data Documentation

◆ coltabRgChanged

CNotifier<uiDataPointSetCrossPlotter,Interval<float> > uiDataPointSetCrossPlotter::coltabRgChanged

◆ ctab_

ColTab::Sequence uiDataPointSetCrossPlotter::ctab_
protected

◆ ctmapper_

ColTab::Mapper uiDataPointSetCrossPlotter::ctmapper_
protected

◆ curgrp_

int uiDataPointSetCrossPlotter::curgrp_ = 0
protected

◆ curselarea_

int uiDataPointSetCrossPlotter::curselarea_ = 0
protected

◆ curselgrp_

int uiDataPointSetCrossPlotter::curselgrp_ = 0
protected

◆ dataChgd

Notifier<uiDataPointSetCrossPlotter> uiDataPointSetCrossPlotter::dataChgd

◆ dps_

DataPointSet& uiDataPointSetCrossPlotter::dps_
protected

◆ dpsselrowcols_

TypeSet<RowCol> uiDataPointSetCrossPlotter::dpsselrowcols_
protected

◆ drawTypeChanged

CNotifier<uiDataPointSetCrossPlotter,bool> uiDataPointSetCrossPlotter::drawTypeChanged

◆ drawuserdefline_

bool uiDataPointSetCrossPlotter::drawuserdefline_ = false
protected

◆ drawy1userdefpolyline_

bool uiDataPointSetCrossPlotter::drawy1userdefpolyline_ = false
protected

◆ drawy2_

bool uiDataPointSetCrossPlotter::drawy2_ = false
protected

◆ drawy2userdefpolyline_

bool uiDataPointSetCrossPlotter::drawy2userdefpolyline_ = false
protected

◆ isdensityplot_

bool uiDataPointSetCrossPlotter::isdensityplot_ = false
protected

◆ isy1selectable_

bool uiDataPointSetCrossPlotter::isy1selectable_ = true
protected

◆ isy2selectable_

bool uiDataPointSetCrossPlotter::isy2selectable_ = false
protected

◆ lineDrawn

Notifier<uiDataPointSetCrossPlotter> uiDataPointSetCrossPlotter::lineDrawn

◆ lsy1_

LinStats2D& uiDataPointSetCrossPlotter::lsy1_
protected

◆ lsy2_

LinStats2D& uiDataPointSetCrossPlotter::lsy2_
protected

◆ mathobj_

Math::Expression* uiDataPointSetCrossPlotter::mathobj_ = nullptr
protected

◆ mathobjstr_

BufferString uiDataPointSetCrossPlotter::mathobjstr_
protected

◆ mincolid_

const DataPointSet::ColID uiDataPointSetCrossPlotter::mincolid_
protected

◆ modcolidxs_

TypeSet<uiDataPointSet::DColID> uiDataPointSetCrossPlotter::modcolidxs_
protected

◆ mousepressed_

bool uiDataPointSetCrossPlotter::mousepressed_ = false
protected

◆ mouseReleased

Notifier<uiDataPointSetCrossPlotter> uiDataPointSetCrossPlotter::mouseReleased

◆ multclron_

bool uiDataPointSetCrossPlotter::multclron_ = false
protected

◆ nrbins_

OD::Pair<int,int> uiDataPointSetCrossPlotter::nrbins_
protected

◆ plotperc_

float uiDataPointSetCrossPlotter::plotperc_ = 1
protected

◆ pointsSelected

Notifier<uiDataPointSetCrossPlotter> uiDataPointSetCrossPlotter::pointsSelected

◆ rectangleselection_

bool uiDataPointSetCrossPlotter::rectangleselection_ = true
protected

◆ removeRequest

Notifier<uiDataPointSetCrossPlotter> uiDataPointSetCrossPlotter::removeRequest

◆ selareaset_

ObjectSet<SelectionArea> uiDataPointSetCrossPlotter::selareaset_
protected

◆ selectable_

bool uiDataPointSetCrossPlotter::selectable_ = false
protected

◆ selectionChanged

Notifier<uiDataPointSetCrossPlotter> uiDataPointSetCrossPlotter::selectionChanged

◆ selectionpolygonitem_

uiPolygonItem* uiDataPointSetCrossPlotter::selectionpolygonitem_ = nullptr
protected

◆ selectionrectitem_

uiRectItem* uiDataPointSetCrossPlotter::selectionrectitem_ = nullptr
protected

◆ selgrpset_

ObjectSet<SelectionGrp> uiDataPointSetCrossPlotter::selgrpset_
protected

◆ selpolyitems_

uiGraphicsItemGroup* uiDataPointSetCrossPlotter::selpolyitems_ = nullptr
protected

◆ selrectitems_

uiGraphicsItemGroup* uiDataPointSetCrossPlotter::selrectitems_ = nullptr
protected

◆ selrow_

DataPointSet::RowID uiDataPointSetCrossPlotter::selrow_ = -1
protected

◆ selrowcols_

mDeprecatedDef TypeSet<RowCol> uiDataPointSetCrossPlotter::selrowcols_
protected

◆ selrowisy2_

bool uiDataPointSetCrossPlotter::selrowisy2_ = false
protected

◆ sely2items_

int uiDataPointSetCrossPlotter::sely2items_ = 0
protected

◆ selyitems_

int uiDataPointSetCrossPlotter::selyitems_ = 0
protected

◆ setup_

Setup uiDataPointSetCrossPlotter::setup_
protected

◆ showy3_

bool uiDataPointSetCrossPlotter::showy3_ = false
protected

◆ showy4_

bool uiDataPointSetCrossPlotter::showy4_ = false
protected

◆ startpos_

uiPoint uiDataPointSetCrossPlotter::startpos_
protected

◆ uidps_

uiDataPointSet& uiDataPointSetCrossPlotter::uidps_
protected

◆ usedxpixrg_

Interval<int> uiDataPointSetCrossPlotter::usedxpixrg_
protected

◆ userdefy1lp_

LinePars& uiDataPointSetCrossPlotter::userdefy1lp_

◆ userdefy1str_

BufferString& uiDataPointSetCrossPlotter::userdefy1str_

◆ userdefy2lp_

LinePars& uiDataPointSetCrossPlotter::userdefy2lp_

◆ userdefy2str_

BufferString& uiDataPointSetCrossPlotter::userdefy2str_

◆ x_

AxisData uiDataPointSetCrossPlotter::x_

◆ y1grpcols_

TypeSet<OD::Color> uiDataPointSetCrossPlotter::y1grpcols_
protected

◆ y1overlayctitem_

uiColTabItem* uiDataPointSetCrossPlotter::y1overlayctitem_ = nullptr
protected

◆ y1regrlineitm_

uiLineItem* uiDataPointSetCrossPlotter::y1regrlineitm_ = nullptr
protected

◆ y1rmserr_

BufferString& uiDataPointSetCrossPlotter::y1rmserr_

◆ y1userdefpolylineitm_

uiPolyLineItem* uiDataPointSetCrossPlotter::y1userdefpolylineitm_ = nullptr
protected

◆ y1userdefpts_

TypeSet<uiWorldPoint> uiDataPointSetCrossPlotter::y1userdefpts_
protected

◆ y2_

AxisData uiDataPointSetCrossPlotter::y2_

◆ y2grpcols_

TypeSet<OD::Color> uiDataPointSetCrossPlotter::y2grpcols_
protected

◆ y2overlayctitem_

uiColTabItem* uiDataPointSetCrossPlotter::y2overlayctitem_ = nullptr
protected

◆ y2ptitems_

uiGraphicsItemGroup* uiDataPointSetCrossPlotter::y2ptitems_ = nullptr
protected

◆ y2regrlineitm_

uiLineItem* uiDataPointSetCrossPlotter::y2regrlineitm_ = nullptr
protected

◆ y2rmserr_

BufferString& uiDataPointSetCrossPlotter::y2rmserr_

◆ y2rowidxs_

Array1D<char>* uiDataPointSetCrossPlotter::y2rowidxs_ = nullptr
protected

◆ y2userdefpolylineitm_

uiPolyLineItem* uiDataPointSetCrossPlotter::y2userdefpolylineitm_ = nullptr
protected

◆ y2userdefpts_

TypeSet<uiWorldPoint> uiDataPointSetCrossPlotter::y2userdefpts_
protected

◆ y3colid_

int uiDataPointSetCrossPlotter::y3colid_ = mUdf(int)
protected

◆ y3ctab_

ColTab::Sequence uiDataPointSetCrossPlotter::y3ctab_
protected

◆ y3mapper_

ColTab::Mapper uiDataPointSetCrossPlotter::y3mapper_
protected

◆ y4colid_

int uiDataPointSetCrossPlotter::y4colid_ = mUdf(int)
protected

◆ y4ctab_

ColTab::Sequence uiDataPointSetCrossPlotter::y4ctab_
protected

◆ y4mapper_

ColTab::Mapper uiDataPointSetCrossPlotter::y4mapper_
protected

◆ y_

AxisData uiDataPointSetCrossPlotter::y_

◆ yptitems_

uiGraphicsItemGroup* uiDataPointSetCrossPlotter::yptitems_ = nullptr
protected

◆ yrowidxs_

Array1D<char>* uiDataPointSetCrossPlotter::yrowidxs_ = nullptr
protected

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