查看单个帖子
旧 2009-05-06, 04:47 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】limitations in odgibasevectorizerdraw9const odgidrawable0

limitations in odgibasevectorizer::draw(const odgidrawable*)
limitations in odgibasevectorizer::draw(const odgidrawable*)
given that odgibasevectorizer has all the contexts etc correctly set up, is odgibasevectorizer::draw(const odgidrawable*) a totally selfcontained function which will completely render a oddbentity?
i would like to controle the generation of geometry myself instead of sending it off to pview->update(). is there a lot of magic going on inside odgsview::update() that i cannot emulate in my own code?
-rune jorgensen
www.dds.no
hi,
yes, odgibasevectorizer::draw(const odgidrawable*) is a totally self-contained function on odgibasevectorizer class level. but it's not guaranteed for odgibasevectorizer derived classes.
our implementations of odgsview::update() perform some internal per-view initializations and call odgigeometry::draw() for all drawables added via odgsview::add().
odgsdevice::update() of object returned by oddbgsmanager::setuppaperviews() controls lay-out of views in paper space related on overall viewport's view.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)