WorldViz User Forum  

Go Back   WorldViz User Forum > Plug-in development

Thread Tools Rate Thread Display Modes
Old 01-14-2009, 03:35 AM
xabbu xabbu is offline
Join Date: Sep 2008
Posts: 8
Access to Geometry Data in a c++ plugin for vizard.


I am trying to write a plugin for worldviz as a dll (or dlc) plugin in c++.
Is there a way to access the geometry data of a worldviz node3d object in my c++ code? I need to get access to the VertexArray of an object.
I thought about handling it as an osg::node in my code, but I am not sure if the data structure used in the python domain of vizard iss the same.

thx in advance ...
Reply With Quote
Old 01-16-2009, 03:14 PM
farshizzo farshizzo is offline
WorldViz Team Member
Join Date: Mar 2003
Posts: 2,849
Our SDK has an example of creating a modifier plugin. This plugin will be given access to the underlying osg::Node object. Once you a handle to this object you can create a osg::NodeVisitor that traverses it and collects all the geometry data from it. Let me know if you have any specific questions about this.
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a Vizard Sensor Plugin farshizzo Plug-in development 25 08-01-2019 12:24 AM
Could not find plugin to load objects... halley Vizard 1 05-30-2006 11:01 AM
Direct access to phantom omni data vsully Vizard 1 03-14-2006 09:44 AM
tracking using quaternarion data jfreeman Vizard 2 06-01-2005 08:48 AM

All times are GMT -7. The time now is 10:04 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC