OpendTect
6.6
|
Public Member Functions | |
uiGraphicsScene (const char *) | |
~uiGraphicsScene () | |
template<class T > | |
T * | addItem (T *) |
Item becomes mine. More... | |
uiGraphicsItemGroup * | addItemGrp (uiGraphicsItemGroup *) |
uiGraphicsItemSet * | addItems (uiGraphicsItemSet *) |
uiPolygonItem * | addPolygon (const TypeSet< uiPoint > &, bool fill) |
uiPolyLineItem * | addPolyLine (const TypeSet< uiPoint > &) |
uiRectItem * | addRect (float x, float y, float w, float h) |
void | addUpdateToQueue (Task *) |
const Color | backGroundColor () const |
void | copyToClipBoard () |
bool | executePendingUpdates () |
uiGraphicsItem * | getItem (int id) |
const uiGraphicsItem * | getItem (int id) const |
MouseEventHandler & | getMouseEventHandler () |
float | getPixelDensity () const |
uiRect | getSelectedArea () const |
int | getSelItemSize () const |
double | height () const |
bool | isMouseEventActive () const |
uiGraphicsItem * | itemAt (const Geom::Point2D< float > &) |
const uiGraphicsItem * | itemAt (const Geom::Point2D< float > &) const |
int | nrItems () const |
QGraphicsScene * | qGraphicsScene () |
void | removeAllItems () |
uiGraphicsItem * | removeItem (uiGraphicsItem *) |
uiGraphicsItemSet * | removeItems (uiGraphicsItemSet *) |
void | saveAsImage (const char *, int, int, int) |
void | saveAsPDF (const char *, int w, int h, int r) |
void | saveAsPDF_PS (const char *, bool pdf_or_ps, int w, int h, int r) |
void | saveAsPS (const char *, int w, int h, int r) |
uiRect | sceneRect () |
void | setBackGroundColor (const Color &) |
void | setMouseEventActive (bool yn) |
void | setPixelDensity (float) |
void | setSceneRect (float x, float y, float w, float h) |
void | setSelectionArea (const uiRect &) |
void | translateText () |
void | useBackgroundPattern (bool) |
double | width () const |
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 |
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 &) |
virtual const name_type & | name () const |
NamedObject & | operator= (const NamedObject &) |
bool | operator== (const NamedObject &oth) const |
virtual void | setName (const char *nm) |
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 |
Static Public Member Functions | |
static float | getDefaultPixelDensity () |
Static Public Member Functions inherited from CallBacker | |
static void | createReceiverForCurrentThread () |
static void | removeReceiverForCurrentThread () |
Public Attributes | |
Notifier< uiGraphicsScene > | ctrlCPressed |
Notifier< uiGraphicsScene > | ctrlPPressed |
Notifier< uiGraphicsScene > | pixelDensityChange |
Protected Member Functions | |
void | CtrlCPressedCB (CallBacker *) |
uiGraphicsItem * | doAddItem (uiGraphicsItem *) |
int | indexOf (int id) const |
Protected Member Functions inherited from NamedCallBacker | |
void | sendDelNotif () const |
Protected Attributes | |
bool | ismouseeventactive_ |
ObjectSet< uiGraphicsItem > | items_ |
MouseEventHandler | mousehandler_ |
ODGraphicsScene * | odgraphicsscene_ |
float | pixeldensity_ |
int | queueid_ |
Protected Attributes inherited from NamedCallBacker | |
Threads::Atomic< bool > | delalreadytriggered_ |
Notifier< NamedCallBacker > | delnotif_ |
Protected Attributes inherited from NamedObject | |
BufferString | name_ |
Friends | |
class | uiGraphicsItem |
Additional Inherited Members | |
Public Types inherited from ObjectWithName | |
typedef OD::String | name_type |
<>
uiGraphicsScene::uiGraphicsScene | ( | const char * | ) |
uiGraphicsScene::~uiGraphicsScene | ( | ) |
|
inline |
Item becomes mine.
uiGraphicsItemGroup* uiGraphicsScene::addItemGrp | ( | uiGraphicsItemGroup * | ) |
uiGraphicsItemSet* uiGraphicsScene::addItems | ( | uiGraphicsItemSet * | ) |
uiPolygonItem* uiGraphicsScene::addPolygon | ( | const TypeSet< uiPoint > & | , |
bool | fill | ||
) |
uiPolyLineItem* uiGraphicsScene::addPolyLine | ( | const TypeSet< uiPoint > & | ) |
uiRectItem* uiGraphicsScene::addRect | ( | float | x, |
float | y, | ||
float | w, | ||
float | h | ||
) |
void uiGraphicsScene::addUpdateToQueue | ( | Task * | ) |
const Color uiGraphicsScene::backGroundColor | ( | ) | const |
void uiGraphicsScene::copyToClipBoard | ( | ) |
|
protected |
|
protected |
bool uiGraphicsScene::executePendingUpdates | ( | ) |
|
static |
uiGraphicsItem* uiGraphicsScene::getItem | ( | int | id | ) |
const uiGraphicsItem* uiGraphicsScene::getItem | ( | int | id | ) | const |
|
inline |
|
inline |
uiRect uiGraphicsScene::getSelectedArea | ( | ) | const |
int uiGraphicsScene::getSelItemSize | ( | ) | const |
double uiGraphicsScene::height | ( | ) | const |
|
protected |
|
inline |
uiGraphicsItem* uiGraphicsScene::itemAt | ( | const Geom::Point2D< float > & | ) |
const uiGraphicsItem* uiGraphicsScene::itemAt | ( | const Geom::Point2D< float > & | ) | const |
int uiGraphicsScene::nrItems | ( | ) | const |
|
inline |
void uiGraphicsScene::removeAllItems | ( | ) |
uiGraphicsItem* uiGraphicsScene::removeItem | ( | uiGraphicsItem * | ) |
Gives object back to caller (not deleted)
uiGraphicsItemSet* uiGraphicsScene::removeItems | ( | uiGraphicsItemSet * | ) |
Does not delete the items
void uiGraphicsScene::saveAsImage | ( | const char * | , |
int | , | ||
int | , | ||
int | |||
) |
void uiGraphicsScene::saveAsPDF | ( | const char * | , |
int | w, | ||
int | h, | ||
int | r | ||
) |
void uiGraphicsScene::saveAsPDF_PS | ( | const char * | , |
bool | pdf_or_ps, | ||
int | w, | ||
int | h, | ||
int | r | ||
) |
void uiGraphicsScene::saveAsPS | ( | const char * | , |
int | w, | ||
int | h, | ||
int | r | ||
) |
uiRect uiGraphicsScene::sceneRect | ( | ) |
void uiGraphicsScene::setBackGroundColor | ( | const Color & | ) |
|
inline |
void uiGraphicsScene::setPixelDensity | ( | float | ) |
void uiGraphicsScene::setSceneRect | ( | float | x, |
float | y, | ||
float | w, | ||
float | h | ||
) |
void uiGraphicsScene::setSelectionArea | ( | const uiRect & | ) |
void uiGraphicsScene::translateText | ( | ) |
void uiGraphicsScene::useBackgroundPattern | ( | bool | ) |
double uiGraphicsScene::width | ( | ) | const |
|
friend |
Notifier<uiGraphicsScene> uiGraphicsScene::ctrlCPressed |
Notifier<uiGraphicsScene> uiGraphicsScene::ctrlPPressed |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Notifier<uiGraphicsScene> uiGraphicsScene::pixelDensityChange |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022