<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Helvetica, Arial, sans-serif">Hello.<br>
<br>
I really can't tell why my code is not gernerating the iso-surface.<br>
I have a structured grid (sGrid) filled with scalars.<br>
<br>
I call the contour filter<br>
<br>
vtkContourFilter *scalarIsoSurface =
vtkContourFilter::New();<br>
scalarIsoSurface->SetInput(sGrid);<br>
scalarIsoSurface->GenerateValues(0,0.1);<br>
<br>
Compute the normal<br>
<br>
vtkPolyDataNormals *sGridPolyDataNormal =
vtkPolyDataNormals::New();<br>
sGridPolyDataNormal->SetInput(scalarIsoSurface->GetOutput());<br>
<br>
Put them into a poly data mapper<br>
<br>
vtkPolyDataMapper *scalarIsoSurfaceMapper =
vtkPolyDataMapper::New();<br>
scalarIsoSurfaceMapper->SetInput(sGridPolyDataNormal->GetOutput());<br>
<br>
and into an actor<br>
<br>
vtkActor *scalarIsoSurfaceActor = vtkActor::New();<br>
scalarIsoSurfaceActor->SetMapper(scalarIsoSurfaceMapper);<br>
<br>
which is passed on to the scene<br>
<br>
ren1->AddActor(scalarIsoSurfaceActor);<br>
<br>
and NOTHING happens.<br>
<br>
Any ideas what I have missed, or whats wrong?<br>
<br>
Sebastian<br>
</font></font>
</body>
</html>