OpendTect-6_4
6.4
|
Public Member Functions | |
uiGraphicsScene (const char *) | |
~uiGraphicsScene () | |
void | removeAllItems () |
uiGraphicsItem * | removeItem (uiGraphicsItem *) |
uiGraphicsItemSet * | removeItems (uiGraphicsItemSet *) |
template<class T > | |
T * | addItem (T *) |
Item becomes mine. More... | |
uiGraphicsItemSet * | addItems (uiGraphicsItemSet *) |
uiGraphicsItemGroup * | addItemGrp (uiGraphicsItemGroup *) |
int | nrItems () const |
uiGraphicsItem * | getItem (int id) |
const uiGraphicsItem * | getItem (int id) const |
uiGraphicsItem * | itemAt (const Geom::Point2D< float > &) |
const uiGraphicsItem * | itemAt (const Geom::Point2D< float > &) const |
uiRectItem * | addRect (float x, float y, float w, float h) |
uiPolygonItem * | addPolygon (const TypeSet< uiPoint > &, bool fill) |
uiPolyLineItem * | addPolyLine (const TypeSet< uiPoint > &) |
void | useBackgroundPattern (bool) |
void | setBackGroundColor (const Color &) |
const Color | backGroundColor () const |
int | getSelItemSize () const |
uiRect | getSelectedArea () const |
void | setSelectionArea (const uiRect &) |
MouseEventHandler & | getMouseEventHandler () |
double | width () const |
double | height () const |
void | saveAsImage (const char *, int, int, int) |
void | saveAsPDF (const char *, int w, int h, int r) |
void | saveAsPS (const char *, int w, int h, int r) |
void | saveAsPDF_PS (const char *, bool pdf_or_ps, int w, int h, int r) |
void | setSceneRect (float x, float y, float w, float h) |
uiRect | sceneRect () |
bool | isMouseEventActive () const |
void | setMouseEventActive (bool yn) |
mQtclass (QGraphicsScene *) qGraphicsScene() | |
void | copyToClipBoard () |
void | addUpdateToQueue (Task *) |
bool | executePendingUpdates () |
void | setPixelDensity (float) |
float | getPixelDensity () const |
void | translateText () |
Public Member Functions inherited from NamedObject | |
NamedObject (const char *nm=0) | |
NamedObject (const NamedObject *linkedto) | |
NamedObject (const NamedObject &) | |
virtual | ~NamedObject () |
void | setLinkedTo (NamedObject *) |
bool | operator== (const NamedObject &oth) const |
virtual const OD::String & | name () const |
virtual const OD::String & | annotName () const |
virtual void | setName (const char *) |
void | setCleanName (const char *) |
cleans string first More... | |
void | deleteNotify (const CallBack &) |
Public Member Functions inherited from CallBacker | |
CallBacker () | |
CallBacker (const CallBacker &) | |
virtual | ~CallBacker () |
bool | attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false) |
bool | attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) |
void | detachCB (NotifierAccess &, const CallBack &) |
void | detachCB (NotifierAccess *notif, const CallBack &cb) |
bool | isNotifierAttached (NotifierAccess *) const |
Only for debugging purposes, don't use. More... | |
Static Public Member Functions | |
static float | getDefaultPixelDensity () |
Public Attributes | |
Notifier< uiGraphicsScene > | ctrlPPressed |
Notifier< uiGraphicsScene > | ctrlCPressed |
Notifier< uiGraphicsScene > | pixelDensityChange |
Protected Member Functions | |
void | CtrlCPressedCB (CallBacker *) |
uiGraphicsItem * | doAddItem (uiGraphicsItem *) |
int | indexOf (int id) const |
Protected Member Functions inherited from CallBacker | |
void | detachAllNotifiers () |
Call from the destructor of your inherited object. More... | |
Protected Attributes | |
ObjectSet< uiGraphicsItem > | items_ |
ODGraphicsScene * | odgraphicsscene_ |
MouseEventHandler | mousehandler_ |
bool | ismouseeventactive_ |
int | queueid_ |
float | pixeldensity_ |
Protected Attributes inherited from NamedObject | |
BufferString * | name_ |
NamedObject * | linkedto_ |
CallBackSet * | delnotify_ |
Friends | |
class | uiGraphicsItem |
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 |
|
inline |
int uiGraphicsScene::nrItems | ( | ) | const |
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. 2019