[vtkusers] FW: vtkUGFacetReader Error

Chandran Ramu chandran.ramu at quest-global.com
Thu Jun 5 01:37:46 EDT 2003


Hi All ,

Sorry for re posting the query, I would feel great if i could get a solution


 -----Original Message-----
From: 	Chandran Ramu [mailto:chandran.ramu at quest-global.com]
Sent:	Wednesday, June 04, 2003 12:01 PM
To:	'vtkusers at public.kitware.com'
Subject:	vtkUGFacetReader Error

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 ...

I have loaded "bolt.fac" and it works fine...


Request help in this regard,thanks in advance

Chandran Ramu




More information about the vtkusers mailing list