<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1226" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello Julien,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thank you much for your suggestion. I have tried
it, but the same error occurs. I still get "no matching function for call to
vtkCutter:SetInput". I am very grateful for your attempt to help,
though.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Jonathan</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=julien.alizier-ausy@irsn.fr
href="mailto:julien.alizier-ausy@irsn.fr">ALIZIER Julien AUSY</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=jonathan.s.lin@vanderbilt.edu
href="mailto:jonathan.s.lin@vanderbilt.edu">'Jonathan Lin'</A> ; <A
title=vtkusers@vtk.org href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, July 07, 2004 2:36
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [vtkusers] Problem with
vtkCutter</DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial
size=2></FONT><BR></DIV>Hi Jonathan,<BR><BR>You need to tell the vtkCutter how
to cut. <BR>You do this by giving an implicit function.<BR><BR>Example
:<BR><BR>(...)<BR><BR>vtkPlane * plane =
vtkPlane::New();<BR>plane->SetOrigin(0.0, 0.0,
0.0);<BR>plane->SetNormal(0.0, 0.0, 1.0);<BR><BR>vtkCutter *cutter =
vtkCutter::New();<BR>cutter->SetCutFunction(plane); // this was the missing
function
;-)<BR>cutter->SetInput(mesh->GetOutput());<BR><BR>cutter->Update();<BR><BR>(...)<BR><BR><BR>--
Julien<BR><BR><BR><BR>-----Message d'origine-----<BR>De : Jonathan Lin
[mailto:jonathan.s.lin@vanderbilt.edu]<BR>Envoyé : mardi 6 juillet 2004
22:20<BR>À : <A href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</A><BR>Objet :
[vtkusers] Problem with vtkCutter<BR><BR><BR>Hi all,<BR><BR>I've created a
vtkCutter object, and am trying to load with "SetInput" the<BR>data I will
slice. I get an error saying this function does not exist. Here<BR>is the
relevant code:<BR><BR>vtkCutter *cutter = vtkCutter::New();<BR>cutter -->
SetInput ( mesh->GetOutput() );<BR><BR>The error I receive is "no matching
function for call to<BR>vtkCutter::SetInput." I have checked the relevant
header files, and the<BR>function is there. I suspect the problem is in the
library files. How could<BR>I check this and how could I fix it? Nudge me in
the right direction and<BR>I'll take it from
there.<BR><BR>Regards,<BR>Jonathan<BR></BLOCKQUOTE></BODY></HTML>