I have this python line that gives the number "1" as result

print vtkDataObject.FIELD_ASSOCIATION_CELLS
;=> 1


And I would like to convert it to clojure.I have tried this 3 way, but I 
think they are incorrect. Which is the correct way?

(println (vtkDataSetAttributes.SCALARS))
;=> #<CompilerException java.lang.ClassNotFoundException: 
vtkDataSetAttributes.SCALARS, compiling:(REPL:6)>

(println vtk.vtkDataSetAttributes/SCALARS)
;=> #<CompilerException java.lang.RuntimeException: Unable to find static 
field: SCALARS in class vtk.vtkDataSetAttributes, compiling:(REPL:8)>

(println (vtk.vtkDataSetAttributes/SCALARS))
;=> #<CompilerException java.lang.NoSuchFieldException: SCALARS, 
compiling:(REPL:11)>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to