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

conveyornode/conveyorinput/conveyoroutput
conveyornode/conveyorinput/conveyoroutput
hi,
i am now using wingdi for vectorization. i find odgiconveyornode/odgiconveyorinput/odgiconveyoroutput have class reference in help file, but did not used in it. would you please explain the these concepts? thanks.
hi,
inside odgibasevectorizer (and its derivative classes e.g. odgsbasevectorizeview) geometry is being processed by a chain of simple geometry processors (e.g. xform, clipper etc.).
odgiconveyornode/odgiconveyorinput/odgiconveyoroutput are the main interfaces intended for connecting such processors to each other;
each processor provide its geometry input (odgiconveyorgeometry) to its previous neighbor via call odgiconveyoroutput::setdestgeometry().
writing vectorizer based on dd vectorization framework, usually it's enough to implement odgiconveyorgeometry interface and set it as the destination for the last processor in the chain accessible via odgibasevectorizer:utput() (or odgsbasevectorizeview:utput()).
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)