[vtkusers] vtkUGFacetReader Error

Chandran Ramu chandran.ramu at quest-global.com
Wed Jun 4 02:31:00 EDT 2003


HI All,

I have a problem while using vtkUGFacetReader in my code which is as follows

				vtkUGFacetReader reader=new vtkUGFacetReader();
				reader.SetFileName(filePath);
				reader.MergingOff();
				vtkPolyData polyData=reader.GetOutput();
				vtkActor actor=new vtkActor();
				vtkPolyDataMapper mapper= new vtkPolyDataMapper();
				mapper.SetInput(polyData);
				actor.SetMapper(mapper);
				renWin.GetRenderer().AddActor(actor);
				renWin.Render();


The Error is

vtkugFacetReader (0x0ACF1010):File Ended Prematurely

my facet file was created with ug18.5 and i am using java ...

Request help in this regard,thanks in advance

Chandran Ramu




More information about the vtkusers mailing list