[vtkusers] Pointer to data?
    Maurice van de Rijzen 
    maurice at akst.tn.tudelft.nl
       
    Tue Aug 27 09:20:34 EDT 2002
    
    
  
Hello,
I want to know how I can retrieve the pointer to the data.
For example:
vtkImageReader v16
 v16 DebugOff
 v16 SetDataByteOrderToBigEndian
 v16 SetDataExtent 0 511 0 80 1 81
 v16 SetFileName "dataInt81_81.raw"
 v16 SetDataOrigin 0 0 0
 v16 SetDataSpacing 1 5 5
 v16 SetFileDimensionality 3
 v16 Update
vtkImageData data
  data CopyStructure [v16 GetOutput]
 set ptr [ data GetScalarPointer]
Doesn't work.
Can anyone please help me?
Maurice
vtk       
    
    
More information about the vtkusers
mailing list