[vtkusers] The outline does't match the data

Yao Changli clyao at cugb.edu.cn
Fri Sep 13 03:21:51 EDT 2002


Hi,vtkusers

There seems a problem in my application of vtk. The outline of the volume data didn't match the soure. It was more obvious in some view angles than in others. I show you a snipped figure.

Any helps are great appreciated.

Regards,	

        Yao Changli
        clyao at cugb.edu.cn
          2002-09-13

piece of the code:
    ...
	//get an outline of the volume data
	this->outLineData = vtkOutlineFilter::New();
	this->mapOutline = vtkPolyDataMapper::New();
	this->outline = vtkActor::New();
	this->outLineData->SetInput(this->volume);
	this->mapOutline->SetInput(this->outLineData->GetOutput());
	this->outline->SetMapper(this->mapOutline);
	this->renderer->AddActor(this->outline);
    ...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: notmatch.TIF
Type: application/octet-stream
Size: 40706 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20020913/fbb2985c/attachment.obj>


More information about the vtkusers mailing list