Welcome, Guest. Please Login or Register.
OpenDX User Forum
09/08/10 at 04:09:03
News: Quality paid support available from Visualization and Imagery Solutions


Pages: 1 2 
How do i use slap module? (Read 576 times)
btc
Forum Newbie
*


Got Viz?

Posts: 13
How do i use slap module?
07/28/10 at 08:56:11
 
How do i use a slap module with data file like this  "native_data.dx"  embarrassed
 Thank you for any help  kiss
Back to top
 
  IP Logged
btc
Forum Newbie
*


Got Viz?

Posts: 13
Re: How do i use slap module?
Reply #1 - 07/28/10 at 08:59:37
 
This is my network module  

 
Back to top
 

network.PNG
  IP Logged
btc
Forum Newbie
*


Got Viz?

Posts: 13
Re: How do i use slap module?
Reply #2 - 07/28/10 at 09:07:57
 
and this is my visualization result
Back to top
 

result.PNG
  IP Logged
joelr
OpenDX Forum Administrator
*****


Got Viz?

Posts: 313
Re: How do i use slap module?
Reply #3 - 07/28/10 at 09:47:45
 
I don't understand your question. Do you mean "Slab" (not "Slap")?
What is it you are trying to achieve? Have you tried to use it and gotten  
errors? What kind? Etc...
 
--Joel
Back to top
 
 
Email   IP Logged
btc
Forum Newbie
*


Got Viz?

Posts: 13
Re: How do i use slap module?
Reply #4 - 07/28/10 at 12:16:25
 
Oh!  Sorry I miss - -". I mean -> "Slab"
I try to create slab follow by example (from Sample Program "Imide_potential.net") but my data does not support. How do I ?  
 
Back to top
 
 
  IP Logged
joelr
OpenDX Forum Administrator
*****


Got Viz?

Posts: 313
Re: How do i use slap module?
Reply #5 - 07/28/10 at 13:42:43
 

I'm guessing here...
 
I think maybe you want Include (to see just part of the tubes), or maybe
MapToPlane (to see circles where the plane intersects the Tubes).
 
?
Back to top
 
 
Email   IP Logged
btc
Forum Newbie
*


Got Viz?

Posts: 13
Re: How do i use slap module?
Reply #6 - 07/28/10 at 22:05:57
 
Absolutely Smiley
After I slice my tubes, I want to see the results (2 views) like this image
Back to top
« Last Edit: 07/28/10 at 23:06:03 by btc »  

slice_y_dimension.png
  IP Logged
btc
Forum Newbie
*


Got Viz?

Posts: 13
Re: How do i use slap module?
Reply #7 - 07/28/10 at 22:45:37
 
and this image
Back to top
 

slice_z_dimension.png
  IP Logged
joelr
OpenDX Forum Administrator
*****


Got Viz?

Posts: 313
Re: How do i use slap module?
Reply #8 - 07/29/10 at 04:16:01
 
OK.  
 
Getting the ribbons is easy - feed your line data (not the tubes) to the
Ribbon module.
 
Getting the circles is far more complicated than it should be. (One *ought*
to be able to use MapToPlane or Map, but everything I've tried fails for
one reason or another.) Oh, well, assuming your lines are vertical (which
they seem to be) you can do the following:
...-> Tube -> Mark("positions") -> Compute("a.y") -> Isosurface(value= some Y coordinate) -> Connect -> Image
 
Hope that helps,
Joel
Back to top
 
 
Email   IP Logged
btc
Forum Newbie
*


Got Viz?

Posts: 13
Re: How do i use slap module?
Reply #9 - 07/31/10 at 14:59:56
 
Thank you so muchh Joel Smiley... but I still have some question to ask you as follow :  
      
       1.  If I want to create circles (not lines), how do I ?
      
       2.  Follow by yr advice , when I create lines (rings), the results colors was shown with y-axis data. (If i want to get data of y-position (not position value), how do I ?)
 
      3.   If I want to create rods instead of tubes, how could it be ?
 
 cry cry cry
 
Thank you for your kindness and help kiss ,
BTC
Back to top
 
« Last Edit: 07/31/10 at 23:50:35 by btc »  
  IP Logged
joelr
OpenDX Forum Administrator
*****


Got Viz?

Posts: 313
Re: How do i use slap module?
Reply #10 - 08/01/10 at 05:53:08
 

1. Hmmm...I thought we were creating circles. Did you add the Connect module
after Isosurface? Isosurface gives you rings and Connect fills them in.
Also, I forgot to mention, you need to set the "normal" input of Connect
to [0,1,0].
 
2. To recover the original data values, add Rename(oldname="saved data", newname="data")
after Isosurface.
 
3. As for creating solid rods, I won't say this is impossible, but I don't know how
you would do it. If you simply want to put end caps on the Tube so it *looks*
solid, you could create the circles (as above) for the min and max Y coordinate,
and Collect them together with the tubes before rendering. (Tube actually has an input to  
specify the type of end cap, but it is non-functional.) If you want truly solid rods, I don't know
how you would achieve this...sorry.
 
Cheers,
Joel
 
Back to top
 
 
Email   IP Logged
btc
Forum Newbie
*


Got Viz?

Posts: 13
Re: How do i use slap module?
Reply #11 - 08/03/10 at 13:46:29
 
Thank a lot Joel, Smiley
 
     I have a question to ask you. After I connect module (follow by yr advices) , my result was shown in triangle (see as below). Why don't I get circles  as yr advice (- -")? What wrong with me?              
          
            
 
Cheers,
BTC
Back to top
 

result.png
  IP Logged
joelr
OpenDX Forum Administrator
*****


Got Viz?

Posts: 313
Re: How do i use slap module?
Reply #12 - 08/04/10 at 03:05:22
 
Hmmm... There's nothing wrong with you - DX is just complicated
sometimes! Anyway, I think I was too quick to offer my advice.
In my little test, I only had a single tube. In your case, you have
three parallel tubes. When you take the Isosurface, you get three
rings, but then Connect connects all three together, rather than
each one individually. I'll have to get back to you...
 
Cheers,
Joel
Back to top
 
 
Email   IP Logged
joelr
OpenDX Forum Administrator
*****


Got Viz?

Posts: 313
Re: How do i use slap module?
Reply #13 - 08/04/10 at 03:39:14
 

The problem appears to be that the tubes are all in a single
field. If you make each tube a separate field and collect them
in a group, it works as you'd like. I restructured your data file
and have attached it.
 
Cheers,
Joel
Back to top
 
Email   IP Logged
btc
Forum Newbie
*


Got Viz?

Posts: 13
Re: How do i use slap module?
Reply #14 - 08/04/10 at 05:45:16
 
Thank you so muchhhh Joel ;  
           
        I'm very happy with the results given by the above method but I still have some problem to ask u again.  How do I get min and max value from all tubes ? (I can't connect a Colormap module to Import module)      
Back to top
 
 
  IP Logged
Pages: 1 2