[vtkusers] Normal Computation
Prabhu Ramachandran
prabhu at aero.iitm.ernet.in
Thu Oct 24 11:28:06 EDT 2002
>>>>> "PR" == Prabhu Ramachandran <prabhu at aero.iitm.ernet.in> writes:
>>>>> "MS" == Mysore Siddu <siddumd at yahoo.co.in> writes:
MS> 2. What is the probable reason for getting the following
MS> error? if I try to execute vtkDataArray *p =
MS> Snormals->GetOutput()->GetPointData()->GetNormals();
PR> If you are using VTK 4.0+ GetNormals wont work. Try using
PR> GetPointData()->GetValue(ptId) instead.
Arghh, that should read GetPointData()->GetNormals()->GetValue(ptId).
sorry.
prabhu
More information about the vtkusers
mailing list