[Developers] SeisSelData question
Азер Мусаев
ismaz at mail.ru
Mon Nov 10 11:00:33 CET 2008
Greetings to all dGB stuff!!!
I have idea to realize seismic section animation like in Petrel, Kingdom Suite, but I have lack of
understanding how read subvolumes (sections) from uiSeisSel. I have attached screenshot of my
plugin's code, this is draft version and I'am in beginning stage. At first I want extract for example
first inline (see code) from entire cube using SeisTrcTranslator and SeisSelData classes and render it
in a 2DViewer.But I can't. All the same SeisTrcBuf contains all cube. If set \
SeisSelData::all_ to false I can't read any trace.
Another problem with FlatView::Viewer::setPack function, it crashes even I use only 200 traces.
This is a debug information from od_crash_analysis.txt:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208133312 (LWP 20442)]
0x0194ab50 in SeisTrcBufArray2DInfo::getSize ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libSeis.so
#0 0x0194ab50 in SeisTrcBufArray2DInfo::getSize ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libSeis.so
#1 0x071efee8 in A2DBitMapPosSetup::A2DBitMapPosSetup ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libGeneral.so
#2 0x004d1c28 in FlatView::BitMapMgr::setupChg ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libuiFlatView.so
#3 0x004de7ee in uiFlatViewer::drawBitMaps ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libuiFlatView.so
#4 0x00c185d2 in uiRGBArrayCanvas::reDrawHandler ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libuiTools.so
#5 0x0105a4ff in uiDrawableObjBody<uiCanvas, QWidget>::handlePaintEvent ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libuiBase.so
#6 0x0105a960 in uiDrawableObjBody<uiCanvas, QWidget>::paintEvent ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libuiBase.so
#7 0x030de7bf in QWidget::event ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libQtGui.so.4
#8 0x030a1d2d in QApplicationPrivate::notify_helper ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libQtGui.so.4
#9 0x030a1fb2 in QApplication::notify ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libQtGui.so.4
#10 0x030e664b in qt_sendSpontaneousEvent ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libQtGui.so.4
#11 0x031d53e9 in QWidgetPrivate::drawWidget ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libQtGui.so.4
#12 0x031d5d02 in QWidgetBackingStore::paintSiblingsRecursive ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libQtGui.so.4
#13 0x031d5644 in QWidgetPrivate::drawWidget ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libQtGui.so.4
#14 0x031d5d02 in QWidgetBackingStore::paintSiblingsRecursive ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libQtGui.so.4
#15 0x031d5bad in QWidgetBackingStore::paintSiblingsRecursive ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libQtGui.so.4
#16 0x031d5644 in QWidgetPrivate::drawWidget ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libQtGui.so.4
#17 0x031d5d02 in QWidgetBackingStore::paintSiblingsRecursive ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libQtGui.so.4
#18 0x031d5bad in QWidgetBackingStore::paintSiblingsRecursive ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libQtGui.so.4
#19 0x031d5bad in QWidgetBackingStore::paintSiblingsRecursive ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libQtGui.so.4
#20 0x031d5644 in QWidgetPrivate::drawWidget ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libQtGui.so.4
#21 0x031d610b in QWidgetBackingStore::cleanRegion ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libQtGui.so.4
#22 0x031d6674 in qt_syncBackingStore ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libQtGui.so.4
#23 0x030deade in QWidget::event ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libQtGui.so.4
#24 0x030a1d2d in QApplicationPrivate::notify_helper ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libQtGui.so.4
#25 0x030a1fb2 in QApplication::notify ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libQtGui.so.4
#26 0x011c9d0d in QCoreApplication::sendPostedEvents ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libQtCore.so.4
#27 0x011e53fd in QEventDispatcherGlib::processEvents ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libQtCore.so.4
#28 0x4d2be342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#29 0x4d2c131f in g_main_context_check () from /lib/libglib-2.0.so.0
#30 0x4d2c1885 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#31 0x011e5343 in QEventDispatcherGlib::processEvents ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libQtCore.so.4
#32 0x031109f3 in QGuiEventDispatcherGlib::processEvents ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libQtGui.so.4
#33 0x011c5feb in QEventLoop::processEvents ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libQtCore.so.4
#34 0x011c6187 in QEventLoop::exec ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libQtCore.so.4
#35 0x011c9e54 in QCoreApplication::exec ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libQtCore.so.4
#36 0x030a1421 in QApplication::exec ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libQtGui.so.4
#37 0x0126bbb6 in SoQt::mainLoop ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libSoQt.so.20
#38 0x00637ae9 in uicMain::exec ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libuiCoin.so
#39 0x007bea0d in uiODMain::go ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libuiODMain.so
#40 0x007bf66b in ODMain ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libuiODMain.so
#41 0x080499fb in __gxx_personality_v0 ()
#42 0x4cd57dec in __libc_start_main ()
from /home/azer/ODT/opendtect-3.0/bin/lux32/so/libc.so.6
#43 0x080498b5 in __gxx_personality_v0 ()
Please can you revise my code (I am beginner in OpendTect) and point my mistakes.
Thanks in advance!
Azer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: code_screenshot.jpg
Type: image/jpeg
Size: 463435 bytes
Desc: not available
URL: <http://lists.opendtect.org/pipermail/developers/attachments/20081110/04d242b7/attachment.jpg>
More information about the Developers
mailing list