[vtkusers] scalars etc

James C. Robinson j.robinson at kepler.ie
Mon Jun 17 14:11:34 EDT 2002

Dear All,

It continues - I have a very specific query. The following code no longer
works (as vtkScalar no longer seems to exist). Any ideas:

   vtkScalars *pPressures = pUnstructuredGrid->GetPointData()->GetScalars()

I have quickly gone thru the new doc and it seems that I should be accessing
a vtkDataArray where I either have a tuple of value 1 or 3 (for accessing
vector in a similar manner).



Dr. James C. Robinson, BE,MEngSc,PhD,CEng,MIEI,
Kepler Engineering Software Ltd.,
42 Rivergrove,
Glanmire, Co. Cork,

Tel:         +353-21-4822028
Tel:         +353-87-2393010
Fax:        +353-21-4822721
E-mail:     j.robinson at kepler.ie

More information about the vtkusers mailing list