Re: [opendx-users] FEA Grid Visulization

2005-08-31 Thread Jon Pitt
Joel,Thanks!  This worked great. JonOn Aug 26, 2005, at 12:34 PM, Joel Richardson wrote:If by "number the positions", you mean you want the number "1" toappear in the scene at the first position, "2" at the second, andso on, here's one way...To get n, Extract("positions") and feed to Inquire("items").Feed this to Enumerate to generate the integer list 1 .. n.Replace the data in the original field with this list.Send this to AutoGlyph; set the glyph type to text, and theratio to 1.0. Color to taste.Cheers,JoelJon Pitt wrote: Hi,I'm trying to visualize a grid generated by an FEA package.  I can  get the connections drawn and change their color, but I would like to  number the positions.  Does anyone know how to do this?  I would also  like to further extend this to the faces and cells themselves, but  starting with the positions would be great!  Thank you,Jon PittUniversity Park, PA 16802[EMAIL PROTECTED] -- ===Joel Richardson, Ph.D.   Phone: (207) 288-6435The Jackson Laboratory   Fax:   (207) 288-6132600 Main Street          URL:   www.informatics.jax.orgBar Harbor, Maine 04609===  Jon Pitt408 EES BuildingUniversity Park, PA 16802[EMAIL PROTECTED] 

[opendx-users] FEA Grid Visulization

2005-08-26 Thread Jon Pitt
Hi,I'm trying to visualize a grid generated by an FEA package.  I can get the connections drawn and change their color, but I would like to number the positions.  Does anyone know how to do this?  I would also like to further extend this to the faces and cells themselves, but starting with the positions would be great!  Thank you, Jon PittUniversity Park, PA 16802[EMAIL PROTECTED] 

Re: [opendx-users] FEA Grid Visulization

2005-08-26 Thread Chris Pelkie
Glyph  module supports a text glyph which displays the value of the data at its spatial location. Use carefully: a huge data set will generate a heck of a lot of text, which will then be unreadable unless you zoom way in. Think about ways to sample (like Sample) or otherwise constrain the area of interest (like Pick to select a cube, line, or position).

Now, if you simply Mark(positions) and Glyph(text), you'd see the position vectors. If you don't already have a data component representing the position index, I'd probably use Inquire(items) (or other inquiries: see manual) to get the position count, then use that to drive Enumerate to make a list of 0..n-1, then Replace that into the field as position index, then Mark(position index) and Glyph. You probably have to add Options(dep, positions) to the output of Enumerate (prior to Replace) to make it behave like a proper data component.


On Aug 26, 2005, at 10:34 AM, Jon Pitt wrote:

Hi,

I'm trying to visualize a grid generated by an FEA package.  I can get the connections drawn and change their color, but I would like to number the positions.  Does anyone know how to do this?  I would also like to further extend this to the faces and cells themselves, but starting with the positions would be great!  Thank you,

x-tad-smallerJon Pitt/x-tad-smaller
x-tad-smallerUniversity Park, PA 16802/x-tad-smaller
x-tad-smaller[EMAIL PROTECTED]/x-tad-smaller





x-tad-bigger___
Chris Pelkie
Scientific Visualization Producer
622 Rhodes Hall, Cornell Theory Center
Ithaca, NY 14853   (607) 254-8794/x-tad-bigger


Re: [opendx-users] FEA Grid Visulization

2005-08-26 Thread Joel Richardson


If by number the positions, you mean you want the number 1 to
appear in the scene at the first position, 2 at the second, and
so on, here's one way...

To get n, Extract(positions) and feed to Inquire(items).
Feed this to Enumerate to generate the integer list 1 .. n.
Replace the data in the original field with this list.
Send this to AutoGlyph; set the glyph type to text, and the
ratio to 1.0. Color to taste.

Cheers,
Joel

Jon Pitt wrote:

Hi,

I'm trying to visualize a grid generated by an FEA package.  I can  get 
the connections drawn and change their color, but I would like to  
number the positions.  Does anyone know how to do this?  I would also  
like to further extend this to the faces and cells themselves, but  
starting with the positions would be great!  Thank you,


Jon Pitt
University Park, PA 16802
[EMAIL PROTECTED]






--

===
Joel Richardson, Ph.D.   Phone: (207) 288-6435
The Jackson Laboratory   Fax:   (207) 288-6132
600 Main Street  URL:   www.informatics.jax.org
Bar Harbor, Maine 04609
===