查看单个帖子
旧 2009-05-05, 10:55 AM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】filtering whats returned from odgsbasevectorizeview

filtering what's returned from odgsbasevectorizeview
filtering what's returned from odgsbasevectorizeview
how do i set a spatial filter on odgsbasevectorizeview so that it only returns geometry within that spatial filter when i later call update?
also, am i missing some documentation? all i've got is a .chm file, but that only seems to have lists of methods, with a terse comment here and there...
tia,
eric janson
look into odvectorizeex sample.
exsimpleview::update() contains call to pushclipboundary().
sergey slezkin
thanks for your quick reply.
is there any documentation that would tell me how to manipulate the odgiclipboundary struct?
thanks!
jsyk, my problem with the clipboundary is that no matter how much i zoom in or out, i always get the same values.
specifically fieldwidth() and fieldheight(), which i assume are what sets the spatial filter when pushclipboundary() is called, always return the same values.
i guess what i'm missing is how to "bind" the odgsbasevectorizeview derived class to my actual window. or is that something i need to do by querying the window for its extents and using those values to initialize the odgiclipboundary?
thanks again,
hi,
exgsgdivectorizedevice.cpp (odamfcapp example) illustrates how to "bind" the odgsbasevectorizeview derived class to actual window.
cool! thanks for the help, guys!
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)