[vtkusers] problem using vtkAssignAttribute

John Platt jcplatt at lineone.net
Mon Apr 26 17:47:37 EDT 2004


Nikhil,

 

Have you tried vtkAssignAttribute::POINT_DATA

 

John.

 

-----Original Message-----
From: vtkusers-admin at vtk.org [mailto:vtkusers-admin at vtk.org] On Behalf
Of nikhil butala
Sent: 26 April 2004 22:23
To: vtkusers at vtk.org
Subject: [vtkusers] problem using vtkAssignAttribute

 

Dear vtkusers,

 

 

I am using the following command to assign attribute vectors to point
dataset from a .vtk file as specified in the documentation for the class
vtkAssignAttribute.h:

 

 

attribute->Assign(vtkDataSetAttributes::VECTORS,
vtkDataSetAttributes::SCALARS,vtkAttributeLocation::POINT_DATA);

 

On compiling the program I get the following error:

Qualifier ' vtkAttributeLocation' is not a class or namespace name in
the function main( ).

 

Can someone tell me how to correct this?? 

 

Thanks in advance,

Nikhil Butala

  _____  

Do you Yahoo!?
Yahoo! Photos: High-quality
<http://pa.yahoo.com/*http:/us.rd.yahoo.com/evt=23765/*http:/photos.yaho
o.c%0d%0aom/ph/print_splash>  4x6 digital prints for 25¢

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040426/60db2378/attachment.htm>


More information about the vtkusers mailing list