[vtkusers] (2)

yao chan li clyao at cugb.edu.cn
Sat Sep 28 09:58:48 EDT 2002


vtkusersvtkusers
hi, vtkusers,

Is this a problem in vtk? The outline of the volume data didn't match the soure. It was more obvious in some view angles than in others while rotating. I show you a snipped figure.


piece of the code like these:
    ...
	//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);
    ...


Another problem:
The second attached map was about the axes labels. The first box was good and the positions of labels were there as desired. But, the labels changed their positions if the mouse was pressed. Why?

The code was simple:
	this->axes=vtkCubeAxesActor2D::New();
    this->axes->SetFlyModeToOuterEdges();
    ...

Maybe the algorithms in FlyMode...s() was not that exact while in interactive mode.
The MFC example vtkSDI in the vtk source also shows the problem!


Any helps are great appreciated.

Regards,	

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: axes.TIF
Type: application/octet-stream
Size: 51890 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20020928/fbd764f5/attachment.obj>


More information about the vtkusers mailing list