[vtkusers] Re: Example Medical3 doesnt run - its true

Ragnar Bade rbade at isg.cs.uni-magdeburg.de
Wed Apr 9 02:20:27 EDT 2003


Hi

I posted this problem some weeks ago but nothing happens.
I'm using VTK 4.2.1 on a Windows Platform and get the same buggy result.

One short-term solution is to use the obsolete
vtkStructuredPointsGeometryFilter.

eg.:
// saggital plane
vtkStructuredPointsGeometryFilter *saggitalSection =
vtkStructuredPointsGeometryFilter::New();
  saggitalSection->SetExtent (32,32, 0,63, 0, 93);
  saggitalSection->SetInput(v16->GetOutput());
vtkPolyDataMapper *saggitalMapper = vtkPolyDataMapper::New();
  saggitalMapper->SetInput( saggitalSection->GetOutput());
  saggitalMapper->ScalarVisibilityOn();
  saggitalMapper->SetScalarRange( 0, 2000);
  saggitalMapper->SetLookupTable( bwLut);
vtkActor *saggital = vtkActor::New();
  saggital->SetMapper( saggitalMapper);

But I am also interested in getting a actual bugfix for the code in the
Medical3.cxx example. And not this unsupported one I mentioned here.

Ragnar Bade




More information about the vtkusers mailing list