I have recently begun to use Paraview and I am attempting to implement order parameter or the distribution of data into my model. In order to this, I was wondering if I could individually customized the width or shape of each glyph. I am currently using a glyph filter to symbolize the vectors for my model.
Thank you for your response. Is it possible to use a cone shape with the custom glyph filter? Also, how would I implement the filter utilizing a vtk file. I currently have a manually created vtk file using a MatLab vtk write function.
Instead of changing the shape of all the glyphs, I want to make each glyph a different shape. For example, I use vectors/arrows for my model. However, I want to change each arrow into a different shaped cone or a different sized cone from each other.
If your data contains vector field data, the size of each cone should vary from place to place if you set the following in the Glyph filter: Scale Array: Specify the vector field variable Vector Scale Mode: Select Scale by Magnitude
Oh, I see. The data needs to be different sizes. What vtk writer do you typically use? I am a beginner and have been using an auto writing code through MatLab.
The legacy vtk format (*.vtk) is often used as input to ParaView.
Note that the Glyph filter in ParaView requires vector values. Will the vtk files automatically output by MatLab not contain vector values? It would be clearer if you could share your vtk file.
If each component of the vector is output as a scalar value, you will need to convert them to vector values, e.g. with a Calculator filter:
I have tried the setting to scale the size of each cone by the magnitude of the vector, but the range of values is so narrow that the size of the cone seems to change only slightly, as shown in the figure below. However, this drawing seems reasonable.
I assume you are referring to the glyph filter. However, my goal is to have different shaped glyphs for each vector of my data set. Is there any way to accomplish this through the vtk file?