<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1491" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV>Hi everybody,</DIV>
<DIV> </DIV>
<DIV>I have an EnSight case file (with other associated .geo and .var files)
<BR>which I'm trying to read into a "vtkDataSet".</DIV>
<DIV> </DIV>
<DIV>I haven't been able to figure out how to gain access to
the output<BR>file of the "vtkGenericEnSightReader"., Here is
my attempt:</DIV>
<DIV> </DIV>
<DIV>************************************************</DIV>
<DIV>.</DIV>
<DIV>.</DIV>
<DIV>.</DIV>
<DIV> vtkGenericEnSightReader * reader =
vtkGenericEnSightReader::New();<BR> reader->SetFilePath("C:/.....");<BR> reader->SetCaseFileName("out.case");<BR> reader->SetTimeValue(.000300);<BR> reader->ReadAllVariablesOn();<BR><BR> reader->Update();</DIV>
<DIV> </DIV>
<DIV> cout << reader->GetNumberOfVariables() <<
endl;<BR> cout << reader->GetDescription(0) <<
endl;<BR> cout << reader->GetDescription(1) <<
endl;<BR> cout << reader->GetDescription(2) <<
endl;<BR> cout << reader->GetDescription(3) << endl <<
endl;</DIV>
<DIV> </DIV>
<DIV> cout << reader->GetVariableType(0) <<
endl;<BR> cout << reader->GetVariableType(1) <<
endl;<BR> cout << reader->GetVariableType(2) <<
endl;<BR> cout << reader->GetVariableType(3) << endl
<< endl;</DIV>
<DIV> </DIV>
<DIV> cout << reader->GetNumberOfPointArrays() << endl
<< endl;</DIV>
<DIV> </DIV>
<DIV> cout << reader->GetNumberOfOutputs() << endl <<
endl;<BR> </DIV>
<DIV> </DIV>
<DIV> vtkDataSet * data = reader->GetOutput();</DIV>
<DIV>.</DIV>
<DIV>.</DIV>
<DIV> </DIV>
<DIV>************************************************</DIV>
<DIV>It is simply not working! </DIV>
<DIV> </DIV>
<DIV>When I check the vtkDataset, I find that its contains nothing and
there is no output!<BR></DIV>
<DIV> </DIV>
<DIV>Has anyone experienced this before and have any comments and Ideas
around this?<BR>workaround?<BR></DIV>
<DIV>Any helpful comments are Welcome</DIV></FONT></DIV></BODY></HTML>