Hello everyone!
I am trying to get some data into Maya VI 2, but without success, so far.
I have some kind of "image" data, ie, an x,y grid, with one value for
each point. I am trying to follow the VTK File Formats guide. But
without success for both, the legacy, and the XML formats, so far.
When I try to display the imported data in Maya VI, I get ugly
messages, such as "Cannot countour: No scalars in input data!" or "The
'position' trait of a GridPlane instance must be 0 <= a number <= -1,
but a value of 0 <type 'int'> was specified."
I don't really care what file format to use, as long as Maya VI reads
it. I guess, I am making some basic mistake here, but where? (See for
example a small 6x8 grid below.)
Any help is appreciated!
-Jerzy
<?xml version="1.0"?>
<VTKFile type="ImageData" version="0.1" byte_order="BigEndian">
<ImageData WholeExtent="0 7 0 5" Origin="0 0" Spacing="1 1">
<Piece Extent="0 7 0 5">
<PointData Scalars="vertexData">
<DataArray type="Float32" Name="scalarData" format="ascii">
1.58363059326 1.12512089676 0.79884364002 0.626384744473
0.496087229764 0.389619133684
-1 2.18205128205 1.32574660633 0.978952991453
0.724396031622 0.532223435793
4.13247863248 3.58766968326 2.7875 1.74493464052
1.15339366516 0.766131221719
-1 -1 -1 3.59914529915
2.41303418803 1.2274729547
4.20972222222 -1 4.97692307692 -1 -1
1.85458144796
1.85743464052 2.95882352941 3.95 -1
3.13317307692 1.32910236748
1.11606837607 2.1014957265 -1 2.89244595274 1.5137919533
0.860490196078
0.734079939668 1.13458735885 1.72324660633 1.24907993967
0.838397435897 0.578347007351
</DataArray>
</PointData>
</Piece>
</ImageData>
</VTKFile>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
MayaVi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mayavi-users