Properly viewing triclinic boxes that have STRUCTURED_POINTS dataset

Hi everyone, I am new to ParaView, so please feel free to refer to any related posts or responses. I am having trouble visualizing VTK files containing volumetric data for triclinic cells. During visualization, the triclinic box is converted to an orthorhombic box. I understand that this is possible because my dataset is of type STRUCTURED_POINTS, and that the issue can be resolved by converting the grid to an unstructured grid in ParaView. However, I am unable to find any resources that actually work! The header section of my VTK file is as follows:

vtk DataFile Version 1.0

CELL_PARAMETERS 35.836600 35.836600 35.836600 60.000000 60.000000 60.000000
ASCII
DATASET STRUCTURED_POINTS
DIMENSIONS 150 150 150
ORIGIN 0.000000 0.000000 0.000000
SPACING 0.238911 0.238911 0.238911
POINT_DATA 3375000
SCALARS scalars unsigned_short
LOOKUP_TABLE default
65535
4503

It would be extremely helpful to have someone help with this! Thanks!

Please share a proper .vtk file, or at least use ``` to share the content.

Hi Mathieu, thank you so much for your help! Due to size limits, I am attaching a link to the .vtk file here: https://www.dropbox.com/scl/fi/9tlaujz2ycxrjuz5his6w/2019-Ni-fcu-3-ASR-1_pristine_1_pacmanSurface.vtk?rlkey=wsp4vn8d5x302izpi387qt1h8&st=37i3nbqq&dl=0

Please let me know if you have any questions!

This opens fine as an image data:

You can convert to an Unstructured Grid by adding a “AppendDataSet” filter, but it looks exactly the same, so I’m not sure what you are trying to achieve here.

Hi Mathieu, thank you so much for your response! Yes, the image looks fine. However, if we look more closely, the box seems orthorombic, even though the original box is triclinic. We can see that from the very first line in the VTK file, where the cell parameters are specified as follows:

vtk DataFile Version 1.0

CELL_PARAMETERS 35.836600 35.836600 35.836600 60.000000 60.000000 60.000000

My question was how to correctly visualize the box in triclinic form, since ParaView automatically converts it to orthorhombic form. Please let me know if you need any more information! Thanks!

So I’ve been reading this to try to understand what you mean: https://www2.tulane.edu/~sanelson/eens211/32crystalclass.htm

Can you explain with your own words the problem you see ? I dont get it.

Thanks for your help! The original box looks like the following shape(rombohedral), where all the sides have equal lengths (35.8366 Å) and with 60^{\circ} angle between each of the two sides.

However, in the ParaView visualization, the box is converted to a cubic shape. My questions was how to fix that.

Is this about the camera parallel projection ? like this?

I’m sorry I’m not following, the angles you point out of 90 degrees, not 60 degreeses