VSG Logo   Avizo Forum

Go Back   Avizo Forum > Avizo main forum

Avizo main forum This is where you can find all the general discussions about Avizo.

Reply
 
Thread Tools Display Modes
  #1  
Old 7th February 2011, 15:35
CaiDurbin CaiDurbin is offline
Beginer
 
Join Date: Feb 2011
Location: Toronto
Posts: 2
Default Projecting LineSets

Hi all,

I'm a new user to Avizo and am mostly using Avizo Green because of its ability to project geographical data in different ways.

My data is mostly stored in NetCDF files and I can make these display nicely. However I'm running into problems when I try to display other datasets.

The example I have at the moment is that I want to display the outlines of the Earth's tectonic plates. Ideally I'd like this to be similar to displaying the borders in the Earth module.

I have the vertices and have used them to create a AmiraMesh file that uses them to define lines that describe the outlines of each plate. Once this is loaded into Avizo I'm displaying it with LineSetView module. There are two major problems with this

1) For plates that have vertices on either side of 180 degree longitude, a line going from -180 to +180 is created to correctly join up the points (see attached image)
2) I can't figure out a way to attach the LineSetView to a projection module

Is there a better way to store line data than an AmiraMesh file with a LineSetView viewer? My current method just doesn't seem to be designed to be projected!

I know that I could solve the first problem by splitting the plates that cause the issue into two, but this doesn't seem like the most elegant method.

Thanks in advance,

Cai
Attached Images
File Type: jpg snapshot.jpg (181.1 KB, 14 views)
Reply With Quote
  #2  
Old 15th February 2011, 08:38
gwenoletallec gwenoletallec is offline
VSG Staff
 
Join Date: Mar 2010
Location: bordeaux
Posts: 4
Default Re: Projecting LineSets

Hi Cai,

unfortunately LineSetView is not yet supported by the projection mechanism. Nevertheless it has been added to the Avizo requirement database (id 1326) and may be solved in a future version.

Concerning problem 1, you must check crossing lines when they are generated.

How did you generate those lines ?

Regards,

gwenole
Reply With Quote
  #3  
Old 15th February 2011, 08:53
CaiDurbin CaiDurbin is offline
Beginer
 
Join Date: Feb 2011
Location: Toronto
Posts: 2
Default Re: Projecting LineSets

Hi Gwenloe,

Thanks for the reply. That's a shame about LineSet's lack of projection support! Is there an alternative way that I can plot lines that can be projected? Is there a way to replicate the functionality of the Earth module which can show the continent's outlines and be projected?

Concerning the cross lines, I'm creating an AmiraMesh file that contains 12148 verticies which define 12200 lines which together produce the 52 line segments that follow the plate boundaries. I guess that the dumb way to remove the cross lines would be to split any line that crosses the -180/180 degree line into two parts (so not joining the vertices on either side). I was hoping that Avizo Earth would be able to handle this automatically, but then if the LineSet module doesn't yet support projections then it can't do this either?
Reply With Quote
  #4  
Old 6th June 2011, 20:13
wschlei wschlei is offline
Member
 
Join Date: Sep 2009
Posts: 8
Send a message via AIM to wschlei Send a message via MSN to wschlei Send a message via Yahoo to wschlei Send a message via Skype™ to wschlei
Default Re: Projecting LineSets

Hey Cai,
With your additional connection problem, you will probably have to process your data before you create the LineSet so your connections terminate and start in the appropriate places.

Regarding your projections, I'm pretty sure you can write a Tcl script or an expand code that can take the projection information and the LineSet information to create a new LineSet that is in the projected space. It may not be easy, but it could give you some results before Avizo Earth adds your enhancements.

Wayne
__________________
Wayne Schlei
Purdue University
Reply With Quote
Reply

Thread Tools
Display Modes

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


All times are GMT. The time now is 08:31.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Copyright VSG SAS, 2008.