<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hi everyone.</DIV>
<DIV>I found (in vtkCurvatures class examples) code lines in Tcl language. When i did the conversion into C++ language, many errors are generated!!!</DIV>
<DIV>I post an example of conversion and the associated error s:</DIV>
<DIV> </DIV>
<DIV>TCL:</DIV>
<DIV>vtkPolyDataMapper cmapper1<BR>cmapper1 SetInputConnection [curve1 GetOutputPort]<BR>cmapper1 SetLookupTable lut1<BR>cmapper1 SetUseLookupTableScalarRange 1</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>C++:</DIV>
<DIV>vtkPolyDataMapper *cmapper1 = vtkPolyDataMapper::New();<BR>cmapper1->SetInputConnection(curve1->GetOutputPort());<BR>cmapper1->SetLookupTable(lut1);<BR>cmapper1->SetUseLookupTableScalarRange(1);<BR></DIV>
<DIV> </DIV>
<DIV><FONT color=#ff0000>curve1 is a vtkCurvatures</FONT></DIV>
<DIV><FONT color=#ff0000>lut1 is a vtkLookupTable</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Errors:</DIV>
<DIV>'SetInputConnection' : is not a member of 'vtkPolyDataMapper'</DIV>
<DIV>see declaration of 'vtkPolyDataMapper'<BR></DIV>
<DIV>'GetOutputPort' : is not a member of 'vtkCurvatures'<BR>see declaration of 'vtkCurvatures'</DIV></td></tr></table><br>