Thanks, LineSource works correctly!
I added this->SetNumberOfInputPorts(0); code in the class.
In addition, while converting my project, there are some errors(2 or 3 errors maybe?).
// 3dWndData performs the main process for rendering objects.
// ActorVOI override Actor class, and Actor class custom class has inputDataConnection for the mapper
m_actorPlaneAxial does not render as well. I changed the
is this the reason why the PlaneAxial does not render correctly?
what am I doing wrong?
ActorVOI()->SetVOI() function did not render in 3D view
2DImage&3DPolydata.zip (9.6 KB)
// After rendering actorPlanalAxial, coronal, sagittal,
// ActorVOI is rendered (if they work correctly)
this is debugging message before rendering actorPlanal Axial.
is that reason why actorPlanalAxial does not render on the window?
And this is another debugging message before rendering ActorVOI()->SetVOI(3D polydata)
Is that related to the migration of the VTK? or am I missing something?
Additionally, I put the vtkImagedata* to vtkContourFilter as a inputdata, but why it occurs a building error?
First error message says It cannot conver from vtkImageData* to vtkDataObject *
Second error message says there is no Instunsce which matchs to the parameter lists in the overrided function vtkContourFilter::SetInputData
Thank you for your support, and I look forward to hearing from you, sir!.