On Tue, Jun 26, 2012 at 1:45 PM, Antonio Recio <amdx6...@gmail.com> wrote:
> @Lars Nilson: You are right, I have take a look at vtkDataSetAttributes.java
> and there is not any reference to SCALARS.
>
> In vtk documentation they have included SCALARS.
> http://www.vtk.org/doc/nightly/html/classvtkDataSetAttributes.html#a156a8842bffd9139fa81193cca0d5bcbaefbcc1c766a1bad6e1e09d5be8388e3d
>
> And you can find SCALARS in the python example
> http://vtk.org/gitweb?p=VTK.git;a=blob;f=Examples/Graphics/Python/SingleYoungsMaterialInterface.py
>
> Why is not included SCALARS in the java version? Which could be the
> equivalent in java/clojure?

I'd hazard a guess it's a deficiency in the automatically generated
Java source code from the C++ version. Until that is rectified, you'd
need to use the integer values represented by the num (by looking at
the C++ docs to figure out what they are. SCALARS would be 0 for
instance) or define your own set of symbols for the values in
vtkDataSetAttributes::AttributeTypes, and other enums like it, for
more readable code in your own codebase..

Lars Nilsson

-- 
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