I need to extract a volume of spherical shape in a file.pvd at my disposal, how can I do this? I need to be able to choose both the centre of the sphere and the radius.
I also have associated with my file an.xml file which contains the info of the values of the individual voxels. Is there any way I can extract those as well?
Thanks in advance.
I have 3 meshes of the same type (brain with the same grid) to which 3 different types of values are associated: value a, value b and value c.
I should compare the individual cell values of a specific region (within a sphere centred at a specific point), so I was thinking of extracting that region from the total mesh. is that possible? Only I would have to keep the original indices identifying the cells because otherwise they might not match those of mesh b or mesh c. Then get an xml file (or something similar) with the list of cell indices together with the value.
With AppendAttribute I can currently only extract the cell to which the point appears which I would like to use as the centre of my sphere. How do I indicate the radius of the region to be extracted?
From my whole brain I need to extract the list of values associated with the cells in the extracted region (the one in the image was extracted with Extract cell by region → clip sphere and then choosing centre and radius).
From this region I need to extract a list of paired values (cell id + Value (f)) with information about all the tetrahedra in the mesh. (The cell ids must clearly be the original ones for the whole brain as I then have to compare the values obtained from mesh a with mesh b).
Unfortunately I don’t have any examples already done.
From the section obtained I could simply, using find data, select the boxes that have value f within a range and put maximum and minimum values as limits (in the case of Brain A [0,1]) to see what they are worth.
However, the list that will be formed will have a different indexing of the cells than the one I started with, so it may be different when I do the same procedure on Brain B. This would not allow me to compare the A and B values in the specific N cell.