<div class="gmail_quote">i m not still clear with what i want....<br><br>Actually i have some vtk structured point data sets, and i am trying to generate the isosurface in which i m using contour filter. <br>in that i m setting the value of a single contour. My question is how to decide what would be the value of this variable acc to data set?<br>
Like for one vtk file i found it works when it is 60,,,for second one it works for 92.....<br>So how to decide using the program (the source code) the value ?<div><div></div><div class="h5"><br><br><div class="gmail_quote">
On Wed, Jun 24, 2009 at 12:36 AM, Gerrick Bivins <span dir="ltr"><<a href="mailto:gbivins@objectreservoir.com" target="_blank">gbivins@objectreservoir.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size: 11pt;">Oh. You’re probably over thinking it. No worries! It’s not very clear in the docs.<br>
So for instance, lets say you want to generate 1 contour with a value of 100.<br>
The call would look like this:<br>
contour->SetValue(0, 100);<br>
<br>
If you wanted to change the value of this contour to 200 your call would be like this:<br>
contour->SetValue(0, 200);<br>
<br>
Now if you wanted to generate another contour at 50 and keep the contour at 200 (thus totaling 2 contours) , after making the previous call you would add this:<br>
<br>
contour->SetValue(1,50);<br>
<br>
So in summary, if you just want one contour the contour number is always 0. If you want more than one value the contour number is assigned by you and is <= total number of contours.<br><font color="#888888">
Gerrick</font><div><br>
<br>
<br>
<br>
<br>
On 6/23/09 1:59 PM, "Saket Jalan" <<a href="http://saaketjalan@gmail.com" target="_blank">saaketjalan@gmail.com</a>> wrote:<br>
<br>
</div></span></font><blockquote><div><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size: 11pt;">Thanks for replying...<br>
<br>
I m still not able to find out the value of a contour number,,,plss help<br>
i m new to vtk...<br>
<br>
Thanks<br>
<br>
On Tue, Jun 23, 2009 at 6:33 PM, Gerrick Bivins <<a href="http://gbivins@objectreservoir.com" target="_blank">gbivins@objectreservoir.com</a>> wrote:<br>
</span></font></div><blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size: 11pt;"><div>Hi Saket,<br>
In that method:<br>
int “i” ==> the contour number <br>
double v ==> value of contour number “i”<br>
<br>
This is so that you can supply more than one contour value to the contour filter.<br>
<font color="#888888">Gerrick<br>
</font><br>
<br></div><div>
On 6/22/09 7:01 PM, "Saket Jalan" <<a href="http://saaketjalan@gmail.com" target="_blank">saaketjalan@gmail.com</a> <<a href="http://saaketjalan@gmail.com" target="_blank">http://saaketjalan@gmail.com</a>> > wrote:<br>
<br>
</div></span></font><div><blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size: 11pt;">hii...<br>
<br>
the class vtkContourFilter.h contains a method called<br>
<br>
SetValue(int i, double v);<br>
<br>
Anyone please tell me how to decide the value of v while using this filter.....<br>
<br>
Thanks<br>
<br>
</span></font></blockquote></div></blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size: 11pt;"><br>
<br>
</span></font></blockquote>
</div>
</blockquote></div><br><br clear="all"><br></div></div>-- <br><font color="#888888">Saket<br>
</font></div><br><br clear="all"><br>-- <br>Saket<br>