<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hi,</p>
<p style="margin-top:0;margin-bottom:0">I would like to calculate curvature on my 3D vtk data using vtkCurvatures, <span>SetCurvatureTypeToGaussian.</span></p>
<p style="margin-top:0;margin-bottom:0"><span>When I applied fran_cut.vtk, the result showed the face completely. </span></p>
<p style="margin-top:0;margin-bottom:0"><span>But, when I applied my 3D vtk data (ASCII, polydata, 5090 points), I got a line in the middle of the face.</span></p>
<p style="margin-top:0;margin-bottom:0"><span><img size="46647" contenttype="image/jpeg" id="837039_rs|3" style="user-select: none; width: 256px; height: 256px;" crossorigin="use-credentials" tabindex="0" width="256" height="256" src="cid:a2df0569-c266-444b-8b5e-2032ddd0a947"><br>
</span></p>
<p style="margin-top:0;margin-bottom:0"><span></p>
<div><br>
</div>
<div></div>
<br>
</span>
<p></p>
<p style="margin-top:0;margin-bottom:0"><span>And also, I couldn't execute both mean and gaussian function at the same time by using vtkCurvatures. It can only detect on one of the filter (which comes in the later line)</span></p>
<p style="margin-top:0;margin-bottom:0"><span>For example,</span></p>
<p style="margin-top:0;margin-bottom:0"><span></p>
<div style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">
vtkCurvatures *HKCurve = vtkCurvatures::New();</div>
<div style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">
<span style="white-space: pre;"></span>HKCurve->SetInputConnection(reader->GetOutputPort());</div>
<div style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">
<span style="white-space: pre;"></span>HKCurve->SetCurvatureTypeToGaussian();</div>
<div style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">
<span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">        HKCurve->SetCurvatureTypeToMean();</span><br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">
<span style="white-space: pre;"></span>HKCurve->Update();</div>
<br>
</span>
<p></p>
<p style="margin-top:0;margin-bottom:0"><span>Only Mean curvature will be calculated.</span></p>
<p style="margin-top:0;margin-bottom:0"><span><br>
</span></p>
<p style="margin-top:0;margin-bottom:0"><span>Your advice will be much appreciated!</span></p>
<p style="margin-top:0;margin-bottom:0"><span><br>
</span></p>
<p style="margin-top:0;margin-bottom:0"><span>Thank you.</span></p>
<p style="margin-top:0;margin-bottom:0"><span><br>
</span></p>
<p style="margin-top:0;margin-bottom:0"><span>Best,</span></p>
<p style="margin-top:0;margin-bottom:0"><span>Polly</span></p>
</div>
</body>
</html>