<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
<br>
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Verdana;}
</style>
Hi all!<div><br></div><div>I am using vtkMarchingCubes to calculate a 3D mesh of a volume I have. Fist I initialize the filter with:</div><div><br></div><div><div>vtkMarchingCubes* iso = vtkMarchingCubes::New();</div><div>iso->SetInput(object);</div><div>iso->SetValue(0,1); // Surface #0, iso-value=1<span class="ecxecxApple-tab-span" style="white-space:pre">                </span></div><div>iso->Update();</div><div><br></div><div>then I fill the vtkStructuredPoints. </div><div><br></div><div>The problem I have is, as you can see in the pictures, when you have a close look to the trianbles (screen2) you can see duplicated triangles and vertex, and this is a huge problem for my application... I supposed vtkMarchingCubes should generate a single surface mesh... I don't know if that's the reason, but when I fill the vtkStructuredPoints I use </div><div><br></div><div>scalars->InsertValue(cnt, 0) ; and scalars->InsertValue(cnt, 128) ;</div><div><br></div><div>I took all these from an example, I still don't know what you have to set as values, either 1 or 128... in addition the result change with this number and I'm not sure why. </div><div><br></div><div>What should I use as values? and also why I have this "double" triangles mesh?</div><div><br></div><div>thanks!</div><div><br></div><div>Jaime.</div></div>                                            <br><hr>Windows Live: Make it easier for your friends to see <a href="http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_2:092009">what you’re up to on Facebook.</a>                                            <br><hr>Keep your friends updated— <a href="http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_5:092010">even when you’re not signed in.</a>                                            <br /><hr />Windows Live: <a href='http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_3:092010' target='_new'>Friends get your Flickr, Yelp, and Digg updates when they e-mail you.</a></body>
</html>