[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vtkusers
Subject:    [vtkusers] SetScalars of vtkDataSetAttribute in vtk4.0
From:       "zhangzhijun" <zjzhang () ee ! cuhk ! edu ! hk>
Date:       2001-12-31 13:25:40
Message-ID: 000d01c191fe$a4b60ec0$1223bd89 () ee ! cuhk ! edu ! hk
[Download RAW message or body]

 I have a program using the following code
vtkstructuredpoints *points=vtkStructuredPoints::New();
vtkScalars *s =vtkScalars::New();
 points->GetPointData()->SetScalars(s);

this works well in vtk3.2 but in vtk4.0 the setscalars method of the
vtkDataSetAttribute
is redefined and the parameter of this function must be vtkDataArray, so the
former code will
not right compiled. How to change this?

regards,
zhang zhijun


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic